1 |
Alexey Luchko wrote: |
2 |
> Hi! |
3 |
> |
4 |
> I have a gentoo installed, but I wasn't updating it since late 2007, I |
5 |
> suppose. |
6 |
> Today I've run emerge --sync. It worked! It's great ;) |
7 |
> |
8 |
> But then I've got the following collision. Obviously, a portage update |
9 |
> is required. But it is confused by dependencies: |
10 |
> colinux ~ # emerge portage --pretend --tree |
11 |
> |
12 |
> These are the packages that would be merged, in reverse order: |
13 |
> |
14 |
> Calculating dependencies... done! |
15 |
> [nomerge ] sys-apps/portage-2.1.6.11 [2.1.2.2] |
16 |
> [ebuild U ] app-shells/bash-3.2_p39 [3.1_p17] USE="-examples% |
17 |
> -plugins%" |
18 |
> [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2] |
19 |
> [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] |
20 |
> [ebuild U ] sys-apps/sandbox-1.6-r2 [1.2.17] |
21 |
> [ebuild N ] app-arch/lzma-utils-4.32.7 USE="-nocxx" |
22 |
> [ebuild N ] app-admin/eselect-news-20080320 |
23 |
> [ebuild U ] app-admin/eselect-1.0.11-r1 [1.0.7] USE="-vim-syntax%" |
24 |
> [ebuild U ] app-misc/pax-utils-0.1.19 [0.1.15] |
25 |
> [blocks B ] <sys-apps/portage-2.1.5 (is blocking |
26 |
> app-shells/bash-3.2_p39) |
27 |
> colinux ~ # |
28 |
> |
29 |
> |
30 |
> How to get it out? |
31 |
> |
32 |
> |
33 |
> Regards, |
34 |
> Alexey. |
35 |
> |
36 |
> |
37 |
> |
38 |
> |
39 |
I worked on this a couple months back to make it possible. The key is to |
40 |
download binary packages of portage and a few dependencies to break the |
41 |
block. Once portage is upgraded, it's smart enough to figure things out |
42 |
now. An original script an discussion can be found at |
43 |
http://blog.jolexa.net/2009/03/25/gentoo-tips-to-upgrade-your-really-old-installation/ |
44 |
|
45 |
A slightly modified version is here inline. I would recommend against |
46 |
running it as a script, but rather do the steps individually (also, if |
47 |
you aren't running amd64, be sure to change the architecture of the |
48 |
binaries you are downloading). |
49 |
|
50 |
Read this line as typical warnings of your mileage may very etc. |
51 |
|
52 |
Nick |