J’ai fait un premier test pas concluant. Je te met mon script en PJ : les logiciels en question ne se sont pas désinstallé, les autres pas installés. J’ai du mal à trouver les noms réèls des logiciels, le gestionnaire de paquets synaptic n’est pas présent sous Zorin, je l’ai installé mais je ne trouve pas tous les logiciels.
<bloc>Contenu du script
<code>
# !/bin/bash
# verrou exclusif / OK
sudo dpkg —configure -a
# supprimer des logiciels / OK
sudo apt-get purge -y -autoremove libreoffice* evolution konqueror photos contacts
# Update et Upgrade / OK
sudo apt-get update && sudo apt-get upgrade -y
J’ai fait un premier test pas concluant. Je te met mon script en PJ : les logiciels en question ne se sont pas désinstallé, les autres pas installés. J’ai du mal à trouver les noms réèls des logiciels, le gestionnaire de paquets synaptic n’est pas présent sous Zorin, je l’ai installé mais je ne trouve pas tous les logiciels.
<bloc>Contenu du script
<code>
# !/bin/bash
# verrou exclusif / OK
sudo dpkg —configure -a
# supprimer des logiciels / OK
sudo apt-get purge -y -autoremove libreoffice* evolution konqueror photos contacts
# Update et Upgrade / OK
sudo apt-get update && sudo apt-get upgrade -y
# install prefered software / OK
sudo apt-get intell -y thunderbird firefox onlyoffice-desktopeditors nextcloud-desktop nautilus-nextcloud ttf-mscorefonts-installer Screenshot
sudo fc-cache -f -v
</code>
</bloc>
<bloc>Message en réponse du script
<code>
dpkg : error : dpkg frontend lock was locked by another process with pid 4794
Note : removing the lock file is always wrong, can damage the locked area
and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.
E : Command line option ’a’ [from -autoremove] is not understood in combination with the other options.
Hit:1 http://fr.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu noble InRelease
Hit:7 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu noble InRelease
Hit:8 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu noble InRelease
Hit:9 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu noble InRelease
Hit:10 https://packages.zorinos.com/stable noble InRelease
Hit:11 https://packages.zorinos.com/patches noble InRelease
Hit:12 https://packages.zorinos.com/apps noble InRelease
Hit:13 https://packages.zorinos.com/drivers noble InRelease
Reading package lists... Done
E : Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 4794 (unattended-upgr)
N : Be aware that removing the lock file is not a solution and may break your system.
E : Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it ?
E : Invalid operation intell
Font directories :
/root/.local/share/fonts
/usr/local/share/fonts
/usr/share/fonts
/root/.fonts
/usr/share/fonts/X11
/usr/share/fonts/cMap
/usr/share/fonts/cmap
/usr/share/fonts/opentype
/usr/share/fonts/truetype
/usr/share/fonts/type1
/usr/share/fonts/woff
/usr/share/fonts/X11/Type1
/usr/share/fonts/X11/encodings
/usr/share/fonts/X11/misc
/usr/share/fonts/X11/util
/usr/share/fonts/cmap/adobe-cns1
/usr/share/fonts/cmap/adobe-gb1
/usr/share/fonts/cmap/adobe-japan1
/usr/share/fonts/cmap/adobe-japan2
/usr/share/fonts/cmap/adobe-korea1
/usr/share/fonts/opentype/mondulkiri
/usr/share/fonts/opentype/noto
/usr/share/fonts/opentype/opendyslexic
/usr/share/fonts/opentype/urw-base35
/usr/share/fonts/truetype/comic-relief-zorin-os
/usr/share/fonts/truetype/croscore
/usr/share/fonts/truetype/crosextra
/usr/share/fonts/truetype/dejavu
/usr/share/fonts/truetype/droid
/usr/share/fonts/truetype/gelasio-zorin-os
/usr/share/fonts/truetype/inter-zorin-os
/usr/share/fonts/truetype/jetbrains-mono-zorin-os
/usr/share/fonts/truetype/liberation
/usr/share/fonts/truetype/libreoffice
/usr/share/fonts/truetype/michroma-zorin-os
/usr/share/fonts/truetype/noto
/usr/share/fonts/truetype/roboto
/usr/share/fonts/truetype/roboto-mono-zorin-os
/usr/share/fonts/truetype/selawik-zorin-os
/usr/share/fonts/truetype/space-grotesk-zorin-os
/usr/share/fonts/truetype/tiresias
/usr/share/fonts/truetype/ubuntu
/usr/share/fonts/type1/urw-base35
/usr/share/fonts/woff/opendyslexic
/usr/share/fonts/X11/encodings/large
/usr/share/fonts/truetype/roboto/unhinted
/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF
/root/.local/share/fonts : skipping, no such directory
/usr/local/share/fonts : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts : caching, new cache contents : 0 fonts, 7 dirs
/usr/share/fonts/X11 : caching, new cache contents : 0 fonts, 4 dirs
/usr/share/fonts/X11/Type1 : caching, new cache contents : 43 fonts, 0 dirs
/usr/share/fonts/X11/encodings : caching, new cache contents : 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/X11/misc : caching, new cache contents : 89 fonts, 0 dirs
/usr/share/fonts/X11/util : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/cMap : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/cmap : caching, new cache contents : 0 fonts, 5 dirs
/usr/share/fonts/cmap/adobe-cns1 : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-gb1 : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan1 : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan2 : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-korea1 : caching, new cache contents : 0 fonts, 0 dirs
/usr/share/fonts/opentype : caching, new cache contents : 0 fonts, 4 dirs
/usr/share/fonts/opentype/mondulkiri : caching, new cache contents : 8 fonts, 0 dirs
/usr/share/fonts/opentype/noto : caching, new cache contents : 80 fonts, 0 dirs
/usr/share/fonts/opentype/opendyslexic : caching, new cache contents : 9 fonts, 0 dirs
/usr/share/fonts/opentype/urw-base35 : caching, new cache contents : 35 fonts, 0 dirs
/usr/share/fonts/truetype : caching, new cache contents : 0 fonts, 18 dirs
/usr/share/fonts/truetype/comic-relief-zorin-os : caching, new cache contents : 2 fonts, 0 dirs
/usr/share/fonts/truetype/croscore : caching, new cache contents : 12 fonts, 0 dirs
/usr/share/fonts/truetype/crosextra : caching, new cache contents : 8 fonts, 0 dirs
/usr/share/fonts/truetype/dejavu : caching, new cache contents : 8 fonts, 0 dirs
/usr/share/fonts/truetype/droid : caching, new cache contents : 1 fonts, 0 dirs
/usr/share/fonts/truetype/gelasio-zorin-os : caching, new cache contents : 8 fonts, 0 dirs
/usr/share/fonts/truetype/inter-zorin-os : caching, new cache contents : 18 fonts, 0 dirs
/usr/share/fonts/truetype/jetbrains-mono-zorin-os : caching, new cache contents : 32 fonts, 0 dirs
/usr/share/fonts/truetype/liberation : caching, new cache contents : 16 fonts, 0 dirs
/usr/share/fonts/truetype/libreoffice : caching, new cache contents : 1 fonts, 0 dirs
/usr/share/fonts/truetype/michroma-zorin-os : caching, new cache contents : 1 fonts, 0 dirs
/usr/share/fonts/truetype/noto : caching, new cache contents : 2380 fonts, 0 dirs
/usr/share/fonts/truetype/roboto : caching, new cache contents : 0 fonts, 1 dirs
/usr/share/fonts/truetype/roboto/unhinted : caching, new cache contents : 8 fonts, 1 dirs
/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF : caching, new cache contents : 12 fonts, 0 dirs
/usr/share/fonts/truetype/roboto-mono-zorin-os : caching, new cache contents : 10 fonts, 0 dirs
/usr/share/fonts/truetype/selawik-zorin-os : caching, new cache contents : 5 fonts, 0 dirs
/usr/share/fonts/truetype/space-grotesk-zorin-os : caching, new cache contents : 4 fonts, 0 dirs
/usr/share/fonts/truetype/tiresias : caching, new cache contents : 22 fonts, 0 dirs
/usr/share/fonts/truetype/ubuntu : caching, new cache contents : 232 fonts, 0 dirs
/usr/share/fonts/type1 : caching, new cache contents : 0 fonts, 1 dirs
/usr/share/fonts/type1/urw-base35 : caching, new cache contents : 35 fonts, 0 dirs
/usr/share/fonts/woff : caching, new cache contents : 0 fonts, 1 dirs
/usr/share/fonts/woff/opendyslexic : caching, new cache contents : 4 fonts, 0 dirs
/root/.fonts : skipping, no such directory
/usr/share/fonts/X11 : skipping, looped directory detected
/usr/share/fonts/cMap : skipping, looped directory detected
/usr/share/fonts/cmap : skipping, looped directory detected
/usr/share/fonts/opentype : skipping, looped directory detected
/usr/share/fonts/truetype : skipping, looped directory detected
/usr/share/fonts/type1 : skipping, looped directory detected
/usr/share/fonts/woff : skipping, looped directory detected
/usr/share/fonts/X11/Type1 : skipping, looped directory detected
/usr/share/fonts/X11/encodings : skipping, looped directory detected
/usr/share/fonts/X11/misc : skipping, looped directory detected
/usr/share/fonts/X11/util : skipping, looped directory detected
/usr/share/fonts/cmap/adobe-cns1 : skipping, looped directory detected
/usr/share/fonts/cmap/adobe-gb1 : skipping, looped directory detected
/usr/share/fonts/cmap/adobe-japan1 : skipping, looped directory detected
/usr/share/fonts/cmap/adobe-japan2 : skipping, looped directory detected
/usr/share/fonts/cmap/adobe-korea1 : skipping, looped directory detected
/usr/share/fonts/opentype/mondulkiri : skipping, looped directory detected
/usr/share/fonts/opentype/noto : skipping, looped directory detected
/usr/share/fonts/opentype/opendyslexic : skipping, looped directory detected
/usr/share/fonts/opentype/urw-base35 : skipping, looped directory detected
/usr/share/fonts/truetype/comic-relief-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/croscore : skipping, looped directory detected
/usr/share/fonts/truetype/crosextra : skipping, looped directory detected
/usr/share/fonts/truetype/dejavu : skipping, looped directory detected
/usr/share/fonts/truetype/droid : skipping, looped directory detected
/usr/share/fonts/truetype/gelasio-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/inter-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/jetbrains-mono-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/liberation : skipping, looped directory detected
/usr/share/fonts/truetype/libreoffice : skipping, looped directory detected
/usr/share/fonts/truetype/michroma-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/noto : skipping, looped directory detected
/usr/share/fonts/truetype/roboto : skipping, looped directory detected
/usr/share/fonts/truetype/roboto-mono-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/selawik-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/space-grotesk-zorin-os : skipping, looped directory detected
/usr/share/fonts/truetype/tiresias : skipping, looped directory detected
/usr/share/fonts/truetype/ubuntu : skipping, looped directory detected
/usr/share/fonts/type1/urw-base35 : skipping, looped directory detected
/usr/share/fonts/woff/opendyslexic : skipping, looped directory detected
/usr/share/fonts/X11/encodings/large : skipping, looped directory detected
/usr/share/fonts/truetype/roboto/unhinted : skipping, looped directory detected
/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF : skipping, looped directory detected
/var/cache/fontconfig : cleaning cache directory
/root/.cache/fontconfig : not cleaning non-existent cache directory
/root/.fontconfig : not cleaning non-existent cache directory
fc-cache : succeeded
</code>
</bloc>