From: "Donatas G." <dgvirtual@akl.lt>
To: linux-ext4@vger.kernel.org
Subject: Cannot delete a file - could it be ext3 related?
Date: Wed, 25 Apr 2007 11:54:27 +0300 [thread overview]
Message-ID: <200704251154.27840.dgvirtual@akl.lt> (raw)
[-- Attachment #1: Type: text/plain, Size: 2541 bytes --]
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@bala:/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@bala:/var/lib/dpkg/info$ Errors were encountered while processing:
libidn11-dev
## trying to update the showstopper package:
dg@bala:/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@bala:/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@bala:/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@bala:/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@bala:/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
[-- Attachment #2: libidn11-dev.postinst.gz --]
[-- Type: application/x-gzip, Size: 4632 bytes --]
next reply other threads:[~2007-04-25 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 8:54 Donatas G. [this message]
2007-04-25 11:26 ` Cannot delete a file - could it be ext3 related? Andreas Dilger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200704251154.27840.dgvirtual@akl.lt \
--to=dgvirtual@akl.lt \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).