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 08/05/2015, à 08:03

pmarguerie

apt bloqué[Résolu]

Bonjour,

Une tentative d'installation de paquets a mal tournée :
1-Message d'erreur sur bureau : erreur. Nombre de paquets cassés >0.
2-Si tentative suppression paquets dans un  terminal : "impossible de verrouiller le répertoire d'administration"
3-Si tentative de réparer (supprimer paquets fautifs ou installer les dépendances??) avec le gestionnaire de paquets :
"de nouveaux logiciels ne peuvent pas être installés, car il y a un problème avec les logiciels actuellement installés. Voulez-vous réparer ce problème maintenant?"
>oui
>"en attente de fermenture de  apt get"...

Un onglet "paramètres système" est disponible sur le bureau, mais ceux-ci ne s'affichent plus. Cependant,  je me souviens être sous ubuntu 14.04 64b.
J'ai lu et testé différentes commandes sur ce forum dans la partie blocage apt, sans résultats.

Merci pour toute aide smile


Modération, pour ne pas perdre le statut de message sans réponse...
Passez dans un terminal la commande sudo apt update afin de nous mettre entre deux balises code la réponse du terminal, puis la commande sudo apt upgrade avec de même la réponse du terminal. Pour les balises code, regardez ICI

(Message édité par cqfd93 pour le mettre en évidence)

Dernière modification par pmarguerie (Le 11/05/2015, à 16:11)

Hors ligne

#2 Le 08/05/2015, à 13:34

xabilon

Re : apt bloqué[Résolu]

Salut

Donne le résultat des commandes :

sudo apt-get install -f
cat /etc/apt/sources.list

Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#3 Le 10/05/2015, à 19:55

pmarguerie

Re : apt bloqué[Résolu]

Bonjour,
Désolé pour le délai(WE).

philippe@antec:~$ sudo su
[sudo] password for philippe:
root@antec:/home/philippe# sudo apt-get install -f
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
root@antec:/home/philippe# cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty main restricted
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates main restricted
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty universe
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty universe
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates universe
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty multiverse
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-backports main restricted universe multiverse

deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security main restricted
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security main restricted
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security universe
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security universe
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
root@antec:/home/philippe#

Modération : merci à l'avenir d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 10/05/2015, à 20:49)

Hors ligne

#4 Le 10/05/2015, à 20:00

tiramiseb

Re : apt bloqué[Résolu]

Salut,

Que donne la commande qui est explicitement demandée dans le retour que tu nous montres ?

sudo dpkg --configure -a

PS : comme le modérateur te l'a demandé en commentaire de ton premier message, mets les retours de commandes et les contenus de fichiers entre balises "code", obtenues en cliquant sur l'icônebt_pre.png.
1369359175.gif

Hors ligne

#5 Le 10/05/2015, à 20:42

PPdM

Re : apt bloqué[Résolu]

Je plussoie


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

Hors ligne

#6 Le 10/05/2015, à 20:50

pmarguerie

Re : apt bloqué[Résolu]

Voilà :

root@antec:/home/philippe# sudo dpkg --configure -a
Traitement déclenché pour  man-db (2.6.7.1-1ubuntu1) ...
Paramétrage de libavcodec-extra-54:amd64 (6:9.18-0ubuntu0.14.04.1) ...
Paramétrage de libavresample1:amd64 (6:9.18-0ubuntu0.14.04.1) ...
Paramétrage de libmjpegutils-2.1-0 (1:2.1.0+debian-2.1) ...
Paramétrage de libavdevice53:amd64 (6:9.18-0ubuntu0.14.04.1) ...
Paramétrage de libmpeg2encpp-2.1-0 (1:2.1.0+debian-2.1) ...
Paramétrage de cabextract (1.4-4) ...
Paramétrage de libavfilter3:amd64 (6:9.18-0ubuntu0.14.04.1) ...
Paramétrage de libfaac0:amd64 (1.28-6) ...
Paramétrage de libmplex2-2.1-0 (1:2.1.0+debian-2.1) ...
Paramétrage de libav-tools (6:9.18-0ubuntu0.14.04.1) ...
Traitement déclenché pour  libc-bin (2.19-0ubuntu6.6) ...
root@antec:/home/philippe# 

Hors ligne

#7 Le 10/05/2015, à 20:58

PPdM

Re : apt bloqué[Résolu]

A première vue c'est tout bon, que donne 

sudo apt-get update && sudo apt-get dist-upgrade -y

La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

Hors ligne

#8 Le 10/05/2015, à 21:00

xabilon

Re : apt bloqué[Résolu]

Ça a l'air de s'être bien passé. Que donne maintenant la commande :

sudo apt-get install -f

Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#9 Le 10/05/2015, à 21:12

pmarguerie

Re : apt bloqué[Résolu]

Aïe...
Commande passée.
Réponse : "un tas de paquets inutiles à enlever, d'autres à ajouter. voulez-vous continuer?" >O, et je retombe sur ce message sous forme de page grisée en sur impression et qui me bloque l’accès au terminal :
Outil de configuration des paquets 
Configuration de ttf-mscorefonts-installer
END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE
Bla Bla Bla Bla Bla...
<Ok>

Hors ligne

#10 Le 10/05/2015, à 21:13

PPdM

Re : apt bloqué[Résolu]

On donne le retour complet pas un résumé" merci d'avance


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

Hors ligne

#11 Le 10/05/2015, à 21:24

pmarguerie

Re : apt bloqué[Résolu]

Outil de configuration des paquets                                                                                                                                                                           
                                                                                                                                                                                                             
 ┌─────────────────────────────────────────────────────────────────────────────┤ Configuration de ttf-mscorefonts-installer ├─────────────────────────────────────────────────────────────────────────────┐  
 │                                                                                                                                                                                                        │  
 │ TrueType core fonts for the Web EULA                                                                                                                                                                      
 │                                                                                                                                                                                                           
 │ END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE                                                                                                                                                         
 │                                                                                                                                                                                                           
 │ IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement ("EULA") is a legal agreement between you (either an individual or a single entity) and Microsoft Corporation for the Microsoft       
 │ software accompanying this EULA, which includes computer software and may include associated media, printed materials, and "on-line" or electronic documentation ("SOFTWARE PRODUCT" or "SOFTWARE").      
 │ By exercising your rights to make and use copies of the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, you may not use the             
 │ SOFTWARE PRODUCT.                                                                                                                                                                                         
 │                                                                                                                                                                                                           
 │ SOFTWARE PRODUCT LICENSE The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is      
 │ licensed, not sold.                                                                                                                                                                                       
 │                                                                                                                                                                                                           
 │ 1. GRANT OF LICENSE. This EULA grants you the following rights:                                                                                                                                           
 │                                                                                                                                                                                                           
 │  • Installation and Use. You may install and use an unlimited number                                                                                                                                      
 │    of copies of the SOFTWARE PRODUCT.                                                                                                                                                                     
 │  • Reproduction and Distribution. You may reproduce and distribute                                                                                                                                        
 │    an unlimited number of copies of the SOFTWARE PRODUCT; provided                                                                                                                                        
 │    that each copy shall be a true and complete copy, including all                                                                                                                                        
 │    copyright and trademark notices, and shall be accompanied by a                                                                                                                                         
 │    copy of this EULA. Copies of the SOFTWARE PRODUCT may not be                                                                                                                                           
 │    distributed for profit either on a standalone basis or included                                                                                                                                        
 │    as part of your own product.                                                                                                                                                                           
 │                                                                                                                                                                                                           
 │                                                                                                                                                                                                           
 │ 2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.                                                                                                                                                           
 │                                                                                                                                                                                                           
 │  • Limitations on Reverse Engineering, Decompilation, and                                                                                                                                                 
 │    Disassembly. You may not reverse engineer, decompile, or                                                                                                                                               
 │    disassemble the SOFTWARE PRODUCT, except and only to the extent                                                                                                                                        
 │    that such activity is expressly permitted by applicable law                                                                                                                                            
 │    notwithstanding this limitation.                                                                                                                                                                       
 │  • Restrictions on Alteration. You may not rename, edit or create                                                                                                                                         
 │    any derivative works from the SOFTWARE PRODUCT, other than                                                                                                                                             
 │    subsetting when embedding them in documents.                                                                                                                                                           
 │  • Software Transfer. You may permanently transfer all of your                                                                                                                                            
 │    rights under this EULA, provided the recipient agrees to the                                                                                                                                           
 │    terms of this EULA.                                                                                                                                                                                    
 │  • Termination. Without prejudice to any other rights, Microsoft may                                                                                                                                      
 │    terminate this EULA if you fail to comply with the terms and                                                                                                                                           
 │    conditions of this EULA. In such event, you must destroy all                                                                                                                                           
 │    copies of the SOFTWARE PRODUCT and all of its component parts.                                                                                                                                         
 │                                                                                                                                                                                                           
 │                                                                                                                                                                                                           
 │ 3. COPYRIGHT. All title and copyrights in and to the SOFTWARE PRODUCT (including but not limited to any images, text, and "applets" incorporated into the SOFTWARE PRODUCT), the accompanying printed     
 │ materials, and any copies of the SOFTWARE PRODUCT are owned by Microsoft or its suppliers. The SOFTWARE PRODUCT is protected by copyright laws and international treaty provisions. Therefore, you        
 │ must treat the SOFTWARE PRODUCT like any other copyrighted material.                                                                                                                                      
 │                                                                                                                                                                                                           
 │                                                                                                                                                                                                           
 │                                                                                                 <Ok>                                                                                                      
 │                                                                                                                                                                                                        │  
 └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  
                                                                                                                                                                                                             
                                                                                                                                                                                                             

Hors ligne

#12 Le 10/05/2015, à 21:32

michel_04

Re : apt bloqué[Résolu]

Bonjour,

Tabulation pour mettre le OK en surbrillance, puis Entrée pour valider l'acceptation de la licence.

A+

Hors ligne

#13 Le 10/05/2015, à 21:45

pmarguerie

Re : apt bloqué[Résolu]

Merci Michel.
Voilà le résultat :

philippe@antec:~$ sudo su
[sudo] password for philippe: 
root@antec:/home/philippe# sudo apt-get install -f
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  accountsservice-ubuntu-schemas accountsservice-ubuntu-touch-schemas
  gsettings-ubuntu-touch-schemas imagemagick-common indicator-network
  libhardware2 libhybris liblqr-1-0 libmagickcore5 libmagickcore5-extra
  libmagickwand5 libmedia1 libofono-qt1 libonline-accounts-client1
  libqgsttools-p1 libqt5multimedia5-plugins libqt5multimediaquick-p5
  libqt5multimediawidgets5 libqt5systeminfo5 libsystemsettings1
  libubuntu-application-api1 libubuntu-download-manager-client0
  libubuntu-download-manager-common0 libubuntu-download-manager-priv0
  libubuntuoneauth-2.0-0 linux-headers-3.13.0-32
  linux-headers-3.13.0-32-generic linux-image-3.13.0-32-generic
  linux-image-extra-3.13.0-32-generic ofono packagekit-tools powerd
  python3-gnupg qtdeclarative5-folderlistmodel-plugin
  qtdeclarative5-qtmultimedia-plugin qtdeclarative5-systeminfo-plugin
  qtdeclarative5-ubuntuone1.0 suru-icon-theme system-image-common
  system-image-dbus ubuntu-download-manager ubuntu-keyboard-data
  ubuntu-mobile-icons ubuntu-purchase-service ubuntu-touch-sounds
  ubuntuone-credentials-common
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés : 
  ttf-mscorefonts-installer
Les paquets suivants seront mis à jour :
  ttf-mscorefonts-installer
1 mis à jour, 0 nouvellement installés, 0 à enlever et 36 non mis à jour.
1 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/27,8 ko dans les archives.
Après cette opération, 134 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] O
Préconfiguration des paquets...
(Lecture de la base de données... 385639 fichiers et répertoires déjà installés.)
Préparation du décompactage de .../ttf-mscorefonts-installer_3.4+nmu1ubuntu1_all.deb ...
^[^[^[^[^[^[^[^[^[^[^[^[Décompactage de ttf-mscorefonts-installer (3.4+nmu1ubuntu1) sur (3.4+nmu1ubuntu1) ...
Traitement déclenché pour  update-notifier-common (0.154.1ubuntu1) ...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/times32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/trebuc32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/verdan32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/webdin32.exe

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

Extracting cabinet: /tmp/tmpqwOsyA.exe
  extracting fontinst.inf
  extracting andale.inf
  extracting fontinst.exe
  extracting AndaleMo.TTF
  extracting ADVPACK.DLL
  extracting W95INF32.DLL
  extracting W95INF16.DLL

All done, no errors.
Extracting cabinet: /tmp/tmpPDGpzm.exe
  extracting FONTINST.EXE
  extracting fontinst.inf
  extracting Ariali.TTF
  extracting Arialbd.TTF
  extracting Arialbi.TTF
  extracting Arial.TTF

All done, no errors.
Extracting cabinet: /tmp/tmpqBNIg7.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting AriBlk.TTF

All done, no errors.
Extracting cabinet: /tmp/tmpHVxmoy.exe
  extracting fontinst.inf
  extracting Comicbd.TTF
  extracting Comic.TTF
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /tmp/tmpYdGH_h.exe
  extracting cour.ttf
  extracting courbd.ttf
  extracting courbi.ttf
  extracting fontinst.inf
  extracting couri.ttf
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /tmp/tmpaj1JUx.exe
  extracting fontinst.inf
  extracting Georgiaz.TTF
  extracting Georgiab.TTF
  extracting Georgiai.TTF
  extracting Georgia.TTF
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /tmp/tmpY_rX5b.exe
  extracting fontinst.exe
  extracting Impact.TTF
  extracting fontinst.inf

All done, no errors.
Extracting cabinet: /tmp/tmpO8A0WL.exe
  extracting fontinst.inf
  extracting Times.TTF
  extracting Timesbd.TTF
  extracting Timesbi.TTF
  extracting Timesi.TTF
  extracting FONTINST.EXE

All done, no errors.
Extracting cabinet: /tmp/tmpMCbvGI.exe
  extracting FONTINST.EXE
  extracting trebuc.ttf
  extracting Trebucbd.ttf
  extracting trebucbi.ttf
  extracting trebucit.ttf
  extracting fontinst.inf

All done, no errors.
Extracting cabinet: /tmp/tmpv7G9oS.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting Verdanab.TTF
  extracting Verdanai.TTF
  extracting Verdanaz.TTF
  extracting Verdana.TTF

All done, no errors.
Extracting cabinet: /tmp/tmp0Q5fGU.exe
  extracting fontinst.exe
  extracting Webdings.TTF
  extracting fontinst.inf
  extracting Licen.TXT

All done, no errors.
All fonts downloaded and installed.
Traitement déclenché pour  fontconfig (2.11.0-0ubuntu4.1) ...
Paramétrage de ttf-mscorefonts-installer (3.4+nmu1ubuntu1) ...
W: L'opération a été interrompue avant de se terminer
root@antec:/home/philippe# 

Hors ligne

#14 Le 10/05/2015, à 21:51

xabilon

Re : apt bloqué[Résolu]

W: L'opération a été interrompue avant de se terminer

Tu as essayé de stopper l'installation ? il faut la laisser se dérouler jusqu'au bout. On recommence :

sudo dpkg --configure -a

Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#15 Le 10/05/2015, à 22:00

pmarguerie

Re : apt bloqué[Résolu]

Bonsoir,
Le message d'erreur a disparu de mon bureau.
Voilà ce que ça donne  :

philippe@antec:~$ sudo su
[sudo] password for philippe: 
root@antec:/home/philippe# sudo dpkg --configure -a
root@antec:/home/philippe# 

Hors ligne

#16 Le 10/05/2015, à 22:26

xabilon

Re : apt bloqué[Résolu]

Tu n'as pas besoin de faire un sudo su à chaque fois... à part ça, ça a l'air d'être ok
Si la 2e de ces commandes te dit qu'il n'y a rien à mettre à jour, c'est que c'est bon :

sudo apt-get update
sudo apt-get dist-upgrade

Pour les "paquets qui ne sont plus nécessaires", c'est toi qui vois. Un "sudo apt-get autoremove' les désinstallera (il est toujours possible ensuite de les réinstaller)


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#17 Le 10/05/2015, à 22:46

cqfd93

Re : apt bloqué[Résolu]

Bonsoir,

Penser à redémarrer l'ordinateur avant de faire le sudo apt-get autoremove.


cqfd93

Hors ligne

#18 Le 10/05/2015, à 23:00

Ayral

Re : apt bloqué[Résolu]

Et à marquer ta discussion comme Résolue si elle l'est. Merci.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#19 Le 11/05/2015, à 16:01

pmarguerie

Re : apt bloqué[Résolu]

Merci à tous.

Hors ligne