Gentoo Archives: gentoo-user

From: Daniel Iliev <danny@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] broken python howto [SOLVED]
Date: Mon, 29 Jan 2007 20:08:45
Message-Id: 45BE5256.5010504@ilievnet.com
In Reply to: Re: [gentoo-user] broken python howto by Albert Hopkins
1 Albert Hopkins wrote:
2 >
3 > First question: what did you do?
4 >
5 > # python
6 > Python 2.4.4 (#1, Jan 2 2007, 19:55:21)
7 > [GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
8 > Type "help", "copyright", "credits" or "license" for more
9 > information.
10 > >>> import time
11 > >>> time.__file__
12 > '/usr/lib/python2.4/lib-dynload/time.so'
13 >
14 > Make sure that file exists and that the files that it links to exist.
15 >
16 >
17 >
18
19
20 First of all thank you very much! :))
21
22 Actually I don't know what happened yet. I have another system with the
23 same hardware, the same software configuration and almost the same world
24 file. The first thing I checked after your message was:
25
26 "ls -la /usr/lib/python2.4/lib-dynload/"
27
28 on the broken system and it showed an empty dir. Next I made the same
29 check on the healthy system and it was full of files including
30 "time.so". So, I transfered the whole directory to the broken system and
31 now "emerge" works fine (at least at first glance).
32
33 Thanks again!
34
35
36
37 [OT]
38 Strange.
39 I did
40
41 "qfile time.so"
42
43 on the healthy system and it gave no results. Also I did
44
45 "qlist python | grep time.so"
46
47 and it gave no results either. I suspect something went wrong on both
48 systems but I'm not sure what and how to fix it.
49
50 Even more strange.
51 Before sending my question here I tried
52
53 "quickpkg python portage"
54
55 and extracted the contents of the archives in the root ("/") dir of the
56 broken system. This action didn't help. After your answer I checked the
57 contents of the packages made by "quickpkg":
58
59 localhost / # tar jtf python-2.4.3-r4.tbz2 | grep lib-dyn
60 ./usr/lib/python2.4/lib-dynload/
61
62 bzip2: (stdin): trailing garbage after EOF ignored
63
64 localhost / # tar jtf portage-2.1.1-r2.tbz2 | grep lib-dyn
65
66 bzip2: (stdin): trailing garbage after EOF ignored
67
68
69 It appears that python only creates this directory, but I can't figure
70 out which packages put files in it.
71
72 Is it normal?
73
74 --
75 Best regards,
76 Daniel
77
78
79 --
80 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] broken python howto [SOLVED] Albert Hopkins <marduk@g.o>