[intrepid] upgrading libc6 left my computer in a broken state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
--- What I did / how to reproduce ---
I was just upgrading my packages with Synaptic.
--- What happened ---
libc6 was left in a half-installed state and I was told to run "dpkg --configure -a".
When running "dpkg --configure -a", ldconfig segfaulted and my system was left with a broken libc.
Not even "ls" worked.
It was much pain to bring the system to a workable state again, since I had to download the intrepid .iso and
burn it using the broken computer (and that's not easy when you can only boot from CD's, so I ended up
moving one of the harddrives to another computer).
Then I just copied over all files belonging to the libc6 package from the CD to the harddrive and finally got it up and running again.
Right now, ldconfig still segfaults and "dpkg --configure -a" is impossible to please.
--- Expected results ---
The package should upgrade without a hitch and preferably not leave the system in a broken state.
--- Here's /etc/lsb-release ---
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
--- Here are the last lines from dpkg.log ---
2008-08-29 01:12:04 trigproc libc6 2.8~20080505-
2008-08-29 01:12:04 status half-configured libc6 2.8~20080505-
2008-08-29 01:39:41 startup packages configure
2008-08-29 01:39:41 configure libc6 2.8~20080505-
2008-08-29 01:39:41 status half-configured libc6 2.8~20080505-
2008-08-29 01:39:43 status installed libc6 2.8~20080505-
2008-08-29 01:39:43 status triggers-pending libc6 2.8~20080505-
2008-08-29 01:39:43 trigproc libc6 2.8~20080505-
2008-08-29 01:39:43 status half-configured libc6 2.8~20080505-
2008-08-29 01:39:46 startup packages configure
2008-08-29 01:39:46 configure libc6 2.8~20080505-
2008-08-29 01:39:46 status half-configured libc6 2.8~20080505-
2008-08-29 01:39:47 status installed libc6 2.8~20080505-
2008-08-29 01:39:47 status triggers-pending libc6 2.8~20080505-
2008-08-29 01:39:47 trigproc libc6 2.8~20080505-
2008-08-29 01:39:47 status half-configured libc6 2.8~20080505-
2008-08-29 01:39:49 startup packages configure
2008-08-29 01:39:49 configure libc6 2.8~20080505-
2008-08-29 01:39:49 status half-configured libc6 2.8~20080505-
2008-08-29 01:39:51 status installed libc6 2.8~20080505-
2008-08-29 01:39:51 status triggers-pending libc6 2.8~20080505-
2008-08-29 01:39:51 trigproc libc6 2.8~20080505-
2008-08-29 01:39:51 status half-configured libc6 2.8~20080505-
2008-08-29 01:40:06 startup packages configure
2008-08-29 01:40:06 configure libc6 2.8~20080505-
2008-08-29 01:40:06 status half-configured libc6 2.8~20080505-
2008-08-29 01:40:08 status installed libc6 2.8~20080505-
2008-08-29 01:40:08 status triggers-pending libc6 2.8~20080505-
2008-08-29 01:40:08 trigproc libc6 2.8~20080505-
2008-08-29 01:40:08 status half-configured libc6 2.8~20080505-
2008-08-29 01:45:58 startup packages configure
2008-08-29 01:45:58 configure libc6 2.8~20080505-
2008-08-29 01:45:58 status half-configured libc6 2.8~20080505-
2008-08-29 01:46:00 status installed libc6 2.8~20080505-
2008-08-29 01:46:00 status triggers-pending libc6 2.8~20080505-
2008-08-29 01:46:00 trigproc libc6 2.8~20080505-
2008-08-29 01:46:00 status half-configured libc6 2.8~20080505-
2008-08-29 01:51:27 startup packages configure
2008-08-29 01:51:27 configure libc6 2.8~20080505-
2008-08-29 01:51:27 status half-configured libc6 2.8~20080505-
2008-08-29 01:51:28 status installed libc6 2.8~20080505-
2008-08-29 01:51:28 status triggers-pending libc6 2.8~20080505-
2008-08-29 01:51:28 trigproc libc6 2.8~20080505-
2008-08-29 01:51:28 status half-configured libc6 2.8~20080505-
2008-08-29 01:53:20 startup archives install
2008-08-29 01:53:22 startup archives install
2008-08-29 01:53:34 upgrade libc6 2.8~20080505-
2008-08-29 01:53:34 status half-configured libc6 2.8~20080505-
2008-08-29 01:53:34 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:34 status half-installed libc6 2.8~20080505-
2008-08-29 01:53:34 status triggers-pending man-db 2.5.2-2
2008-08-29 01:53:34 status half-installed libc6 2.8~20080505-
2008-08-29 01:53:35 status half-installed libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 configure libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 status unpacked libc6 2.8~20080505-
2008-08-29 01:53:35 status half-configured libc6 2.8~20080505-
2008-08-29 01:53:36 status triggers-awaited libc6 2.8~20080505-
2008-08-29 01:53:36 status triggers-awaited libc6 2.8~20080505-
2008-08-29 01:53:36 trigproc man-db 2.5.2-2 2.5.2-2
2008-08-29 01:53:36 status half-configured man-db 2.5.2-2
2008-08-29 01:53:36 status triggers-pending libc6 2.8~20080505-
2008-08-29 01:53:38 status installed man-db 2.5.2-2
2008-08-29 01:53:38 trigproc libc6 2.8~20080505-
2008-08-29 01:53:38 status half-configured libc6 2.8~20080505-
2008-08-29 01:55:09 startup archives install
2008-08-29 01:55:10 upgrade libc6 2.8~20080505-
2008-08-29 01:55:10 status half-configured libc6 2.8~20080505-
2008-08-29 01:55:10 status unpacked libc6 2.8~20080505-
2008-08-29 01:55:10 status half-installed libc6 2.8~20080505-
2008-08-29 01:55:10 status triggers-pending man-db 2.5.2-2
2008-08-29 01:55:10 status half-installed libc6 2.8~20080505-
2008-08-29 01:55:10 status half-installed libc6 2.8~20080505-
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 configure libc6 2.7-10ubuntu3 2.7-10ubuntu3
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 status unpacked libc6 2.7-10ubuntu3
2008-08-29 01:55:10 status half-configured libc6 2.7-10ubuntu3
2008-08-29 01:55:12 trigproc man-db 2.5.2-2 2.5.2-2
2008-08-29 01:55:12 status half-configured man-db 2.5.2-2
2008-08-29 01:55:12 status installed man-db 2.5.2-2
2008-08-30 17:16:09 startup archives unpack
2008-08-30 17:16:21 upgrade libgomp1 4.3.2-0ubuntu1 4.3.2-0ubuntu2
2008-08-30 17:16:21 status half-configured libgomp1 4.3.2-0ubuntu1
2008-08-30 17:16:21 status unpacked libgomp1 4.3.2-0ubuntu1
2008-08-30 17:16:21 status half-installed libgomp1 4.3.2-0ubuntu1
2008-08-30 17:16:21 status half-installed libgomp1 4.3.2-0ubuntu1
2008-08-30 17:16:21 status unpacked libgomp1 4.3.2-0ubuntu2
2008-08-30 17:16:21 status unpacked libgomp1 4.3.2-0ubuntu2
2008-08-30 17:16:21 upgrade lib32stdc++6 4.3.2-0ubuntu1 4.3.2-0ubuntu2
2008-08-30 17:16:21 status half-configured lib32stdc++6 4.3.2-0ubuntu1
2008-08-30 17:16:21 status unpacked lib32stdc++6 4.3.2-0ubuntu1
2008-08-30 17:16:21 status half-installed lib32stdc++6 4.3.2-0ubuntu1
2008-08-30 17:16:21 status half-installed lib32stdc++6 4.3.2-0ubuntu1
2008-08-30 17:16:21 status unpacked lib32stdc++6 4.3.2-0ubuntu2
2008-08-30 17:16:21 status unpacked lib32stdc++6 4.3.2-0ubuntu2
2008-08-30 17:16:22 upgrade libc6 2.7-10ubuntu3 2.8~20080505-
2008-08-30 17:16:22 status half-configured libc6 2.7-10ubuntu3
2008-08-30 17:16:22 status unpacked libc6 2.7-10ubuntu3
2008-08-30 17:16:22 status half-installed libc6 2.7-10ubuntu3
2008-08-30 17:16:24 status triggers-pending man-db 2.5.2-2
2008-08-30 17:16:24 status half-installed libc6 2.7-10ubuntu3
2008-08-30 17:16:24 status half-installed libc6 2.7-10ubuntu3
2008-08-30 17:16:24 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:24 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:24 trigproc man-db 2.5.2-2 2.5.2-2
2008-08-30 17:16:24 status half-configured man-db 2.5.2-2
2008-08-30 17:16:25 status installed man-db 2.5.2-2
2008-08-30 17:16:26 startup packages configure
2008-08-30 17:16:26 configure libc6 2.8~20080505-
2008-08-30 17:16:26 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:26 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:26 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:26 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:26 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:26 status unpacked libc6 2.8~20080505-
2008-08-30 17:16:26 status half-configured libc6 2.8~20080505-
2008-08-30 17:16:28 status installed libc6 2.8~20080505-
2008-08-30 17:16:28 status triggers-pending libc6 2.8~20080505-
2008-08-30 17:16:28 trigproc libc6 2.8~20080505-
2008-08-30 17:16:28 status half-configured libc6 2.8~20080505-
2008-08-30 17:16:30 startup packages configure
2008-08-30 17:16:30 configure libc6 2.8~20080505-
2008-08-30 17:16:30 status half-configured libc6 2.8~20080505-
2008-08-30 17:16:33 status installed libc6 2.8~20080505-
2008-08-30 17:16:33 status triggers-pending libc6 2.8~20080505-
2008-08-30 17:16:33 trigproc libc6 2.8~20080505-
2008-08-30 17:16:33 status half-configured libc6 2.8~20080505-
2008-08-30 17:17:04 startup packages configure
2008-08-30 17:17:04 configure libc6 2.8~20080505-
2008-08-30 17:17:04 status half-configured libc6 2.8~20080505-
2008-08-30 17:17:06 status installed libc6 2.8~20080505-
2008-08-30 17:17:06 status triggers-pending libc6 2.8~20080505-
2008-08-30 17:17:06 trigproc libc6 2.8~20080505-
2008-08-30 17:17:06 status half-configured libc6 2.8~20080505-
--- Here's the entire /var/log/
apport (pid 8532) Sat Aug 30 17:17:06 2008: called for pid 8531, signal 11
apport (pid 8532) Sat Aug 30 17:17:06 2008: executable: /sbin/ldconfig.real (command line "/sbin/
apport (pid 8532) Sat Aug 30 17:17:06 2008: apport: report /var/crash/
--- Here are the last lines from /var/log/messages ---
Aug 30 17:16:28 linzap klogd: [ 327.208002] ldconfig.
Aug 30 17:16:33 linzap klogd: [ 331.851229] ldconfig.
Aug 30 17:17:06 linzap klogd: [ 365.108502] ldconfig.
Aug 30 17:18:51 linzap syslogd 1.5.0#2ubuntu5: restart.
Aug 30 17:31:17 linzap -- MARK --
--- Here are the last lines from /var/log/
Ingen omdirigering «diversion of /usr/lib/
Ingen omdirigering «diversion of /usr/lib/
Ingen omdirigering «diversion of /usr/lib/
Ingen omdirigering «diversion of /usr/lib/libbfd.la to /usr/lib/
Ingen omdirigering «diversion of /usr/lib/
Ingen omdirigering «diversion of /usr/include/bfd.h to /usr/include/
Ingen omdirigering «diversion of /usr/lib/ldscripts to /usr/lib/
Velger den tidligere fravalgte pakken libdebian-
Pakker ut libdebian-
Velger den tidligere fravalgte pakken dpkg-cross.
Pakker ut dpkg-cross (fra .../dpkg-
Behandler utløsere for man-db ...
Setter opp libconfig-
Setter opp libyaml-perl (0.66-1) ...
Setter opp libconfig-auto-perl (0.20-2) ...
Setter opp libfile-
Setter opp binutils-multiarch (2.18.50.
Setter opp libdebian-
Setter opp dpkg-cross (2.2.4) ...
Behandler utløsere for libc6 ...
ldconfig deferred processing now taking place
Log ended: 2008-08-29 00:56:16
Log started: 2008-08-30 17:16:09
(Leser database ... 233354 filer og kataloger er installerte.)
Gjør klar til å bytte ut libgomp1 4.3.2-0ubuntu1 (ved bruk av .../libgomp1_
Pakker ut erstatningen libgomp1 ...
Gjør klar til å bytte ut lib32stdc++6 4.3.2-0ubuntu1 (ved bruk av .../lib32stdc+
Pakker ut erstatningen lib32stdc++6 ...
Gjør klar til å bytte ut libc6 2.7-10ubuntu3 (ved bruk av .../libc6_
Pakker ut erstatningen libc6 ...
Behandler utløsere for man-db ...
Setter opp libc6 (2.8~20080505-
Behandler utløsere for libc6 ...
ldconfig deferred processing now taking place
Segmentation fault (core dumped)
dpkg: underprosessen post-installation script returnerte feilstatus 139
Log ended: 2008-08-30 17:16:30
--- Here's what dpkg --configure -a looks like ---
dpkg: Kravproblem hindrer oppsettet av lib32stdc++6:
lib32stdc++6 krever gcc-4.3-base (= 4.3.2-0ubuntu2). Men:
Versjon av gcc-4.3-base på systemet er 4.3.2-0ubuntu1.
dpkg: Feil ved behandling av lib32stdc++6 (--configure):
kravproblem - setter ikke opp pakken
Setter opp libc6 (2.8~20080505-
dpkg: Kravproblem hindrer oppsettet av libgomp1:
libgomp1 krever gcc-4.3-base (= 4.3.2-0ubuntu2). Men:
Versjon av gcc-4.3-base på systemet er 4.3.2-0ubuntu1.
dpkg: Feil ved behandling av libgomp1 (--configure):
kravproblem - setter ikke opp pakken
Behandler utløsere for libc6 ...
ldconfig deferred processing now taking place
Segmentation fault (core dumped)
dpkg: underprosessen post-installation script returnerte feilstatus 139
I tried upgrading libc6 again. Here's the console output.
Forhåndsoppsetter pakker ... config. 134611" : Permission denied at /usr/share/ perl/5. 10/IPC/ Open3.pm line 168. config. 134611 configure 2.8~20080505- 0ubuntu6 failed at /usr/share/ perl5/Debconf/ ConfModule. pm line 59 0ubuntu6 (ved bruk av .../libc6_ 2.8~20080505- 0ubuntu6_ amd64.deb) ... 0ubuntu6) ...
Can't exec "/tmp/libc6.
open2: exec of /tmp/libc6.
forhåndsoppsettet av libc6 mislyktes med avslutningsstatus 255
(Leser database ... 211261 filer og kataloger er installerte.)
Gjør klar til å bytte ut libc6 2.8~20080505-
Pakker ut erstatningen libc6 ...
Behandler utløsere for man-db ...
Setter opp libc6 (2.8~20080505-
Behandler utløsere for libc6 ... 0ubuntu6) ...
ldconfig deferred processing now taking place
Segmentation fault (core dumped)
dpkg: underprosessen post-installation script returnerte feilstatus 139
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
Setter opp libc6 (2.8~20080505-
Behandler utløsere for libc6 ...
ldconfig deferred processing now taking place
Segmentation fault (core dumped)
dpkg: underprosessen post-installation script returnerte feilstatus 139