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

Re: Serious dpkg error



On Fri, 20 Apr 2001, Marcus wrote:

> dpkg: error processing telnetd (--remove):
>  unable to delete control info file
> `/var/lib/dpkg/info/telnetd.postinst': Operation not permitted

Is /var nfs mounted, and root is being squashed to nobody?

> mastereve:/var/lib/dpkg/info# ls -la telnetd.postinst
> b--sr-Sr-x    1 18698    24909     32, 111 Sep 17  1997 telnetd.postinst
> mastereve:/var/lib/dpkg/info# rm telnetd.postinst
> rm: cannot unlink `telnetd.postinst': Operation not permitted
> mastereve:/var/lib/dpkg/info# lsattr telnetd.postinst
> lsattr: No such device While reading flags on telnetd.postinst
> mastereve:/var/lib/dpkg/info# chattr -i telnetd.postinst
> chattr: No such device while reading flags on telnetd.postinst
> mastereve:/var/lib/dpkg/info# rm -rf telnetd.postinst
> rm: cannot unlink `telnetd.postinst': Operation not permitted

Hmm, maybe not nfs mounted.  b means block device.  Those user/group ownership
values look bad.

I tend to agree with Wichert, and think corruption.

> It's impossible to remove these two files...
> I have tried fsck:ing the partition and it doesn't help.

If you can't remove, try move.



Reply to: