lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200704251154.27840.dgvirtual@akl.lt>
Date:	Wed, 25 Apr 2007 11:54:27 +0300
From:	"Donatas G." <dgvirtual@....lt>
To:	linux-ext4@...r.kernel.org
Subject: Cannot delete a file - could it be ext3 related?

I have a problem with system upgrade (Kubuntu Edgy to Feisty) which is caused 
by the systems inability to remove a corrupted file. I suspect this could be 
filesystem related, so I am writing to this list. 

Since I am not subscribed, COULD YOU SEND ME RESPONCES DIRECTLY?

I ran fsck /dev/hda5 (my partition) to no avail - the filesystem used to 
contain errors, but they are all corrected before this upgrade.

Here is the story:

## trying to remove the showstopper package:
dg@...a:/var/lib/dpkg/info$ sudo apt-get remove libidn11-dev
...
dpkg: error processing libidn11-dev (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted
dg@...a:/var/lib/dpkg/info$ Errors were encountered while processing:
 libidn11-dev

## trying to update the showstopper package:
dg@...a:/var/lib/dpkg/info$ sudo apt-get install libidn11-dev
........
Preparing to replace libidn11-dev 0.6.3-1 
(using .../libidn11-dev_0.6.5-1build1_i386.deb) ...
Unpacking replacement libidn11-dev ...
dpkg: error 
processing /cdrom//pool/main/libi/libidn/libidn11-dev_0.6.5-1build1_i386.deb 
(--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/postinst': 
Operation not permitted
Errors were encountered while processing:
 /cdrom//pool/main/libi/libidn/libidn11-dev_0.6.5-1build1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

## trying to remove the showstopper package:
dg@...a:/var/lib/dpkg/info$ ls -lo libidn11-dev.postinst
-rwxr-xr-x 1 root 36864 2007-04-25 09:09 libidn11-dev.postinst
## the date is new because 
## dg@...a:/var/lib/dpkg/info$ sudo touch libidn11-dev.postinst
command was the only one that did work on this file :)

## trying to chmod the file
dg@...a:/var/lib/dpkg/info$ sudo chmod 777 ./libidn11-dev.postinst
chmod: keičiamos `./libidn11-dev.postinst' teisės: Operation not permitted

## Trying to force remove the file...
dg@...a:/var/lib/dpkg/info$ sudo rm -f libidn11-dev.postinst
rm: cannot remove `libidn11-dev.postinst': Operation not permitted

I am forwarding the contents of the file: kate editor describes it as a 
binary, it contains a short bash script with all kinds of junk (including my 
mail addresses and headers) at the end...

Google did not help me. Could someone explain what is happening?

-- 
Donatas Glodenis
http://dg.lapas.info

Download attachment "libidn11-dev.postinst.gz" of type "application/x-gzip" (4632 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ