On Mon, 21 May 2007, nick lidakis wrote: > I'm having trouble upgrading my Debian Sid laptop after attempting > dselect install. Dselect quits with this error: > > Preparing to replace sed 4.1.5-1 (using > .../archives/sed_4.1.5-2_i386.deb) ... > Unpacking replacement sed ... > dpkg: error processing /var/cache/apt/archives/sed_4.1.5-2_i386.deb > (--unpack): > unable to make backup link of > `./usr/share/locale/ca/LC_MESSAGES/sed.mo' before installing new > version: Operation not permitted [ . . . ] > Also, the file sed.mo has a date of 1969. ls -alt sed.mo reveals: > > thinkpad:/usr/share/locale/ca/LC_MESSAGES# ls -alt sed.mo > c---rwxrwx 5389 2484475149 353247318 247, 62 Dec 31 1969 sed.mo [ . . . ] > Any ideas? I am not even allowed to move or delete the file via the shell.
Smells like file system damage. Reboot (or switch) to single-user mode and run fsck. This may be the least of your worries... FWIW, running 'chmod 755 /usr/share/locale/ca/LC_MESSAGES/sed.mo' as root should let you manipulate the file. If it doesn't, make sure that the file system is mounted read-write ('mount -l' will tell you). Last thing to check would be the immutable flag (man lsattr/chattr). -- Brad -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]