Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71323 - Running regenworld is needed after switching from unsupported to cascading profile
Summary: Running regenworld is needed after switching from unsupported to cascading pr...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 13:28 UTC by Jakub Moc (RETIRED)
Modified: 2005-02-28 09:24 UTC (History)
0 users

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


Attachments
emerge info output (emerge.info.txt,1.67 KB, text/plain)
2004-11-15 13:33 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2004-11-15 13:28:24 UTC
People using default-linux-x86-2004.2 profile are now warned that this profile is not supported anymore and are advised to change the symlink.

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/x86/2004.2

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2004.2 make.profile

However after changing a lot of currently installed packages are missing in the world file and these will not be updated with emerge -uD world. After running /usr/sbin/regenworld over 20 ebuild were added to world file on my system.

Instruction should include the advice about running regenworld after changing the profile.

Reproducible: Always
Steps to Reproduce:
1. Your profile has been set to default-linux/x86/2004.2
2. Run emerge sync && emerge -uDpv world
3. Warning quoted above appears
4. After changing the profile symlink there are many packages missing from the world file



Expected Results:  
Users should be advised to run regenworld after setting their new profile.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2004-11-15 13:33:23 UTC
Created attachment 44020 [details]
emerge info output
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2004-11-15 13:35:35 UTC
Sorry, step 1 above should have obviously been:

Your profile has been set to default-x86-2004.2
Comment 3 SpanKY gentoo-dev 2004-11-15 13:53:40 UTC
regenworld is not needed

chances are some packages were listed in the system target before the switch but not in the cascading profile
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2004-11-15 14:01:41 UTC
Thats what I am talking about. So I am really missing the point when you are saying that regenworld is not needed. I would be missing a lot of packages that need to be upgraded in future without running regenworld. *confused*
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2004-11-16 02:24:39 UTC
Reopening the bug - same issue on another machine. Here is the list of packages. 

# regenworld
add to world: sys-devel/gcc
add to world: sys-libs/glibc
add to world: sys-apps/baselayout
add to world: sys-libs/zlib
add to world: sys-libs/ncurses
add to world: sys-devel/libtool
add to world: sys-apps/man-pages
add to world: sys-fs/devfsd
add to world: dev-lang/python
add to world: net-misc/dhcpcd
add to world: sys-apps/portage
add to world: app-arch/sharutils
add to world: sys-devel/automake
add to world: app-arch/tar
add to world: sys-apps/net-tools
add to world: sys-devel/autoconf
add to world: app-arch/gzip
add to world: sys-devel/m4
add to world: sys-apps/shadow
add to world: dev-lang/perl
add to world: sys-apps/coreutils
add to world: sys-apps/file
add to world: sys-fs/e2fsprogs
add to world: sys-apps/kbd
add to world: net-misc/rsync
add to world: net-misc/iputils
add to world: sys-apps/man
add to world: sys-libs/readline
add to world: sys-apps/grep
add to world: sys-libs/cracklib
add to world: sys-apps/procps
Comment 6 SpanKY gentoo-dev 2004-11-16 16:36:01 UTC
very large majority of those packages are in the 'system' target and thus dont matter if they're in the world target
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2005-02-28 09:24:21 UTC
Something is wrong if your profile is not listing those as world targets.
This might have been a consequence of an older regenworld script.