web-dev-qa-db-fra.com

Problèmes avec Ubiku 18.04 avec digikam

Je viens de passer à la version 18.04 et j'essaie d'installer des mises à niveau et/ou de nouveaux programmes via le terminal. Je reçois le message suivant

digikam-private-libs : Depends: libkf5sane5 (>= 4.3.4) but it is not going to be installed
                        Depends: libqtav1 but it is not going to be installed
                        Depends: libqtavwidgets1 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
i have tried  Sudo apt --fix broken install and get this message.dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libqtav1_1.12.0+ds-4build3_AMD64.deb ...
Unpacking libqtav1:AMD64 (1.12.0+ds-4build3) ...
dpkg: error processing archive /var/cache/apt/archives/libqtav1_1.12.0+ds-4build3_AMD64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libQtAV.so.1', which is also in package libqtav:AMD64 1.11.0~git170314-xenial~ppa1
Preparing to unpack .../libqtavwidgets1_1.12.0+ds-4build3_AMD64.deb ...
Unpacking libqtavwidgets1:AMD64 (1.12.0+ds-4build3) ...
dpkg: error processing archive /var/cache/apt/archives/libqtavwidgets1_1.12.0+ds-4build3_AMD64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so.1', which is also in package libqtavwidgets:AMD64 1.11.0~git170314-xenial~ppa1
Errors were encountered while processing:
 /var/cache/apt/archives/libkf5sane5_17.12.3-0ubuntu1_AMD64.deb
 /var/cache/apt/archives/libqtav1_1.12.0+ds-4build3_AMD64.deb
 /var/cache/apt/archives/libqtavwidgets1_1.12.0+ds-4build3_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

J'ai essayé de apt remove digikam et apt purge digikam et j'ai reçu ce message.

 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:
 digikam-private-libs : Depends: libkf5sane5 (>= 4.3.4) but it is not going to be installed
                        Depends: libqtav1 but it is not going to be installed
                        Depends: libqtavwidgets1 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

J'ai essayé d'installer aptitude et de recevoir le même message. Digikam apparaît comme non installé dans le centre logiciel et lorsque j'appuie sur installer, un message d'erreur s'affiche. Tout semble bien fonctionner, à part cela. Merci beaucoup , Jacques

1
jacques hervieux

Il semble qu’il y ait des erreurs d’emballage entre deux versions (16.04 et 18.04).

Nous pouvons donc forcer l’installation de ces paquets:

Sudo dpkg -i --force-all /var/cache/apt/archives/libkf5sane5_17.12.3-0ubuntu1_AMD64.deb
Sudo dpkg -i --force-all /var/cache/apt/archives/libqtav1_1.12.0+ds-4build3_AMD64.deb
Sudo dpkg -i --force-all /var/cache/apt/archives/libqtavwidgets1_1.12.0+ds-4build3_AMD64.deb

Et puis reprenez l’installation du paquet avec

Sudo dpkg --configure -a
Sudo apt-get install -f

Mettez à niveau toutes les dépendances de paquets et réinstallez vos paquets avec

Sudo apt-get update
Sudo apt-get dist-upgrade
Sudo apt-get install --reinstall libkf5sane5 libqtav1 libqtavwidgets1
0
N0rbert