Gentoo Archives: gentoo-user

From: Adrian <linuxgn2@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] odd emerge problem
Date: Tue, 22 Aug 2006 11:47:27
Message-Id: 20060822054221.4fbff1e1@gentoo-01
In Reply to: Re: [gentoo-user] odd emerge problem by Zac Medico
1 You were so correct.
2 Problem solved.
3 I'll be checking the file system for corruption.
4 Thanks so much.
5
6 Adrian
7
8
9 On Mon, 21 Aug 2006 19:45:22 -0700
10 Zac Medico <zmedico@g.o> wrote the words:
11
12 > -----BEGIN PGP SIGNED MESSAGE-----
13 > Hash: SHA1
14 >
15 > Adrian wrote:
16 > > root $ emerge --ask -v world
17 > > These are the packages that would be merged, in order:
18 > > Calculating world dependencies
19 > > Traceback (most recent call last):
20 > > File "/usr/bin/emerge", line 3440, in ?
21 > > if not mydepgraph.xcreate(myaction):
22 > > File "/usr/bin/emerge", line 1416, in xcreate
23 > > elif not portage.db["/"]["vartree"].dbapi.match(x):
24 > > File "/usr/lib/portage/pym/portage.py", line 4665, in match
25 > > mydep=dep_expand(origdep,mydb=self,use_cache=use_cache)
26 > > File "/usr/lib/portage/pym/portage.py", line 3531, in dep_expand
27 > > return
28 > > prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File
29 > > "/usr/lib/portage/pym/portage.py", line 3694, in cpv_expand if (not
30 > > mydb.cp_list(mykey,use_cache=use_cache)) and virts and
31 > > virts.has_key(mykey): File "/usr/lib/portage/pym/portage.py", line
32 > > 4606, in cp_list
33 > > mystat=os.stat(self.root+VDB_PATH+"/"+mysplit[0])[stat.ST_MTIME]
34 > > TypeError: stat() argument 1 must be (encoded string without NULL
35 > > bytes), not str
36 >
37 > It seems that /var/lib/portage/world is corrupt and contains NULL
38 > bytes. You should probably check your filesystem for additional
39 > corruption.
40 >
41 > Zac
42 > -----BEGIN PGP SIGNATURE-----
43 > Version: GnuPG v1.4.5 (GNU/Linux)
44 >
45 > iD8DBQFE6m/A/ejvha5XGaMRAv4VAKDGVR6akfOrLz8ywPL0c+A4yObW0gCg5BOh
46 > ooFTc2ndsl2KU5jWuuprNBY=
47 > =DRd6
48 > -----END PGP SIGNATURE-----
49 > --
50 > gentoo-user@g.o mailing list
51 >
52 >
53 >
54
55
56 --
57 On The Fly Photography -:- Creation From Chaos
58
59 On The Fly Photography: http://204EastSouth.com
60 Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm
61 The Cynical Libertarian Society: http://www.204EastSouth.com/cls
62 --
63 gentoo-user@g.o mailing list