Eix database outdated despite eix-update [Solved]

Anything that pertains to Portage

Moderator: Moderators

Re: Eix database outdated despite eix-update

Postby Fitzcarraldo » Mon Jun 23, 2014 14:55

Your installation looks really messed up. Here are the contents of /etc/portage/repos.conf/gentoo.conf in a new SL installation in VirtualBox:

Code: Select all
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.europe.gentoo.org/gentoo-portage

I notice that the file timestamps in your /usr/portage/metadata/ directory are from 16 November 2013. Clearly the Portage tree is not getting updated in your installation (or, at least, the Portage tree in the normal place expected by Portage and Portage tools such as eix). Here are the timestamps last night in my case after I entered the command emerge --sync:

Code: Select all
sabayon fitzcarraldo # ls -la /usr/portage/metadata/
total 180
drwxr-xr-x   6 root root  4096 Jun 22 21:35 .
drwxr-xr-x 170 root root  4096 Jun 22 03:20 ..
-rw-r--r--   1 root root   122 Apr 16  2012 .cvsignore
drwxr-xr-x   2 root root  4096 Jun 22 21:35 dtd
drwxr-xr-x   2 root root 77824 Jun 22 21:35 glsa
-rw-r--r--   1 root root 62305 Jun 13 18:31 herds.xml
-rw-r--r--   1 root root   972 Feb 25 20:31 layout.conf
drwxr-xr-x 164 root root  4096 Jun 22 02:42 md5-cache
drwxr-xr-x  60 root root  4096 Jun 22 21:35 news
-rw-r--r--   1 root root    29 Jun 22 21:07 timestamp
-rw-r--r--   1 root root    32 Jun 22 21:15 timestamp.chk
-rw-r--r--   1 root root    47 Jun 22 21:05 timestamp.x

And here are the timestamps today just after I entered the command emerge --sync a few minutes ago:

Code: Select all
sabayon fitzcarraldo # ls -la /usr/portage/metadata/
total 180
drwxr-xr-x   6 root root  4096 Jun 23 14:57 .
drwxr-xr-x 170 root root  4096 Jun 22 03:20 ..
-rw-r--r--   1 root root   122 Apr 16  2012 .cvsignore
drwxr-xr-x   2 root root  4096 Jun 23 14:57 dtd
drwxr-xr-x   2 root root 77824 Jun 23 14:57 glsa
-rw-r--r--   1 root root 62305 Jun 13 18:31 herds.xml
-rw-r--r--   1 root root   972 Feb 25 20:31 layout.conf
drwxr-xr-x 164 root root  4096 Jun 22 02:42 md5-cache
drwxr-xr-x  60 root root  4096 Jun 23 14:57 news
-rw-r--r--   1 root root    29 Jun 23 14:07 timestamp
-rw-r--r--   1 root root    32 Jun 23 14:15 timestamp.chk
-rw-r--r--   1 root root    47 Jun 23 14:05 timestamp.x

As you can see, the files in /usr/portage/metadata/ get updated.

Try fixing /etc/portage/repos.conf/gentoo.conf and any other Portage-related configuration files that could have been altered. Also, did you made any changes to the Portage make.conf file? If you did, what were the changes?

Furthermore, regarding the messages you get when you use the command equo install:

Code: Select all
☛ There are 3 preserved libraries on the system
╠ /usr/lib64/libwebp.so.4 [libwebp.so.4:2 -> media-libs/libwebp-0.3.1]
╠ /usr/lib64/libmysqld.so.18 [libmysqld.so.18:2 -> dev-db/mysql-5.5.32]
╠ /usr/lib64/libgnutls.so.26 [libgnutls.so.26:2 -> net-libs/gnutls-2.12.23-r4]

I reckon they are all orphans that were left in your installation after you did something in the past. If you look at the situation in an up-to-date SL installation, for example:

Code: Select all
sabayon fitzcarraldo # equo search --installed libwebp
╠  @@ Searching...
╠      @@ Package: media-libs/libwebp-0.4.0 branch: 5, [__system__]
╠          Installed:     version: 0.4.0 ~ tag: NoTag ~ revision: 0
╠          Slot:          0
╠          Homepage:      http://code.google.com/p/webp/
╠          Description:   A lossy image compression format
╠          License:       BSD
╠   Keywords:  libwebp
╠   Found:     1 entry
sabayon fitzcarraldo # equo search --installed mysql
╠  @@ Searching...
╠      @@ Package: dev-db/mysql-5.5.37-r1 branch: 5, [__system__]
╠          Installed:     version: 5.5.37-r1 ~ tag: NoTag ~ revision: 0
╠          Slot:          0
╠          Homepage:      http://www.mysql.com/
╠          Description:   A fast, multi-threaded, multi-user
╠                         SQL database server.
╠          License:       GPL-2
╠      @@ Package: dev-db/mysql-init-scripts-2.0_pre1-r7 branch: 5, [__system__]
╠          Installed:     version: 2.0_pre1-r7 ~ tag: NoTag ~ revision: 0
╠          Slot:          0
╠          Homepage:      http://www.gentoo.org/
╠          Description:   Gentoo MySQL init scripts.
╠          License:       GPL-2
╠      @@ Package: dev-perl/DBD-mysql-4.20.0 branch: 5, [__system__]
╠          Installed:     version: 4.20.0 ~ tag: NoTag ~ revision: 3
╠          Slot:          0
╠          Homepage:      http://search.cpan.org/dist/DBD-mysql/
╠          Description:   The Perl DBD:mysql Module
╠          License:       Artistic GPL-1 GPL-2 GPL-3
╠      @@ Package: virtual/mysql-5.5 branch: 5, [__system__]
╠          Installed:     version: 5.5 ~ tag: NoTag ~ revision: 0
╠          Slot:          0
╠          Description:   Virtual for MySQL client or database
╠          License:       
╠   Keywords:  mysql
╠   Found:     4 entries
sabayon fitzcarraldo # equo search --installed gnutls
╠  @@ Searching...
╠      @@ Package: net-libs/gnutls-3.3.4 branch: 5, [__system__]
╠          Installed:     version: 3.3.4 ~ tag: NoTag ~ revision: 0
╠          Slot:          0
╠          Homepage:      http://www.gnutls.org/
╠          Description:   A TLS 1.2 and SSL 3.0 implementation
╠                         for the GNU project
╠          License:       GPL-3 LGPL-3
╠   Keywords:  gnutls
╠   Found:     1 entry

Code: Select all
sabayon fitzcarraldo # locate libwebp.so
/usr/lib/libwebp.so
/usr/lib/libwebp.so.5
/usr/lib/libwebp.so.5.0.0
sabayon fitzcarraldo # locate libmysqld.so
/usr/lib/mysql/libmysqld.so
/usr/lib/mysql/libmysqld.so.18
/usr/lib/mysql/libmysqld.so.18.0.0
sabayon fitzcarraldo # locate libgnutls.so
/usr/lib/libgnutls.so
/usr/lib/libgnutls.so.28
/usr/lib/libgnutls.so.28.37.1

It looks like you can delete /usr/lib64/libwebp.so.4, /usr/lib64/libmysqld.so.18 and /usr/lib64/libgnutls.so.26 as they are way out of date.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7978
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Eix database outdated despite eix-update [Solved]

Postby ElDuderino » Mon Jun 23, 2014 16:06

Wow, thanks! I fixed gentoo.conf, synced and now it's working. Never changed that file, though, don't why it was pointing there.

Thanks so much!
ElDuderino
Growing Hen
 
Posts: 122
Joined: Fri Jul 20, 2012 23:15

Previous

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest