I am having a strange problem on my system where I am unable to remove
directories, even if they are empty. This is showing up in two
locations:
First, with dpkg and apt-get. If I try to apt-get a package, I get
this error:
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/mcrypt_2.6.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am unable to delete the directory /var/lib/dpkg/tmp.ci, even though
the filesystem sees it as a directory. I have even tried removing it
using debugfs and chattr -u tmp.ci, all to no avail. There are NO
files in there (used ls -la). Using apt 0.5.4 and dpkg 1.9.20 on
unstable 2.4.17.
Additionally, I have a couple of directories that I am also unable to
remove using the same methods described above. I can rename these
directories, but cannot delete them, even though there are absolutely
NO files in them.
I am running an ext3 filesystem, and have performed a forced fsck on
the drive (fsck -fvc /dev/sda3) and it passes all of the tests.
Any suggestions?
Sean
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]