1 |
On 5/8/06, Denny Schierz <cuall@×××.de> wrote: |
2 |
> hi, |
3 |
> |
4 |
> i have two very old gentoo boxes and i can't upgrade them. After a sync, |
5 |
> the default profile 2004.0 was deleted and know i can't do anything with |
6 |
> portage: |
7 |
> |
8 |
> router x86 # emerge -n '>=sys-apps/portage-2.0.51' |
9 |
> !!! 'str' object has no attribute 'insert' |
10 |
> !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does |
11 |
> !!! not then please report this to bugs.gentoo.org and, if possible, a |
12 |
> dev |
13 |
> !!! on #gentoo (irc.freenode.org) |
14 |
> |
15 |
|
16 |
Your command to update portage seem tricky and obscure to me. Why |
17 |
specify versions? If you have synced, it KNOWS the latest version and |
18 |
won't try to emerge the others... Why tell it to only emerge the |
19 |
latest with "-n" if you can simply update it with "-u"? And specially, |
20 |
why the heck put the whole ">=" stuff? |
21 |
|
22 |
Try simply "emerge -u portage"... If it still doesn't work, try it |
23 |
after "emerge-webrsync && emerge --sync && emerge --metadata && emerge |
24 |
-u portage", but I think the --metadata is done in the emerge --sync |
25 |
part anyway, so you can bypass that command ;) |
26 |
|
27 |
> Is it possible to use portage from a new system, via quickpkg? |
28 |
|
29 |
I STRONGLY advice you to DON'T DO THAT. I can imagine a LOT of |
30 |
problems comming from this. If you really think you broke portage's |
31 |
profiles, simply do as it said: 'rm -Rf /usr/portage/profiles; emerge |
32 |
--sync', that should fix it. |
33 |
|
34 |
-- |
35 |
Daniel da Veiga |
36 |
Computer Operator - RS - Brazil |
37 |
-----BEGIN GEEK CODE BLOCK----- |
38 |
Version: 3.1 |
39 |
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- |
40 |
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ |
41 |
------END GEEK CODE BLOCK------ |
42 |
|
43 |
-- |
44 |
gentoo-user@g.o mailing list |