Corrupt directory!

Ken Moffat kmoffat at drizzle.com
Thu Dec 20 16:43:58 PST 2007


David A. Bandel wrote:
> On Dec 20, 2007 11:46 AM, Ken Moffat <kmoffat at drizzle.com> wrote:
>   
>> Michael Hipp wrote:
>>     
>>> I'd recommend you download the standalone disk verification tool from
>>> the website of the disk drive manufacturer.
>>>
>>> If all else fails just download the one from Seagate (SeaTools). It's
>>> available as a bootable iso.
>>>
>>>       
>> Thanks. I may have this here somewhere, among the mess!
>>
>> Will look at SeaTools.
>>
>>     
>
> Ken,
>
> Assuming this is ext2|3 I would check to see if the immutable bit is
> set.  It won't show up using ls, you have to use lsattr.  I so, use
> chattr to turn it off so you can delete it.
>
> Ciao,
>
> David A. Bandel
>   

Great idea! David, You d' Man!

It was the -a bit:

# lsattr -d /usr/bin/ssindex
-----adA--ZX-jI--- /usr/bin/ssindex
# chattr -a /usr/bin/ssindex
# rmdir /usr/bin/ssindex
# ls -l /usr/bin/ssindex
ls: /usr/bin/ssindex: No such file or directory

So the directory is gone, and gnumeric will now install!!!


# 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 ... 156155 files and directories currently installed.)
Unpacking gnumeric (from .../gnumeric_1.6.3-5_i386.deb) ...
Setting up gnumeric (1.6.3-5) ...


Thank you!!

Ken




More information about the Linux-users mailing list