#1 Le 03/01/2019, à 23:53
- david69
[RESOLU] MAJ bloquee par un paquet
bonsoir,
a partir de synaptic, je tente de mettre a jour 3 paquets mais au moment de l'installe, j'ai le message d'erreur suivant:
E: /var/cache/apt/archives/libsane1_1.0.27+git20190102-bionic0_amd64.deb: tentative de remplacement de « /usr/lib/x86_64-linux-gnu/libsane.so.1.0.27 », qui appartient aussi au paquet libsane:amd64 1.0.27+git20181221-xenial0
et je dois dire que je ne le comprends pas. ce message m'interdit toute nouvelle installe au moins par synaptic.
je suis passe tout recemment de la 16.04 a 18.04.
Dernière modification par david69 (Le 04/01/2019, à 22:21)
Hors ligne
#2 Le 04/01/2019, à 00:01
- xubu1957
Re : [RESOLU] MAJ bloquee par un paquet
Bonsoir,
Donne l'intégralité du message d'erreur, en te servant du Retour utilisable de commande :
sudo apt update
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 04/01/2019, à 00:03
- david69
Re : [RESOLU] MAJ bloquee par un paquet
re-
dvd@dvd:~$ sudo apt update
[sudo] Mot de passe de dvd :
Atteint:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Réception de:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Atteint:4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Ign:5 https://dl.bintray.com/hawkeye116477/waterfox-deb release InRelease
Atteint:6 https://dl.bintray.com/hawkeye116477/waterfox-deb release Release
Atteint:8 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic InRelease
Atteint:9 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease
Atteint:10 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease
Atteint:11 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Atteint:12 http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu bionic InRelease
Atteint:13 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease
Atteint:14 http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu bionic InRelease
Atteint:15 http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu bionic InRelease
83,2 ko réceptionnés en 3s (32,0 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
3 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Hors ligne
#4 Le 04/01/2019, à 00:06
- cqfd93
Re : [RESOLU] MAJ bloquee par un paquet
Bonjour,
On voit que tu as fait une mise à niveau et pas une installation toute fraîche de 18.04 (à cause d'un fichier xenial qui ne devrait plus être là).
On peut déjà jeter un œil à tes sources pour voir si elles sont cohérentes. Donne :
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
Et ensuite, faire une simulation de mise à jour :
sudo apt update
sudo apt -s full-upgrade
(Donne bien les retours complets entre balises code et profites-en pour mettre le message d'erreur du #1 aussi entre balises code)
− cqfd93 −
En ligne
#5 Le 04/01/2019, à 00:20
- david69
Re : [RESOLU] MAJ bloquee par un paquet
alors le retour de ta 1ere commande:
dvd@dvd:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
/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://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
5
6 ## Major bug fix updates produced after the final release of the
7 ## distribution.
8 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
9
10 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
11 ## team, and may not be under a free licence. Please satisfy yourself as to
12 ## your rights to use the software. Also, please note that software in
13 ## universe WILL NOT receive any review or updates from the Ubuntu security
14 ## team.
15 deb http://fr.archive.ubuntu.com/ubuntu/ bionic universe
16 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
17
18 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
19 ## team, and may not be under a free licence. Please satisfy yourself as to
20 ## your rights to use the software. Also, please note that software in
21 ## multiverse WILL NOT receive any review or updates from the Ubuntu
22 ## security team.
23 deb http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
24 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
25
26 ## N.B. software from this repository may not have been tested as
27 ## extensively as that contained in the main release, although it includes
28 ## newer versions of some applications which may provide useful features.
29 ## Also, please note that software in backports WILL NOT receive any review
30 ## or updates from the Ubuntu security team.
31 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
32
33 ## Uncomment the following two lines to add software from Canonical's
34 ## 'partner' repository.
35 ## This software is not part of Ubuntu, but is offered by Canonical and the
36 ## respective vendors as a service to Ubuntu users.
37 # deb http://archive.canonical.com/ubuntu bionic partner
38
39 deb http://security.ubuntu.com/ubuntu bionic-security main restricted
40 deb http://security.ubuntu.com/ubuntu bionic-security universe
41 deb http://security.ubuntu.com/ubuntu bionic-security multiverse
/etc/apt/sources.list.d/rvm-ubuntu-smplayer-xenial.list
/etc/apt/sources.list.d/rolfbensch-ubuntu-sane-git-xenial.list
/etc/apt/sources.list.d/gezakovacs-ubuntu-ppa-xenial.list
/etc/apt/sources.list.d/otto-kesselgulasch-ubuntu-gimp-xenial.list
/etc/apt/sources.list.d/oguzhaninan-ubuntu-stacer-bionic.list
1 deb http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic main
/etc/apt/sources.list.d/freecad-maintainers-ubuntu-freecad-daily-bionic.list
1 deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main
/etc/apt/sources.list.d/vincent-vandevyvre-ubuntu-vvv-bionic.list
1 deb http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu bionic main
/etc/apt/sources.list.d/oguzhaninan-ubuntu-stacer-xenial.list
/etc/apt/sources.list.d/pmjdebruijn-ubuntu-darktable-release-xenial.list
/etc/apt/sources.list.d/freecad-maintainers-ubuntu-freecad-stable-xenial.list
/etc/apt/sources.list.d/freecad-maintainers-ubuntu-freecad-daily-xenial.list
/etc/apt/sources.list.d/pmjdebruijn-ubuntu-darktable-release-bionic.list
1 deb http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu bionic main
/etc/apt/sources.list.d/alexey-smirnov-ubuntu-deadbeef-xenial.list
/etc/apt/sources.list.d/rolfbensch-ubuntu-sane-git-bionic.list
1 deb http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu bionic main
/etc/apt/sources.list.d/home:hawkeye116477:waterfox.list
/etc/apt/sources.list.d/qbittorrent-team-ubuntu-qbittorrent-stable-bionic.list
1 deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic main
/etc/apt/sources.list.d/otto-kesselgulasch-ubuntu-gimp-bionic.list
1 deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic main
/etc/apt/sources.list.d/gezakovacs-ubuntu-ppa-bionic.list
1 deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic main
2 # deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic main
/etc/apt/sources.list.d/graysky-ubuntu-utils-xenial.list
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list
/etc/apt/sources.list.d/yg-jensge-ubuntu-shotwell-xenial.list
/etc/apt/sources.list.d/waterfox.list
1 deb https://dl.bintray.com/hawkeye116477/waterfox-deb release main
/etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-6-0-xenial.list
/etc/apt/sources.list.d/qbittorrent-team-ubuntu-qbittorrent-stable-xenial.list
/etc/apt/sources.list.d/vincent-vandevyvre-ubuntu-vvv-xenial.list
/etc/apt/sources.list.d/adamreichold-ubuntu-qpdfview-dailydeb-xenial.list
y a du xenial, pour sur! comment as tu vu que c'etait un up-date et non une installe? qu'aurais je du faire pour enlever proprement les references a 16.04? pour info, j'ai supprimer a partir de synaptic.
pour l'up-date via le terminal:
dvd@dvd:~$ sudo apt update
[sudo] Mot de passe de dvd :
Atteint:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Atteint:3 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Atteint:4 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic InRelease
Atteint:5 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease
Ign:6 https://dl.bintray.com/hawkeye116477/waterfox-deb release InRelease
Atteint:7 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease
Atteint:8 https://dl.bintray.com/hawkeye116477/waterfox-deb release Release
Réception de:9 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Atteint:10 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Atteint:11 http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu bionic InRelease
Atteint:12 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease
Atteint:13 http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu bionic InRelease
Atteint:14 http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu bionic InRelease
83,2 ko réceptionnés en 3s (31,3 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
3 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
dvd@dvd:~$ sudo apt -s full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront ENLEVÉS :
libsane
Les NOUVEAUX paquets suivants seront installés :
libsane1
Les paquets suivants seront mis à jour :
libsane-common sane-utils tzdata
3 mis à jour, 1 nouvellement installés, 1 à enlever et 0 non mis à jour.
Inst libsane1 (1.0.27+git20190102-bionic0 SANE:18.04/bionic [amd64]) []
Remv libsane [1.0.27+git20181221-xenial0] []
Inst libsane-common [1.0.27+git20181221-xenial0] (1.0.27+git20190102-bionic0 SANE:18.04/bionic [all])
Inst tzdata [2018g-0ubuntu0.18.04] (2018i-0ubuntu0.18.04 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [all])
Inst sane-utils [1.0.27+git20181221-xenial0] (1.0.27+git20190102-bionic0 SANE:18.04/bionic [amd64])
Conf libsane1 (1.0.27+git20190102-bionic0 SANE:18.04/bionic [amd64])
Conf libsane-common (1.0.27+git20190102-bionic0 SANE:18.04/bionic [all])
Conf tzdata (2018i-0ubuntu0.18.04 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [all])
Conf sane-utils (1.0.27+git20190102-bionic0 SANE:18.04/bionic [amd64])
Hors ligne
#6 Le 04/01/2019, à 00:27
- cqfd93
Re : [RESOLU] MAJ bloquee par un paquet
Je ne vois pas de problème dans les sources, à part le fait que tu as beaucoup de fichiers vides (donc inutiles) dans /etc/apt/sources.list.d.
Je pense qu'on peut réparer en deux étapes, en commençant pas supprimer libsane pour être sûr qu'il n'en reste rien avant de faire les mises à jour :
sudo apt purge libsane
sudo apt full-upgrade
− cqfd93 −
En ligne
#7 Le 04/01/2019, à 00:31
- david69
Re : [RESOLU] MAJ bloquee par un paquet
merci de la reactivite. la purge a genere une erreur.
dvd@dvd:~$ sudo apt purge libsane
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
libsane-common libsane1 sane-utils
Paquets suggérés :
hplip unpaper
Les paquets suivants seront ENLEVÉS :
libsane*
Les NOUVEAUX paquets suivants seront installés :
libsane1
Les paquets suivants seront mis à jour :
libsane-common sane-utils
2 mis à jour, 1 nouvellement installés, 1 à enlever et 1 non mis à jour.
Il est nécessaire de prendre 0 o/2906 ko dans les archives.
Après cette opération, 2551 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
Préconfiguration des paquets...
(Lecture de la base de données... 154280 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libsane1_1.0.27+git20190102-bionic0_amd64.deb ...
Dépaquetage de libsane1:amd64 (1.0.27+git20190102-bionic0) ...
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/libsane1_1.0.27+git20190102-bionic0_amd64.deb (--unpack) :
tentative de remplacement de « /usr/lib/x86_64-linux-gnu/libsane.so.1.0.27 », qui appartient aussi au paquet libsane:amd64 1.0.27+git20181221-xenial0
dpkg-deb: erreur: coller subprocess was killed by signal (Relais brisé (pipe))
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/libsane1_1.0.27+git20190102-bionic0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
--> dpkg-deb: erreur: coller subprocess was killed by signal (Relais brisé (pipe))
je n'ai pas fait l'up-grade encore.
Hors ligne
#8 Le 04/01/2019, à 00:52
- david69
Re : [RESOLU] MAJ bloquee par un paquet
je vais gratter du cote de
Sub-process /usr/bin/dpkg returned an error code (1)
mais pour ce soir, ca va etre le repos.
Hors ligne
#9 Le 04/01/2019, à 01:02
- cqfd93
Re : [RESOLU] MAJ bloquee par un paquet
On va essayer autre chose :
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libsane1_1.0.27+git20190102-bionic0_amd64.deb
sudo apt install -f
sudo apt full-upgrade
Astuce pour copier / coller la longue commande sans erreur :
triple clic gauche pour sélectionner et copier une ligne entière
clic molette pour coller dans le terminal
− cqfd93 −
En ligne
#10 Le 04/01/2019, à 22:21
- david69
Re : [RESOLU] MAJ bloquee par un paquet
merci cqfd93. le forcage a fonctionne et le paquet libsane qui posait probleme a pu etre enleve. je passe le fil en resolu.
Hors ligne