Inconsistent state in util-linux
Greetings. Tried to use aptitude this morning to install the update for
openssh/openssl. Saw that there were a few upgrades that were needed so I
thought I'd just do a dist-upgrade.
Everything seemed ok, except now I'm stuck with util-linux in an inconsistent
state, and I don't know quite know how to resolve it. I tried to 'aptitude
reinstall', and get the following:
____________________________________________
The following packages will be REINSTALLED:
util-linux
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 114 not
upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Error!
E: I wasn't able to locate file for the util-linux package. This might mean
you need to manually fix this package.
E: Couldn't lock list directory..are you root?
mercury:/home/rwright#
----------------------------------------------------------------------
When I run aptitude install, this happens:
_________________________________________
The following packages will be upgraded:
util-linux
1 packages upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
Need to get 397kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://debian.mirrors.tds.net etch/main util-linux 2.12r-19etch1 [397kB]
Fetched 397kB in 1s (229kB/s)
(Reading database ... 50982 files and directories currently installed.)
Preparing to replace util-linux 2.12r-19
(using .../util-linux_2.12r-19etch1_amd64.deb) ...
Errno architecture (x86_64-linux-gnu-thread-multi-2.6.18-1-amd64) does not
match executable architecture (x86_64-linux-gnu-thread-multi-2.6.24-1-amd64)
at /usr/local/share/perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/sbin/install-info line 308.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 308.
dpkg: warning - old pre-removal script returned error exit status 9
dpkg - trying script from the new package instead ...
Errno architecture (x86_64-linux-gnu-thread-multi-2.6.18-1-amd64) does not
match executable architecture (x86_64-linux-gnu-thread-multi-2.6.24-1-amd64)
at /usr/local/share/perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/sbin/install-info line 308.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 308.
dpkg: error
processing /var/cache/apt/archives/util-linux_2.12r-19etch1_amd64.deb
(--unpack):
subprocess new pre-removal script returned error exit status 9
Errno architecture (x86_64-linux-gnu-thread-multi-2.6.18-1-amd64) does not
match executable architecture (x86_64-linux-gnu-thread-multi-2.6.24-1-amd64)
at /usr/local/share/perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/sbin/install-info line 308.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 308.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
/var/cache/apt/archives/util-linux_2.12r-19etch1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing util-linux (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
util-linux
-------------------------------------------------------------------
I've tried using clean and autoclean, and dpkg --configure. I know I can't
remove the package. What should I do?
Thanks,
Rob Wright
debianrob@poncacity.net
Reply to: