Upgrading from Breezy AMD64 to Dapper - glibc error

Bug #32660 reported by Jave 27 on 2006-02-23
6
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Medium
Matthias Klose
Dapper
Medium
Unassigned

Bug Description

After changing my etc/apt/sources.list to point to the dapper repos instead of breezy, then running apt-get update and apt-get dist-upgrade, it proceeded to download about 1000 packages, then crashed while installing one of the first ones - the glibc update. Here's the output text:

Fetched 638MB in 24m30s (434kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/x11-common.config.109291: line 28: laptop-detect: command not found
/tmp/xserver-xorg.config.111331: line 30: laptop-detect: command not found
(Reading database ... 91720 files and directories currently installed.)
Preparing to replace perl-modules 5.8.7-5ubuntu1.2 (using .../perl-modules_5.8.7-10ubuntu1_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace linux-kernel-headers 2.6.11.2-0ubuntu13 (using .../linux-kernel-headers_2.6.11.2-0ubuntu16_amd64.deb) ...
Unpacking replacement linux-kernel-headers ...
Preparing to replace libc6-dev 2.3.5-1ubuntu12 (using .../libc6-dev_2.3.6-0ubuntu6_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.3.5-1ubuntu12 (using .../libc6_2.3.6-0ubuntu6_amd64.deb) ...
These libraries were found in /usr/lib:
libc.so.6

A copy of glibc was found in an unexpected directory.
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6-0ubuntu6_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.6-0ubuntu6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here's the output of "apt-get -f install" after that.

jason@jave02:/etc/apt$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 986 not upgraded.
3 not fully installed or removed.
Need to get 0B/4053kB of archives.
After unpacking 5738kB disk space will be freed.
Do you want to continue [Y/n]?

Preconfiguring packages ...
(Reading database ... 91812 files and directories currently installed.)
Preparing to replace libc6 2.3.5-1ubuntu12 (using .../libc6_2.3.6-0ubuntu6_amd64.deb) ...
These libraries were found in /usr/lib:
libc.so.6

A copy of glibc was found in an unexpected directory.
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6-0ubuntu6_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.6-0ubuntu6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Dennis Kaarsemaker (dennis) wrote :

One task is enough

Changed in upgrade-system:
status: Unconfirmed → Rejected
Changed in glibc:
status: Unconfirmed → Rejected
status: Rejected → Unconfirmed
Matt Zimmerman (mdz) wrote :

Please run "dpkg -S /usr/lib/libc.so.6". That file should not be there.

Changed in glibc:
status: Unconfirmed → Needs Info
Matthias Klose (doko) wrote :

Rejecting the report; /usr/lib/libc.so.6 is not part of any ubuntu package.

Changed in glibc:
assignee: nobody → doko
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers