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

apt-get failed to install anything



Hi there,

 

I found out one of our machine have problems to install anything using apt-get.

The following are the errors. Could someone help please? Thanks.

 

Kevin SZ

 

root@web3-eqix-sjo:/var/cache/apt/archives# more /etc/debian_version

3.1

 

 

root@web3-eqix-sjo:/var/cache/apt/archives# apt-get install libc6-dev

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-22sarge6) but 2.3.2.ds1-22 is to be installed

             Depends: linux-kernel-headers but it is not going to be installed

  locales: Depends: glibc-2.3.2.ds1-22sarge6

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

root@web3-eqix-sjo:/var/cache/apt/archives# 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 15 not upgraded.

1 not fully installed or removed.

Need to get 0B/4886kB of archives.

After unpacking 233kB disk space will be freed.

Do you want to continue? [Y/n] Y

(Reading database ... 15001 files and directories currently installed.)

Preparing to replace libc6 2.3.2.ds1-22 (using .../libc6_2.3.2.ds1-22sarge6_i386.deb) ...

Unpacking replacement libc6 ...

dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-22sarge6_i386.deb (--unpack):

 trying to overwrite `/usr/share/zoneinfo/Africa/Algiers', which is also in package tzdata

dpkg-deb: subprocess paste killed by signal (Broken pipe)

Errors were encountered while processing:

 /var/cache/apt/archives/libc6_2.3.2.ds1-22sarge6_i386.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

root@web3-eqix-sjo:/var/cache/apt/archives#

 

 


Reply to: