Gentoo Archives: gentoo-admin

From: "Norman Rieß" <norman@×××××××××.org>
To: gentoo-admin@l.g.o
Subject: Re: [gentoo-admin] Old Gentoo upgrade
Date: Sat, 28 Dec 2013 15:15:53
Message-Id: 52BEEB19.3050909@smash-net.org
In Reply to: [gentoo-admin] Old Gentoo upgrade by "Lech Pańkowski"
1 Am 27.12.2013 09:48, schrieb Lech Pańkowski:
2 > Hello,
3 > I was asked to upgrade a Gentoo server. It probably was not updated
4 > for a few years. There is 10.0 profile with portage 2.1.6.7. After
5 > every 'emerge' there is a suggestion to upgrade to 13.0 profile.
6 > I am fairly novice to Gentoo, and this server is constantly being used (e-mail).
7 >
8 > First I started with:
9 > # emerge --sync
10 > # emerge -1av sys-apps/portage
11 > There was a message:
12 > emerge: there are no ebuilds to satisfy "dev-lang/python:2.7".
13 > dependency required by "sys-apps/portage-2.2.7" [ebuild]) (dependency
14 > required by "portage" {argument])".
15 >
16 > Supposing that my installation is too old to upgrade that way I
17 > decided to follow strictly method described at
18 > https://wiki.gentoo.org/wiki/Upgrading_Gentoo#Updating_old_systems
19 >
20 > Stage3 was downloaded from
21 > http://gentoo.mirror.pw.edu.pl/releases/x86/current-stage3/)
22 > Unfortunately, after the last command from this guide:
23 > # ROOT=/mnt/host emerge -1v portage
24 > there are many messages such as:
25 >
26 > !!! Section 'gentoo' in repos.conf has location attribute set to
27 > nonexistent directory: '/usr/portage'
28 > !!! Section 'x-portage' in repos.conf has location attribute set to
29 > nonexistent directory: '/usr/portage'
30 > !!! Invalid Repository Location (not a dir): '/usr/portage'
31 > ....
32 > !!! /etc/portage/make.profile is not a symlink and will probably
33 > prevent most merges.
34 > !!! It should point into a profile within /usr/portage/profiles/
35 >
36 > I felt completly lost. I found repos.config only in
37 > /mnt/build/usr/share/portage/config, but there is no 'x-portage'
38 > section.
39 >
40 > Is there something wrong with this guide?
41 > May I ask for any hint what to do next, and more generally - how to do
42 > the upgrade in the safest possible way?
43 >
44 > English is a foreign language for me, so please forgive my language
45 > mistakes (if any).
46 >
47 > Every remark will be highly appreciated.
48 > With many thanks in advance,
49 > Leszek Pankowski
50 >
51
52 Did you really used # emerge -1av sys-apps/portage?
53 Because the guide tells otherwise: #ROOT=/mnt/host emerge -1av portage
54
55 Norman

Replies

Subject Author
Re: [gentoo-admin] Old Gentoo upgrade "Lech Pańkowski" <lpank.gm@×××××.com>