You are not logged in.
Running a system upgrade today lead to the following issue:
error: cannot remove file '/usr/bin/systemd-sysusers': Operation not permitted
(1/1) reinstalling systemd [################################################] 100%
warning: warning given when extracting /usr/bin/systemd-sysusers (Could not unlink)
Indeed it is not possible to delete/move /usr/bin/systemd-sysusers, even as root.
Any idea?
Offline
Don't post truncated output: please paste the command and the full output.
Offline
Maybe you set the file to immutable?
lsattr -ld /usr/bin
ls -ld /usr/bin
lsattr -l /usr/bin/systemd-sysusers
ls -l /usr/bin/systemd-sysusers
Removing the immutable flag can be done as root with
chattr -i /usr/bin/systemd-sysusers
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Hm, the file was indeed immutable:
$ lsattr -l /usr/bin/systemd-sysusers
/usr/bin/systemd-sysusers Immutable, Extents
I wonder why I did that/or what did that. Thanks for your help!
Offline