Problém s instalací libc6 balíčku AMD64 Debian

Petr Balas petr-news na balas.cz
Čtvrtek Září 1 01:22:35 CEST 2005


Martin Kamín wrote:

> Zdravím konferenci,
> 
> už jsem prohledal snad všechno, ale řešení nikdo zatím nepublikoval.
> Situace: 2.6.10-9-amd64-k8 x86_64 GNU/Linux
> Debianí balíčky se sbírají odtud:
> deb http://debian.inode.at/debian-amd64/debian-amd64 sarge main contrib
> non-free
> a
> deb-src http://debian.inode.at/debian-amd64/debian-amd64 sarge main
> contrib non-free
> 
> Server je od května v provozu. Nyní se objevil problém.
> Když chci doplnit balíček:
> 
> ------------------------------------------------------------------
> # apt-get install bittorrent
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>   libc6-dev: Depends: libc6 (= 2.3.2.ds1-22) but 2.3.2.ds1-21 is to be
> installed
>   locales: Depends: glibc-2.3.2.ds1-22
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution)
> ------------------------------------------------------------------
> # 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 220 not upgraded.
> 2 not fully installed or removed.
> Need to get 0B/4318kB of archives.
> After unpacking 0B of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Reading package fields... Done
> Reading package status... Done
> Retrieving bug reports... Done
> (Reading database ... 102488 files and directories currently installed.)
> Preparing to replace libc6 2.3.2.ds1-21
> (using .../libc6_2.3.2.ds1-22_amd64.deb) ...
> Unpacking replacement libc6 ...
> dpkg: error processing
> /var/cache/apt/archives/libc6_2.3.2.ds1-22_amd64.deb (--unpack):
>  trying to overwrite `/usr/lib64', which is also in package mjpegtools

mjpegtools je ne zela korektni.
vim /var/lib/dpkg/info/mjpegtools.list
a maznete ten radek s /usr/lib64

> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.3.2.ds1-22_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> balíček existuje:
> -rw-r--r--  1 root root 4318484 May 12
> 00:47 /var/cache/apt/archives/libc6_2.3.2.ds1-22_amd64.deb
> ------------------------------------------------------------------
> # apt-get remove mjpegtools
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>   libc6-dev: Depends: libc6 (= 2.3.2.ds1-22) but 2.3.2.ds1-21 is to be
> installed
>   locales: Depends: glibc-2.3.2.ds1-22
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).
> ------------------------------------------------------------------
> Na konci tohoto linku je popsán postup:
> http://sysadminforum.com/archive/t-130172.html
> 
> dpkg -i --force-depends mawk
> dpkg -i --force-depends dpkg
> dpkg -i --force-depends libc6
> 
> ale forcovat knihovnu? To je přeci dost riskantní!

To bych snad neriskoval.

-- 
Petr Balas - petr at balas dot cz


Další informace o konferenci Linux