Corrupt directory!

Lonni J Friedman netllama at gmail.com
Thu Dec 20 07:00:41 PST 2007


On 12/20/07, Ken Moffat <kmoffat at drizzle.com> wrote:
> Arghh!
>
> I think I already asked this a while ago, but I'll try it again, since
> my isp had some problems delivering to sxs.
>
> I have a corrupt directory (had to run fsck.ext3 a few times on this
> file system.)
>
> drw--ws--- 2   2104   17360    8192 2007-12-02 19:54 ssindex
>
> Note the permissions and owner!
>
> Anyone have an idea how to delete this thing?
> # rmdir ssindex
> rmdir: ssindex: Operation not permitted
> # mv ssindex /home/ken
> mv: cannot remove directory `ssindex': Operation not permitted
>
>
>
> It appears to be part of gnumeric, which won't reinstall; see below.
>
>
> # apt-get install gnumeric
> Reading package lists... Done
> Building dependency tree... Done
> Suggested packages:
>   gnumeric-doc gnumeric-plugins-extra
> The following NEW packages will be installed:
>   gnumeric
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/2100kB of archives.
> After unpacking 5668kB of additional disk space will be used.
> Preconfiguring packages ...
> (Reading database ... 156079 files and directories currently installed.)
> Unpacking gnumeric (from .../gnumeric_1.6.3-5_i386.deb) ...
> dpkg: error processing /var/cache/apt/archives/gnumeric_1.6.3-5_i386.deb
> (--unpack):
>  unable to move aside `./usr/bin/ssindex' to install new version:
> Operation not permitted
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/gnumeric_1.6.3-5_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Perhaps the problem isn't the filesystem but the disk?  Have you
verified that you don't have bad blocks or sectors?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama at gmail.com
LlamaLand                       https://netllama.linux-sxs.org



More information about the Linux-users mailing list