updating doesn't work anymore
Joep L. Blom
jlblom at neuroweave.nl
Thu May 20 21:22:58 UTC 2010
Markus Schönhaber wrote:
> 20.05.2010 13:54, Joep L. Blom:
>
>> Markus,
>> Following up on my reply yesterday I tried that, renaming
>> libc-bin.triggers to ~.old and then reinstalling libc-bin. Well, that
>> doesn't work as libc-bin is used apparently by dpkg and as
>> libc-bin.triggers is missing it comes with the error:
>> E: libc-bin: subprocess installed post-installation script returned
>> error exit status 2.
>
> What exactly did you do? And is this really the only message you get?
>
> The following works for me:
>
> /var/lib/dpkg/info# mv -v libc-bin.triggers libc-bin.triggers.old
> `libc-bin.triggers' -> `libc-bin.triggers.old'
> /var/lib/dpkg/info# aptitude reinstall libc-bin
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> The following packages will be REINSTALLED:
> libc-bin
> 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0
> not upgraded.
> Need to get 0B/784kB of archives. After unpacking 0B will be used.
> Writing extended state information... Done
> (Reading database ... 44954 files and directories currently installed.)
> Preparing to replace libc-bin 2.10.1-0ubuntu16 (using
> .../libc-bin_2.10.1-0ubuntu16_amd64.deb) ...
> Unpacking replacement libc-bin ...
> Processing triggers for man-db ...
> Setting up libc-bin (2.10.1-0ubuntu16) ...
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
>
> /var/lib/dpkg/info# ls -l libc-bin*
> -rw-r--r-- 1 root root 70 2010-01-03 13:03 libc-bin.conffiles
> -rw-r--r-- 1 root root 1287 2010-05-20 15:08 libc-bin.list
> -rw-r--r-- 1 root root 2200 2010-01-03 13:03 libc-bin.md5sums
> -rwxr-xr-x 1 root root 174 2010-01-03 13:03 libc-bin.postinst
> -rw-r--r-- 1 root root 18 2010-01-03 13:02 libc-bin.triggers
> -rw-r--r-- 1 root root 18 2010-01-03 13:02 libc-bin.triggers.old
> /var/lib/dpkg/info#
>
>> So I need an install process without using dpkg or apt-get.
>> I don't think your libc-bin.triggers will work as it is too much
>> differing from mine I think.
>
> Hm, my guess would be that you'd have a hard time finding a second
> Karmic installation where the libc-bin.triggers is *not* the same as mine.
>
Markus,
I did exactly what you did except for the line:
"`libc-bin.triggers' -> `libc-bin.triggers.old'"
My lines are:
=================================================
$ sudo apt-get --reinstall install libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 15 not
upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up libc-bin (2.10.1-0ubuntu16) ...
dpkg (subprocess): unable to execute installed post-installation script:
Exec format error
dpkg: error processing libc-bin (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
===========================================================
But I will try your suggestion and use your libc-bin.trigger file. I let
you know the results.
Joep
More information about the ubuntu-users
mailing list