web-dev-qa-db-ja.com

ストレッチへのアップグレードの依存関係の問題:*。dpkg-newを開くことができません

このWebサイト の手順を使用してDebianをアップグレードしようとしました。 2回目にアップグレードを実行したとき(再起動後、最初のupgradedist-upgradeはうまくいきました)、gnome-themes-standard-data_3.22.2-2_all.debのインストール中にプロセスが停止し、エラーunable to open '/usr/share/themes/Adwaita-dark/gtk-3.0/gtk.css.dpkg-new': No such file or directoryが発生しました。

どうやら.../Adwaita-dark/gtk-3.0/../Adwaita/gtk-3.0/へのシンボリックリンクです

関連する出力:

修正-壊れたインストール:

root@a:/home/user# LC_ALL=C 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:
  fonts-freefont-ttf gstreamer0.10-Nice gstreamer0.10-plugins-bad libbasicusageenvironment0 libcdaudio1 libchromaprint0 libdirac-encoder0 libdvbpsi9 libgroupsock1 libgstreamer-plugins-bad0.10-0 liblircclient0
  liblivemedia23 libmimic0 libpostproc52 libprotobuf9 libslv2-9 libsoundtouch0 libswscale3 libusageenvironment1 libvncclient0 libwildmidi1 libxcb-composite0 vlc-nox
Use 'Sudo apt autoremove' to remove them.
The following additional packages will be installed:
  aptitude aptitude-common djvulibre-bin gir1.2-gepub-0.4 gir1.2-lokdocview-0.1 glib-networking glib-networking-common glib-networking-services gnome-documents gnome-system-monitor gnome-themes-standard-data
  libatkmm-1.6-1v5 libbasicusageenvironment1 libcairo-Perl libcairomm-1.0-1v5 libclass-c3-xs-Perl libcwidget3v5 libdvbpsi10 libebml4v5 libgd-Perl libgepub0 libglib-Perl libglibmm-2.4-1v5 libgnome2-canvas-Perl
  libgnome2-Perl libgnome2-vfs-Perl libgnome2-wnck-Perl libgoo-canvas-Perl libgroupsock8 libgsf-bin libgtk2-imageview-Perl libgtk2-unique-Perl libgtkmm-2.4-1v5 libgtkmm-3.0-1v5 libjson-xs-Perl
  liblibreofficekitgtk liblivemedia57 liblocale-gettext-Perl libmatroska6v5 libmouse-Perl libnet-dbus-Perl libopenmpt-modplug1 libpangomm-1.4-1v5 libproxy-tools libproxy1v5 libqt5concurrent5 libqt5dbus5
  libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5script5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5webkit5 libqt5x11extras5 libqt5xml5 libreoffice-gtk3 libreofficekit-data
  libsndio6.1 libsoprano4 libtext-iconv-Perl libtext-soundex-Perl libtypes-serialiser-Perl libusageenvironment3 libuuid-Perl libvlc-bin libvlccore8 libxapian30 libxml-parser-Perl phonon-backend-vlc
  soprano-daemon vlc vlc-bin vlc-data vlc-l10n vlc-nox vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-video-output
Suggested packages:
  apt-xapian-index debtags djvulibre-desktop libfont-freetype-Perl libcwidget-dev qt5-qmltooling-plugins sndiod xapian-tools virtuoso-minimal libdvdcss2
Recommended packages:
  vlc-plugin-skins2 vlc-plugin-video-splitter vlc-plugin-visualization
The following packages will be REMOVED:
  libatkmm-1.6-1 libcairomm-1.0-1 libcwidget3 libebml4 libebook-1.2-14 libebook-contacts-1.2-0 libedata-book-1.2-20 libfarstream-0.1-0 libglibmm-2.4-1c2a libgtkmm-2.4-1c2a libgtkmm-3.0-1 libmatroska6
  libpangomm-1.4-1 libphonenumber6 libproxy1 vlc-plugin-Pulse
The following NEW packages will be installed:
  gir1.2-gepub-0.4 gir1.2-lokdocview-0.1 libatkmm-1.6-1v5 libbasicusageenvironment1 libcairomm-1.0-1v5 libcwidget3v5 libdvbpsi10 libebml4v5 libgepub0 libglibmm-2.4-1v5 libgroupsock8 libgsf-bin libgtkmm-2.4-1v5
  libgtkmm-3.0-1v5 liblibreofficekitgtk liblivemedia57 libmatroska6v5 libopenmpt-modplug1 libpangomm-1.4-1v5 libproxy1v5 libqt5x11extras5 libreoffice-gtk3 libreofficekit-data libsndio6.1
  libtypes-serialiser-Perl libusageenvironment3 libvlc-bin libxapian30 vlc-bin vlc-l10n vlc-plugin-base vlc-plugin-qt vlc-plugin-video-output
The following packages will be upgraded:
  aptitude aptitude-common djvulibre-bin glib-networking glib-networking-common glib-networking-services gnome-documents gnome-system-monitor gnome-themes-standard-data libcairo-Perl libclass-c3-xs-Perl
  libgd-Perl libglib-Perl libgnome2-canvas-Perl libgnome2-Perl libgnome2-vfs-Perl libgnome2-wnck-Perl libgoo-canvas-Perl libgtk2-imageview-Perl libgtk2-unique-Perl libjson-xs-Perl liblocale-gettext-Perl
  libmouse-Perl libnet-dbus-Perl libproxy-tools libqt5concurrent5 libqt5dbus5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5qml5 libqt5quick5 libqt5script5 libqt5sql5 libqt5sql5-sqlite libqt5test5
  libqt5webkit5 libqt5xml5 libsoprano4 libtext-iconv-Perl libtext-soundex-Perl libuuid-Perl libvlccore8 libxml-parser-Perl phonon-backend-vlc soprano-daemon vlc vlc-data vlc-nox vlc-plugin-notify
  vlc-plugin-samba
51 upgraded, 33 newly installed, 16 to remove and 528 not upgraded.
3 not fully installed or removed.
Need to get 0 B/43.2 MB of archives.
After this operation, 4922 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Reading changelogs... Done
Extracting templates from packages: 100%
(Reading database ... 344160 files and directories currently installed.)
Preparing to unpack .../gnome-themes-standard-data_3.22.2-2_all.deb ...
Unpacking gnome-themes-standard-data (3.22.2-2) over (3.14.2.2-1) ...
dpkg: error processing archive /var/cache/apt/archives/gnome-themes-standard-data_3.22.2-2_all.deb (--unpack):
 unable to open '/usr/share/themes/Adwaita-dark/gtk-3.0/gtk.css.dpkg-new': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/gnome-themes-standard-data_3.22.2-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Dpkg強制インストール:

root@a:/home/user# LC_ALL=C dpkg -i --force-depends /var/cache/apt/archives/gnome-themes-standard-data_3.22.2-2_all.deb 
(Reading database ... 344160 files and directories currently installed.)
Preparing to unpack .../gnome-themes-standard-data_3.22.2-2_all.deb ...
Unpacking gnome-themes-standard-data (3.22.2-2) over (3.14.2.2-1) ...
dpkg: error processing archive /var/cache/apt/archives/gnome-themes-standard-data_3.22.2-2_all.deb (--install):
 unable to open '/usr/share/themes/Adwaita-dark/gtk-3.0/gtk.css.dpkg-new': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/gnome-themes-standard-data_3.22.2-2_all.deb

Dpkg設定保留中:

root@a:/home/user# LC_ALL=C dpkg --configure --pending --abort-after=2000
dpkg: dependency problems prevent configuration of gnome-themes-standard:AMD64:
 gnome-themes-standard:AMD64 depends on gnome-themes-standard-data (= 3.22.2-2); however:
  Version of gnome-themes-standard-data on system is 3.14.2.2-1.

dpkg: error processing package gnome-themes-standard:AMD64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gparted:
 gparted depends on libatkmm-1.6-1v5 (>= 2.24.0); however:
  Package libatkmm-1.6-1v5 is not installed.
 gparted depends on libglibmm-2.4-1v5 (>= 2.50.0); however:
  Package libglibmm-2.4-1v5 is not installed.
 gparted depends on libgtkmm-2.4-1v5 (>= 1:2.24.0); however:
  Package libgtkmm-2.4-1v5 is not installed.
 gparted depends on libpangomm-1.4-1v5 (>= 2.40.0); however:
  Package libpangomm-1.4-1v5 is not installed.

dpkg: error processing package gparted (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of inkscape:
 inkscape depends on libatkmm-1.6-1v5 (>= 2.24.0); however:
  Package libatkmm-1.6-1v5 is not installed.
 inkscape depends on libcairomm-1.0-1v5 (>= 1.12.0); however:
  Package libcairomm-1.0-1v5 is not installed.
 inkscape depends on libglibmm-2.4-1v5 (>= 2.50.0); however:
  Package libglibmm-2.4-1v5 is not installed.
 inkscape depends on libgtkmm-2.4-1v5 (>= 1:2.24.0); however:
  Package libgtkmm-2.4-1v5 is not installed.
 inkscape depends on libpangomm-1.4-1v5 (>= 2.40.0); however:
  Package libpangomm-1.4-1v5 is not installed.

dpkg: error processing package inkscape (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gnome-themes-standard:AMD64
 gparted
 inkscape

Dpkg --configure:

root@a:/home/user# LC_ALL=C dpkg --configure -a
dpkg: dependency problems prevent configuration of gnome-themes-standard:AMD64:
 gnome-themes-standard:AMD64 depends on gnome-themes-standard-data (= 3.22.2-2); however:
  Version of gnome-themes-standard-data on system is 3.14.2.2-1.

dpkg: error processing package gnome-themes-standard:AMD64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gparted:
 gparted depends on libatkmm-1.6-1v5 (>= 2.24.0); however:
  Package libatkmm-1.6-1v5 is not installed.
 gparted depends on libglibmm-2.4-1v5 (>= 2.50.0); however:
  Package libglibmm-2.4-1v5 is not installed.
 gparted depends on libgtkmm-2.4-1v5 (>= 1:2.24.0); however:
  Package libgtkmm-2.4-1v5 is not installed.
 gparted depends on libpangomm-1.4-1v5 (>= 2.40.0); however:
  Package libpangomm-1.4-1v5 is not installed.

dpkg: error processing package gparted (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of inkscape:
 inkscape depends on libatkmm-1.6-1v5 (>= 2.24.0); however:
  Package libatkmm-1.6-1v5 is not installed.
 inkscape depends on libcairomm-1.0-1v5 (>= 1.12.0); however:
  Package libcairomm-1.0-1v5 is not installed.
 inkscape depends on libglibmm-2.4-1v5 (>= 2.50.0); however:
  Package libglibmm-2.4-1v5 is not installed.
 inkscape depends on libgtkmm-2.4-1v5 (>= 1:2.24.0); however:
  Package libgtkmm-2.4-1v5 is not installed.
 inkscape depends on libpangomm-1.4-1v5 (>= 2.40.0); however:
  Package libpangomm-1.4-1v5 is not installed.

dpkg: error processing package inkscape (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gnome-themes-standard:AMD64
 gparted
 inkscape

アップグレード:

root@a:/home/user# LC_ALL=C apt-get 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:
 adwaita-icon-theme : Breaks: gnome-themes-standard-data (< 3.18.0-2~) but 3.14.2.2-1 is installed
 aptitude : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 djvulibre-bin : Depends: libdjvulibre21 (= 3.5.25.4-4+b1) but 3.5.27.1-7 is installed
 gnome-documents : Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not installable
 gnome-system-monitor : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.22.2-2) but 3.14.2.2-1 is installed
 gparted : Depends: libatkmm-1.6-1v5 (>= 2.24.0) but it is not installed
           Depends: libglibmm-2.4-1v5 (>= 2.50.0) but it is not installed
           Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but it is not installed
           Depends: libpangomm-1.4-1v5 (>= 2.40.0) but it is not installed
 inkscape : Depends: libatkmm-1.6-1v5 (>= 2.24.0) but it is not installed
            Depends: libcairomm-1.0-1v5 (>= 1.12.0) but it is not installed
            Depends: libglibmm-2.4-1v5 (>= 2.50.0) but it is not installed
            Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but it is not installed
            Depends: libpangomm-1.4-1v5 (>= 2.40.0) but it is not installed
            Recommends: python-scour but it is not installed
 libatkmm-1.6-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libcairo-Perl : Depends: perlapi-5.20.0 but it is not installable
 libcairomm-1.0-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libclass-c3-xs-Perl : Depends: perlapi-5.20.0 but it is not installable
 libcwidget3 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libfarstream-0.1-0 : Depends: gstreamer0.10-plugins-good (>= 0.10.29) but it is not installable
 libgd-Perl : Depends: perlapi-5.20.0 but it is not installable
 libglib-Perl : Depends: perlapi-5.20.0 but it is not installable
 libglibmm-2.4-1c2a : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libgnome2-canvas-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgnome2-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgnome2-vfs-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgnome2-wnck-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgoo-canvas-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgtk2-imageview-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgtk2-unique-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgtkmm-2.4-1c2a : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libgtkmm-3.0-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libjson-xs-Perl : Depends: perlapi-5.20.0 but it is not installable
 liblocale-gettext-Perl : PreDepends: perlapi-5.20.0 but it is not installable
 libmouse-Perl : Depends: perlapi-5.20.0 but it is not installable
 libnet-dbus-Perl : Depends: perlapi-5.20.0 but it is not installable
 libpangomm-1.4-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libphonenumber6 : Depends: libboost-date-time1.55.0 but it is not installable
 libqt5concurrent5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5dbus5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5network5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5opengl5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                 Depends: libqt5gui5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                 Depends: libqt5widgets5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5printsupport5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                       Depends: libqt5gui5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                       Depends: libqt5widgets5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5qml5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5script5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5sql5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5sql5-sqlite : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5test5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5webkit5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5xml5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libsoprano4 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libtext-iconv-Perl : Depends: perlapi-5.20.0 but it is not installable
 libtext-soundex-Perl : Depends: perlapi-5.20.0 but it is not installable
 libuuid-Perl : Depends: perlapi-5.20.0 but it is not installable
 libxml-parser-Perl : Depends: perlapi-5.20.0 but it is not installable
 vlc-nox : Depends: libtag1c2a (>= 1.9.1) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

距離アップグレード:

root@a:/home/user# LC_ALL=C apt-get 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:
 adwaita-icon-theme : Breaks: gnome-themes-standard-data (< 3.18.0-2~) but 3.14.2.2-1 is installed
 aptitude : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 djvulibre-bin : Depends: libdjvulibre21 (= 3.5.25.4-4+b1) but 3.5.27.1-7 is installed
 gnome-documents : Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not installable
 gnome-system-monitor : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.22.2-2) but 3.14.2.2-1 is installed
 gparted : Depends: libatkmm-1.6-1v5 (>= 2.24.0) but it is not installed
           Depends: libglibmm-2.4-1v5 (>= 2.50.0) but it is not installed
           Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but it is not installed
           Depends: libpangomm-1.4-1v5 (>= 2.40.0) but it is not installed
 inkscape : Depends: libatkmm-1.6-1v5 (>= 2.24.0) but it is not installed
            Depends: libcairomm-1.0-1v5 (>= 1.12.0) but it is not installed
            Depends: libglibmm-2.4-1v5 (>= 2.50.0) but it is not installed
            Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but it is not installed
            Depends: libpangomm-1.4-1v5 (>= 2.40.0) but it is not installed
            Recommends: python-scour but it is not installed
 libatkmm-1.6-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libcairo-Perl : Depends: perlapi-5.20.0 but it is not installable
 libcairomm-1.0-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libclass-c3-xs-Perl : Depends: perlapi-5.20.0 but it is not installable
 libcwidget3 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libfarstream-0.1-0 : Depends: gstreamer0.10-plugins-good (>= 0.10.29) but it is not installable
 libgd-Perl : Depends: perlapi-5.20.0 but it is not installable
 libglib-Perl : Depends: perlapi-5.20.0 but it is not installable
 libglibmm-2.4-1c2a : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libgnome2-canvas-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgnome2-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgnome2-vfs-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgnome2-wnck-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgoo-canvas-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgtk2-imageview-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgtk2-unique-Perl : Depends: perlapi-5.20.0 but it is not installable
 libgtkmm-2.4-1c2a : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libgtkmm-3.0-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libjson-xs-Perl : Depends: perlapi-5.20.0 but it is not installable
 liblocale-gettext-Perl : PreDepends: perlapi-5.20.0 but it is not installable
 libmouse-Perl : Depends: perlapi-5.20.0 but it is not installable
 libnet-dbus-Perl : Depends: perlapi-5.20.0 but it is not installable
 libpangomm-1.4-1 : Depends: libsigc++-2.0-0c2a (>= 2.2.0) but it is not installable
 libphonenumber6 : Depends: libboost-date-time1.55.0 but it is not installable
 libqt5concurrent5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5dbus5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5network5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5opengl5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                 Depends: libqt5gui5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                 Depends: libqt5widgets5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5printsupport5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                       Depends: libqt5gui5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
                       Depends: libqt5widgets5 (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5qml5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5script5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5sql5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5sql5-sqlite : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5test5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libqt5webkit5 : Depends: qtbase-abi-5-3-2 but it is not installable
 libqt5xml5 : Depends: libqt5core5a (= 5.3.2+dfsg-4+deb8u2) but 5.7.1+dfsg-3+b1 is installed
 libsoprano4 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libtext-iconv-Perl : Depends: perlapi-5.20.0 but it is not installable
 libtext-soundex-Perl : Depends: perlapi-5.20.0 but it is not installable
 libuuid-Perl : Depends: perlapi-5.20.0 but it is not installable
 libxml-parser-Perl : Depends: perlapi-5.20.0 but it is not installable
 vlc-nox : Depends: libtag1c2a (>= 1.9.1) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Sources.list:

deb http://security.debian.org/ stretch/updates main contrib
deb-src http://security.debian.org/ stretch/updates main contrib

deb http://ftp.debian.org/debian stretch main contrib non-free
deb-src http://ftp.debian.org/debian stretch main contrib non-free
1
Robe

/usr/share/themes/Adwaita-dark/gtk-3.0//usr/share/themes/Adwaita/gtk-3.0/へのシンボリックリンクでした。 Sudo rm /usr/share/themes/Adwaita-dark/gtk-3.0/でシンボリックリンクを削除した後、パッケージアップデーターはこのフォルダーを作成し(リンクとしてではなく)、インストールプロセスはうまくいきました。

フォルダ/ファイルmkdir /usr/share/themes/Adwaita/mkdir /usr/share/themes/Adwaita/gtk-3.0、またはtouch /usr/share/themes/Adwaita/gtk-3.0/gtk.cssを作成するだけでは不十分でした。

1
Robe

依存関係をナビゲートするために、私はよくaptitudeを使用します。一度にいくつかのパッケージをアップグレードしてみてください。

ローカルにインストールされたパッケージも確認してください。これらのパッケージは、Debianで利用できなくなったプログラムであることがよくあります。それらを削除してみてください。

ツールボックスには、次のコマンドがあります。

  • dpkg --configure --pending、多くの場合、オプション--abort-after=2000があります。デフォルトの50は機能しません。

  • /var/cache/apt/archivesおよびdpkg -i --force-depends package_version.dpkg(そのようなディレクトリ内のファイル)に移動します。この場合、私はパッケージを強制的にインストールします(そして、-rを使用してパッケージを削除しますが、この場合、ファイル名ではなくパッケージ名です)。 --force-overrideも他の便利なオプションです。これらは、依存関係が壊れている場合に必要になることがあります。通常、パッケージ名を使用すると、一連のパッケージ全体を一連のパッケージの新しいバージョンに置き換えることが続行する正しい方法であることは明らかです(新しいパッケージが相互に正しい依存関係を持ち、更新パスが壊れているだけであることを願っています)。

いずれにせよ、私はいくつかのdpkg --configure --pendingと新しいapt updateで終了するので、正しい依存関係が最終的に修正されます。

ただし、これは十分に注意して行う必要があります。システムが本当に壊れてしまう可能性があります。インストールを強制するときは、同じバージョンのすべてのパッケージを同じディレクトリにロックして、一緒にインストールしてみてください。単一のソースからの関連パッケージは同じバージョンであり、大きなシリーズはしばしば一意のバージョン番号を持っています(バージョン2.0でそれらが表示されることはめったにありません)。システムの緊急救助に必要なlibc/glibcおよび基本パッケージを強制しないようにしてください。

1