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