web-dev-qa-db-fra.com

Erreur cryptsetup lors de la mise à niveau Sudo-apt

Setting up ubiquity-ubuntu-artwork (2.21.63.4) ...
dpkg: dependency problems prevent configuration of ubiquity:
 ubiquity depends on cryptsetup; however:
  Package cryptsetup is not configured yet.

dpkg: error processing package ubiquity (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of ubiquity-frontend-gtk:
 ubiquity-frontend-gtk depends on ubiquity (= 2.21.63.4); however:
  Package ubiquity is not configured yet.

dpkg: error processing package ubiquity-frontend-gtk (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Setting up unattended-upgrades (0.90ubuntu0.7) ...
Installing new version of config file /etc/init.d/unattended-upgrades ...
Synchronizing state of unattended-upgrades.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable unattended-upgrades
Setting up unity-control-center-faces (15.04.0+16.04.20170214-0ubuntu1) ...
Setting up vino (3.8.1-0ubuntu9.2) ...
Setting up xfonts-utils (1:7.7+3ubuntu0.16.04.2) ...
Setting up xserver-common (2:1.18.4-0ubuntu0.4) ...
Setting up xserver-xorg-input-all-hwe-16.04 (1:7.7+16ubuntu3~16.04.1) ...
Setting up xserver-xorg-video-all-hwe-16.04 (1:7.7+16ubuntu3~16.04.1) ...
Setting up xul-ext-ubufox (3.4-0ubuntu0.16.04.1) ...
Setting up appmenu-qt5 (0.3.0+16.04.20170216-0ubuntu1) ...
Setting up kpartx (0.5.0+git1.656f8865-5ubuntu2.5) ...
Setting up kpartx-boot (0.5.0+git1.656f8865-5ubuntu2.5) ...
update-initramfs is disabled since running on read-only media
Setting up liblouis-data (2.6.4-2ubuntu0.1) ...
Setting up liblouis9:AMD64 (2.6.4-2ubuntu0.1) ...
Setting up oxideqt-codecs:AMD64 (1.21.5-0ubuntu0.16.04.1) ...
Setting up python3-louis (2.6.4-2ubuntu0.1) ...
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Setting up evince (3.18.2-1ubuntu4.1) ...
Setting up libmetacity-private3a:AMD64 (1:3.18.7-0ubuntu0.3) ...
Setting up metacity (1:3.18.7-0ubuntu0.3) ...
Setting up nautilus (1:3.18.4.is.3.14.3-0ubuntu6) ...
Setting up shotwell (0.22.0+git20160108.r1.f2fb1f7-0ubuntu1.1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Setting up apport-gtk (2.20.1-0ubuntu2.10) ...
Setting up libreoffice-common (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Installing new version of config file /etc/bash_completion.d/libreoffice.sh ...
Setting up libreoffice-style-galaxy (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-style-breeze (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.2) ...
Setting up libnss3:AMD64 (2:3.28.4-0ubuntu0.16.04.2) ...
Setting up libnss3-1d:AMD64 (2:3.28.4-0ubuntu0.16.04.2) ...
Setting up libreoffice-core (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-base-core (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-calc (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-gtk (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-gnome (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-writer (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-draw (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-impress (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-ogltrans (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-pdfimport (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up python3-uno (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-math (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up libreoffice-avmedia-backend-gstreamer (1:5.1.6~rc2-0ubuntu1~xenial2) ...
Setting up liboxideqtcore0:AMD64 (1.21.5-0ubuntu0.16.04.1) ...
Setting up liboxideqtquick0:AMD64 (1.21.5-0ubuntu0.16.04.1) ...
Setting up liboxideqt-qmlplugin:AMD64 (1.21.5-0ubuntu0.16.04.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for resolvconf (1.78ubuntu4) ...
Errors were encountered while processing:
 cryptsetup
 ubiquity
 ubiquity-frontend-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

Nouveau sur Linux, je suis perdu!

3
MopHead

Avant de relancer la mise à niveau, vous pouvez essayer de configurer cryptsetup avec Sudo dpkg --configure cryptsetup à partir de la ligne de commande. Si cela ne vous aide pas, vous pouvez essayer de configurer tous les packages qui nécessitent encore une configuration avec Sudo dpkg --configure --pending avant de tenter de réexécuter la mise à niveau.

Cela étant dit, si vous êtes nouveau, vous pouvez également utiliser une application avec une interface graphique une fois que vous avez résolu ce problème. J'aime "synaptique", mais vous devrez probablement l'installer en premier.

1
mv22mv22

Votre problème a changé: dans un commentaire, vous écrivez que Sudo dpkg --configure --pending ne génère rien. Par conséquent, les messages d'erreur que vous avez collés dans votre question n'apparaissent plus de cette manière. Votre problème initial est parti. Vous êtes apparemment en train de vivre une expérience différente.

Vous pouvez essayer Sudo apt-get check pour vérifier les problèmes de dépendance. Sudo apt-get -f install essaiera de résoudre automatiquement les problèmes de dépendance.

0
mv22mv22