Depuis quelques jours je suis embêté avec une mise à jour qui coince du paquet libgranite6:
$ sudo apt update
[sudo] password for zedtux:
Hit:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease
Get:7 http://packages.elementary.io/appcenter bionic InRelease [5,909 B]
Get:8 http://packages.elementary.io/appcenter bionic/main amd64 DEP-11 Metadata [299 kB]
Fetched 394 kB in 1s (264 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
49 packages can be upgraded. Run 'apt list --upgradable' to see them.
$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libhogweed4 : Depends: libnettle6 (= 3.4-1) but 3.4-1ubuntu0.1 is installed
pantheon-tweaks : Depends: libgranite6 (>= 0.5) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-64-generic linux-headers-5.4.0-65-generic linux-headers-5.4.0-66-generic linux-hwe-5.4-headers-5.4.0-64 linux-hwe-5.4-headers-5.4.0-65 linux-hwe-5.4-headers-5.4.0-66
linux-image-5.4.0-64-generic linux-image-5.4.0-65-generic linux-image-5.4.0-66-generic linux-modules-5.4.0-64-generic linux-modules-5.4.0-65-generic linux-modules-5.4.0-66-generic
linux-modules-extra-5.4.0-64-generic linux-modules-extra-5.4.0-65-generic linux-modules-extra-5.4.0-66-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgranite6 libhogweed4
The following NEW packages will be installed:
libgranite6
The following packages will be upgraded:
libhogweed4
1 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
16 not fully installed or removed.
Need to get 0 B/306 kB of archives.
After this operation, 652 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 450518 files and directories currently installed.)
Preparing to unpack .../libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1_amd64.deb ...
Unpacking libgranite6:amd64 (5.5.0+r1759+pkg117~ubuntu5.1.7.1) ...
dpkg: error processing archive /var/cache/apt/archives/libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libgranite.so.5.5.0', which is also in package libgranite5:amd64 5.5.0+r1759+pkg119~ubuntu5.1.7.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Il semblerait donc que le paquet "libgranite5:amd64 5.5.0+r1759+pkg119~ubuntu5.1.7.1" soit remplacé par le paquet "libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1" mais la mise à jour se passe mal car il veut surcharger un fichier prit en compte par la version précédente.
Je ne sais pas si j'ai manqué une mise à jour, ce qui m'étonnerait puisque je fais les mises à jours au fur et à mesure, mais je n'arrive pas à me dépatouiller de ce problème.
Est-ce que quelqu'un peut me guider pour corriger cette situation assez gênante s'il vous plait?
Question
zedtux
Bonjour à tous,
Depuis quelques jours je suis embêté avec une mise à jour qui coince du paquet libgranite6:
$ sudo apt update [sudo] password for zedtux: Hit:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease Hit:4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease Get:7 http://packages.elementary.io/appcenter bionic InRelease [5,909 B] Get:8 http://packages.elementary.io/appcenter bionic/main amd64 DEP-11 Metadata [299 kB] Fetched 394 kB in 1s (264 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 49 packages can be upgraded. Run 'apt list --upgradable' to see them. $ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libhogweed4 : Depends: libnettle6 (= 3.4-1) but 3.4-1ubuntu0.1 is installed pantheon-tweaks : Depends: libgranite6 (>= 0.5) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). $ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: linux-headers-5.4.0-64-generic linux-headers-5.4.0-65-generic linux-headers-5.4.0-66-generic linux-hwe-5.4-headers-5.4.0-64 linux-hwe-5.4-headers-5.4.0-65 linux-hwe-5.4-headers-5.4.0-66 linux-image-5.4.0-64-generic linux-image-5.4.0-65-generic linux-image-5.4.0-66-generic linux-modules-5.4.0-64-generic linux-modules-5.4.0-65-generic linux-modules-5.4.0-66-generic linux-modules-extra-5.4.0-64-generic linux-modules-extra-5.4.0-65-generic linux-modules-extra-5.4.0-66-generic Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libgranite6 libhogweed4 The following NEW packages will be installed: libgranite6 The following packages will be upgraded: libhogweed4 1 upgraded, 1 newly installed, 0 to remove and 48 not upgraded. 16 not fully installed or removed. Need to get 0 B/306 kB of archives. After this operation, 652 kB of additional disk space will be used. Do you want to continue? [Y/n] (Reading database ... 450518 files and directories currently installed.) Preparing to unpack .../libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1_amd64.deb ... Unpacking libgranite6:amd64 (5.5.0+r1759+pkg117~ubuntu5.1.7.1) ... dpkg: error processing archive /var/cache/apt/archives/libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libgranite.so.5.5.0', which is also in package libgranite5:amd64 5.5.0+r1759+pkg119~ubuntu5.1.7.1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Il semblerait donc que le paquet "libgranite5:amd64 5.5.0+r1759+pkg119~ubuntu5.1.7.1" soit remplacé par le paquet "libgranite6_5.5.0+r1759+pkg117~ubuntu5.1.7.1" mais la mise à jour se passe mal car il veut surcharger un fichier prit en compte par la version précédente.
Je ne sais pas si j'ai manqué une mise à jour, ce qui m'étonnerait puisque je fais les mises à jours au fur et à mesure, mais je n'arrive pas à me dépatouiller de ce problème.
Est-ce que quelqu'un peut me guider pour corriger cette situation assez gênante s'il vous plait?
Merci par avance.
20 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now