1 |
you could `rm -rf /usr/portage/*` and not worry |
2 |
about messing up your system. it'll just take a lot |
3 |
longer to complete `emerge rsync`. |
4 |
that might be a good idea if you're running an old |
5 |
version of portage and/or have old ebuilds. |
6 |
`emerge rsync ; emerge portage -u ; emerge world -up` |
7 |
-mike |
8 |
|
9 |
----- Original Message ----- |
10 |
From: "Serge Eric Thiam" <serge-eric.thiam@×××.net> |
11 |
To: <gentoo-dev@g.o> |
12 |
Sent: Wednesday, September 18, 2002 03:43 |
13 |
Subject: Re: [gentoo-dev] Is my portage broken? |
14 |
|
15 |
|
16 |
> * Thomas Rasch [Tue, Sep 17, 2002 at 08:20:22PM +0200] |
17 |
> > Hello! |
18 |
> > |
19 |
> > I didn't get an answer to this question in the gentoo-user mailinglist, |
20 |
> > so it seems to be more tricky than I thought... |
21 |
> > |
22 |
> > To make it short: I made an emerge rsync, and something didn't |
23 |
> > survive... |
24 |
> > |
25 |
> > emerge -up world gives: |
26 |
> > |
27 |
> > Calculating world dependencies |
28 |
> > Traceback (most recent call last): |
29 |
> > File "/usr/bin/emerge", line 1369, in ? |
30 |
> > if not mydepgraph.xcreate(myaction): |
31 |
> > File "/usr/bin/emerge", line 805, in xcreate |
32 |
> > elif portage.db[portage.root]["vartree"].dbapi.match(x): |
33 |
> > File "/usr/lib/python2.2/site-packages/portage.py", line 2522, in |
34 |
> > match |
35 |
> > mydep=dep_expand(origdep,self) |
36 |
> > File "/usr/lib/python2.2/site-packages/portage.py", line 2037, in |
37 |
> > dep_expand |
38 |
> > return prefix+cpv_expand(mydep,mydb)+postfix |
39 |
> > File "/usr/lib/python2.2/site-packages/portage.py", line 1970, in |
40 |
> > cpv_expand |
41 |
> > if (not mydb.cp_list(mykey)) and virts and virts.has_key(mykey): |
42 |
> > File "/usr/lib/python2.2/site-packages/portage.py", line 2481, in |
43 |
> > cp_list |
44 |
> > mystat=os.stat(self.root+"var/db/pkg/"+mysplit[0])[ST_MTIME] |
45 |
> > TypeError: stat() argument 1 must be (encoded string without NULL |
46 |
> > bytes), not str |
47 |
> > [...] |
48 |
> > |
49 |
> > Thomas |
50 |
> > [...] |
51 |
> |
52 |
> Hello, |
53 |
> |
54 |
> There might be a broken ebuild in your portage tree. Try to clean up |
55 |
> your portage tree, (maby deleting all the ebuilds) before doing an |
56 |
> emerge rsync and try again. It would be a good idea to backup first, you |
57 |
> never know what might happen.... don't want to cause harm to your |
58 |
> system. |
59 |
> |
60 |
> Good luck, |
61 |
> -- |
62 |
> Serge |
63 |
> _______________________________________________ |
64 |
> gentoo-dev mailing list |
65 |
> gentoo-dev@g.o |
66 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
67 |
> |