Re: rm: cannot remove directory `coreutils-7.3/lib': Directory not empty
From:
Jim Meyering
Subject:
Re: rm: cannot remove directory `coreutils-7.3/lib': Directory not empty
Date:
Wed, 06 May 2009 11:54:11 +0200
l l wrote:
> Yes, i can reproduce it now. and after doing
> shutdown -Fr (fsck.ext3), there is some sort (not exactly but)of
> "JsKddkjsDKJDKJK" or "ejakjj89duf", or "ej09u9034jkjj" etc.
>
> I doubt some hdd problem, so i moved my system
>>From /dev/sda2 : ext3
> To /dev/sda4 : ext4
>
> But, same. still couldn't delete several other package.
> even in new partition.(/dev/sda4)
> `badblocks` check result that my hdd is fine.
>
> `mount` result here:
>
> bash-4.0$ mount
> /dev/sda4 on / type ext4 (rw)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=4,mode=620)
> /dev/sda2 on /mnt type ext3 (rw)
Please include the precise commands you're running
and the exact output they produce. E.g.,
$ rm -rf coreutils-7.3
rm: cannot remove directory `coreutils-7.3/lib': Directory not empty
$ find coreutils-7.3/lib
...
If you still see files that are not removed, then also run this
command and send the resulting $HOME/log file to this list:
strace -o $HOME/log rm -rf coreutils-7.3
Thanks.