Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/09/2022, à 08:57

Quentin616

erreur avec sudo apt-get install -f

Bonjour lorsque j'exécute la commande sudo apt-get install -f celât me renvoi une erreur.

quentin@quentin-Inspiron-15-5510:~$ sudo apt-get install -f
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
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 :
  apt-clone archdetect-deb dctrl-tools dkms dmraid gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 kpartx kpartx-boot libdebian-installer4 libdmraid1.0.0.rc16 libgsoap-2.8.91 libllvm10 liblzf1
  libtimezonemap-data libtimezonemap1 libvncserver1 python3-icu python3-pam rdate shim virtualbox-dkms
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés : 
  libc6:i386
Paquets suggérés :
  glibc-doc:i386 locales:i386
Les NOUVEAUX paquets suivants seront installés :
  libc6:i386
0 mis à jour, 1 nouvellement installés, 0 à enlever et 53 non mis à jour.
9 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/2580 ko dans les archives.
Après cette opération, 12,7 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] O
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Lecture de la base de données... 199349 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libc6_2.31-0ubuntu9.9_i386.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/libc6_2.31-0ubuntu9.9_i386.deb (--unpack) :
 new libc6:i386 package pre-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/libc6_2.31-0ubuntu9.9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Je n'arrive pas a résoudre se problème, pouvez vous m'aider svp.

Hors ligne

#2 Le 14/09/2022, à 09:03

xubu1957

Re : erreur avec sudo apt-get install -f

Bonjour,

Donne déjà le retour de :

sudo apt update

Montre aussi d'éventuels paquets cassés :

dpkg -l | grep -v ^ii

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#3 Le 14/09/2022, à 09:11

Quentin616

Re : erreur avec sudo apt-get install -f

voila

sudo apt update :

quentin@quentin-Inspiron-15-5510:~$ sudo apt update
[sudo] Mot de passe de quentin : 
Atteint :1 http://dl.google.com/linux/chrome/deb stable InRelease
Atteint :2 http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu bionic InRelease                                                                                                                       
Réception de :3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                                                                                                                       
Atteint :4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                                                                                                                                      
Atteint :5 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                                                                                                                                       
Atteint :6 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease                                                                                                                               
Atteint :7 http://archive.ubuntu.com/ubuntu focal InRelease                                                                                                                                               
Atteint :8 http://archive.canonical.com/ubuntu focal InRelease                                                                                                                                            
Réception de :9 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                                                                                       
Atteint :10 https://download.sublimetext.com apt/dev/ InRelease                                                                                       
Atteint :11 http://oem.archive.canonical.com focal InRelease                                            
Réception de :12 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
336 ko réceptionnés en 2s (177 ko/s) 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
53 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.

dpkg -l | grep -v ^ii :

quentin@quentin-Inspiron-15-5510:~$ 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  cryptsetup-initramfs                       2:2.2.2-3ubuntu2.3                  all          disk encryption support - initramfs integration
rc  dell-eula                                  1.11                                all          Dell End User License Agreement
rc  dell-recovery-bootloader                   1.68                                all          Bootloader configuration for Dell's factory process
iU  gcc-10-base:i386                           10.3.0-1ubuntu1~20.04               i386         GCC, the GNU Compiler Collection (base package)
rc  grub-pc                                    2.04-1ubuntu26.3                    amd64        GRand Unified Bootloader, version 2 (PC/BIOS version)
it  libc-bin                                   2.31-0ubuntu9.9                     amd64        GNU C Library: Binaries
iU  libcrypt1:i386                             1:4.4.10-10ubuntu4                  i386         libcrypt shared library
iU  libgcc-s1:i386                             10.3.0-1ubuntu1~20.04               i386         GCC support library
iU  libgcrypt20:i386                           1.8.5-5ubuntu1.1                    i386         LGPL Crypto library - runtime library
iU  libgpg-error0:i386                         1.37-1                              i386         GnuPG development runtime library
iU  libidn2-0:i386                             2.2.0-2                             i386         Internationalized domain names (IDNA2008/TR46) library
iU  liblz4-1:i386                              1.9.2-2ubuntu0.20.04.1              i386         Fast LZ compression algorithm library - runtime
iU  liblzma5:i386                              5.2.4-1ubuntu1.1                    i386         XZ-format compression library
iU  libunistring2:i386                         0.9.10-2                            i386         Unicode string library for C
rc  oem-config                                 20.04.15.2sorted1                   all          Perform end-user configuration after initial OEM installation
rc  oem-config-gtk                             20.04.15.2sorted1                   all          GTK+ frontend for end-user post-OEM-install configuration
rc  virtualbox                                 6.1.34-dfsg-3~ubuntu1.20.04.1       amd64        x86 virtualization solution - base binaries

Hors ligne

#4 Le 14/09/2022, à 09:19

xubu1957

Re : erreur avec sudo apt-get install -f

iU  gcc-10-base:i386                           10.3.0-1ubuntu1~20.04               i386         GCC, the GNU Compiler Collection (base package)

it  libc-bin                                   2.31-0ubuntu9.9                     amd64        GNU C Library: Binaries
iU  libcrypt1:i386                             1:4.4.10-10ubuntu4                  i386         libcrypt shared library
iU  libgcc-s1:i386                             10.3.0-1ubuntu1~20.04               i386         GCC support library
iU  libgcrypt20:i386                           1.8.5-5ubuntu1.1                    i386         LGPL Crypto library - runtime library
iU  libgpg-error0:i386                         1.37-1                              i386         GnuPG development runtime library
iU  libidn2-0:i386                             2.2.0-2                             i386         Internationalized domain names (IDNA2008/TR46) library
iU  liblz4-1:i386                              1.9.2-2ubuntu0.20.04.1              i386         Fast LZ compression algorithm library - runtime
iU  liblzma5:i386                              5.2.4-1ubuntu1.1                    i386         XZ-format compression library
iU  libunistring2:i386                         0.9.10-2                            i386         Unicode string library for C

Je ne sais pas réparer ces paquets.

Il faut attendre des connaisseurs.

Dernière modification par xubu1957 (Le 14/09/2022, à 09:19)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#5 Le 14/09/2022, à 09:24

Quentin616

Re : erreur avec sudo apt-get install -f

D'accord pas de problème et merci quand même smile

Hors ligne

#6 Le 14/09/2022, à 09:28

cqfd93

Re : erreur avec sudo apt-get install -f

Bonjour,

Il y a certainement des choses à corriger dans les sources de logiciels. Pour voir ce qui ne va pas, donne :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Et pour la suite des opérations, assure-toi que tous les gestionnaires d'applications (logithèque, synaptic, gestionnaire de mises à jour…) sont bien fermés.


cqfd93

Hors ligne

#7 Le 14/09/2022, à 09:34

Quentin616

Re : erreur avec sudo apt-get install -f

quentin@quentin-Inspiron-15-5510:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list.d/somerville-dla-team-ubuntu-ppa-bionic.list

     1	deb http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu bionic main
     2	# deb-src http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu bionic main
     3	# deb-src http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu bionic main

/etc/apt/sources.list.d/focal-oem.list

     1	deb http://oem.archive.canonical.com/ focal oem
     2	# deb-src http://oem.archive.canonical.com/ focal oem

/etc/apt/sources.list.d/google-chrome.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/chrome/deb/ stable main

/etc/apt/sources.list.d/microsoft-prod.list

     1	deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/20.04/prod focal main

/etc/apt/sources.list.d/sublime-text.list

     1	deb https://download.sublimetext.com/ apt/dev/

/etc/apt/sources.list

     1	
     2	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3	# newer versions of the distribution.
     4	deb http://archive.ubuntu.com/ubuntu/ focal main restricted
     5	# deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted
     6	
     7	## Major bug fix updates produced after the final release of the
     8	## distribution.
     9	deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    10	# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11	
    12	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13	## team. Also, please note that software in universe WILL NOT receive any
    14	## review or updates from the Ubuntu security team.
    15	deb http://archive.ubuntu.com/ubuntu/ focal universe
    16	# deb-src http://archive.ubuntu.com/ubuntu/ focal universe
    17	deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
    18	# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates universe
    19	
    20	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    21	## team, and may not be under a free licence. Please satisfy yourself as to
    22	## your rights to use the software. Also, please note that software in
    23	## multiverse WILL NOT receive any review or updates from the Ubuntu
    24	## security team.
    25	deb http://archive.ubuntu.com/ubuntu/ focal multiverse
    26	# deb-src http://archive.ubuntu.com/ubuntu/ focal multiverse
    27	deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    28	# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	
    30	## N.B. software from this repository may not have been tested as
    31	## extensively as that contained in the main release, although it includes
    32	## newer versions of some applications which may provide useful features.
    33	## Also, please note that software in backports WILL NOT receive any review
    34	## or updates from the Ubuntu security team.
    35	deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    36	# deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    37	
    38	## This software is not part of Ubuntu, but is offered by Canonical and the
    39	## respective vendors as a service to Ubuntu users.
    40	deb http://archive.canonical.com/ubuntu focal partner
    41	# deb-src http://archive.canonical.com/ubuntu focal partner
    42	
    43	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    44	# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    45	deb http://security.ubuntu.com/ubuntu focal-security universe
    46	# deb-src http://security.ubuntu.com/ubuntu focal-security universe
    47	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    48	# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    49	
    50	
    51	deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
    52	# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main

Hors ligne

#8 Le 14/09/2022, à 09:38

xubu1957

Re : erreur avec sudo apt-get install -f

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ésolu] 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 14/09/2022, à 09:41

Quentin616

Re : erreur avec sudo apt-get install -f

quentin@quentin-Inspiron-15-5510:~$ 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-headers-5.6.0-1036-oem   5.6.0-1036.39   amd64
ii  linux-image-5.6.0-1036-oem     5.6.0-1036.39   amd64
ii  linux-modules-5.6.0-1036-oem   5.6.0-1036.39   amd64
ii  linux-headers-5.14.0-1049-oem  5.14.0-1049.56  amd64
ii  linux-image-5.14.0-1049-oem    5.14.0-1049.56  amd64
ii  linux-modules-5.14.0-1049-oem  5.14.0-1049.56  amd64
ii  linux-headers-oem-20.04        5.14.0.1049.45  amd64
ii  linux-image-oem-20.04          5.14.0.1049.45  amd64

Noyau courant : 5.14.0-1049-oem x86_64

Hors ligne

#10 Le 14/09/2022, à 10:42

cqfd93

Re : erreur avec sudo apt-get install -f

Tu as deux dépôts en version bionic alors qu'ils ont une version focal, il faut donc corriger tout ça. Passe ces deux commandes qui ne devraient donner aucun retour si elles se passent bien :

sudo sed -i 's/bionic/focal/' /etc/apt/sources.list
sudo sed -i 's/bionic/focal/' /etc/apt/sources.list.d/somerville-dla-team-ubuntu-ppa-bionic.list

Ensuite fais les mises à jour :

sudo apt update
sudo apt full-upgrade

cqfd93

Hors ligne

#11 Le 14/09/2022, à 10:47

Quentin616

Re : erreur avec sudo apt-get install -f

Les 2 premier n'on rien renvoyer donc c'est bien passer, sudo apt update a marcher mais pas sudo apt full-upgrade a cause de dépendance non satisfaite

sudo apt update

quentin@quentin-Inspiron-15-5510:~$ sudo apt update
Atteint :1 http://dl.google.com/linux/chrome/deb stable InRelease
Réception de :2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                                                                                                                       
Réception de :3 http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu focal InRelease [18,1 kB]                                                                                                         
Atteint :4 http://oem.archive.canonical.com focal InRelease                                                                                                                                               
Atteint :5 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                                                                                                                                       
Atteint :6 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease                                                                                                                               
Atteint :7 http://archive.canonical.com/ubuntu focal InRelease                                                                                                  
Atteint :8 http://archive.ubuntu.com/ubuntu focal InRelease                                                                   
Réception de :9 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]           
Réception de :10 http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu focal/main amd64 Packages [648 B]
Réception de :11 http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu focal/main Translation-en [260 B]                                     
Réception de :12 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [40,7 kB]                                      
Atteint :13 https://download.sublimetext.com apt/dev/ InRelease                                                 
Réception de :14 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [77,4 kB]
Réception de :15 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2464 B]
Réception de :16 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Réception de :17 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [717 kB]
Réception de :18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2080 kB]
Réception de :19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [278 kB]
Réception de :20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [950 kB]
Réception de :21 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [391 kB]
Réception de :22 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Réception de :23 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7992 B]
Réception de :24 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30,5 kB]
4931 ko réceptionnés en 4s (1376 ko/s)                                      
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
53 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
W: La cible Packages (main/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Packages (main/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Packages (main/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Translations (main/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Translations (main/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Translations (main/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11 (main/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11 (main/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11-icons-small (main/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11-icons (main/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible CNF (main/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible CNF (main/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Packages (main/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Packages (main/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Packages (main/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Translations (main/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Translations (main/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible Translations (main/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11 (main/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11 (main/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11-icons-small (main/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11-icons (main/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible CNF (main/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1
W: La cible CNF (main/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1

sudo apt full-upgrade

quentin@quentin-Inspiron-15-5510:~$ sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
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 :
 libcrypt1:i386 : Dépend: libc6:i386 (>= 2.25) mais il n'est pas installé
 libgcc-s1:i386 : Dépend: libc6:i386 (>= 2.2.4) mais il n'est pas installé
 libgcrypt20:i386 : Dépend: libc6:i386 (>= 2.28) mais il n'est pas installé
 libgpg-error0:i386 : Dépend: libc6:i386 (>= 2.28) mais il n'est pas installé
                      Recommande: libgpg-error-l10n:i386
 libidn2-0:i386 : Dépend: libc6:i386 (>= 2.4) mais il n'est pas installé
 liblz4-1:i386 : Dépend: libc6:i386 (>= 2.4) mais il n'est pas installé
 liblzma5:i386 : Dépend: libc6:i386 (>= 2.17) mais il n'est pas installé
 libunistring2:i386 : Dépend: libc6:i386 (>= 2.7) mais il n'est pas installé
E: Dépendances non satisfaites. Essayez « apt --fix-broken install » sans paquet
   (ou indiquez une solution).

Hors ligne

#12 Le 14/09/2022, à 10:55

Quentin616

Re : erreur avec sudo apt-get install -f

J'ai essayer de faire apt --fix-broken install et sa m'a renvoyer :

root@quentin-Inspiron-15-5510:~# apt --fix-broken install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
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 :
  apt-clone archdetect-deb dctrl-tools dkms dmraid gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 kpartx kpartx-boot libdebian-installer4 libdmraid1.0.0.rc16 libgsoap-2.8.91 libllvm10 liblzf1
  libtimezonemap-data libtimezonemap1 libvncserver1 python3-icu python3-pam rdate shim virtualbox-dkms
Veuillez utiliser « apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés : 
  libc6:i386
Paquets suggérés :
  glibc-doc:i386 locales:i386
Les NOUVEAUX paquets suivants seront installés :
  libc6:i386
0 mis à jour, 1 nouvellement installés, 0 à enlever et 53 non mis à jour.
9 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/2580 ko dans les archives.
Après cette opération, 12,7 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] O
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Lecture de la base de données... 199349 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libc6_2.31-0ubuntu9.9_i386.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/libc6_2.31-0ubuntu9.9_i386.deb (--unpack) :
 new libc6:i386 package pre-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/libc6_2.31-0ubuntu9.9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Hors ligne

#13 Le 14/09/2022, à 11:27

xubu1957

Re : erreur avec sudo apt-get install -f

Montre le sources.list avec la numérotation :

find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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 14/09/2022, à 11:33

Quentin616

Re : erreur avec sudo apt-get install -f

quentin@quentin-Inspiron-15-5510:~$ find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;

	/etc/apt/sources.list.d/somerville-dla-team-ubuntu-ppa-bionic.list

     1	deb http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu focal main
     2	# deb-src http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu focal main
     3	# deb-src http://ppa.launchpad.net/somerville-dla-team/ppa/ubuntu focal main

	/etc/apt/sources.list.d/focal-oem.list

     1	deb http://oem.archive.canonical.com/ focal oem
     2	# deb-src http://oem.archive.canonical.com/ focal oem

	/etc/apt/sources.list.d/google-chrome.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/chrome/deb/ stable main

	/etc/apt/sources.list.d/google-chrome.list.save


	/etc/apt/sources.list.d/focal-oem.list.save


	/etc/apt/sources.list.d/microsoft-prod.list

     1	deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/20.04/prod focal main

	/etc/apt/sources.list.d/sublime-text.list

     1	deb https://download.sublimetext.com/ apt/dev/

	/etc/apt/sources.list.d/sublime-text.list.save


	/etc/apt/sources.list.d/microsoft-prod.list.save


	/etc/apt/sources.list.d/somerville-dla-team-ubuntu-ppa-bionic.list.save


	/etc/apt/sources.list.d/winehq-focal.sources

     1	Types: deb
     2	URIs: https://dl.winehq.org/wine-builds/ubuntu
     3	Suites: focal
     4	Components: main
     5	Architectures: amd64 i386
     6	Signed-By: /usr/share/keyrings/winehq-archive.key

	/etc/apt/sources.list.save


	/etc/apt/sources.list

     1	
     2	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3	# newer versions of the distribution.
     4	deb http://archive.ubuntu.com/ubuntu/ focal main restricted
     5	# deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted
     6	
     7	## Major bug fix updates produced after the final release of the
     8	## distribution.
     9	deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    10	# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11	
    12	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13	## team. Also, please note that software in universe WILL NOT receive any
    14	## review or updates from the Ubuntu security team.
    15	deb http://archive.ubuntu.com/ubuntu/ focal universe
    16	# deb-src http://archive.ubuntu.com/ubuntu/ focal universe
    17	deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
    18	# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates universe
    19	
    20	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    21	## team, and may not be under a free licence. Please satisfy yourself as to
    22	## your rights to use the software. Also, please note that software in
    23	## multiverse WILL NOT receive any review or updates from the Ubuntu
    24	## security team.
    25	deb http://archive.ubuntu.com/ubuntu/ focal multiverse
    26	# deb-src http://archive.ubuntu.com/ubuntu/ focal multiverse
    27	deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    28	# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	
    30	## N.B. software from this repository may not have been tested as
    31	## extensively as that contained in the main release, although it includes
    32	## newer versions of some applications which may provide useful features.
    33	## Also, please note that software in backports WILL NOT receive any review
    34	## or updates from the Ubuntu security team.
    35	deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    36	# deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    37	
    38	## This software is not part of Ubuntu, but is offered by Canonical and the
    39	## respective vendors as a service to Ubuntu users.
    40	deb http://archive.canonical.com/ubuntu focal partner
    41	# deb-src http://archive.canonical.com/ubuntu focal partner
    42	
    43	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    44	# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    45	deb http://security.ubuntu.com/ubuntu focal-security universe
    46	# deb-src http://security.ubuntu.com/ubuntu focal-security universe
    47	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    48	# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    49	
    50	
    51	deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
    52	# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main

	/etc/apt/sources.list~

Hors ligne

#15 Le 14/09/2022, à 11:35

xubu1957

Re : erreur avec sudo apt-get install -f

Vu :

W: La cible Packages (main/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:51 et /etc/apt/sources.list.d/winehq-focal.sources:1

Le doublon :

/etc/apt/sources.list.d/winehq-focal.sources

     1	Types: deb
     2	URIs: https://dl.winehq.org/wine-builds/ubuntu
     3	Suites: focal
     4	Components: main
     5	Architectures: amd64 i386
     6	Signed-By: /usr/share/keyrings/winehq-archive.key
    51	deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
    52	# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main

Je laisse faire notre experte cqfd93. smile


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#16 Le 15/09/2022, à 08:21

cqfd93

Re : erreur avec sudo apt-get install -f

Bonjour,

Je n'avais pas vu la suite de cette discussion.

Pour supprimer le doublon, commande à passer en la copiant/collant :

sudo rm -v /etc/apt/sources.list.d/winehq-focal.sources

Pour le message d'erreur w debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable », avant de le régler j'aimerais voir :

ls /var/cache/debconf/ -l

cqfd93

Hors ligne

#17 Le 15/09/2022, à 08:40

Quentin616

Re : erreur avec sudo apt-get install -f

Bonjour, et merci pour ton aide,  la première commande a correctement marcher, et la deuxième a renvoyer:

quentin@quentin-Inspiron-15-5510:~/Application C#/jeux$ ls /var/cache/debconf/ -l
total 6468
-rw-r--r-- 1 root root   55494 août  24 21:03 config.dat
-rw-r--r-- 1 root root   55486 août  24 21:03 config.dat-old
-rw------- 1 root root     596 août  24 13:27 passwords.dat
-rw-r--r-- 1 root root 3249187 août  24 21:03 templates.dat
-rw-r--r-- 1 root root 3249187 août  24 21:03 templates.dat-old

Hors ligne

#18 Le 15/09/2022, à 09:30

cqfd93

Re : erreur avec sudo apt-get install -f

Je ne vois rien d'anormal. Maintenant, en m'inspirant de ce problème similaire (avec debconf) résolu, donne :

sudo fuser -v /var/cache/debconf/config.dat

cqfd93

Hors ligne

#19 Le 15/09/2022, à 09:35

Quentin616

Re : erreur avec sudo apt-get install -f

quentin@quentin-Inspiron-15-5510:~/Application C#/jeux$ sudo fuser -v /var/cache/debconf/config.dat
[sudo] Mot de passe de quentin : 
                     UTIL.       PID ACCÈS  COMMANDE
/var/cache/debconf/config.dat:
                     root       6318 F.... frontend

Hors ligne

#20 Le 15/09/2022, à 10:10

cqfd93

Re : erreur avec sudo apt-get install -f

OK, passe cette commande qui va tuer ce processus :

sudo fuser -v -k /var/cache/debconf/config.dat

Et essaye les mises à jour :

sudo apt update
sudo apt full-upgrade

cqfd93

Hors ligne

#21 Le 15/09/2022, à 10:39

Quentin616

Re : erreur avec sudo apt-get install -f

Sa a marcher, merci a tous les deux pour l'aide smile

Hors ligne

#22 Le 15/09/2022, à 10:45

cqfd93

Re : erreur avec sudo apt-get install -f

Super, donc tu peux marquer ton sujet comme résolu en modifiant le titre depuis le premier message.


cqfd93

Hors ligne

#23 Le 15/09/2022, à 14:48

nany

Re : erreur avec sudo apt-get install -f

Bonjour,



cqfd93 a écrit :

Pour supprimer le doublon, commande à passer en la copiant/collant :

sudo rm -v /etc/apt/sources.list.d/winehq-focal.sources

J’aurais plutôt supprimé les lignes dans le sources.list mais bon…

Hors ligne

#24 Le 15/09/2022, à 15:05

cqfd93

Re : erreur avec sudo apt-get install -f

Bonjour,

C'est bien vrai, ça ! Pour obtenir ce que tu recommandes :
@Quentin616 (Donne les retours)

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
sudo sed -i '49,52d' /etc/apt/sources.list

et :

sudo apt update
sudo apt full-upgrade

cqfd93

Hors ligne