#1 Le 09/03/2024, à 12:33
- Zébulon1960
Gestionnaire de mise à jour: le systeme de paquets est cassé.
[Résolu]
Le systeme de paquets est cassé: "Vérifiez si vous utilisez des dépôts de tierces parties. Si c'est le cas, désactivez-les car ils sont une source habituelle de problèmes.
De plus, exécutez la commande suivante dans un terminal : sudo apt-get install -f
Transaction failed: Le système de paquets est cassé
Les paquets suivants ont des dépendances non satisfaites :"
J'ai exécuté la commande "sudo apt-get install -f", rien n'y fait.
Quelle est la solution ?
<pre><font color="#26A269"><b>jean-marie@thinkpad-t450</b></font>:<font color="#12488B"><b>~</b></font>$ sudo apt --fix-broken install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Correction des dépendances... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
blender blender-data catdoc fonts-cantarell libdcmtk16 libembree3-3 libepub0 libglew2.2 libjemalloc2 libjs-jquery-ui libkf5filemetadata-bin libkf5filemetadata-data
libkf5filemetadata3 libkf5newstuffwidgets5 liblog4cplus-2.0.5 libopencolorio1v5 libopencv-videoio4.5d libopenimageio2.2 libopenshot-audio7 libopenshot19
libopenvdb8.1 libosdcpu3.4.4 libpoppler-qt5-1 libqmobipocket2 libqt5designer5 libqt5networkauth5 libspnav0 libsquish0 libtinyxml2.6.2v5 libyaml-cpp0.7 libzip4
python3-openshot python3-py python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-pyqt5.sip python3-zmq qml-module-org-kde-kcm swh-plugins
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés :
linux-image-unsigned-5.15.0-97-generic
Paquets suggérés :
fdutils linux-doc | linux-source-5.15.0 linux-tools linux-headers-5.15.0-97-generic linux-modules-extra-5.15.0-97-generic
Les paquets suivants seront ENLEVÉS :
linux-image-5.15.0-97-generic
Les NOUVEAUX paquets suivants seront installés :
linux-image-unsigned-5.15.0-97-generic
0 mis à jour, 1 nouvellement installés, 1 à enlever et 74 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/11,7 Mo dans les archives.
Après cette opération, 629 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
<b>dpkg:</b> linux-image-5.15.0-97-generic : problème de dépendance, mais suppression comme demandé :
linux-modules-5.15.0-97-generic dépend de linux-image-5.15.0-97-generic | linux-image-unsigned-5.15.0-97-generic ; cependant :
Le paquet linux-image-5.15.0-97-generic doit être supprimé.
Le paquet linux-image-unsigned-5.15.0-97-generic n'est pas installé.
(Lecture de la base de données... 325225 fichiers et répertoires déjà installés.)
Suppression de linux-image-5.15.0-97-generic (5.15.0-97.107) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-97-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-21-generic
Found initrd image: /boot/initrd.img-6.5.0-21-generic
Found linux image: /boot/vmlinuz-6.5.0-18-generic
Found initrd image: /boot/initrd.img-6.5.0-18-generic
Found linux image: /boot/vmlinuz-5.15.0-100-generic
Found initrd image: /boot/initrd.img-5.15.0-100-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
erreur : syntax error.
erreur : Incorrect command.
erreur : syntax error.
Erreur de syntaxe à la ligne 345
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
<b>dpkg:</b> erreur de traitement du paquet linux-image-5.15.0-97-generic (--remove) :
le sous-processus paquet linux-image-5.15.0-97-generic script post-removal installé a renvoyé un état de sortie d'erreur 1
<b>dpkg:</b> trop d'erreurs, arrêt
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-5.15.0-97-generic
L'exécution a été arrêtée car il y avait trop d'erreurs.
<font color="#C01C28"><b>E: </b></font>Sub-process /usr/bin/dpkg returned an error code (1)
</pre>
Dernière modification par Zébulon1960 (Le 09/03/2024, à 14:59)
Hors ligne
#2 Le 09/03/2024, à 12:37
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
https://i.postimg.cc/pLZ1HCpy/Capture-d-cran-du-2024-03-09-12-13-57.png
modération - Image inutile, message cité dans le premier message
Dernière modification par cqfd93 (Le 09/03/2024, à 12:55)
Hors ligne
#3 Le 09/03/2024, à 12:45
- xubu1957
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Bonjour,
Montre aussi les paquets cassés :
dpkg -l | grep -v ^ii
Dernière modification par xubu1957 (Le 09/03/2024, à 12:51)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#4 Le 09/03/2024, à 12:46
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
<pre><font color="#26A269"><b>jean-marie@thinkpad-t450</b></font>:<font color="#12488B"><b>~</b></font>$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-=============================================-===========================================-============-================================================================================
rc bsdmainutils 12.1.7+nmu3ubuntu2 all Transitional package for more utilities from FreeBSD
rc crda 3.18-1build1 amd64 wireless Central Regulatory Domain Agent
rc cryptsetup-initramfs 2:2.2.2-3ubuntu2.4 all disk encryption support - initramfs integration
rc fuse 2.9.9-3 amd64 Filesystem in Userspace
rc hddtemp 0.3-beta15-53 amd64 hard drive temperature monitoring utility
rc ippusbxd 1.34-2ubuntu1 amd64 Daemon for IPP USB printer support
rc libpython3.8-minimal:amd64 3.8.10-0ubuntu1~20.04.4 amd64 Minimal subset of the Python language (version 3.8)
rc libreoffice-style-tango 4:7.6.2~rc1-0ubuntu0.22.04.1~lo1 all transitional package for Tango symbol style
rc libssl1.1:amd64 1.1.1f-1ubuntu2.15 amd64 Secure Sockets Layer toolkit - shared libraries
rc linux-image-5.11.0-41-generic 5.11.0-41.45~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-51-generic 5.13.0-51.58~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Signed kernel image generic
iF linux-image-5.15.0-100-generic 5.15.0-100.110 amd64 Signed kernel image generic
rc linux-image-5.15.0-40-generic 5.15.0-40.43 amd64 Signed kernel image generic
rc linux-image-5.15.0-41-generic 5.15.0-41.44 amd64 Signed kernel image generic
rc linux-image-5.15.0-43-generic 5.15.0-43.46 amd64 Signed kernel image generic
rc linux-image-5.15.0-46-generic 5.15.0-46.49 amd64 Signed kernel image generic
rc linux-image-5.15.0-47-generic 5.15.0-47.51 amd64 Signed kernel image generic
rc linux-image-5.15.0-48-generic 5.15.0-48.54 amd64 Signed kernel image generic
rc linux-image-5.15.0-50-generic 5.15.0-50.56 amd64 Signed kernel image generic
rc linux-image-5.15.0-52-generic 5.15.0-52.58 amd64 Signed kernel image generic
rc linux-image-5.15.0-53-generic 5.15.0-53.59 amd64 Signed kernel image generic
rc linux-image-5.15.0-56-generic 5.15.0-56.62 amd64 Signed kernel image generic
rc linux-image-5.15.0-57-generic 5.15.0-57.63 amd64 Signed kernel image generic
rc linux-image-5.15.0-58-generic 5.15.0-58.64 amd64 Signed kernel image generic
rc linux-image-5.15.0-60-generic 5.15.0-60.66 amd64 Signed kernel image generic
rc linux-image-5.15.0-67-generic 5.15.0-67.74 amd64 Signed kernel image generic
rc linux-image-5.15.0-69-generic 5.15.0-69.76 amd64 Signed kernel image generic
rc linux-image-5.15.0-70-generic 5.15.0-70.77 amd64 Signed kernel image generic
rc linux-image-5.15.0-71-generic 5.15.0-71.78 amd64 Signed kernel image generic
rc linux-image-5.15.0-72-generic 5.15.0-72.79 amd64 Signed kernel image generic
rc linux-image-5.15.0-73-generic 5.15.0-73.80 amd64 Signed kernel image generic
rc linux-image-5.15.0-75-generic 5.15.0-75.82 amd64 Signed kernel image generic
rc linux-image-5.15.0-76-generic 5.15.0-76.83 amd64 Signed kernel image generic
rc linux-image-5.15.0-78-generic 5.15.0-78.85 amd64 Signed kernel image generic
rc linux-image-5.15.0-79-generic 5.15.0-79.86 amd64 Signed kernel image generic
rc linux-image-5.15.0-82-generic 5.15.0-82.91 amd64 Signed kernel image generic
rc linux-image-5.15.0-83-generic 5.15.0-83.92 amd64 Signed kernel image generic
rc linux-image-5.15.0-84-generic 5.15.0-84.93 amd64 Signed kernel image generic
rc linux-image-5.15.0-86-generic 5.15.0-86.96 amd64 Signed kernel image generic
rc linux-image-5.15.0-87-generic 5.15.0-87.97 amd64 Signed kernel image generic
rc linux-image-5.15.0-88-generic 5.15.0-88.98 amd64 Signed kernel image generic
rc linux-image-5.15.0-89-generic 5.15.0-89.99 amd64 Signed kernel image generic
rc linux-image-5.15.0-91-generic 5.15.0-91.101 amd64 Signed kernel image generic
rc linux-image-5.15.0-92-generic 5.15.0-92.102 amd64 Signed kernel image generic
rc linux-image-5.15.0-94-generic 5.15.0-94.104 amd64 Signed kernel image generic
rH linux-image-5.15.0-97-generic 5.15.0-97.107 amd64 Signed kernel image generic
rc linux-image-5.19.0-32-generic 5.19.0-32.33~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-35-generic 5.19.0-35.36~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-38-generic 5.19.0-38.39~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-40-generic 5.19.0-40.41~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-41-generic 5.19.0-41.42~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-42-generic 5.19.0-42.43~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-43-generic 5.19.0-43.44~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-45-generic 5.19.0-45.46~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-46-generic 5.19.0-46.47~22.04.1 amd64 Signed kernel image generic
rc linux-image-5.19.0-50-generic 5.19.0-50.50 amd64 Signed kernel image generic
rc linux-image-5.4.0-42-generic 5.4.0-42.46 amd64 Signed kernel image generic
rc linux-image-5.8.0-36-generic 5.8.0-36.40~20.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-26-generic 6.2.0-26.26~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-31-generic 6.2.0-31.31~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-33-generic 6.2.0-33.33~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-34-generic 6.2.0-34.34~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-35-generic 6.2.0-35.35~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-36-generic 6.2.0-36.37~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-37-generic 6.2.0-37.38~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.2.0-39-generic 6.2.0-39.40~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.5.0-14-generic 6.5.0-14.14~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.5.0-15-generic 6.5.0-15.15~22.04.1 amd64 Signed kernel image generic
rc linux-image-6.5.0-17-generic 6.5.0-17.17~22.04.1 amd64 Signed kernel image generic
rc linux-modules-5.11.0-41-generic 5.11.0-41.45~20.04.1 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc linux-modules-5.13.0-51-generic 5.13.0-51.58~20.04.1 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
rc linux-modules-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-40-generic 5.15.0-40.43 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-41-generic 5.15.0-41.44 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-43-generic 5.15.0-43.46 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-46-generic 5.15.0-46.49 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-47-generic 5.15.0-47.51 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-48-generic 5.15.0-48.54 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-50-generic 5.15.0-50.56 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-52-generic 5.15.0-52.58 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-53-generic 5.15.0-53.59 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-56-generic 5.15.0-56.62 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-57-generic 5.15.0-57.63 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-58-generic 5.15.0-58.64 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-60-generic 5.15.0-60.66 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-67-generic 5.15.0-67.74 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-69-generic 5.15.0-69.76 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-70-generic 5.15.0-70.77 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-71-generic 5.15.0-71.78 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-72-generic 5.15.0-72.79 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-73-generic 5.15.0-73.80 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-75-generic 5.15.0-75.82 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-76-generic 5.15.0-76.83 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-78-generic 5.15.0-78.85 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-79-generic 5.15.0-79.86 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-82-generic 5.15.0-82.91 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-83-generic 5.15.0-83.92 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-84-generic 5.15.0-84.93 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-86-generic 5.15.0-86.96 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-87-generic 5.15.0-87.97 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-88-generic 5.15.0-88.98 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-89-generic 5.15.0-89.99 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-91-generic 5.15.0-91.101 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-92-generic 5.15.0-92.102 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-94-generic 5.15.0-94.104 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-32-generic 5.19.0-32.33~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-35-generic 5.19.0-35.36~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-38-generic 5.19.0-38.39~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-40-generic 5.19.0-40.41~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-41-generic 5.19.0-41.42~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-42-generic 5.19.0-42.43~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-43-generic 5.19.0-43.44~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-45-generic 5.19.0-45.46~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-46-generic 5.19.0-46.47~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.19.0-50-generic 5.19.0-50.50 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-42-generic 5.4.0-42.46 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.8.0-36-generic 5.8.0-36.40~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-26-generic 6.2.0-26.26~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-31-generic 6.2.0-31.31~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-32-generic 6.2.0-32.32~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-33-generic 6.2.0-33.33~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-34-generic 6.2.0-34.34~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-35-generic 6.2.0-35.35~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-36-generic 6.2.0-36.37~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-37-generic 6.2.0-37.38~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.2.0-39-generic 6.2.0-39.40~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-6.5.0-14-generic 6.5.0-14.14~22.04.1 amd64 Linux kernel extra modules for version 6.5.0 on 64 bit x86 SMP
rc linux-modules-6.5.0-15-generic 6.5.0-15.15~22.04.1 amd64 Linux kernel extra modules for version 6.5.0 on 64 bit x86 SMP
rc linux-modules-6.5.0-17-generic 6.5.0-17.17~22.04.1 amd64 Linux kernel extra modules for version 6.5.0 on 64 bit x86 SMP
rc linux-modules-extra-5.11.0-41-generic 5.11.0-41.45~20.04.1 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc linux-modules-extra-5.13.0-51-generic 5.13.0-51.58~20.04.1 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
rc linux-modules-extra-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-40-generic 5.15.0-40.43 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-41-generic 5.15.0-41.44 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-43-generic 5.15.0-43.46 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-46-generic 5.15.0-46.49 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-47-generic 5.15.0-47.51 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-48-generic 5.15.0-48.54 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-50-generic 5.15.0-50.56 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-52-generic 5.15.0-52.58 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-53-generic 5.15.0-53.59 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-56-generic 5.15.0-56.62 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-57-generic 5.15.0-57.63 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-58-generic 5.15.0-58.64 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-60-generic 5.15.0-60.66 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-67-generic 5.15.0-67.74 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-69-generic 5.15.0-69.76 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-70-generic 5.15.0-70.77 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-71-generic 5.15.0-71.78 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-72-generic 5.15.0-72.79 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-73-generic 5.15.0-73.80 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-75-generic 5.15.0-75.82 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-76-generic 5.15.0-76.83 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-78-generic 5.15.0-78.85 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-79-generic 5.15.0-79.86 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-82-generic 5.15.0-82.91 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-83-generic 5.15.0-83.92 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-84-generic 5.15.0-84.93 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-86-generic 5.15.0-86.96 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-87-generic 5.15.0-87.97 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-88-generic 5.15.0-88.98 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-89-generic 5.15.0-89.99 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-91-generic 5.15.0-91.101 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-92-generic 5.15.0-92.102 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-94-generic 5.15.0-94.104 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-97-generic 5.15.0-97.107 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-32-generic 5.19.0-32.33~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-35-generic 5.19.0-35.36~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-38-generic 5.19.0-38.39~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-40-generic 5.19.0-40.41~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-41-generic 5.19.0-41.42~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-42-generic 5.19.0-42.43~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-43-generic 5.19.0-43.44~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-45-generic 5.19.0-45.46~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-46-generic 5.19.0-46.47~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.19.0-50-generic 5.19.0-50.50 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-42-generic 5.4.0-42.46 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.8.0-36-generic 5.8.0-36.40~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-26-generic 6.2.0-26.26~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-31-generic 6.2.0-31.31~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-32-generic 6.2.0-32.32~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-33-generic 6.2.0-33.33~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-34-generic 6.2.0-34.34~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-35-generic 6.2.0-35.35~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-36-generic 6.2.0-36.37~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-37-generic 6.2.0-37.38~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.2.0-39-generic 6.2.0-39.40~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc linux-modules-extra-6.5.0-14-generic 6.5.0-14.14~22.04.1 amd64 Linux kernel extra modules for version 6.5.0 on 64 bit x86 SMP
rc linux-modules-extra-6.5.0-15-generic 6.5.0-15.15~22.04.1 amd64 Linux kernel extra modules for version 6.5.0 on 64 bit x86 SMP
rc linux-modules-extra-6.5.0-17-generic 6.5.0-17.17~22.04.1 amd64 Linux kernel extra modules for version 6.5.0 on 64 bit x86 SMP
rc ltrace 0.7.3-6.1ubuntu6 amd64 Tracks runtime library calls in dynamically linked programs
rc nautilus-dropbox 2019.02.14-1ubuntu1 amd64 Dropbox integration for Nautilus
rc oem-config 20.04.15.19 all Perform end-user configuration after initial OEM installation
rc oem-config-gtk 20.04.15.19 all GTK+ frontend for end-user post-OEM-install configuration
rc popularity-contest 1.71ubuntu3 all Vote for your favourite packages automatically
rc python3.8-minimal 3.8.10-0ubuntu1~20.04.4 amd64 Minimal subset of the Python language (version 3.8)
rc vsftpd 3.0.5-0ubuntu1 amd64 lightweight, efficient FTP server written for security
rc xul-ext-ubufox 3.4-0ubuntu1.17.10.1 all Ubuntu modifications for Firefox
<font color="#26A269"><b>jean-marie@thinkpad-t450</b></font>:<font color="#12488B"><b>~</b></font>$
</pre>
Hors ligne
#5 Le 09/03/2024, à 12:48
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Excuse moi, je ne t'avais pas souhaité le Bonjour.
Hors ligne
#6 Le 09/03/2024, à 12:50
- xubu1957
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Pour purger les résidus de configuration marqués "rc" :
sudo apt purge ~c
comme expliqué à la machine à café et rajouté dans ce message
Fournis les retours de :
sudo apt update
le sources.list avec la numérotation :
find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
===========
Rappel d'un précédent fil [Résolu] Problèmes avec PPA périmés, avec un titre non évident, et pas noté en Résolu.
Nota : la Modération a mis le résolu et corrigé le titre.
Dernière modification par xubu1957 (Le 09/03/2024, à 16:53)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#7 Le 09/03/2024, à 12:59
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Voici:
sudo apt purge ~c
[sudo] Mot de passe de jean-marie :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Vous pouvez lancer « apt --fix-broken install » pour corriger ces problèmes.
Les paquets suivants contiennent des dépendances non satisfaites :
linux-modules-5.15.0-97-generic : Dépend: linux-image-5.15.0-97-generic mais ne sera pas installé ou
linux-image-unsigned-5.15.0-97-generic mais ne sera pas installé
E: Dépendances non satisfaites. Essayez « apt --fix-broken install » sans paquet
(ou indiquez une solution).
sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Réception de :2 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Atteint :3 http://dl.google.com/linux/earth/deb stable InRelease
Atteint :4 https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu jammy InRelease
Réception de :5 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7553 B]
Atteint :6 https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu jammy InRelease
Réception de :7 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Réception de :8 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7456 B]
Atteint :9 https://ppa.launchpadcontent.net/libreoffice/ppa/ubuntu jammy InRelease
Atteint :10 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease
Atteint :11 https://ppa.launchpadcontent.net/scribus/ppa/ubuntu jammy InRelease
Réception de :12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7450 B]
Réception de :13 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7449 B]
259 ko réceptionnés en 2s (131 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
74 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.bak
/etc/apt/sources.list.save
/etc/apt/sources.list.distUpgrade
/etc/apt/sources.list.d/appimagelauncher-team-ubuntu-stable-jammy.list
1 deb https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-ffmpeg4-jammy.list
1 # deb https://ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-ffmpeg6-jammy.list
1 # deb https://ppa.launchpadcontent.net/savoury1/ffmpeg6/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/savoury1/ffmpeg6/ubuntu/ jammy main
/etc/apt/sources.list.d/ubuntu-esm-apps.list
1 deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
2 # deb-src https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
3 deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
4 # deb-src https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
/etc/apt/sources.list.d/kdenlive-ubuntu-kdenlive-stable-jammy.list
1 # deb https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu/ jammy main
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-jammy.list
1 deb https://ppa.launchpadcontent.net/libreoffice/ppa/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/libreoffice/ppa/ubuntu/ jammy main
/etc/apt/sources.list.d/scribus-ubuntu-ppa-jammy.list
1 deb https://ppa.launchpadcontent.net/scribus/ppa/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/scribus/ppa/ubuntu/ jammy main
/etc/apt/sources.list.d/savoury1-ubuntu-blender-jammy.list
1 # deb https://ppa.launchpadcontent.net/savoury1/blender/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/savoury1/blender/ubuntu/ jammy main
/etc/apt/sources.list.d/google-earth-pro.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
/etc/apt/sources.list.d/danielrichter2007-ubuntu-grub-customizer-jammy.list
1 deb https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu/ jammy main
2 # deb-src https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu/ jammy main
/etc/apt/sources.list.d/ubuntu-esm-infra.list
1 deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
2 # deb-src https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
3 deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main
4 # deb-src https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted
6 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
11 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://fr.archive.ubuntu.com/ubuntu/ jammy universe
17 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy universe
18 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe
19 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
27 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
28 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
29 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
37 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
38
39
40 deb http://security.ubuntu.com/ubuntu jammy-security main restricted
41 # deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
42 deb http://security.ubuntu.com/ubuntu jammy-security universe
43 # deb-src http://security.ubuntu.com/ubuntu jammy-security universe
44 deb http://security.ubuntu.com/ubuntu jammy-security multiverse
45 # deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
46
47 # This system was installed using small removable media
48 # (e.g. netinst, live or single CD). The matching "deb cdrom"
49 # entries were disabled at the end of the installation process.
50 # For information about how to configure apt package sources,
51 # see the sources.list(5) manual.
52 # deb https://ppa.launchpadcontent.net/thomas-schiex/blender/ubuntu jammy main
53 # deb-src https://ppa.launchpadcontent.net/thomas-schiex/blender/ubuntu jammy main
Hors ligne
#8 Le 09/03/2024, à 13:05
- xubu1957
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Vu :
Adding boot menu entry for UEFI Firmware Settings ...
erreur : syntax error.
erreur : Incorrect command.
erreur : syntax error.
Erreur de syntaxe à la ligne 345
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
Montre :
dpkg -l | grep grub
cat -n /boot/grub/grub.cfg.new
piochés dans [Résolu] Problème avec Grub et Apt
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#9 Le 09/03/2024, à 13:08
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
dpkg -l | grep grub
ii grub-common 2.06-2ubuntu7.2 amd64 GRand Unified Bootloader (common files)
ii grub-customizer 5.2.4-0ubuntu1~ppa1j amd64 Grub Customizer - A graphical Grub2/BURG configuration application
ii grub-efi-amd64-bin 2.06-2ubuntu14.4 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
ii grub-efi-amd64-signed 1.187.6+2.06-2ubuntu14.4 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub-gfxpayload-lists 0.7 amd64 GRUB gfxpayload blacklist
ii grub-pc 2.06-2ubuntu7.2 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.06-2ubuntu7.2 amd64 GRand Unified Bootloader, version 2 (PC/BIOS modules)
ii grub2-common 2.06-2ubuntu7.2 amd64 GRand Unified Bootloader (common files for version 2)
sudo cat -n /boot/grub/grub.cfg.new
1 #
2 # DO NOT EDIT THIS FILE
3 #
4 # It is automatically generated by grub-mkconfig using templates
5 # from /etc/grub.d and settings from /etc/default/grub
6 #
7
8 ### BEGIN /etc/grub.d/00_header ###
9 if [ -s $prefix/grubenv ]; then
10 set have_grubenv=true
11 load_env
12 fi
13 if [ "${initrdfail}" = 2 ]; then
14 set initrdfail=
15 elif [ "${initrdfail}" = 1 ]; then
16 set next_entry="${prev_entry}"
17 set prev_entry=
18 save_env prev_entry
19 if [ "${next_entry}" ]; then
20 set initrdfail=2
21 fi
22 fi
23 if [ "${next_entry}" ] ; then
24 set default="${next_entry}"
25 set next_entry=
26 save_env next_entry
27 set boot_once=true
28 else
29 set default="0"
30 fi
31
32 if [ x"${feature_menuentry_id}" = xy ]; then
33 menuentry_id_option="--id"
34 else
35 menuentry_id_option=""
36 fi
37
38 export menuentry_id_option
39
40 if [ "${prev_saved_entry}" ]; then
41 set saved_entry="${prev_saved_entry}"
42 save_env saved_entry
43 set prev_saved_entry=
44 save_env prev_saved_entry
45 set boot_once=true
46 fi
47
48 function savedefault {
49 if [ -z "${boot_once}" ]; then
50 saved_entry="${chosen}"
51 save_env saved_entry
52 fi
53 }
54 function initrdfail {
55 if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
56 if [ -z "${initrdfail}" ]; then
57 set initrdfail=1
58 if [ -n "${boot_once}" ]; then
59 set prev_entry="${default}"
60 save_env prev_entry
61 fi
62 fi
63 save_env initrdfail
64 fi; fi
65 }
66 function recordfail {
67 set recordfail=1
68 if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
69 }
70 function load_video {
71 if [ x$feature_all_video_module = xy ]; then
72 insmod all_video
73 else
74 insmod efi_gop
75 insmod efi_uga
76 insmod ieee1275_fb
77 insmod vbe
78 insmod vga
79 insmod video_bochs
80 insmod video_cirrus
81 fi
82 }
83
84 if [ x$feature_default_font_path = xy ] ; then
85 font=unicode
86 else
87 insmod part_gpt
88 insmod ext2
89 set root='hd0,gpt2'
90 if [ x$feature_platform_search_hint = xy ]; then
91 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
92 else
93 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
94 fi
95 font="/usr/share/grub/unicode.pf2"
96 fi
97
98 if loadfont $font ; then
99 set gfxmode=auto
100 load_video
101 insmod gfxterm
102 set locale_dir=$prefix/locale
103 set lang=fr_FR
104 insmod gettext
105 fi
106 terminal_output gfxterm
107 if [ "${recordfail}" = 1 ] ; then
108 set timeout=30
109 else
110 if [ x$feature_timeout_style = xy ] ; then
111 set timeout_style=hidden
112 set timeout=0
113 # Fallback hidden-timeout code in case the timeout_style feature is
114 # unavailable.
115 elif sleep --interruptible 0 ; then
116 set timeout=0
117 fi
118 fi
119 ### END /etc/grub.d/00_header ###
120
121 ### BEGIN /etc/grub.d/05_debian_theme ###
122 set menu_color_normal=white/black
123 set menu_color_highlight=black/light-gray
124 ### END /etc/grub.d/05_debian_theme ###
125
126 ### BEGIN /etc/grub.d/10_linux ###
127 function gfxmode {
128 set gfxpayload="${1}"
129 if [ "${1}" = "keep" ]; then
130 set vt_handoff=vt.handoff=7
131 else
132 set vt_handoff=
133 fi
134 }
135 if [ "${recordfail}" != 1 ]; then
136 if [ -e ${prefix}/gfxblacklist.txt ]; then
137 if [ ${grub_platform} != pc ]; then
138 set linux_gfx_mode=keep
139 elif hwmatch ${prefix}/gfxblacklist.txt 3; then
140 if [ ${match} = 0 ]; then
141 set linux_gfx_mode=keep
142 else
143 set linux_gfx_mode=text
144 fi
145 else
146 set linux_gfx_mode=text
147 fi
148 else
149 set linux_gfx_mode=keep
150 fi
151 else
152 set linux_gfx_mode=text
153 fi
154 export linux_gfx_mode
155 menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c218fbff-cb5d-434d-b063-8def5473a81e' {
156 recordfail
157 load_video
158 gfxmode $linux_gfx_mode
159 insmod gzio
160 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
161 insmod part_gpt
162 insmod ext2
163 set root='hd0,gpt2'
164 if [ x$feature_platform_search_hint = xy ]; then
165 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
166 else
167 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
168 fi
169 linux /boot/vmlinuz-6.5.0-21-generic root=UUID=c218fbff-cb5d-434d-b063-8def5473a81e ro quiet loglevel=3 splash $vt_handoff
170 initrd /boot/initrd.img-6.5.0-21-generic
171 }
172 submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c218fbff-cb5d-434d-b063-8def5473a81e' {
173 menuentry 'Ubuntu, with Linux 6.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-21-generic-advanced-c218fbff-cb5d-434d-b063-8def5473a81e' {
174 recordfail
175 load_video
176 gfxmode $linux_gfx_mode
177 insmod gzio
178 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
179 insmod part_gpt
180 insmod ext2
181 set root='hd0,gpt2'
182 if [ x$feature_platform_search_hint = xy ]; then
183 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
184 else
185 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
186 fi
187 echo 'Loading Linux 6.5.0-21-generic ...'
188 linux /boot/vmlinuz-6.5.0-21-generic root=UUID=c218fbff-cb5d-434d-b063-8def5473a81e ro quiet loglevel=3 splash $vt_handoff
189 echo 'Loading initial ramdisk ...'
190 initrd /boot/initrd.img-6.5.0-21-generic
191 }
192 menuentry 'Ubuntu, with Linux 6.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-21-generic-recovery-c218fbff-cb5d-434d-b063-8def5473a81e' {
193 recordfail
194 load_video
195 insmod gzio
196 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
197 insmod part_gpt
198 insmod ext2
199 set root='hd0,gpt2'
200 if [ x$feature_platform_search_hint = xy ]; then
201 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
202 else
203 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
204 fi
205 echo 'Loading Linux 6.5.0-21-generic ...'
206 linux /boot/vmlinuz-6.5.0-21-generic root=UUID=c218fbff-cb5d-434d-b063-8def5473a81e ro recovery nomodeset dis_ucode_ldr
207 echo 'Loading initial ramdisk ...'
208 initrd /boot/initrd.img-6.5.0-21-generic
209 }
210 menuentry 'Ubuntu, with Linux 6.5.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-18-generic-advanced-c218fbff-cb5d-434d-b063-8def5473a81e' {
211 recordfail
212 load_video
213 gfxmode $linux_gfx_mode
214 insmod gzio
215 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
216 insmod part_gpt
217 insmod ext2
218 set root='hd0,gpt2'
219 if [ x$feature_platform_search_hint = xy ]; then
220 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
221 else
222 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
223 fi
224 echo 'Loading Linux 6.5.0-18-generic ...'
225 linux /boot/vmlinuz-6.5.0-18-generic root=UUID=c218fbff-cb5d-434d-b063-8def5473a81e ro quiet loglevel=3 splash $vt_handoff
226 echo 'Loading initial ramdisk ...'
227 initrd /boot/initrd.img-6.5.0-18-generic
228 }
229 menuentry 'Ubuntu, with Linux 6.5.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-18-generic-recovery-c218fbff-cb5d-434d-b063-8def5473a81e' {
230 recordfail
231 load_video
232 insmod gzio
233 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
234 insmod part_gpt
235 insmod ext2
236 set root='hd0,gpt2'
237 if [ x$feature_platform_search_hint = xy ]; then
238 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
239 else
240 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
241 fi
242 echo 'Loading Linux 6.5.0-18-generic ...'
243 linux /boot/vmlinuz-6.5.0-18-generic root=UUID=c218fbff-cb5d-434d-b063-8def5473a81e ro recovery nomodeset dis_ucode_ldr
244 echo 'Loading initial ramdisk ...'
245 initrd /boot/initrd.img-6.5.0-18-generic
246 }
247 menuentry 'Ubuntu, with Linux 5.15.0-100-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-100-generic-advanced-c218fbff-cb5d-434d-b063-8def5473a81e' {
248 recordfail
249 load_video
250 gfxmode $linux_gfx_mode
251 insmod gzio
252 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
253 insmod part_gpt
254 insmod ext2
255 set root='hd0,gpt2'
256 if [ x$feature_platform_search_hint = xy ]; then
257 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
258 else
259 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
260 fi
261 echo 'Loading Linux 5.15.0-100-generic ...'
262 linux /boot/vmlinuz-5.15.0-100-generic root=UUID=c218fbff-cb5d-434d-b063-8def5473a81e ro quiet loglevel=3 splash $vt_handoff
263 echo 'Loading initial ramdisk ...'
264 initrd /boot/initrd.img-5.15.0-100-generic
265 }
266 menuentry 'Ubuntu, with Linux 5.15.0-100-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-100-generic-recovery-c218fbff-cb5d-434d-b063-8def5473a81e' {
267 recordfail
268 load_video
269 insmod gzio
270 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
271 insmod part_gpt
272 insmod ext2
273 set root='hd0,gpt2'
274 if [ x$feature_platform_search_hint = xy ]; then
275 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
276 else
277 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
278 fi
279 echo 'Loading Linux 5.15.0-100-generic ...'
280 linux /boot/vmlinuz-5.15.0-100-generic root=UUID=c218fbff-cb5d-434d-b063-8def5473a81e ro recovery nomodeset dis_ucode_ldr
281 echo 'Loading initial ramdisk ...'
282 initrd /boot/initrd.img-5.15.0-100-generic
283 }
284 }
285
286 ### END /etc/grub.d/10_linux ###
287
288 ### BEGIN /etc/grub.d/10_linux_zfs ###
289 ### END /etc/grub.d/10_linux_zfs ###
290
291 ### BEGIN /etc/grub.d/20_linux_xen ###
292
293 ### END /etc/grub.d/20_linux_xen ###
294
295 ### BEGIN /etc/grub.d/20_memtest86+ ###
296 menuentry "Memory test (memtest86+x64.efi)" {
297 insmod part_gpt
298 insmod ext2
299 set root='hd0,gpt2'
300 if [ x$feature_platform_search_hint = xy ]; then
301 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
302 else
303 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
304 fi
305 linuxefi /boot/memtest86+x64.efi
306 }
307 menuentry 'Memory test (memtest86+x64.efi, serial console)' {
308 insmod part_gpt
309 insmod ext2
310 set root='hd0,gpt2'
311 if [ x$feature_platform_search_hint = xy ]; then
312 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 c218fbff-cb5d-434d-b063-8def5473a81e
313 else
314 search --no-floppy --fs-uuid --set=root c218fbff-cb5d-434d-b063-8def5473a81e
315 fi
316 linuxefi /boot/memtest86+x64.efi console=ttyS0,115200
317 }
318 ### END /etc/grub.d/20_memtest86+ ###
319
320 ### BEGIN /etc/grub.d/30_os-prober ###
321 ### END /etc/grub.d/30_os-prober ###
322
323 ### BEGIN /etc/grub.d/30_uefi-firmware ###
324 menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
325 fwsetup
326 }
327 ### END /etc/grub.d/30_uefi-firmware ###
328
329 ### BEGIN /etc/grub.d/35_fwupd ###
330 ### END /etc/grub.d/35_fwupd ###
331
332 ### BEGIN /etc/grub.d/40_custom ###
333 # This file provides an easy way to add custom menu entries. Simply type the
334 # menu entries you want to add after this comment. Be careful not to change
335 # the 'exec tail' line above.
336 set superusers="Jean-Marie"
337 password_pbkdf2 user grub.pbkdf2.sha512.10000.C963A63BCC03D2B1D5A5A807A0A5D8235FB244214ACBB7BEBDA671D809661DD43B2020D767DB04599DCE00DAD4F28E157C9D5B92FF71D4C38945DE27E92AC703.53B607029E293A4E5B5464F638C07BB89A4A23A6A4543508E755BEAAE9E9A12532E7C2ED97F95C4993AF0720B58320B88479D220F27F966165D4E3CA8D194D10
338 ### END /etc/grub.d/40_custom ###
339
340 ### BEGIN /etc/grub.d/40_custom.save ###
341 # This file provides an easy way to add custom menu entries. Simply type the
342 # menu entries you want to add after this comment. Be careful not to change
343 # the 'exec tail' line above.
344 set superusers="user"
345 password_pbkdf2 user grub.pbkdf2.sha512.10000.<hachage>Jean-Marie
346 ### END /etc/grub.d/40_custom.save ###
347
348 ### BEGIN /etc/grub.d/40_custom.save.1 ###
349 # This file provides an easy way to add custom menu entries. Simply type the
350 # menu entries you want to add after this comment. Be careful not to change
351 # the 'exec tail' line above.
352 set superusers="Jean-Marie"
353 password_pbkdf2 user grub.pbkdf2.sha512.10000.grub.pbkdf2.sha512.10000.B3A9CC34F4EF2AA22E0A03F15F40E631E5D1A60F729E575D6E28749995124ADBDC18CE7CF9B5E88CF5898D2F5454BCDA89FB7AAE75555198DB8800289F67B15E.0BB3EC7544AABFB62DABBA5849928E9B143F23CFDCDA5E30821F26992A014411BD7CD2DB724A53D88687338E2179EEC83672F04CF79AE60FBBF77791AB96EC11
354 ### END /etc/grub.d/40_custom.save.1 ###
355
356 ### BEGIN /etc/grub.d/40_custom.save.2 ###
357 # This file provides an easy way to add custom menu entries. Simply type the
358 # menu entries you want to add after this comment. Be careful not to change
359 # the 'exec tail' line above.
360 set superusers="Jean-Marie"
361 password_pbkdf2 user grub.pbkdf2.sha512.10000.
362 ### END /etc/grub.d/40_custom.save.2 ###
363
364 ### BEGIN /etc/grub.d/40_custom.save.3 ###
365 # This file provides an easy way to add custom menu entries. Simply type the
366 # menu entries you want to add after this comment. Be careful not to change
367 # the 'exec tail' line above.
368 set superusers="user"
369 password_pbkdf2 user grub.pbkdf2.sha512.10000.grub.pbkdf2.sha512.10000.C963A63BCC03D2B1D5A5A807A0A5D8235FB244214ACBB7BEBDA671D809661DD43B2020D767DB04599DCE00DAD4F28E157C9D5B92FF71D4C38945DE27E92AC703.53B607029E293A4E5B5464F638C07BB89A4A23A6A4543508E755BEAAE9E9A12532E7C2ED97F95C4993AF0720B58320B88479D220F27F966165D4E3CA8D194D10MMMMMMMMMMMMMMMMMMMMMMMMMMMMMU
370 ### END /etc/grub.d/40_custom.save.3 ###
371
372 ### BEGIN /etc/grub.d/40_custom.save.4 ###
373 # This file provides an easy way to add custom menu entries. Simply type the
374 # menu entries you want to add after this comment. Be careful not to change
375 # the 'exec tail' line above.
376 set superusers=Jean-Mariepassword_pbkdf2 user grub.pbkdf2.sha512.10000.<hachage>
377 ### END /etc/grub.d/40_custom.save.4 ###
378
379 ### BEGIN /etc/grub.d/40_custom.save.5 ###
380 # This file provides an easy way to add custom menu entries. Simply type the
381 # menu entries you want to add after this comment. Be careful not to change
382 # the 'exec tail' line above.
383 set superusers=Jean-Marie
384 password_pbkdf2 user grub.pbkdf2.sha512.10000.grub.pbkdf2.sha512.10000.C963A63BCC03D2B1D5A5A807A0A5D8235FB244214ACBB7BEBDA671D809661DD43B2020D767DB04599DCE00DAD4F28E157C9D5B92FF71D4C38945DE27E92AC703.53B607029E293A4E5B5464F638C07BB89A4A23A6A4543508E755BEAAE9E9A12532E7C2ED97F95C4993AF0720B58320B88479D220F27F966165D4E3CA8D194D10
385 ### END /etc/grub.d/40_custom.save.5 ###
386
387 ### BEGIN /etc/grub.d/41_custom ###
388 if [ -f ${config_directory}/custom.cfg ]; then
389 source ${config_directory}/custom.cfg
390 elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
391 source $prefix/custom.cfg
392 fi
393 ### END /etc/grub.d/41_custom ###
Hors ligne
#10 Le 09/03/2024, à 13:13
- xubu1957
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
345 password_pbkdf2 user grub.pbkdf2.sha512.10000.<hachage>Jean-Marie
Mon niveau de lambda ne me permettra pas d'aider plus ! ¯∖_(ツ)_/¯
Et pour info, Que pensez-vous de Grub Customizer ?
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#11 Le 09/03/2024, à 14:03
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
C'est vrai que j'avais ajouté ce mot de passe pour sécuriser le MBR.
J'ai supprimé ces lignes:
"set superusers="user"
password_pbkdf2 user grub.pbkdf2.sha512.10000.<hachage>"
Dans le fichier: "sudo nano /etc/grub.d/40_custom"
J'ai regardé dans le fichier "/boot/grub/grub.cfg" s'il y avait une ligne correspondant au fichier "40_custom" et NON.
J'ai fais une copie d'une sauvegarde de "grub.d": "sudo cp -Rp /etc/grub.d.ori /etc/grub.d"
Rien n'y fait.
Hors ligne
#12 Le 09/03/2024, à 14:09
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
GPT me conseille de supprimer le fichier: /boot/grub/grub.cfg
Hors ligne
#13 Le 09/03/2024, à 14:13
- xubu1957
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Le machin > ChatGPT ?
_ _ _
(edit=messages regroupés)
_ _ _
Je viens de demander @nany, s'il pouvait intervenir.
Dernière modification par xubu1957 (Le 09/03/2024, à 18:27)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#14 Le 09/03/2024, à 14:15
- nany
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Bonjour,
C'est vrai que j'avais ajouté ce mot de passe pour sécuriser le MBR.
J'ai supprimé ces lignes:
"set superusers="user"
password_pbkdf2 user grub.pbkdf2.sha512.10000.<hachage>"
Dans le fichier: "sudo nano /etc/grub.d/40_custom"
Et qu’est-ce que c’est que ces fichiers 40_custom.save, 40_custom.save.1, 40_custom.save.2, 40_custom.save.3, 40_custom.save.4 et 40_custom.save.5 ?
Je pense qu’il serait bon de les supprimer.
En ligne
#15 Le 09/03/2024, à 14:19
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Ou seraient-ils situés ?
Hors ligne
#16 Le 09/03/2024, à 14:20
- nany
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Dans /etc/grub.d/.
En ligne
#17 Le 09/03/2024, à 14:36
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
J'ai fait un Move de tous les "40_custom*" dans un répertoire save du home.
J'ai relancé le gestionnaire de mise à jour, rien n'y fait.
Hors ligne
#18 Le 09/03/2024, à 14:38
- nany
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Donne le retour de :
sudo apt install -fy
En ligne
#19 Le 09/03/2024, à 14:41
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
sudo apt install -fy
[sudo] Mot de passe de jean-marie :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Correction des dépendances... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
blender blender-data catdoc fonts-cantarell libdcmtk16 libembree3-3 libepub0 libglew2.2 libjemalloc2 libjs-jquery-ui libkf5filemetadata-bin libkf5filemetadata-data
libkf5filemetadata3 libkf5newstuffwidgets5 liblog4cplus-2.0.5 libopencolorio1v5 libopencv-videoio4.5d libopenimageio2.2 libopenshot-audio7 libopenshot19
libopenvdb8.1 libosdcpu3.4.4 libpoppler-qt5-1 libqmobipocket2 libqt5designer5 libqt5networkauth5 libspnav0 libsquish0 libtinyxml2.6.2v5 libyaml-cpp0.7 libzip4
python3-openshot python3-py python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-pyqt5.sip python3-zmq qml-module-org-kde-kcm swh-plugins
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés :
linux-image-unsigned-5.15.0-97-generic
Paquets suggérés :
fdutils linux-doc | linux-source-5.15.0 linux-tools linux-headers-5.15.0-97-generic linux-modules-extra-5.15.0-97-generic
Les paquets suivants seront ENLEVÉS :
linux-image-5.15.0-97-generic
Les NOUVEAUX paquets suivants seront installés :
linux-image-unsigned-5.15.0-97-generic
0 mis à jour, 1 nouvellement installés, 1 à enlever et 74 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/11,7 Mo dans les archives.
Après cette opération, 629 ko d'espace disque supplémentaires seront utilisés.
dpkg: linux-image-5.15.0-97-generic : problème de dépendance, mais suppression comme demandé :
linux-modules-5.15.0-97-generic dépend de linux-image-5.15.0-97-generic | linux-image-unsigned-5.15.0-97-generic ; cependant :
Le paquet linux-image-5.15.0-97-generic doit être supprimé.
Le paquet linux-image-unsigned-5.15.0-97-generic n'est pas installé.
(Lecture de la base de données... 325225 fichiers et répertoires déjà installés.)
Suppression de linux-image-5.15.0-97-generic (5.15.0-97.107) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-97-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-21-generic
Found initrd image: /boot/initrd.img-6.5.0-21-generic
Found linux image: /boot/vmlinuz-6.5.0-18-generic
Found initrd image: /boot/initrd.img-6.5.0-18-generic
Found linux image: /boot/vmlinuz-5.15.0-100-generic
Found initrd image: /boot/initrd.img-5.15.0-100-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Sélection du paquet linux-image-unsigned-5.15.0-97-generic précédemment désélectionné.
(Lecture de la base de données... 325225 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../linux-image-unsigned-5.15.0-97-generic_5.15.0-97.107_amd64.deb ...
Dépaquetage de linux-image-unsigned-5.15.0-97-generic (5.15.0-97.107) ...
Paramétrage de linux-image-5.15.0-100-generic (5.15.0-100.110) ...
Paramétrage de linux-image-unsigned-5.15.0-97-generic (5.15.0-97.107) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-100-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-100-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-97-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-97-generic
Traitement des actions différées (« triggers ») pour linux-image-5.15.0-100-generic (5.15.0-100.110) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-100-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-21-generic
Found initrd image: /boot/initrd.img-6.5.0-21-generic
Found linux image: /boot/vmlinuz-6.5.0-18-generic
Found initrd image: /boot/initrd.img-6.5.0-18-generic
Found linux image: /boot/vmlinuz-5.15.0-100-generic
Found initrd image: /boot/initrd.img-5.15.0-100-generic
Found linux image: /boot/vmlinuz-5.15.0-97-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Traitement des actions différées (« triggers ») pour linux-image-unsigned-5.15.0-97-generic (5.15.0-97.107) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-97-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-21-generic
Found initrd image: /boot/initrd.img-6.5.0-21-generic
Found linux image: /boot/vmlinuz-6.5.0-18-generic
Found initrd image: /boot/initrd.img-6.5.0-18-generic
Found linux image: /boot/vmlinuz-5.15.0-100-generic
Found initrd image: /boot/initrd.img-5.15.0-100-generic
Found linux image: /boot/vmlinuz-5.15.0-97-generic
Found initrd image: /boot/initrd.img-5.15.0-97-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Hors ligne
#20 Le 09/03/2024, à 14:46
- nany
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Bon eh bien le gestionnaire de mises à jour devrait maintenant pouvoir fonctionner.
Question subsidiaire : pourquoi as-tu la branche 5.15 ET la branche 6.5 du noyau ?
Dernière modification par nany (Le 09/03/2024, à 14:48)
En ligne
#21 Le 09/03/2024, à 14:46
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Ça Marche !
C'est vrai que je fais quelques bêtises, mais j'apprends beaucoup de choses.
MERCI.
Hors ligne
#22 Le 09/03/2024, à 14:48
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Je ne sais pas gérer les noyaux, ça viendra peut-être.
Ou alors, j'attends Ubuntu 24.02 au mois d'avril.
Encore merci.
Hors ligne
#23 Le 09/03/2024, à 15:03
- xubu1957
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
Fournis les noyaux présents :
echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#24 Le 09/03/2024, à 15:22
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"
ii linux-image-unsigned-5.15.0-97-generic 5.15.0-97.107 amd64
ii linux-modules-5.15.0-97-generic 5.15.0-97.107 amd64
ii linux-headers-5.15.0-100 5.15.0-100.110 all
ii linux-headers-5.15.0-100-generic 5.15.0-100.110 amd64
ii linux-image-5.15.0-100-generic 5.15.0-100.110 amd64
ii linux-modules-5.15.0-100-generic 5.15.0-100.110 amd64
ii linux-modules-extra-5.15.0-100-generic 5.15.0-100.110 amd64
ii linux-generic 5.15.0.100.97 amd64
ii linux-generic-hwe-20.04 5.15.0.100.97 amd64
ii linux-headers-generic 5.15.0.100.97 amd64
ii linux-image-generic 5.15.0.100.97 amd64
ii linux-hwe-6.5-headers-6.5.0-21 6.5.0-21.21~22.04.1 all
ii linux-headers-6.5.0-21-generic 6.5.0-21.21~22.04.1 amd64
ii linux-image-6.5.0-21-generic 6.5.0-21.21~22.04.1 amd64
ii linux-modules-6.5.0-21-generic 6.5.0-21.21~22.04.1 amd64
ii linux-modules-extra-6.5.0-21-generic 6.5.0-21.21~22.04.1 amd64
ii linux-hwe-6.5-headers-6.5.0-25 6.5.0-25.25~22.04.1 all
ii linux-headers-6.5.0-25-generic 6.5.0-25.25~22.04.1 amd64
ii linux-image-6.5.0-25-generic 6.5.0-25.25~22.04.1 amd64
ii linux-modules-6.5.0-25-generic 6.5.0-25.25~22.04.1 amd64
ii linux-modules-extra-6.5.0-25-generic 6.5.0-25.25~22.04.1 amd64
ii linux-generic-hwe-22.04 6.5.0.25.25~22.04.12 amd64
ii linux-headers-generic-hwe-22.04 6.5.0.25.25~22.04.12 amd64
ii linux-image-generic-hwe-22.04 6.5.0.25.25~22.04.12 amd64
Noyau courant : 6.5.0-21-generic x86_64
Hors ligne
#25 Le 09/03/2024, à 18:05
- Zébulon1960
Re : Gestionnaire de mise à jour: le systeme de paquets est cassé.
J'ai toujours deux noyaux.
Hors ligne