Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404247 - >=sys-apps/baselayout-2 packages are either all masked or don't exist
Summary: >=sys-apps/baselayout-2 packages are either all masked or don't exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: Normal minor (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-17 13:24 UTC by Askar Bektassov
Modified: 2012-02-20 07:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,3.53 KB, text/plain)
2012-02-17 13:24 UTC, Askar Bektassov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Askar Bektassov 2012-02-17 13:24:02 UTC
Created attachment 302259 [details]
emerge --info

I had to replace the HD on a machine and after recovering a previous prefix installation (i.e. by copying prefix root directory) in a new, freshly installed OS, each time I try to update the system, emerge claims that:

$ emerge world -uDNpv
Calculating dependencies... done!
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
>=sys-apps/baselayout-2

$ eix baselayout -c
[I] sys-apps/baselayout-prefix (1.12.14@09/13/11): Baselayout for Gentoo Prefix installs

$ emerge --depclean baselayout -pv
--- Couldn't find 'baselayout' to depclean.
>>> No packages selected for removal by depclean

$ grep baselayout Gentoo/usr/portage/profiles/prefix/packages 
-*sys-apps/baselayout
# add back prefix baselayout
*sys-apps/baselayout-prefix
Comment 1 Fabian Groffen gentoo-dev 2012-02-19 19:08:50 UTC
I noticed this too.  Something pulls it in, but we don't have it in Prefix.  (Not trivial either.)
Comment 2 Askar Bektassov 2012-02-19 19:36:30 UTC
Ok, in this case the solution was to:

$ emerge --depclean -av

and re-emerge packages that have been removed but I still want to make use of. Evidently one of the packages was still pulling in baselayout (thanks Fabian).
Comment 3 Askar Bektassov 2012-02-19 20:32:45 UTC
Sorry for spamming, I believe the issue is still there.
Comment 4 Askar Bektassov 2012-02-19 23:45:44 UTC
baselayout reference in base/packages seems to conflict with the one in prefix/packages

$ cd Gentoo/usr/portage/profiles/
$ grep baselayout base/packages
    *>=sys-apps/baselayout-2
$ grep baselayout prefix/packages
    -*sys-apps/baselayout
    # add back prefix baselayout
    *sys-apps/baselayout-prefix

because if the baselayout reference is commented out in base/packages, then emerge does not lament lack of >=sys-apps/baselayout-2 packages. But this does not seem to me a proper solution.
Comment 5 Fabian Groffen gentoo-dev 2012-02-20 07:52:42 UTC
You've found it, thanks!  The removal in the prefix profile should match exactly what's in the base profile.  I've updated the atom, that should fix it.