Thanks, Jean-Baptiste.
I tried; but it doesn't seem to work...
Here's the output:
[EMAIL PROTECTED]:/home/james# lsattr /bin/ps
s- /bin/ps
[EMAIL PROTECTED]:/home/james# sudo chattr -s /bin/ps
[EMAIL PROTECTED]:/home/james# sudo apt-get install --reinstall procps
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B/238kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 158506 files and directories currently installed.)
Preparing to replace procps 1:3.2.7-5ubuntu3 (using
.../procps_1%3a3.2.7-5ubuntu3_amd64.deb) ...
Unpacking replacement procps ...
dpkg: error processing
/var/cache/apt/archives/procps_1%3a3.2.7-5ubuntu3_amd64.deb
(--unpack):
unable to make backup link of `./usr/bin/top' before installing new
version: Operation not permitted
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/procps_1%3a3.2.7-5ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like this is really screwed. I guess I should reinstall. Any
suggestion on reverting back to a clean install?
Thanks again,
James
On Tue, Oct 21, 2008 at 6:53 PM, Jean-Baptiste Lallement
[EMAIL PROTECTED] wrote:
The problem is with the 'i' attribute. From the man page A file with
the 'i' attribute cannot be modified: it cannot be deleted or renamed,
no link can be created to this file and no data can be written to the
file. Only the superuser or a process possessing the
CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
Runnig the following commands shoud do the trick:
sudo chattr -i /bin/ps
sudo apt-get install --reinstall procps
If it doesn't fix your problem then remove the 'a' and 's' attributes
and please attach the output of the command mount
How did you achieved in this state. Did you changed the attributes, are you
using a remote fs (nfs, smb, ...) ?
Your 'ls' command seems barely broken too. Any alias ?
Thanks
--
procps failed to install/upgrade :unable to make backup link of `./bin/ps'
before installing new version: Operation not permitted
https://bugs.launchpad.net/bugs/280533
You received this bug notification because you are a direct subscriber
of the bug.
Status in procps source package in Ubuntu: Incomplete
Bug description:
Binary package hint: procps
When I install new packages, I get the following error message:
E: /var/cache/apt/archives/procps_1%3a3.2.7-5ubuntu3_amd64.deb: unable to
make backup link of `./bin/ps' before
installing new version
ProblemType: Package
Architecture: amd64
Date: Wed Oct 8 22:35:55 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: unable to make backup link of `./bin/ps' before installing new
version
Package: procps 1:3.2.7-5ubuntu3 [modified: bin/ps usr/bin/top]
PackageArchitecture: amd64
SourcePackage: procps
Title: package procps 1:3.2.7-5ubuntu3 [modified: bin/ps usr/bin/top] failed
to install/upgrade: unable to make backup link of `./bin/ps' before
installing new version
Uname: Linux 2.6.24-20-generic x86_64
--
procps failed to install/upgrade :unable to make backup link of `./bin/ps'
before installing new version: Operation not permitted
https://bugs.launchpad.net/bugs/280533
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs