Misbehaving files
Silly me. Over a month ago, my system crashed and upon reboot,
I performed a fsck while all filesystems were still mounted. Yes,
I ignored all the warnings, so it's my fault. OK, well here's
the problem... something went wrong and several of my
files got corrupted, uncluding the whole /usr/man/man7/ directory.
Here's a look at the listing of /usr/man/
total 960149485
drwxr-xr-x 11 root root 1024 May 14 23:27 .
drwxr-xr-x 15 root root 1024 Apr 9 20:45 ..
drwxr-xr-x 5 root root 1024 Jul 26 1997 de_DE
drwxr-xr-x 5 root root 1024 Jul 26 1997 it_IT
drwxr-xr-x 2 root root 11264 May 14 23:27 man1
drwxr-xr-x 2 root root 6144 Apr 28 18:24 man2
drwxr-xr-x 2 root root 17408 May 14 23:27 man3
drwxr-xr-x 2 root root 1024 Mar 29 18:35 man4
drwxr-xr-x 2 root root 3072 May 14 23:27 man5
drwxr-xr-x 2 root root 1024 Dec 25 01:05 man6
b---r-srwx 1 24941 25966 47, 57 Apr 28 22:55 man7
drwxr-xr-x 2 root root 7168 May 14 23:09 man8
As you can see, man7 thinks that it is a block device. I
can't access this in any way, as root, I have tried to rm -f,
rename, and move. Nothing. I tried creating a user with ID
24941 and removing that way. Nothing. Tried to take
ownership of it, no can do. Can't chmod either.
root /usr/man# rm -rf man7
rm: man7: Operation not permitted
root /usr/man# mv man7 temp
mv: cannot move `man7' to `temp': Operation not permitted
root /usr/man# chown root man7
chown: man7: Operation not permitted
root /usr/man# chgrp root man
chgrp: man7: Operation not permitted
I could try ignoring it, since I rarely use man7, but
unfortunately, some packages must put pages there and the
installation fails. For example,
Running dpkg -iGROEB /mnt/f/download/debian
(Reading database ... 13903 files and directories currently installed.)
Preparing to replace groff 1.10-3 (using .../debian/groff_1.10-3.5.deb) ...
Unpacking replacement groff ...
dpkg - warning, overriding problem because --force enabled:
trying to overwrite `/usr/man/man7', which is also in package procps
[chop]
Would prefer to fix the error rather than force an install.
Sure hope someone can help me, I've been puzzling over this one
for too long. I have about 70 more of these "files" that were
recovered and now reside in /lost+found/ and are resistant to
eviction thus far.
TIA,
Derek
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: