1 |
----------------------------------------------------------------------------------------------------- |
2 |
|
3 |
o problem: |
4 |
can't compile CPAN's 'Hash::Merge' (prerequisite 'Clone' fails to make) |
5 |
using CPAN-Shell ('perl -MCPAN -eshell') on quepasa.netfrag.org |
6 |
|
7 |
x analysis: |
8 |
It was about an old libc6 (libc6_2.3.1-8) which was installed without the |
9 |
development-packages (libc6-dev_2.3.1-8). |
10 |
|
11 |
x way-to-do: |
12 |
This shows the cli-session on a debian-system. |
13 |
|
14 |
x solution: |
15 |
install libc6_2.3.1-9 |
16 |
install libc6-dev_2.3.1-9 |
17 |
|
18 |
----------------------------------------------------------------------------------------------------- |
19 |
|
20 |
perl -MCPAN -eshell |
21 |
install Hash::Merge |
22 |
[...] |
23 |
[on-demand-select of: Clone] |
24 |
[...] |
25 |
/usr/lib/perl/5.6.1/CORE/perl.h:519: string.h: No such file or directory |
26 |
/usr/lib/perl/5.6.1/CORE/perl.h:649: netinet/in.h: No such file or directory |
27 |
/usr/lib/perl/5.6.1/CORE/perl.h:653: arpa/inet.h: No such file or directory |
28 |
/usr/lib/perl/5.6.1/CORE/perl.h:663: sys/stat.h: No such file or directory |
29 |
/usr/lib/perl/5.6.1/CORE/perl.h:685: time.h: No such file or directory |
30 |
[...] |
31 |
|
32 |
apt-get install libc6-dev |
33 |
Sorry, but the following packages have unmet dependencies: |
34 |
libc6-dev: Depends: libc6 (= 2.2.5-11.2) but 2.3.1-8 is to be installed |
35 |
E: Sorry, broken packages |
36 |
|
37 |
apt-get upgrade |
38 |
[...] |
39 |
Fetched 23.6MB in 16s (1435kB/s) |
40 |
Preparing to replace perl-modules 5.6.1-7 (using .../perl-modules_5.6.1-8.2_all.deb) ... |
41 |
Unpacking replacement perl-modules ... |
42 |
Preparing to replace perl 5.6.1-7 (using .../perl_5.6.1-8.2_i386.deb) ... |
43 |
Unpacking replacement perl ... |
44 |
Preparing to replace perl-base 5.6.1-7 (using .../perl-base_5.6.1-8.2_i386.deb) ... |
45 |
Unpacking replacement perl-base ... |
46 |
Setting up perl-base (5.6.1-8.2) ... |
47 |
[...] |
48 |
Preparing to replace libstdc++2.10-glibc2.2 1:2.95.4-7 (using .../libstdc++2.10-glibc2.2_1%3a2.95.4-11woody1_i386.deb) ... |
49 |
Unpacking replacement libstdc++2.10-glibc2.2 ... |
50 |
Setting up libstdc++2.10-glibc2.2 (2.95.4-11woody1) ... |
51 |
[...] |
52 |
Preparing to replace libperl5.6 5.6.1-7 (using .../libperl5.6_5.6.1-8.2_i386.deb) ... |
53 |
Unpacking replacement libperl5.6 ... |
54 |
Preparing to replace cpp-2.95 1:2.95.4-7 (using .../cpp-2.95_1%3a2.95.4-11woody1_i386.deb) ... |
55 |
Unpacking replacement cpp-2.95 ... |
56 |
Preparing to replace gcc-2.95 1:2.95.4-7 (using .../gcc-2.95_1%3a2.95.4-11woody1_i386.deb) ... |
57 |
Unpacking replacement gcc-2.95 ... |
58 |
Preparing to replace libpng2 1.0.12-3.woody.2 (using .../libpng2_1.0.12-3.woody.3_i386.deb) ... |
59 |
Unpacking replacement libpng2 ... |
60 |
Preparing to replace libssl0.9.6 0.9.6c-2.woody.0 (using .../libssl0.9.6_0.9.6c-2.woody.1_i386.deb) ... |
61 |
Unpacking replacement libssl0.9.6 ... |
62 |
[...] |
63 |
Preparing to replace apache-common 1.3.26-0woody1 (using .../apache-common_1.3.26-0woody3_i386.deb) ... |
64 |
Unpacking replacement apache-common ... |
65 |
Preparing to replace apache 1.3.26-0woody1 (using .../apache_1.3.26-0woody3_i386.deb) ... |
66 |
Unpacking replacement apache ... |
67 |
Preparing to replace cvs 1.11.1p1debian-8 (using .../cvs_1.11.1p1debian-8.1_i386.deb) ... |
68 |
Unpacking replacement cvs ... |
69 |
Preparing to replace fetchmail 5.9.11-6 (using .../fetchmail_5.9.11-6.2_i386.deb) ... |
70 |
Unpacking replacement fetchmail ... |
71 |
Preparing to replace fetchmail-common 5.9.11-6 (using .../fetchmail-common_5.9.11-6.2_all.deb) ... |
72 |
Unpacking replacement fetchmail-common ... |
73 |
[...] |
74 |
Preparing to replace libgd1 1.8.4-16 (using .../libgd1_1.8.4-17.woody2_i386.deb) ... |
75 |
Unpacking replacement libgd1 ... |
76 |
dpkg: error processing /var/cache/apt/archives/libgd1_1.8.4-17.woody2_i386.deb (--unpack): |
77 |
trying to overwrite `/usr/lib/libgd.so.1.8.4', which is also in package libgd1-xpm |
78 |
dpkg-deb: subprocess paste killed by signal (Broken pipe) |
79 |
Preparing to replace libmcrypt4 2.5.0-1 (using .../libmcrypt4_2.5.0-1woody1_i386.deb) ... |
80 |
Unpacking replacement libmcrypt4 ... |
81 |
Preparing to replace mysql-common 3.23.49-8 (using .../mysql-common_3.23.49-8.2_all.deb) ... |
82 |
Unpacking replacement mysql-common ... |
83 |
Preparing to replace libmysqlclient10 3.23.49-8 (using .../libmysqlclient10_3.23.49-8.2_i386.deb) ... |
84 |
Unpacking replacement libmysqlclient10 ... |
85 |
Errors were encountered while processing: |
86 |
/var/cache/apt/archives/libgd1_1.8.4-17.woody2_i386.deb |
87 |
E: Sub-process /usr/bin/dpkg returned an error code (1) |
88 |
|
89 |
dpkg -r libgd1-xpm |
90 |
dpkg: dependency problems prevent removal of libgd1-xpm: |
91 |
php4-gd depends on libgd1-xpm (>= 1.8.4-22). |
92 |
dpkg: error processing libgd1-xpm (--remove): |
93 |
dependency problems - not removing |
94 |
Errors were encountered while processing: |
95 |
libgd1-xpm |
96 |
|
97 |
dpkg -r php4-gd |
98 |
(Reading database ... 26553 files and directories currently installed.) |
99 |
Removing php4-gd ... |
100 |
You are removing GD support for php4, but it is still |
101 |
enabled in your /etc/php4/apache/php.ini. |
102 |
You should remove this line: |
103 |
extension=gd.so |
104 |
Do you want me to do it now [Y/n] ? |
105 |
|
106 |
dpkg -r libgd1-xpm |
107 |
|
108 |
apt-get upgrade |
109 |
[...] |
110 |
Preparing to replace mysql-client 3.23.49-8 (using .../mysql-client_3.23.49-8.2_i386.deb) ... |
111 |
Unpacking replacement mysql-client ... |
112 |
Preparing to replace mysql-server 3.23.49-8 (using .../mysql-server_3.23.49-8.2_i386.deb) ... |
113 |
Stopping MySQL database server: mysqld. |
114 |
Unpacking replacement mysql-server ... |
115 |
Preparing to replace openssl 0.9.6c-2.woody.0 (using .../openssl_0.9.6c-2.woody.1_i386.deb) ... |
116 |
Moving lib from /usr/lib/ssl to /etc/ssl |
117 |
`/usr/lib/ssl/lib' -> `/etc/ssl/lib' |
118 |
Unpacking replacement openssl ... |
119 |
Preparing to replace perl-doc 5.6.1-7 (using .../perl-doc_5.6.1-8.2_all.deb) ... |
120 |
Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc' |
121 |
Unpacking replacement perl-doc ... |
122 |
[...] |
123 |
Preparing to replace php4-pear 4:4.1.2-4 (using .../php4-pear_4%3a4.1.2-6_all.deb) ... |
124 |
Unpacking replacement php4-pear ... |
125 |
[...] |
126 |
Preparing to replace bind 1:8.3.3-0.woody.1 (using .../bind_1%3a8.3.3-2.0woody1_i386.deb) ... |
127 |
Unpacking replacement bind ... |
128 |
[...] |
129 |
Setting up libmcrypt4 (2.5.0-1woody1) ... |
130 |
Setting up mysql-common (3.23.49-8.2) ... |
131 |
Setting up libmysqlclient10 (3.23.49-8.2) ... |
132 |
[...] |
133 |
Setting up bind (8.3.3-2.0woody1) ... |
134 |
Installing new version of config file /etc/init.d/bind ... |
135 |
Starting domain name service: named. |
136 |
[...] |
137 |
Setting up perl (5.6.1-8.2) ... |
138 |
Setting up perl-modules (5.6.1-8.2) ... |
139 |
[...] |
140 |
Setting up apache-common (1.3.26-0woody3) ... |
141 |
Setting up apache (1.3.26-0woody3) ... |
142 |
Apache has switched to using logrotate. However, some of your logs |
143 |
are stored outside the /var/log/apache directory, so you should |
144 |
edit /etc/logrotate.d/apache to have them automatically rotated. |
145 |
Reloading apache modules |
146 |
start-stop-daemon: warning: failed to kill 23027: No such process |
147 |
configuring dynamic domain "golf5.de" |
148 |
configuring dynamic domain "smartmen.de" |
149 |
configuring dynamic domain "ballonflug.de" |
150 |
Apache/1.3.26 mod_ssl/2.8.9 (Pass Phrase Dialog) |
151 |
Some of your private key files are encrypted for security reasons. |
152 |
In order to read them you have to provide us with the pass phrases. |
153 |
Server www.netfrag.org:443 (RSA) |
154 |
Enter pass phrase: quepasa.netfrag.org |
155 |
[...] |
156 |
Setting up mysql-client (3.23.49-8.2) ... |
157 |
Setting up mysql-server (3.23.49-8.2) ... |
158 |
Stopping MySQL database server: mysqld. |
159 |
Starting MySQL database server: mysqld. |
160 |
Setting up openssl (0.9.6c-2.woody.1) ... |
161 |
Setting up perl-doc (5.6.1-8.2) ... |
162 |
|
163 |
apt-get upgrade |
164 |
Reading Package Lists... Done |
165 |
Building Dependency Tree... Done |
166 |
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
167 |
|
168 |
perl -MCPAN -eshell |
169 |
install Hash::Merge |
170 |
|
171 |
apt-get install libc6-dev |
172 |
Sorry, but the following packages have unmet dependencies: |
173 |
libc6-dev: Depends: libc6 (= 2.2.5-11.2) but 2.3.1-8 is to be installed |
174 |
E: Sorry, broken packages |
175 |
|
176 |
wget http://ftp.de.debian.org/debian/pool/main/g/glibc/libc6-dev_2.3.1-9_i386.deb |
177 |
[...] |
178 |
|
179 |
dpkg -i libc6-dev_2.3.1-9_i386.deb |
180 |
[...] |
181 |
[dependency error] |
182 |
|
183 |
wget http://ftp.de.debian.org/debian/pool/main/g/glibc/libc6_2.3.1-9_i386.deb |
184 |
[...] |
185 |
|
186 |
dpkg -i libc6_2.3.1-9_i386.deb |
187 |
Preparing to replace libc6 2.3.1-8 (using libc6_2.3.1-9_i386.deb) ... |
188 |
Unpacking replacement libc6 ... |
189 |
Setting up libc6 (2.3.1-9) ... |
190 |
Current default timezone: 'Europe/Berlin'. |
191 |
Local time is now: Wed Jan 22 16:59:45 CET 2003. |
192 |
Universal Time is now: Wed Jan 22 15:59:45 UTC 2003. |
193 |
Run 'tzconfig' if you wish to change it. |
194 |
|
195 |
dpkg -i libc6-dev_2.3.1-9_i386.deb |
196 |
[...] |
197 |
|
198 |
perl -MCPAN -eshell |
199 |
install Hash::Merge |
200 |
|
201 |
|
202 |
debian - it's nice ;-) |