[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#188383: Overwriting /lib/64 for me too



severity 188383 critical
thanks

Marking as critical as without manual fiddling this breaks upgrades.

Upgrading from Woody to testing (May 1st 2003) on a SPARC Ultra 5.

I installed Woody, everything was okay and installed. Switched to
testing, and tried to first upgrade dpkg:

$ apt-get install dpkg
Do you want to continue? [Y/n] y
Get:1 ftp://ftp.fi.debian.org testing/main libdb1-compat 2.1.3-7 [30.3kB]
Get:2 ftp://ftp.fi.debian.org testing/main libc6-sparc64 2.3.1-16 [3391kB]
Get:3 ftp://ftp.fi.debian.org testing/main libc6-dev 2.3.1-16 [2832kB]
Get:4 ftp://ftp.fi.debian.org testing/main libc6 2.3.1-16 [3759kB]
Get:5 ftp://ftp.fi.debian.org testing/main dselect 1.10.9 [90.9kB]
Get:6 ftp://ftp.fi.debian.org testing/main dpkg 1.10.9 [1165kB]
Fetched 11.3MB in 46s (240kB/s)
Selecting previously deselected package libdb1-compat.
(Reading database ... 18591 files and directories currently installed.)
Unpacking libdb1-compat (from .../libdb1-compat_2.1.3-7_sparc.deb) ...
Replacing files in old package libc6 ...
Preparing to replace libc6-sparc64 2.2.5-11.5 (using .../libc6-sparc64_2.3.1-16_sparc.deb) ...
Unpacking replacement libc6-sparc64 ...
dpkg: error processing /var/cache/apt/archives/libc6-sparc64_2.3.1-16_sparc.deb (--unpack):
 trying to overwrite `/lib/64', which is also in package libgcc1
Preparing to replace libc6-dev 2.2.5-11.5 (using .../libc6-dev_2.3.1-16_sparc.deb)
...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.2.5-11.5 (using .../libc6_2.3.1-16_sparc.deb) ...
Unpacking replacement libc6 ...
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-sparc64_2.3.1-16_sparc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Urgh.  I tried lots of combinations but eventually:

agloval:/var/cache/apt/archives# dpkg -i libgcc1_1%3a3.3-0pre5_sparc.deb libc6_2.3.1-16_sparc.deb libgcc1_1%3a3.3-0pre5_sparc.deb  libdb1-compat_2.1.3-7_sparc.deb
(Reading database ... 18591 files and directories currently installed.)
Preparing to replace libgcc1 1:3.3-0pre5 (using libgcc1_1%3a3.3-0pre5_sparc.deb) ...
Unpacking replacement libgcc1 ...
Preparing to replace libc6 2.3.1-16 (using libc6_2.3.1-16_sparc.deb) ...
Unpacking replacement libc6 ...
Preparing to replace libgcc1 1:3.3-0pre5 (using libgcc1_1%3a3.3-0pre5_sparc.deb) ...
Unpacking replacement libgcc1 ...
Preparing to replace libdb1-compat 2.1.3-7 (using libdb1-compat_2.1.3-7_sparc.deb)
...
Unpacking replacement libdb1-compat ...
More than one copy of package libgcc1 has been unpacked
 in this run !  Only configuring it once.
Setting up libc6 (2.3.1-16) ...
Checking for services that may need to be restarted...done.
[snip rest of postinst script]

This managed to get the some in, and then attempting to install dpkg
again:

agloval:/var/cache/apt/archives# apt-get install dpkg
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  dpkg: PreDepends: dselect but it is not going to be installed
  libc6-sparc64: Depends: libc6 (= 2.2.5-11.5) but 2.3.1-16 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

agloval:/var/cache/apt/archives# apt-get install dpkg dselect libc6-sparc64
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  dselect
2 packages upgraded, 1 newly installed, 0 to remove and 133  not upgraded.
1 packages not fully installed or removed.
Need to get 0B/4647kB of archives. After unpacking 893kB will be freed.
Selecting previously deselected package dselect.
(Reading database ... 18591 files and directories currently installed.)
Unpacking dselect (from .../dselect_1.10.9_sparc.deb) ...
Replacing files in old package dpkg ...
Setting up dselect (1.10.9) ...
 
(Reading database ... 18596 files and directories currently installed.)
Preparing to replace dpkg 1.9.21 (using .../archives/dpkg_1.10.9_sparc.deb) ...
Unpacking replacement dpkg ...
Setting up dpkg (1.10.9) ...
Moving /usr/info/dir to /usr/share/info/dir.
Making /usr/info a symlink to /usr/share/info.
 
(Reading database ... 18610 files and directories currently installed.)
Preparing to replace libc6-sparc64 2.2.5-11.5 (using .../libc6-sparc64_2.3.1-16_sparc.deb) ...
Unpacking replacement libc6-sparc64 ...
Setting up libc6-dev (2.3.1-16) ...
Setting up libc6-sparc64 (2.3.1-16) ...

Hooray, got there. Machine is currently happily dist-upgrading.
-- 
Ross Burton                                 mail: ross@burtonini.com
                                      jabber: ross@jabber.debian.net
                                    www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




Reply to: