[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg/apt-get error



Just today I started getting the following errors when trying to install
packages using apt-get or dpkg:
--------------------------------------------
# apt-get install mcrypt
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libmcrypt4 libmhash2
The following NEW packages will be installed:
  libmcrypt4 libmhash2 mcrypt
0 packages upgraded, 3 newly installed, 0 to remove and 19  not upgraded.
Need to get 0B/217kB of archives. After unpacking 803kB will be used.
Do you want to continue? [Y/n]
rm: cannot remove directory `/var/lib/dpkg/tmp.ci': Directory not empty
dpkg: error processing /var/cache/apt/archives/libmcrypt4_2.5.5-1_i386.deb
(--unpack): subprocess rm cleanup returned error exit status 1
rm: cannot remove directory `/var/lib/dpkg/tmp.ci': Directory not empty
dpkg: error processing /var/cache/apt/archives/libmhash2_0.8.16-1_i386.deb
(--unpack): subprocess rm cleanup returned error exit status 1
rm: cannot remove directory `/var/lib/dpkg/tmp.ci': Directory not empty
dpkg: error processing /var/cache/apt/archives/mcrypt_2.6.3-1_i386.deb
(--unpack): subprocess rm cleanup returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libmcrypt4_2.5.5-1_i386.deb
 /var/cache/apt/archives/libmhash2_0.8.16-1_i386.deb
 /var/cache/apt/archives/mcrypt_2.6.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

--------------------------------------------

The problem, of course, is with the directory /var/lib/dpkg/tmp.ci.  I've
tried everything I know to remove this directory, including using debugfs,
and I continually get this error message when using rm -rf tm.ci:
rm: cannot remove directory `tmp.ci': Directory not empty

The directory *is* empty, void of any files, even hidden files.  The
versions of dpkg and apt-get that I am using are:
dpkg: 1.9.20 (i386)
apt-get:  apt 0.5.4 for linux i386 compiled on Aug 19 2001 01:02:26

Thanks in advance for any info.

Sean




Reply to: