Since a few days, I am experiencing error when updating packages. My system is Linux Mint 9 running with Gnome.
I tried deleting the /var/cache/apt/archives/*.deb files, but to no avail.
Any suggestion would be most welcome.
Update:
I tried removing dpkg-dev, but it didn't work. I copy-paste the new output:
- Code: Select all
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
dpkg-dev
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0B/49.3MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
dpkg-dev debhelper openoffice.org-common openoffice.org-core openoffice.org-base
Authentication warning overridden.
Preconfiguring packages ...
(Reading database ... 164798 files and directories currently installed.)
Preparing to replace dpkg-dev 1.15.5.6ubuntu4 (using .../dpkg-dev_1.15.5.6ubuntu4.1_all.deb) ...
Unpacking replacement dpkg-dev ...
dpkg: error processing /var/cache/apt/archives/dpkg-dev_1.15.5.6ubuntu4.1_all.deb (--unpack):
unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/conffiles': Is a directory
Preparing to replace debhelper 7.4.15ubuntu1 (using .../debhelper_7.4.15ubuntu1_all.deb) ...
Unpacking replacement debhelper ...
dpkg: error processing /var/cache/apt/archives/debhelper_7.4.15ubuntu1_all.deb (--unpack):
unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/md5sums': Is a directory
Preparing to replace openoffice.org-common 1:3.2.0-7ubuntu4.1 (using .../openoffice.org-common_1%3a3.2.0-7ubuntu4.1_all.deb) ...
Unpacking replacement openoffice.org-common ...
dpkg (subprocess): unable to execute old post-removal script: Exec format error
dpkg: warning: old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
dpkg: error processing /var/cache/apt/archives/openoffice.org-common_1%3a3.2.0-7ubuntu4.1_all.deb (--unpack):
unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/templates': Is a directory
Preparing to replace openoffice.org-core 1:3.2.0-7ubuntu4.1 (using .../openoffice.org-core_1%3a3.2.0-7ubuntu4.1_i386.deb) ...
Unpacking replacement openoffice.org-core ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-core_1%3a3.2.0-7ubuntu4.1_i386.deb (--unpack):
unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/md5sums': Is a directory
No apport report written because MaxReports is reached already
Preparing to replace openoffice.org-base 1:3.2.0-7ubuntu4.1 (using .../openoffice.org-base_1%3a3.2.0-7ubuntu4.1_i386.deb) ...
Unpacking replacement openoffice.org-base ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-base_1%3a3.2.0-7ubuntu4.1_i386.deb (--unpack):
unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/md5sums': Is a directory
No apport report written because MaxReports is reached already
Processing triggers for man-db ...
Processing triggers for mintsystem ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for menu ...
Processing triggers for python-support ...
Errors were encountered while processing:
/var/cache/apt/archives/dpkg-dev_1.15.5.6ubuntu4.1_all.deb
/var/cache/apt/archives/debhelper_7.4.15ubuntu1_all.deb
/var/cache/apt/archives/openoffice.org-common_1%3a3.2.0-7ubuntu4.1_all.deb
/var/cache/apt/archives/openoffice.org-core_1%3a3.2.0-7ubuntu4.1_i386.deb
/var/cache/apt/archives/openoffice.org-base_1%3a3.2.0-7ubuntu4.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Obviously, the problem is linked to the warning message:
- Code: Select all
WARNING: The following packages cannot be authenticated!
dpkg-dev debhelper openoffice.org-common openoffice.org-core openoffice.org-base
Of course, I ran apt-get update after having checked that /etc/apt/sources.list file is the original one...
I also noticed that the /var/lib/dpkg/info folder contains dead symlinks. Ttf and jar files.
For example:
- Code: Select all
lrwxrwxrwx 1 root root 23 2010-06-09 10:58 uno-libs3.shlibs -> Verdana_Bold_Italic.ttf
lrwxrwxrwx 1 root root 12 2010-06-09 10:58 uno-libs3.symbols -> Webdings.ttf
lrwxrwxrwx 1 root root 18 2010-06-09 10:58 ure.md5sums -> Verdana_Italic.ttf
lrwxrwxrwx 1 root root 28 2010-06-09 10:58 ure.postinst -> Trebuchet_MS_Bold_Italic.ttf
lrwxrwxrwx 1 root root 16 2010-06-09 10:58 ure.postrm -> Verdana_Bold.ttf
lrwxrwxrwx 1 root root 11 2010-06-09 10:58 ure.preinst -> Verdana.ttf
lrwxrwxrwx 1 root root 23 2010-06-09 10:58 ure.shlibs -> Trebuchet_MS_Italic.ttf
lrwxrwxrwx 1 root root 21 2010-06-09 10:58 ure.templates -> Trebuchet_MS_Bold.ttf
lrwxrwxrwx 1 root root 43 2010-06-05 16:21 x11proto-xext-dev.md5sums -> ../../../../../java/slf4j-simple-1.5.10.jar
Seems to be a weird problem...
Thanks for any help!
Pierre


