1 |
Installing gentoo for the first time, starting yesterday. I just got to |
2 |
the point of choosing the system logger as described in section 9b of |
3 |
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=9 |
4 |
and syslog-ng gives me a traceback. |
5 |
|
6 |
| (chroot) lovesong etc # emerge -vp syslog-ng |
7 |
| |
8 |
| These are the packages that would be merged, in order: |
9 |
| |
10 |
| Calculating dependencies... done! |
11 |
| Traceback (most recent call last): |
12 |
| File "/usr/bin/emerge", line 3511, in ? |
13 |
| mydepgraph.display(mydepgraph.altlist()) |
14 |
| File "/usr/bin/emerge", line 1699, in display |
15 |
| myfilesdict=portage.portdb.getfetchsizes(x[2], useflags=self.applied_useflags[x[2]], debug=edebug) |
16 |
| File "/usr/lib/portage/pym/portage.py", line 5222, in getfetchsizes |
17 |
| mf = Manifest(pkgdir, self.mysettings["DISTDIR"]) |
18 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 119, in __init__ |
19 |
| self._read() |
20 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 179, in _read |
21 |
| self._readDigests(myhashdict=self.fhashdict) |
22 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 148, in _readDigests |
23 |
| myhashdict=myhashdict) |
24 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 164, in _readManifest |
25 |
| self._parseDigests(fd, myhashdict=myhashdict, **kwargs) |
26 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 198, in _parseDigests |
27 |
| for myentry in self._parseManifestLines(mylines): |
28 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 184, in _parseManifestLines |
29 |
| for myline in mylines: |
30 |
| IOError: [Errno 5] Input/output error |
31 |
| (chroot) lovesong etc # |
32 |
|
33 |
|
34 |
That was from the second time I issued the command. The first time I got about |
35 |
487 lines of output, ending with: |
36 |
|
37 |
... |
38 |
| >>> /usr/lib/libol.so.0 -> libol.so.0.0.0 |
39 |
| >>> /usr/lib/libol.la |
40 |
| >>> /usr/lib/libol.so -> libol.so.0.0.0 |
41 |
| >>> Regenerating /etc/ld.so.cache... |
42 |
| >>> dev-libs/libol-0.3.18 merged. |
43 |
| |
44 |
| >>> No packages selected for removal by clean. |
45 |
| |
46 |
| >>> Emerging (2 of 2) app-admin/syslog-ng-1.6.9 to / |
47 |
| Traceback (most recent call last): |
48 |
| File "/usr/bin/emerge", line 3545, in ? |
49 |
| mydepgraph.merge(pkglist) |
50 |
| File "/usr/bin/emerge", line 2075, in merge |
51 |
| retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree") |
52 |
| File "/usr/lib/portage/pym/portage.py", line 2948, in doebuild |
53 |
| if need_distfiles and not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly): |
54 |
| File "/usr/lib/portage/pym/portage.py", line 1954, in fetch |
55 |
| mydigests = Manifest( |
56 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 119, in __init__ |
57 |
| self._read() |
58 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 179, in _read |
59 |
| self._readDigests(myhashdict=self.fhashdict) |
60 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 148, in _readDigests |
61 |
| myhashdict=myhashdict) |
62 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 164, in _readManifest |
63 |
| self._parseDigests(fd, myhashdict=myhashdict, **kwargs) |
64 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 198, in _parseDigests |
65 |
| for myentry in self._parseManifestLines(mylines): |
66 |
| File "/usr/lib/portage/pym/portage_manifest.py", line 184, in _parseManifestLines |
67 |
| for myline in mylines: |
68 |
| IOError: [Errno 5] Input/output error |
69 |
| (chroot) lovesong etc # df |
70 |
| Filesystem 1K-blocks Used Available Use% Mounted on |
71 |
| /dev/ROOT 12389324 4263576 7496404 37% / |
72 |
| (chroot) lovesong etc # mount |
73 |
| /dev/ROOT on / type ext3 (rw,noatime) |
74 |
| (chroot) lovesong etc # ls -l /dev/ROOT |
75 |
| ls: /dev/ROOT: No such file or directory |
76 |
| (chroot) lovesong etc # |
77 |
|
78 |
|
79 |
Context: |
80 |
|
81 |
I'm installing this using a chroot from a Debian sarge system. |
82 |
I've encountered a few anomalies along the way, but I suspect most of them |
83 |
are cosmetic, and that some just need a documentation update. |
84 |
I don't think they are related to the tracebacks, but I mention them below |
85 |
just in case they are a clue to the deeper problem. |
86 |
|
87 |
(1) The portage file on the mirror was called |
88 |
portage-latest.tar.bz2.tar |
89 |
instead of |
90 |
portage-latest.tar.bz2 |
91 |
|
92 |
(2) Of course, from sarge I couldn't run mirrorselect. So I picked a |
93 |
mirror by hand, and it seemed to work. |
94 |
|
95 |
(3) At section 7.d, where I was supposed to |
96 |
zcat /proc/config.gz |
97 |
there was no such file. But the file I was supposed to create, |
98 |
/usr/share/genkernel/x86/kernel-config-26 |
99 |
already existed, so I just used the one that was already there. |
100 |
|
101 |
This may have resulted from the fact that /proc was, of course, a window |
102 |
into the Debian 2.6.8 kernel instead of the 2.6.17 installer kernel. |
103 |
|
104 |
(4) When doing |
105 |
genkernel all |
106 |
I got the message |
107 |
mount: special device /dev/BOOT does not exist |
108 |
* warning: failed to mount /boot |
109 |
|
110 |
There was still a directory /boot on the intended partition into which I |
111 |
was installing gentoo, so I presumed it would use that one for /boot, as I |
112 |
intended, and just let it go on. |
113 |
|
114 |
(5) I found the installation of locales and keymaps. None of the available |
115 |
locales had "UTF-8" in their names, even though some of the suggested ones |
116 |
did. Should I presume that the UTF-8 adaptation is created by the locale |
117 |
generating software? What I want is a system that uses UTF-8 internally |
118 |
and keyboards and consoles that accept input in several languages -- |
119 |
English, French, math, Japanese, and mathematics. I guesses some entries |
120 |
and went on -- confident that this can be fixed after installation. |
121 |
|
122 |
What further information should I dig out to help track down the |
123 |
problem? |
124 |
|
125 |
-- hendrik |
126 |
|
127 |
-- |
128 |
gentoo-user@g.o mailing list |