Good morning,
when I do :
sudo apt update
sudo apt upgrade
I am unable to update systemd
here is my version of Debian GNU/Linux 10 (buster)
The following packages will be upgraded:
systemd
1 upgraded, 0 newly installed, 0 to remove and 432 not upgraded.
2 not fully installed or removed.
Need to get 3,505 kB of archives.
After this operation, 35.8 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security buster/updates/main amd64 systemd amd64 241-7~deb10u10 [3,505 kB]
Fetched 3,505 kB in 0s (53.0 MB/s)
Reading changelogs... Done
(Reading database ... 146896 files and directories currently installed.)
Preparing to unpack .../systemd_241-7~deb10u10_amd64.deb ...
Unpacking systemd (241-7~deb10u10) over (241-7~deb10u8) ...
dpkg: error processing archive /var/cache/apt/archives/systemd_241-7~deb10u10_amd64.deb (--unpack):
unable to make backup link of './lib/systemd/systemd' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/systemd_241-7~deb10u10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
j’ai essayé
sudo apt --fix-broken install
sudo apt-get install systemd
sudo reboot
sudo apt --fix-broken install
sudo dpkg --force-overwrite -i /var/cache/apt/archives/systemd_241-7~deb10u10_amd64.deb
└─[#] ls -l /lib/systemd/systemd
-rwxr-xr-x 1 root root 1489208 Jul 8 2021 /lib/systemd/systemd
nothing works, can you help me? Thanks a lot
debcat
Septembre 3, 2023, 3:29
2
Bonjour,
apt-get clean
apt-get update
apt-get reinstall systemd
apt-get upgrade systemd
I am connected in superadmin with sudo su I did, I still have the error, I followed your procedure but arrive at this command apt-get reinstall systemd I have this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libterm-spinner-color-perl php5.6-imagick php5.6-memcache php5.6-memcached
php5.6-redis php7.0-apcu-bc php7.0-imagick php7.0-memcache php7.0-memcached
php7.0-redis php7.1-apcu-bc php7.1-imagick php7.1-memcache php7.1-memcached
php7.1-redis php7.2-apcu php7.2-apcu-bc php7.2-igbinary php7.2-imagick
php7.2-memcache php7.2-memcached php7.2-msgpack php7.2-redis php7.3-apcu-bc
php7.3-imagick php7.3-memcache php7.3-memcached php7.3-redis webmin-jailkit
webmin-php-pear webmin-ruby-gems webmin-virtual-server
Use 'sudo apt autoremove' to remove them.
Suggested packages:
systemd-container
The following packages will be upgraded:
systemd
1 upgraded, 0 newly installed, 0 to remove and 432 not upgraded.
2 not fully installed or removed.
Need to get 3,505 kB of archives.
After this operation, 35.8 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security buster/updates/main amd64 systemd amd64 241-7~deb10u10 [3,505 kB]
Fetched 3,505 kB in 0s (39.3 MB/s)
Reading changelogs... Done
(Reading database ... 146896 files and directories currently installed.)
Preparing to unpack .../systemd_241-7~deb10u10_amd64.deb ...
Unpacking systemd (241-7~deb10u10) over (241-7~deb10u8) ...
dpkg: error processing archive /var/cache/apt/archives/systemd_241-7~deb10u10_amd64.deb (--unpack):
unable to make backup link of './lib/systemd/systemd' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/systemd_241-7~deb10u10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debcat
Septembre 3, 2023, 8:37
4
Quel sont les droits du dossier ?
ls -la /lib/systemd/systemd ?
sudo mv /lib/systemd/systemd /lib/systemd/systemd.old
apt-get reinstall systemd
[#] ls -la /lib/systemd/systemd
-rwxr-xr-x 1 root root 1489208 Jul 8 2021 /lib/systemd/systemd
sudo mv /lib/systemd/systemd /lib/systemd/systemd.old
mv: cannot move '/lib/systemd/systemd' to '/lib/systemd/systemd.old': Operation not permitted
debcat
Septembre 4, 2023, 6:55
6
> -rwxr-xr-x 1 root root 92544 10 juil. 23:44 /lib/systemd/systemd
debcat@debcat:~$ su
Mot de passe :
root@debcat:/home/debcat# mv /lib/systemd/systemd /lib/systemd/systemd.old
root@debcat:/home/debcat#
Work for me with su not using sudo because my user are not in sudoers
cela marche chez moi mais avec su pas sudo je ne suis pas dans le goupe sudo en simple user.
yes I use sudo commands but I am connected as superadmin as root, I am not connected as a user
Rappel : ce forum est francophone. Merci de traduire vos messages ou aller discuter ailleurs.
debcat
Septembre 4, 2023, 8:58
9
Pourquoi utiliser sudo si tu est dèjà en admin ?
# mv /lib/systemd/systemd /lib/systemd/systemd.old
Les permissions de lecture/écriture ne s’appliquent pas à root (il peut lire et écrire un fichier qui n’a aucune permission) , donc si cette erreur se produit en root elle ne vient pas des permissions. Vérifier les attributs du fichier et du répertoire parent avec lsattr. Si l’attribut i est présent sur l’un d’eux, le retirer avec chattr -i.
mikka66
Septembre 4, 2023, 10:39
11
je pensais que c’etait un forum anglophone , je suis français ,
─[#] mv /lib/systemd/systemd /lib/systemd/systemd.old
mv: cannot move '/lib/systemd/systemd' to '/lib/systemd/systemd.old': Operation not permitted
└─[#] lsattr /lib/systemd/systemd
----ia--------e---- /lib/systemd/systemd
└─[#] lsattr /lib/systemd/
--------------e---- /lib/systemd/network
--------------e---- /lib/systemd/systemd-modules-load
--------------e---- /lib/systemd/systemd-growfs
--------------e---- /lib/systemd/libsystemd-shared-241.so
--------------e---- /lib/systemd/systemd-sysctl
--------------e---- /lib/systemd/systemd-networkd
--------------e---- /lib/systemd/system-shutdown
--------------e---- /lib/systemd/systemd-shutdown
--------------e---- /lib/systemd/systemd-timedated
--------------e---- /lib/systemd/user-generators
--------------e---- /lib/systemd/systemd-cryptsetup
--------------e---- /lib/systemd/systemd-fsck
--------------e---- /lib/systemd/systemd-sleep
--------------e---- /lib/systemd/user
--------------e---- /lib/systemd/systemd-socket-proxyd
--------------e---- /lib/systemd/system-generators
--------------e---- /lib/systemd/systemd-update-utmp
--------------e---- /lib/systemd/systemd-fsckd
--------------e---- /lib/systemd/boot
----ia--------e---- /lib/systemd/systemd-logind
--------------e---- /lib/systemd/systemd-hibernate-resume
--------------e---- /lib/systemd/systemd-time-wait-sync
--------------e---- /lib/systemd/systemd-resolved
----ia--------e---- /lib/systemd/systemd
--------------e---- /lib/systemd/systemd-binfmt
--------------e---- /lib/systemd/systemd-sulogin-shell
--------------e---- /lib/systemd/scripts
--------------e---- /lib/systemd/systemd-sysv-install
--------------e---- /lib/systemd/system-preset
--------------e---- /lib/systemd/systemd-timesyncd
--------------e---- /lib/systemd/user-preset
--------------e---- /lib/systemd/catalog
--------------e---- /lib/systemd/resolv.conf
--------------e---- /lib/systemd/systemd-journald
--------------e---- /lib/systemd/systemd-networkd-wait-online
--------------e---- /lib/systemd/system-sleep
--------------e---- /lib/systemd/systemd-user-sessions
--------------e---- /lib/systemd/systemd-cgroups-agent
--------------e---- /lib/systemd/systemd-udevd
--------------e---- /lib/systemd/systemd-hostnamed
-----------I--e---- /lib/systemd/system
--------------e---- /lib/systemd/systemd-veritysetup
--------------e---- /lib/systemd/systemd-bless-boot
--------------e---- /lib/systemd/systemd-remount-fs
--------------e---- /lib/systemd/systemd-dissect
--------------e---- /lib/systemd/systemd-random-seed
--------------e---- /lib/systemd/systemd-makefs
--------------e---- /lib/systemd/systemd-localed
--------------e---- /lib/systemd/systemd-rfkill
--------------e---- /lib/systemd/systemd-volatile-root
--------------e---- /lib/systemd/systemd-user-runtime-dir
--------------e---- /lib/systemd/systemd-boot-check-no-failures
--------------e---- /lib/systemd/systemd-ac-power
--------------e---- /lib/systemd/systemd-quotacheck
--------------e---- /lib/systemd/systemd-backlight
--------------e---- /lib/systemd/user-environment-generators
--------------e---- /lib/systemd/systemd-initctl
--------------e---- /lib/systemd/systemd-reply-password
du coup je fais : chattr -i /lib/systemd/systemd ?
Pour voir les attributs du répertoire et non de son contenu il faut ajouter -d (comme avec ls).
Oui, il faut désactiver les attributs i et a sur tous les fichiers concernés. Debian n’active pas ces attributs, c’est donc forcément l’administrateur qui l’a fait et je serais curieux de savoir pourquoi.
mikka66
Septembre 4, 2023, 11:37
13
sans doute pour que je le recontacte pour me refacturer ^^
la commande à fonctionné
chattr -i /lib/systemd/systemd
chattr -a /lib/systemd/systemd
─[#] lsattr /lib/systemd/systemd
--------------e---- /lib/systemd/systemd
--------------e---- /lib/systemd/network
/lib/systemd/network:
--------------e---- /lib/systemd/network/99-default.link
--------------e---- /lib/systemd/network/80-container-ve.network
--------------e---- /lib/systemd/network/80-container-vz.network
--------------e---- /lib/systemd/network/80-container-host0.network
--------------e---- /lib/systemd/systemd-modules-load
--------------e---- /lib/systemd/systemd-growfs
--------------e---- /lib/systemd/libsystemd-shared-241.so
--------------e---- /lib/systemd/systemd-sysctl
--------------e---- /lib/systemd/systemd-networkd
--------------e---- /lib/systemd/system-shutdown
/lib/systemd/system-shutdown:
--------------e---- /lib/systemd/system-shutdown/mdadm.shutdown
--------------e---- /lib/systemd/systemd-shutdown
--------------e---- /lib/systemd/systemd-timedated
--------------e---- /lib/systemd/user-generators
/lib/systemd/user-generators:
--------------e---- /lib/systemd/systemd-cryptsetup
--------------e---- /lib/systemd/systemd-fsck
--------------e---- /lib/systemd/systemd-sleep
--------------e---- /lib/systemd/user
/lib/systemd/user:
--------------e---- /lib/systemd/user/timers.target
--------------e---- /lib/systemd/user/graphical-session.target
--------------e---- /lib/systemd/user/paths.target
--------------e---- /lib/systemd/user/sound.target
--------------e---- /lib/systemd/user/ssh-agent.service
--------------e---- /lib/systemd/user/gpg-agent-ssh.socket
--------------e---- /lib/systemd/user/basic.target
--------------e---- /lib/systemd/user/gpg-agent-browser.socket
--------------e---- /lib/systemd/user/default.target
--------------e---- /lib/systemd/user/gpg-agent.service
--------------e---- /lib/systemd/user/sockets.target
--------------e---- /lib/systemd/user/gpg-agent.socket
--------------e---- /lib/systemd/user/systemd-tmpfiles-clean.timer
--------------e---- /lib/systemd/user/systemd-tmpfiles-clean.service
--------------e---- /lib/systemd/user/smartcard.target
--------------e---- /lib/systemd/user/graphical-session-pre.target.wants
/lib/systemd/user/graphical-session-pre.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/user/graphical-session-pre.target.wants/ssh-agent.service
--------------e---- /lib/systemd/user/dirmngr.socket
--------------e---- /lib/systemd/user/systemd-tmpfiles-setup.service
--------------e---- /lib/systemd/user/bluetooth.target
--------------e---- /lib/systemd/user/exit.target
--------------e---- /lib/systemd/user/systemd-exit.service
--------------e---- /lib/systemd/user/printer.target
--------------e---- /lib/systemd/user/shutdown.target
--------------e---- /lib/systemd/user/sockets.target.wants
/lib/systemd/user/sockets.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
lsattr: Operation not supported While reading flags on /lib/systemd/user/sockets.target.wants/gpg-agent-browser.socket
lsattr: Operation not supported While reading flags on /lib/systemd/user/sockets.target.wants/gpg-agent.socket
lsattr: Operation not supported While reading flags on /lib/systemd/user/sockets.target.wants/dirmngr.socket
lsattr: Operation not supported While reading flags on /lib/systemd/user/sockets.target.wants/gpg-agent-extra.socket
--------------e---- /lib/systemd/user/graphical-session-pre.target
--------------e---- /lib/systemd/user/dirmngr.service
--------------e---- /lib/systemd/user/gpg-agent-extra.socket
--------------e---- /lib/systemd/systemd-socket-proxyd
--------------e---- /lib/systemd/system-generators
/lib/systemd/system-generators:
--------------e---- /lib/systemd/system-generators/systemd-bless-boot-generator
--------------e---- /lib/systemd/system-generators/systemd-cryptsetup-generator
--------------e---- /lib/systemd/system-generators/systemd-system-update-generator
--------------e---- /lib/systemd/system-generators/systemd-run-generator
--------------e---- /lib/systemd/system-generators/systemd-debug-generator
--------------e---- /lib/systemd/system-generators/systemd-veritysetup-generator
--------------e---- /lib/systemd/system-generators/systemd-getty-generator
--------------e---- /lib/systemd/system-generators/systemd-rc-local-generator
--------------e---- /lib/systemd/system-generators/cloud-init-generator
--------------e---- /lib/systemd/system-generators/lvm2-activation-generator
--------------e---- /lib/systemd/system-generators/postfix-instance-generator
--------------e---- /lib/systemd/system-generators/systemd-sysv-generator
--------------e---- /lib/systemd/system-generators/systemd-hibernate-resume-generator
--------------e---- /lib/systemd/system-generators/systemd-gpt-auto-generator
--------------e---- /lib/systemd/system-generators/systemd-fstab-generator
--------------e---- /lib/systemd/systemd-update-utmp
--------------e---- /lib/systemd/systemd-fsckd
--------------e---- /lib/systemd/boot
/lib/systemd/boot:
--------------e---- /lib/systemd/boot/efi
/lib/systemd/boot/efi:
--------------e---- /lib/systemd/boot/efi/linuxx64.efi.stub
--------------e---- /lib/systemd/boot/efi/systemd-bootx64.efi
--------------e---- /lib/systemd/systemd-logind
--------------e---- /lib/systemd/systemd-hibernate-resume
--------------e---- /lib/systemd/systemd-time-wait-sync
--------------e---- /lib/systemd/systemd-resolved
--------------e---- /lib/systemd/systemd
--------------e---- /lib/systemd/systemd-binfmt
--------------e---- /lib/systemd/systemd-sulogin-shell
--------------e---- /lib/systemd/scripts
/lib/systemd/scripts:
--------------e---- /lib/systemd/scripts/nfs-utils_env.sh
--------------e---- /lib/systemd/systemd-sysv-install
--------------e---- /lib/systemd/system-preset
/lib/systemd/system-preset:
--------------e---- /lib/systemd/system-preset/90-systemd.preset
--------------e---- /lib/systemd/systemd-timesyncd
--------------e---- /lib/systemd/user-preset
/lib/systemd/user-preset:
--------------e---- /lib/systemd/user-preset/90-systemd.preset
--------------e---- /lib/systemd/catalog
/lib/systemd/catalog:
--------------e---- /lib/systemd/catalog/systemd.be.catalog
--------------e---- /lib/systemd/catalog/systemd.be@latin.catalog
--------------e---- /lib/systemd/catalog/systemd.bg.catalog
--------------e---- /lib/systemd/catalog/systemd.zh_TW.catalog
--------------e---- /lib/systemd/catalog/systemd.zh_CN.catalog
--------------e---- /lib/systemd/catalog/systemd.de.catalog
--------------e---- /lib/systemd/catalog/systemd.it.catalog
--------------e---- /lib/systemd/catalog/systemd.catalog
--------------e---- /lib/systemd/catalog/systemd.fr.catalog
--------------e---- /lib/systemd/catalog/systemd.pt_BR.catalog
--------------e---- /lib/systemd/catalog/systemd.ru.catalog
--------------e---- /lib/systemd/catalog/systemd.pl.catalog
--------------e---- /lib/systemd/resolv.conf
--------------e---- /lib/systemd/systemd-journald
--------------e---- /lib/systemd/systemd-networkd-wait-online
--------------e---- /lib/systemd/system-sleep
/lib/systemd/system-sleep:
--------------e---- /lib/systemd/system-sleep/hdparm
--------------e---- /lib/systemd/systemd-user-sessions
--------------e---- /lib/systemd/systemd-cgroups-agent
--------------e---- /lib/systemd/systemd-udevd
--------------e---- /lib/systemd/systemd-hostnamed
-----------I--e---- /lib/systemd/system
/lib/systemd/system:
--------------e---- /lib/systemd/system/rpcbind.service
--------------e---- /lib/systemd/system/timers.target
--------------e---- /lib/systemd/system/nfs-utils.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/kmod.service
--------------e---- /lib/systemd/system/systemd-ask-password-console.service
--------------e---- /lib/systemd/system/dovecot.socket
lsattr: Operation not supported While reading flags on /lib/systemd/system/checkroot.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/mountnfs-bootclean.service
--------------e---- /lib/systemd/system/lvm2-monitor.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/single.service
--------------e---- /lib/systemd/system/systemd-halt.service
--------------e---- /lib/systemd/system/fstrim.service
--------------e---- /lib/systemd/system/paths.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/motd.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/hwclock.service
--------------e---- /lib/systemd/system/time-sync.target
--------------e---- /lib/systemd/system/systemd-fsckd.service
--------------e---- /lib/systemd/system/debug-shell.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/bootlogd.service
--------------e---- /lib/systemd/system/emergency.service
--------------e---- /lib/systemd/system/rpcbind.target
--------------e---- /lib/systemd/system/kexec.target
--------------e---- /lib/systemd/system/sound.target
--------------e---- /lib/systemd/system/system-update-pre.target
--------------e---- /lib/systemd/system/beamium.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/halt.service
--------------e---- /lib/systemd/system/systemd-ask-password-wall.path
--------------e---- /lib/systemd/system/mariadb@.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/module-init-tools.service
--------------e---- /lib/systemd/system/smartd.service
--------------e---- /lib/systemd/system/rescue.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sendsigs.service
--------------e---- /lib/systemd/system/rsyslog.service
--------------e---- /lib/systemd/system/initrd-parse-etc.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/ctrl-alt-del.target
--------------e---- /lib/systemd/system/rpc-statd-notify.service
--------------e---- /lib/systemd/system/systemd-poweroff.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/udev.service
--------------e---- /lib/systemd/system/apache-htcacheclean.service
--------------e---- /lib/systemd/system/systemd-sysctl.service
--------------e---- /lib/systemd/system/rpcbind.socket
--------------e---- /lib/systemd/system/systemd-fsckd.socket
--------------e---- /lib/systemd/system/getty@.service
--------------e---- /lib/systemd/system/systemd-backlight@.service
--------------e---- /lib/systemd/system/runlevel1.target.wants
/lib/systemd/system/runlevel1.target.wants:
--------------e---- /lib/systemd/system/basic.target
--------------e---- /lib/systemd/system/systemd-bless-boot.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/umountnfs.service
--------------e---- /lib/systemd/system/rescue.target
--------------e---- /lib/systemd/system/hibernate.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/rcS.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/cryptdisks.service
--------------e---- /lib/systemd/system/systemd-suspend.service
--------------e---- /lib/systemd/system/systemd-udevd-control.socket
--------------e---- /lib/systemd/system/timers.target.wants
/lib/systemd/system/timers.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer
lsattr: Operation not supported While reading flags on /lib/systemd/system/mountall.service
--------------e---- /lib/systemd/system/mariadb@bootstrap.service.d
/lib/systemd/system/mariadb@bootstrap.service.d:
--------------e---- /lib/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf
lsattr: Operation not supported While reading flags on /lib/systemd/system/killprocs.service
--------------e---- /lib/systemd/system/lvm2-lvmpolld.socket
--------------e---- /lib/systemd/system/systemd-initctl.service
--------------e---- /lib/systemd/system/bind9.service
--------------e---- /lib/systemd/system/apache2@.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/stop-bootlogd.service
--------------e---- /lib/systemd/system/apparmor.service
--------------e---- /lib/systemd/system/systemd-udev-trigger.service
--------------e---- /lib/systemd/system/dbus.service
--------------e---- /lib/systemd/system/proc-sys-fs-binfmt_misc.automount
lsattr: Operation not supported While reading flags on /lib/systemd/system/default.target
--------------e---- /lib/systemd/system/user-.slice.d
/lib/systemd/system/user-.slice.d:
--------------e---- /lib/systemd/system/user-.slice.d/10-defaults.conf
--------------e---- /lib/systemd/system/systemd-resolved.service
--------------e---- /lib/systemd/system/apache2.service
--------------e---- /lib/systemd/system/initrd-root-fs.target
--------------e---- /lib/systemd/system/nfs-config.service
--------------e---- /lib/systemd/system/systemd-time-wait-sync.service
--------------e---- /lib/systemd/system/systemd-modules-load.service
--------------e---- /lib/systemd/system/ufw.service
--------------e---- /lib/systemd/system/cloud-init.service
--------------e---- /lib/systemd/system/remote-cryptsetup.target
--------------e---- /lib/systemd/system/unscd.service
--------------e---- /lib/systemd/system/network.target
--------------e---- /lib/systemd/system/sockets.target
--------------e---- /lib/systemd/system/kmod-static-nodes.service
--------------e---- /lib/systemd/system/systemd-networkd.socket
--------------e---- /lib/systemd/system/inetd.service
--------------e---- /lib/systemd/system/systemd-suspend-then-hibernate.service
--------------e---- /lib/systemd/system/reboot.target
--------------e---- /lib/systemd/system/phpsessionclean.timer
--------------e---- /lib/systemd/system/slices.target
--------------e---- /lib/systemd/system/dbus.socket
--------------e---- /lib/systemd/system/proc-fs-nfsd.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/portmap.service
--------------e---- /lib/systemd/system/systemd-udev-settle.service
--------------e---- /lib/systemd/system/system-update.target
--------------e---- /lib/systemd/system/suspend-then-hibernate.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/mdadm.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/openbsd-inetd.service
--------------e---- /lib/systemd/system/rc-local.service.d
/lib/systemd/system/rc-local.service.d:
--------------e---- /lib/systemd/system/rc-local.service.d/debian.conf
--------------e---- /lib/systemd/system/php7.0-fpm.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/mountnfs.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/cryptdisks-early.service
--------------e---- /lib/systemd/system/dev-hugepages.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/checkfs.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/umountfs.service
--------------e---- /lib/systemd/system/systemd-tmpfiles-clean.timer
--------------e---- /lib/systemd/system/quotaon.service
--------------e---- /lib/systemd/system/graphical.target.wants
/lib/systemd/system/graphical.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/system/graphical.target.wants/systemd-update-utmp-runlevel.service
--------------e---- /lib/systemd/system/cloud-init-local.service
--------------e---- /lib/systemd/system/systemd-tmpfiles-clean.service
--------------e---- /lib/systemd/system/systemd-rfkill.service
--------------e---- /lib/systemd/system/rc-local.service
--------------e---- /lib/systemd/system/poweroff.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/runlevel4.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/runlevel0.target
--------------e---- /lib/systemd/system/getty.target
--------------e---- /lib/systemd/system/remote-fs.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/urandom.service
--------------e---- /lib/systemd/system/systemd-timesyncd.service.d
/lib/systemd/system/systemd-timesyncd.service.d:
--------------e---- /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
--------------e---- /lib/systemd/system/local-fs-pre.target
--------------e---- /lib/systemd/system/remote-fs-pre.target
--------------e---- /lib/systemd/system/rpc-svcgssd.service
--------------e---- /lib/systemd/system/systemd-reboot.service
--------------e---- /lib/systemd/system/dm-event.socket
--------------e---- /lib/systemd/system/apt-daily.timer
--------------e---- /lib/systemd/system/smartcard.target
--------------e---- /lib/systemd/system/sys-kernel-debug.mount
--------------e---- /lib/systemd/system/systemd-networkd.service
--------------e---- /lib/systemd/system/man-db.service
--------------e---- /lib/systemd/system/systemd-journald.socket
--------------e---- /lib/systemd/system/runlevel2.target.wants
/lib/systemd/system/runlevel2.target.wants:
--------------e---- /lib/systemd/system/serial-getty@.service
--------------e---- /lib/systemd/system/clamav-freshclam.service
--------------e---- /lib/systemd/system/sysstat.service
--------------e---- /lib/systemd/system/systemd-random-seed.service
--------------e---- /lib/systemd/system/clamav-daemon.service
--------------e---- /lib/systemd/system/console-getty.service
--------------e---- /lib/systemd/system/systemd-hwdb-update.service
--------------e---- /lib/systemd/system/runlevel3.target.wants
/lib/systemd/system/runlevel3.target.wants:
--------------e---- /lib/systemd/system/cryptsetup.target
--------------e---- /lib/systemd/system/mdadm-shutdown.service
--------------e---- /lib/systemd/system/system-update-cleanup.service
--------------e---- /lib/systemd/system/php7.1-fpm.service
--------------e---- /lib/systemd/system/logrotate.timer
--------------e---- /lib/systemd/system/sigpwr.target
--------------e---- /lib/systemd/system/systemd-hostnamed.service
--------------e---- /lib/systemd/system/mdadm-last-resort@.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/rmnologin.service
--------------e---- /lib/systemd/system/ssh.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/runlevel2.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/reboot.service
--------------e---- /lib/systemd/system/initrd-udevadm-cleanup-db.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/procps.service
--------------e---- /lib/systemd/system/nss-lookup.target
--------------e---- /lib/systemd/system/systemd-udevd-kernel.socket
--------------e---- /lib/systemd/system/apt-daily-upgrade.timer
--------------e---- /lib/systemd/system/systemd-fsck-root.service
--------------e---- /lib/systemd/system/sysinit.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/stop-bootlogd-single.service
--------------e---- /lib/systemd/system/multi-user.target.wants
/lib/systemd/system/multi-user.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/system/multi-user.target.wants/systemd-ask-password-wall.path
lsattr: Operation not supported While reading flags on /lib/systemd/system/multi-user.target.wants/dbus.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/multi-user.target.wants/getty.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/multi-user.target.wants/systemd-logind.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/multi-user.target.wants/systemd-update-utmp-runlevel.service
--------------e---- /lib/systemd/system/php7.3-fpm.service
--------------e---- /lib/systemd/system/systemd-rfkill.socket
--------------e---- /lib/systemd/system/man-db.timer
--------------e---- /lib/systemd/system/runlevel5.target.wants
/lib/systemd/system/runlevel5.target.wants:
--------------e---- /lib/systemd/system/ifupdown-wait-online.service
--------------e---- /lib/systemd/system/sysinit.target.wants
/lib/systemd/system/sysinit.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-sysctl.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-modules-load.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/kmod-static-nodes.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/dev-hugepages.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/sys-kernel-debug.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-random-seed.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-hwdb-update.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/cryptsetup.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-journald.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-ask-password-console.path
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-sysusers.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-journal-flush.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-update-utmp.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-machine-id-commit.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-udevd.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/systemd-binfmt.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sysinit.target.wants/dev-mqueue.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/umountroot.service
--------------e---- /lib/systemd/system/auth-rpcgss-module.service
--------------e---- /lib/systemd/system/polkit.service
--------------e---- /lib/systemd/system/apt-daily.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/x11-common.service
--------------e---- /lib/systemd/system/ntp.service
--------------e---- /lib/systemd/system/ifupdown-pre.service
--------------e---- /lib/systemd/system/getty-pre.target
--------------e---- /lib/systemd/system/sys-kernel-config.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/mdadm-waitidle.service
--------------e---- /lib/systemd/system/bind9-pkcs11.service
--------------e---- /lib/systemd/system/systemd-journald.service
--------------e---- /lib/systemd/system/systemd-initctl.socket
--------------e---- /lib/systemd/system/network-online.target
--------------e---- /lib/systemd/system/postfix@.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/runlevel1.target
--------------e---- /lib/systemd/system/final.target
--------------e---- /lib/systemd/system/sys-fs-fuse-connections.mount
--------------e---- /lib/systemd/system/systemd-fsck@.service
--------------e---- /lib/systemd/system/systemd-timesyncd.service
--------------e---- /lib/systemd/system/bind9-resolvconf.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/rc.service
--------------e---- /lib/systemd/system/php8.0-fpm.service
--------------e---- /lib/systemd/system/mdmonitor.service
--------------e---- /lib/systemd/system/initrd-switch-root.target
--------------e---- /lib/systemd/system/systemd-logind.service
--------------e---- /lib/systemd/system/systemd-ask-password-console.path
--------------e---- /lib/systemd/system/openntpd.service
--------------e---- /lib/systemd/system/getty-static.service
--------------e---- /lib/systemd/system/nss-user-lookup.target
--------------e---- /lib/systemd/system/systemd-resolved.service.d
/lib/systemd/system/systemd-resolved.service.d:
--------------e---- /lib/systemd/system/systemd-resolved.service.d/resolvconf.conf
--------------e---- /lib/systemd/system/boot-complete.target
--------------e---- /lib/systemd/system/multi-user.target
--------------e---- /lib/systemd/system/apache-htcacheclean@.service
--------------e---- /lib/systemd/system/php5.6-fpm.service
--------------e---- /lib/systemd/system/resolvconf.service
--------------e---- /lib/systemd/system/nfs-client.target
--------------e---- /lib/systemd/system/systemd-tmpfiles-setup-dev.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/dbus-org.freedesktop.hostname1.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/mountkernfs.service
--------------e---- /lib/systemd/system/phpsessionclean.service
--------------e---- /lib/systemd/system/initrd-cleanup.service
--------------e---- /lib/systemd/system/mdadm-grow-continue@.service
--------------e---- /lib/systemd/system/systemd-remount-fs.service
--------------e---- /lib/systemd/system/local-fs.target
--------------e---- /lib/systemd/system/initrd-switch-root.service
--------------e---- /lib/systemd/system/initrd.target
--------------e---- /lib/systemd/system/lvm2-lvmpolld.service
--------------e---- /lib/systemd/system/mdmon@.service
--------------e---- /lib/systemd/system/systemd-tmpfiles-setup.service
--------------e---- /lib/systemd/system/ifup@.service
--------------e---- /lib/systemd/system/haveged.service
--------------e---- /lib/systemd/system/runlevel4.target.wants
/lib/systemd/system/runlevel4.target.wants:
--------------e---- /lib/systemd/system/systemd-volatile-root.service
--------------e---- /lib/systemd/system/bluetooth.target
--------------e---- /lib/systemd/system/fail2ban.service
--------------e---- /lib/systemd/system/blk-availability.service
--------------e---- /lib/systemd/system/rsync.service
--------------e---- /lib/systemd/system/sleep.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/dbus-org.freedesktop.locale1.service
--------------e---- /lib/systemd/system/systemd-sysusers.service
--------------e---- /lib/systemd/system/rescue-ssh.target
--------------e---- /lib/systemd/system/swap.target
--------------e---- /lib/systemd/system/syslog.socket
--------------e---- /lib/systemd/system/logrotate.service
--------------e---- /lib/systemd/system/systemd-journal-flush.service
--------------e---- /lib/systemd/system/user.slice
lsattr: Operation not supported While reading flags on /lib/systemd/system/bootlogs.service
--------------e---- /lib/systemd/system/apt-daily-upgrade.service
--------------e---- /lib/systemd/system/systemd-update-utmp.service
--------------e---- /lib/systemd/system/systemd-hybrid-sleep.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/sudo.service
--------------e---- /lib/systemd/system/mdcheck_continue.service
--------------e---- /lib/systemd/system/getty.target.wants
/lib/systemd/system/getty.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/system/getty.target.wants/getty-static.service
--------------e---- /lib/systemd/system/systemd-machine-id-commit.service
--------------e---- /lib/systemd/system/rescue.target.wants
/lib/systemd/system/rescue.target.wants:
lsattr: Operation not supported While reading flags on /lib/systemd/system/rescue.target.wants/systemd-update-utmp-runlevel.service
--------------e---- /lib/systemd/system/initrd-fs.target
lsattr: Operation not supported While reading flags on /lib/systemd/system/runlevel6.target
--------------e---- /lib/systemd/system/user-runtime-dir@.service
--------------e---- /lib/systemd/system/postfix.service
--------------e---- /lib/systemd/system/systemd-journald-dev-log.socket
--------------e---- /lib/systemd/system/proc-sys-fs-binfmt_misc.mount
lsattr: Operation not supported While reading flags on /lib/systemd/system/screen-cleanup.service
--------------e---- /lib/systemd/system/mdcheck_start.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/dbus-org.freedesktop.timedate1.service
--------------e---- /lib/systemd/system/mdcheck_continue.timer
--------------e---- /lib/systemd/system/run-rpc_pipefs.mount
--------------e---- /lib/systemd/system/halt.target
--------------e---- /lib/systemd/system/umount.target
--------------e---- /lib/systemd/system/systemd-user-sessions.service
--------------e---- /lib/systemd/system/cryptsetup-pre.target
--------------e---- /lib/systemd/system/cloud-config.target
--------------e---- /lib/systemd/system/emergency.target
--------------e---- /lib/systemd/system/systemd-boot-check-no-failures.service
--------------e---- /lib/systemd/system/mariadb.service
--------------e---- /lib/systemd/system/spamassassin.service
--------------e---- /lib/systemd/system/quota.service
--------------e---- /lib/systemd/system/systemd-udevd.service
--------------e---- /lib/systemd/system/lvm2-pvscan@.service
--------------e---- /lib/systemd/system/dm-event.service
--------------e---- /lib/systemd/system/systemd-hibernate-resume@.service
--------------e---- /lib/systemd/system/cloud-init.target
--------------e---- /lib/systemd/system/mdadm-last-resort@.timer
--------------e---- /lib/systemd/system/exit.target
--------------e---- /lib/systemd/system/ssh.socket
--------------e---- /lib/systemd/system/systemd-exit.service
--------------e---- /lib/systemd/system/systemd-binfmt.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/smartmontools.service
--------------e---- /lib/systemd/system/quotarpc.service
--------------e---- /lib/systemd/system/rpc-gssd.service
--------------e---- /lib/systemd/system/ssh@.service
lsattr: Operation not supported While reading flags on /lib/systemd/system/dbus-org.freedesktop.login1.service
--------------e---- /lib/systemd/system/systemd-networkd-wait-online.service
--------------e---- /lib/systemd/system/systemd-kexec.service
--------------e---- /lib/systemd/system/container-getty@.service
.....
il reste ça :
└─[#] lsattr -d /lib/systemd/
-----------I--e---- /lib/systemd/
L’attribut d’indexation « I » n’est pas un problème et ne peut pas être modifié avec chattr de toute façon.
Est-ce que la mise à jour de systemd passe sans erreur maintenant ?
c’est bon ça fonctionne , merci beaucoup j’ai pu tout mettre à jour : )
Alors tu peux marquer le sujet comme résolu.
salut
quelqu’un aurait une doc sur ces attributs?
En lisant le man j’ai eu l’impression qu’on pourrait par exemple utiliser ces attributs par exemple pour éviter des erreurs de déplacement de fichiers ( du genre j’ai les droits rwx mais je ne peux pas bouger le fichier) : Est-ce vrai?