[Bug 280533] Re: procps failed to install/upgrade :unable to make backup link of `./bin/ps' before installing new version: Operation not permitted

2020-04-22 Thread Jorge Delgado
The command that allowed it for me was: chattr -sia /bin/ps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/280533 Title: procps failed to install/upgrade :unable to make backup link of

[Bug 280533] Re: procps failed to install/upgrade :unable to make backup link of `./bin/ps' before installing new version: Operation not permitted

2008-11-15 Thread Jean-Baptiste Lallement
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on

[Bug 280533] Re: procps failed to install/upgrade :unable to make backup link of `./bin/ps' before installing new version: Operation not permitted

2008-10-22 Thread Jean-Baptiste Lallement
kautilya, it has worked. If you take a look at the output, the problem is now with /usr/bin/top . You can repeat the same operation with that file. Do you remember of a particular operation / installation you've done ? Any selinux or hardening tool installed ? -- procps failed to

[Bug 280533] Re: procps failed to install/upgrade :unable to make backup link of `./bin/ps' before installing new version: Operation not permitted

2008-10-21 Thread Jean-Baptiste Lallement
Operation not permitted means that the file's or directory's attribute bits are set incorrectly. The solution is to use lsattr to display file and directory attributes, and chattr to set and unset them. Can you please provide the output of the following commands: lsattr /bin/ps ls -l -h /bin/ps

Re: [Bug 280533] Re: procps failed to install/upgrade :unable to make backup link of `./bin/ps' before installing new version: Operation not permitted

2008-10-21 Thread kautilya
Thanks, Jean-Baptiste. I got an error message for ls command. Otherwise please see the output below. [EMAIL PROTECTED]:~$ lsattr /bin/ps s---ia /bin/ps [EMAIL PROTECTED]:~$ ls -l -h /bin/ps ls: invalid option -- h Try `ls --help' for more information. [EMAIL PROTECTED]:~$ ls -l

[Bug 280533] Re: procps failed to install/upgrade :unable to make backup link of `./bin/ps' before installing new version: Operation not permitted

2008-10-21 Thread Jean-Baptiste Lallement
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

Re: [Bug 280533] Re: procps failed to install/upgrade :unable to make backup link of `./bin/ps' before installing new version: Operation not permitted

2008-10-21 Thread kautilya
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