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@xxxxxxxxxxxxx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Can;t fix doc-base installation problem
    ... Aptitude seems to be hanging up when trying to install / purge / update doc-base. ... subprocess installed pre-removal script returned error exit status 1 ... The package seems to be partially installed. ...
    (Debian-User)
  • error installing vmware-player
    ... carl@amd15:~$ sudo apt-get install vmware-player ... subprocess post-installation script returned error exit status 1 ... Selecting previously deselected package vmware-player-kernel-modules. ... A package failed to install. ...
    (Ubuntu)
  • Package dependency problem with util-linux and slang
    ... I am having some trouble resolving a package dependency. ... I have util-linux 2.12p-4 installed. ... If I try to do 'apt-get install libslang1-utf8' it wants to ...
    (Debian-User)
  • Re: Missing tools in openSUSE 10.2 64 bit
    ... since hex is a different package altogether. ... installed by util-linux are missing, ... will just show the status of hexdump. ... So that means the install from the downloaded rpm didn't install. ...
    (alt.os.linux.suse)
  • NB package screw up
    ... different mail package combinations I decided it would be a good idea ... I'm using Postfix as my MTA right now, and it came time to install an ... Here's the errors I get on an apt-get remove courier-imap: ... subprocess post-installation script returned error exit status 1 ...
    (Debian-User)