Gentoo default profile broken?
I'm setting up a gentoo linode and the first thing I did once logging in was an emerge –sync. I was greeted with the following error:
> Updating Portage cache: 90%!!! Cannot resolve a virtual package name to an ebuild.
!!! This is a bug, please report it. (virtual/ghostscript-0)
So the make.profile symlink is pointing to 2005.0 which I'm pretty sure is deprecated. I switched to /usr/portage/profiles/obsolete/x86 for the make.profile and tried to update portage which bombed at ncurses..
Didn't see anything on the wiki about this..
So am I doing something really really dumb or is this profile too old?
6 Replies
1) Create disk image with Gentoo 2005.0 provided by Linode.
2) Boot this obsolete system
3) Tune some things like:
rc-update -d keymaps boot
rc-update -d consolefont boot
echo HOSTNAME="myhost" > /etc/conf.d/hostname
In make.conf, ensure a properly USE with thinks like -X -gtk -gtk2 etc…
4) Update portage tree: #emerge --sync (fails as your linode, no problem)
5) Upgrade portage: # emerge -u portage
6) rm /etc/make.profile
7) ln -s /usr/portage/profiles/default-linux/x86/2006.1
If you want a perfectly upgraded system…
9) #emerge gcc (take a long long time…)
Then, select your new compiler gcc-4.1.1 as your default compiler if you want it, with gcc-config (depracated but, eselect compiler isn't installed yet
Finally, rebuild all the packages with "emerge -e world".
At this point, you're running a Gentoo 2006.1.
Install everything, try kernels 2.6 etc… Enjoy!
Update - Starting over….
I don't know what I did honestly. I was reading ALOT of stuff on gentoo.org's forums and I did attempt to try emerge --onetry --nodep portage. This appears to have worked and I now emerging gcc. Thanks for the info.
!!! This is a bug, please report it. (virtual/ghostscript-0)
so I tried to emerge portage and I get this
!!! ARCH is not set… Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?
Im not sure how to fix this
I get the same if I try emerge -u portage
seems to have gotten me passed that problem…