Jump to content
funtoo forums
  • 0
Sign in to follow this  
znavko

eix-update stops on writing database file because of wrong new local overlay

Question

Hello, dear Funtoo users and Linux developers! I am trying to install iridium creating own local overlay 'web-overlay'. eix-update does not work after all my actions.

Full log is here: https://pastebin.com/pJi6xWKi

In a few words: I created /etc/portage/repos.conf/web-overlay.conf with 'masters = net-kit' and eix-update cannot write database cache file now even when I've deleted my overlay from Portage.

 

# mkdir -p /var/git/overlay/web-overlay
# cd /var/git/overlay/web-overlay
# mkdir -p www-client/iridium-browser-bin
# nano iridium-browser-bin-62.0.ebuild
""" Using this wiki https://www.funtoo.org/Local_Overlay

# mkdir -p /var/git/overlay/weboverlay/profiles
# echo "web-overlay" > /var/git/overlay/weboverlay/profiles/repo_name
# mkdir -p /var/git/overlay/web-overlay/metadata/
# echo "masters = net-kit" >> /var/git/overlay/web-overlay/metadata/layout.conf
# nano /etc/portage/repos.conf/web-overlay.conf
# cat /etc/portage/repos.conf/web-overlay.conf
[DEFAULT]
main-repo = net-kit

[web-overlay]
location = /var/git/overlay/web-overlay
auto-sync = no
priority = 10

# ls -R /var/git/overlay | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 's/-/|/'
   |---overlay
   |-----web-overlay
   |-------metadata
   |-------profiles
   |-------www-client
   |---------iridium-browser-bin

# eix-update
...
Чтение категории 137|164 ( 83): sys-devel…!!! Repository 'core-kit' is missing masters attribute in '/var/git/meta-repo/kits/core-kit/metadata/layout.conf'
!!! Set 'masters = net-kit' in this file for future compatibility
!!! Repository 'core-kit' is missing masters attribute in '/var/git/meta-repo/kits/core-kit/metadata/layout.conf'
!!! Set 'masters = net-kit' in this file for future compatibility
!!! Repository 'core-kit' is missing masters attribute in '/var/git/meta-repo/kits/core-kit/metadata/layout.conf'
!!! Set 'masters = net-kit' in this file for future compatibility
!!! Repository 'core-kit' is missing masters attribute in '/var/git/meta-repo/kits/core-kit/metadata/layout.conf'
!!! Set 'masters = net-kit' in this file for future compatibility
     Чтение категории 164|164 (100) Готово   
....
and process stops on database file writing
....

""" So I changed to 'masters = core-kit'

# nano /var/git/overlay/web-overlay/metadata/layout.conf
# cat $_
masters = core-kit

# nano /etc/portage/repos.conf/web-overlay.conf
# cat $_
[DEFAULT]
main-repo = core-kit

[web-overlay]
location = /var/git/overlay/web-overlay
auto-sync = no
priority = 10

# eix-update
...
...
Calculating hash-tables
Writing database file /var/cache/eix/portage.eix…

""" It stops here without finish

# rm /etc/portage/repos.conf/web-overlay.conf
# eix-update

""" It stops again

""" In other terminal:

# cd /var/cache/eix/
# ls
portage.eix  previous.eix
# ls -la
итого 7764
drwxr-xr-x  2 portage portage    4096 янв  6 23:08 .
drwxr-xr-x 10 root    root       4096 дек 23 18:03 ..
-rw-r--r--  1 root    root          0 янв  6 23:08 .keep_app-portage_eix-0
-rw-rw-r--  1 portage portage       0 фев  4 18:28 portage.eix
-rw-rw-r--  1 portage portage 7940978 янв 29 23:08 previous.eix

 

 

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
2 hours ago, znavko said:

cat /etc/portage/repos.conf/web-overlay.conf

#[DEFAULT]

#main-repo = net-kit

[web-overlay]

location = /var/git/overlay/web-overlay

auto-sync = no

priority = 10

remove DEFAULT and main-repo from the overlay.conf

Share this post


Link to post
Share on other sites
  • 0

yes. it works!

# nano /etc/portage/repos.conf/web-overlay.conf
# cat /etc/portage/repos.conf/web-overlay.conf
#[DEFAULT]
#main-repo = net-kit

[web-overlay]
location = /var/git/overlay/web-overlay
auto-sync = no
priority = 10 


# nano /var/git/overlay/web-overlay/metadata/layout.conf 
# cat /var/git/overlay/web-overlay/metadata/layout.conf 
repo-name=web-overlay
masters = core-kit 

# eix-update
...
Запись файла базы данных /var/cache/eix/portage.eix…
База данных содержит 19836 пакетов в 164 категориях

# ls /var/git/overlay/web-overlay/www-client
iridium-browser-bin

# emerge iridium-browser
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "iridium-browser".

emerge: searching for similar names...
emerge: Maybe you meant any of these: www-client/iridium-browser-bin, app-vim/ri-browser, app-emacs/color-browser?

# emerge iridium-browser-bin

Calculating dependencies \ * Manifest not found for '/var/git/overlay/web-overlay/www-client/iridium-browser-bin/iridium-browser-bin-62.0.ebuild'
... done!

!!! All ebuilds that could satisfy "iridium-browser-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- www-client/iridium-browser-bin-62.0::web-overlay (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...