Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SLV]eix-test-obsolete shows 11 packages not in the database
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Mon Aug 18, 2008 9:52 am    Post subject: [SLV]eix-test-obsolete shows 11 packages not in the database Reply with quote

Hi,
I've got eix-0.13.3 when I run eix-test-obsolete it gives me this output :
Code:
 $ eix-test-obsolete

No non-matching entries in /etc/portage/package.keywords.
No non-matching entries in /etc/portage/package.mask.
No non-matching entries in /etc/portage/package.unmask.
No non-matching or empty entries in /etc/portage/package.use.
No non-matching or empty entries in /etc/portage/package.cflags.
The names of all installed packages are in the database.

No redundant entries in /etc/portage/package.keywords (or test switched off).
No redundant entries in /etc/portage/package.mask (or test switched off).
No redundant entries in /etc/portage/package.unmask (or test switched off).
No redundant entries in /etc/portage/package.use (or test switched off).
No redundant entries in /etc/portage/package.cflags (or test switched off).
No uninstalled entries in /etc/portage/package.keywords (or test switched off).
No uninstalled entries in /etc/portage/package.mask (or test switched off).
No uninstalled entries in /etc/portage/package.unmask (or test switched off).
No uninstalled entries in /etc/portage/package.use (or test switched off).
No uninstalled entries in /etc/portage/package.cflags (or test switched off).

Installed packages with a version not in the database (or masked):

[I] app-pda/libopensync-plugin-syncml (0.22[?]@15/06/2008): OpenSync SyncML Plugin
[I] app-pda/synce (0.11[?]@01/05/2008): SynCE - Synchronize Windows Mobile 5 devices with Linux
[I] app-pda/synce-gnomevfs (0.11[?]@01/05/2008): SynCE - Gnome VFS extensions
[I] app-pda/synce-librapi2 (0.11[?]@18/07/2008): SynCE - RAPI communication library
[I] app-pda/synce-libsynce (0.11[?]@01/05/2008): SynCE - common library
[I] dev-libs/libwbxml (0.9.2_p48[?]@05/05/2008): Library and tools to parse, encode and handle WBXML documents.
[I] games-emulation/pcsx2 (0.9.4[?]@26/07/2008): PlayStation2 emulator
[I] games-emulation/ps2emu-cdvdiso (0.7[?]@26/07/2008): PS2Emu ISO CDVD plugin
[I] games-emulation/ps2emu-dev9null (0.3[?]@26/07/2008): PS2Emu null DEV9 plugin
[I] games-emulation/ps2emu-spu2null (0.7.1[?]@26/07/2008): PS2Emu null sound plugin
[I] games-emulation/ps2emu-usbnull (0.4-r1[?]@26/07/2008): PS2Emu null USB plugin
[1] /usr/portage/local/layman/synce
[2] /usr/local/portage

Found 11 matches.


I really think that this output is wrong since those packages comes from the local overlay (the ones after libwbxml) and from synce overlay (the others), and to install them I obviously unmasked them.

I noticed also a strange thing when I run update-eix, each of the overlays I installed using layman has got a "label" (like sunrise, initng, ecc) but synce doesn't :
Code:
 # update-eix
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading 100%
[1] "desktop-effects" /usr/portage/local/layman/desktop-effects (cache: parse|ebuild*)
     Reading 100%
[2] "initng" /usr/portage/local/layman/initng (cache: parse|ebuild*)
     Reading 100%
[3] "mpd-portage" /usr/portage/local/layman/mpd (cache: parse|ebuild*)
     Reading 100%
[4] "sunrise" /usr/portage/local/layman/sunrise (cache: parse|ebuild*)
     Reading 100%
[5] "" /usr/portage/local/layman/synce (cache: parse|ebuild*)
     Reading 100%
[6] "" /usr/local/portage (cache: parse|ebuild*)
     Reading 100%
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 13423 packages in 151 categories.


Does anyone has the same problem ? Do you need further info ?


Last edited by magowiz on Mon Aug 25, 2008 9:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Tue Aug 19, 2008 9:50 am    Post subject: Re: eix-test-obsolete shows 11 packages not in the database Reply with quote

magowiz wrote:
app-pda/libopensync-plugin-syncml (0.22[?]@15/06/2008)

The crucial point here is the "[?]": eix cannot determine the overlay from which it was installed - it thinks it is neither [1] nor [2] and therefore cannot find the version (with the matching overlay) in the database. Set
Code:
NONEXISTENT_IF_OTHER_OVERLAY=false
if you want that eix simply does not take the overlay into account when checking whether the version is in the database.

Of course the other question is [i]why
eix cannot determine the overlay. This is related with your second question:
Quote:
[6] "" /usr/local/portage (cache: parse|ebuild*)
Reading 100%

Apparently, you do not have created the file /usr/local/portage/profiles/repo_name containing the name of your local overlay: You should always set a name for each overlay, because portage and eix use this name to determine from which overlay a package was installed.
(This is not exactly correct; eix also uses some heuristic fallback if the name is not set, but this fallback may fail).

Concerning the synce overlay, you should similarly generate a profiles/repo_name file, containing e.g. the content "synce" (or whatever you want as the name). If this file is deleted after upgrade with layman you must either regenerate it or ask the maintainer to provide this file (in a sense, the overlay is incomplete without this file).

Of course, the installed packages will not "magically" change their state by giving the overlay the appropriate names: You must re-emerge these packages (or update the database manually) after setting the overlay names so that eix will properly recognize from which overlay these packages are installed.
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Tue Aug 19, 2008 10:33 am    Post subject: Reply with quote

You are right , I miss the repo_name file on my local overlay, now I created one with the "local" word in it and update-eix seems to recognize it . and after re-emerging a package from local overlay it doesn't appear anymore in eix-test-obsolete . The problem is that for synce overlay I can create that file but on every sync that file will be deleted so I think I must inform the overlay mantainer about it.
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Mon Aug 25, 2008 9:18 pm    Post subject: Reply with quote

I was able to tell the synce overlay maintainer to add a repo_name file to his overlay , he did it , I re-emerged packages from synce overlay and now e-t-o doesn't report any issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum