Originally Posted by
tommcd
Sorry, I missed that in your first post.
It seems that /var/cache/apt/archives/libc6_2.11.1-0ubuntu7_amd64.deb may be corrupt.
Try renaming that file to: libc6_2.11.1-0ubuntu7_amd64.deb.bak
And then try to update and upgrade.
uff, no way...
Code:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6 libpcre3
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc6 libpcre3
2 upgraded, 0 newly installed, 0 to remove and 322 not upgraded.
6 not fully installed or removed.
Need to get 4,249kB/4,465kB of archives.
After this operation, 1,114kB disk space will be freed.
Do you want to continue [Y/n]?
Get:1 http://it.archive.ubuntu.com/ubuntu/ lucid/main libc6 2.11.1-0ubuntu7 [4,249kB]
Fetched 4,249kB in 31s (135kB/s)
Preconfiguring packages ...
(Reading database ... 54187 files and directories currently installed.)
Preparing to replace libc6 2.7-10ubuntu5 (using .../libc6_2.11.1-0ubuntu7_amd64.deb) ...
Died at /usr/sbin/update-rc.d line 57.
dpkg: error processing /var/cache/apt/archives/libc6_2.11.1-0ubuntu7_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.11.1-0ubuntu7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
if I try to install only that package with dpkg I'll get
Code:
$ sudo dpkg -i libc6_2.11.1-0ubuntu7_amd64.deb
(Reading database ... 54187 files and directories currently installed.)
Preparing to replace libc6 2.7-10ubuntu5 (using libc6_2.11.1-0ubuntu7_amd64.deb) ...
Died at /usr/sbin/update-rc.d line 57.
dpkg: error processing libc6_2.11.1-0ubuntu7_amd64.deb (--install):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
libc6_2.11.1-0ubuntu7_amd64.deb
the package was not corrupted:
Code:
$ md5sum libc6_2.11.1-0ubuntu7_amd64.deb
6e66c70ab7c8804b19264ebc1213c64c libc6_2.11.1-0ubuntu7_amd64.deb
$ md5sum libc6_2.11.1-0ubuntu7_amd64.deb_backup
6e66c70ab7c8804b19264ebc1213c64c libc6_2.11.1-0ubuntu7_amd64.deb_backup
At the moment I'm running the lucid kernel.
Code:
Linux r900 2.6.32-22-server #33-Ubuntu SMP Wed Apr 28 14:34:48 UTC 2010 x86_64 GNU/Linux
May this be a problem?
Does rebooting the system with the old one have any sense to you?
Bookmarks