Same problem, approx fails to install (and remove) on Ubuntu 10.04 LTS Desktop amd64, approx 4.1-1build1.
After manually killing 'sudo apt-get install approx' and fixing with 'sudo dpkg --configure -a', approx refused to remove with apt. This could be fixed by some more killing of installation processes. Haithamoon: Your second installation attempt looks like you have the locking problem (side effect of the bug): "debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable". You might want to kill the rest of the dpkg processes, see below. $ sudo apt-get -y remove approx ... Removing approx ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing approx (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: approx $ sudo dpkg --remove --force-all approx ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing approx (--remove): subprocess installed post-removal script returned error exit status 1 $ ps waux|grep -i dpkg root 15013 0.0 0.1 54036 11580 ? S 11:45 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/approx.postinst configure [..] $ sudo kill 15013 $ sudo apt-get -y remove approx ... Removing approx ... And finally it was removed successfully. -- failed to install https://bugs.launchpad.net/bugs/612296 You received this bug notification because you are a member of Debian OCaml Maintainers, which is subscribed to approx in ubuntu. Status in “approx” package in Ubuntu: New Bug description: Binary package hint: approx This happens with me with ubuntu 10.04 32bit as well as 64 bit also sudo aptitude install approx When i try to install this package using the previous command, it gives me the following : ****************************************************** Preconfiguring packages ... Selecting previously deselected package libcurl3. (Reading database ... 42477 files and directories currently installed.) Unpacking libcurl3 (from .../libcurl3_7.19.7-1ubuntu1_i386.deb) ... Selecting previously deselected package curl. Unpacking curl (from .../curl_7.19.7-1ubuntu1_i386.deb) ... Selecting previously deselected package libfile-copy-recursive-perl. Unpacking libfile-copy-recursive-perl (from .../libfile-copy-recursive-perl_0.38-1_all.deb) ... Selecting previously deselected package update-inetd. Unpacking update-inetd (from .../update-inetd_4.35_all.deb) ... Selecting previously deselected package openbsd-inetd. Unpacking openbsd-inetd (from .../openbsd-inetd_0.20080125-4ubuntu2_i386.deb) ... Selecting previously deselected package approx. Unpacking approx (from .../approx_4.1-1build1_i386.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up libcurl3 (7.19.7-1ubuntu1) ... Setting up curl (7.19.7-1ubuntu1) ... Setting up libfile-copy-recursive-perl (0.38-1) ... Setting up update-inetd (4.35) ... Setting up openbsd-inetd (0.20080125-4ubuntu2) ... * Stopping internet superserver inetd [ OK ] * Not starting internet superserver: no services enabled Setting up approx (4.1-1build1) ... ************************************************* it stops on the line " Setting up approx (4.1-1build1) ... " for ever till i terminate the installation process ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: approx (not installed) ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5 Uname: Linux 2.6.32-24-generic x86_64 Architecture: amd64 Date: Sun Aug 1 19:38:29 2010 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: approx _______________________________________________ Mailing list: https://launchpad.net/~ocaml-maint Post to : [email protected] Unsubscribe : https://launchpad.net/~ocaml-maint More help : https://help.launchpad.net/ListHelp

