Re: Old Gentoo upgrade
Norman Rieß <[email protected]> Sat, 28 Dec 2013 16:15:37 +0100
| Newsgroups | gmane.linux.gentoo.admin |
|---|---|
| Message-ID | <[email protected]> |
Am 27.12.2013 09:48, schrieb Lech Pa=C5=84kowski:
> Hello,
> I was asked to upgrade a Gentoo server. It probably was not updated
> for a few years. There is 10.0 profile with portage 2.1.6.7. After
> every 'emerge' there is a suggestion to upgrade to 13.0 profile.
> I am fairly novice to Gentoo, and this server is constantly being used =
(e-mail).
>=20
> First I started with:
> # emerge --sync
> # emerge -1av sys-apps/portage
> There was a message:
> emerge: there are no ebuilds to satisfy "dev-lang/python:2.7".
> dependency required by "sys-apps/portage-2.2.7" [ebuild]) (dependency
> required by "portage" {argument])".
>=20
> Supposing that my installation is too old to upgrade that way I
> decided to follow strictly method described at
> https://wiki.gentoo.org/wiki/Upgrading_Gentoo#Updating_old_systems
>=20
> Stage3 was downloaded from
> http://gentoo.mirror.pw.edu.pl/releases/x86/current-stage3/)
> Unfortunately, after the last command from this guide:
> # ROOT=3D/mnt/host emerge -1v portage
> there are many messages such as:
>=20
> !!! Section 'gentoo' in repos.conf has location attribute set to
> nonexistent directory: '/usr/portage'
> !!! Section 'x-portage' in repos.conf has location attribute set to
> nonexistent directory: '/usr/portage'
> !!! Invalid Repository Location (not a dir): '/usr/portage'
> ....
> !!! /etc/portage/make.profile is not a symlink and will probably
> prevent most merges.
> !!! It should point into a profile within /usr/portage/profiles/
>=20
> I felt completly lost. I found repos.config only in
> /mnt/build/usr/share/portage/config, but there is no 'x-portage'
> section.
>=20
> Is there something wrong with this guide?
> May I ask for any hint what to do next, and more generally - how to do
> the upgrade in the safest possible way?
>=20
> English is a foreign language for me, so please forgive my language
> mistakes (if any).
>=20
> Every remark will be highly appreciated.
> With many thanks in advance,
> Leszek Pankowski
>=20
Did you really used # emerge -1av sys-apps/portage?
Because the guide tells otherwise: #ROOT=3D/mnt/host emerge -1av portage
Norman