I tried to install it again after killing the installation process and this is what i got:
sudo aptitude install approx Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following partially installed packages will be configured: approx 0 packages upgraded, 0 newly installed, 0 to remove and 38 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Setting up approx (4.1-1build1) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing approx (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: approx E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up approx (4.1-1build1) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing approx (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: approx Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done -- 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

