1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Adrian wrote: |
5 |
> root $ emerge --ask -v world |
6 |
> These are the packages that would be merged, in order: |
7 |
> Calculating world dependencies |
8 |
> Traceback (most recent call last): |
9 |
> File "/usr/bin/emerge", line 3440, in ? |
10 |
> if not mydepgraph.xcreate(myaction): |
11 |
> File "/usr/bin/emerge", line 1416, in xcreate |
12 |
> elif not portage.db["/"]["vartree"].dbapi.match(x): |
13 |
> File "/usr/lib/portage/pym/portage.py", line 4665, in match |
14 |
> mydep=dep_expand(origdep,mydb=self,use_cache=use_cache) |
15 |
> File "/usr/lib/portage/pym/portage.py", line 3531, in dep_expand |
16 |
> return |
17 |
> prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File |
18 |
> "/usr/lib/portage/pym/portage.py", line 3694, in cpv_expand if (not |
19 |
> mydb.cp_list(mykey,use_cache=use_cache)) and virts and |
20 |
> virts.has_key(mykey): File "/usr/lib/portage/pym/portage.py", line |
21 |
> 4606, in cp_list |
22 |
> mystat=os.stat(self.root+VDB_PATH+"/"+mysplit[0])[stat.ST_MTIME] |
23 |
> TypeError: stat() argument 1 must be (encoded string without NULL |
24 |
> bytes), not str |
25 |
|
26 |
It seems that /var/lib/portage/world is corrupt and contains NULL bytes. You should probably check your filesystem for additional corruption. |
27 |
|
28 |
Zac |
29 |
-----BEGIN PGP SIGNATURE----- |
30 |
Version: GnuPG v1.4.5 (GNU/Linux) |
31 |
|
32 |
iD8DBQFE6m/A/ejvha5XGaMRAv4VAKDGVR6akfOrLz8ywPL0c+A4yObW0gCg5BOh |
33 |
ooFTc2ndsl2KU5jWuuprNBY= |
34 |
=DRd6 |
35 |
-----END PGP SIGNATURE----- |
36 |
-- |
37 |
gentoo-user@g.o mailing list |