|
|
You have a broken "debconf" package then because the missing module is part of that package and that package is a dependency of apt-listchanges.
$ dpkg -S debconf.py
debconf: /usr/lib/python3/dist-packages/debconf.py
debconf: /usr/lib/python2.7/dist-packages/debconf.py
$ dpkg -s apt-listchanges
Package: apt-listchanges
[...]
Depends: apt (>= 0.5.3), debianutils (>= 2.0.2), python3-apt (>= 0.7.93), ucf (>= 0.28), debconf (>= 0.5) | debconf-2.0, python3:any (>= 3.5~)
Try "apt --reinstall install debconf" to see if it fixes your issue. |
|
|
|
:~# apt --reinstall install debconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
caribou-antler castxml creepy dff gccxml gir1.2-clutter-gst-2.0
gir1.2-gkbd-3.0 gir1.2-packagekitglib-1.0 gir1.2-xkl-1.0
gnome-icon-theme-symbolic gtk2-engines gucharmap inguma libapache2-mod-php5
libasn1-8-heimdal libavcodec-ffmpeg56 libavdevice-ffmpeg56
libavfilter-ffmpeg5 libavformat-ffmpeg56 libavresample-ffmpeg2
libavutil-ffmpeg54 libbasicusageenvironment0 libbind9-90
libboost-date-time-dev libboost-date-time1.61-dev libboost-filesystem-dev
libboost-filesystem1.58.0 libboost-filesystem1.61-dev
libboost-program-options-dev libboost-program-options1.61-dev
libboost-python1.58.0 libboost-python1.61.0 libboost-regex1.58.0
libboost-serialization1.58.0 libboost-serialization1.61-dev
libboost-system-dev libboost-system1.61-dev libboost-test-dev
libboost-test1.58.0 libboost-test1.61-dev libboost1.61-dev libcamel-1.2-54
libclang-common-3.7-dev libclutter-gst-2.0-0 libcppunit-1.13-0v5
libcppunit-dev libcrypto++9v5 libcurses-perl libcurses-ui-perl libdbus-1-dev
libdns100 libexporter-tiny-perl libgdict-1.0-9 libgif4 libglfw3
libgnuradio-analog3.7.9 libgnuradio-atsc3.7.9 libgnuradio-audio3.7.9
libgnuradio-blocks3.7.9 libgnuradio-channels3.7.9 libgnuradio-comedi3.7.9
libgnuradio-digital3.7.9 libgnuradio-dtv3.7.9 libgnuradio-fcd3.7.9
libgnuradio-fec3.7.9 libgnuradio-fft3.7.9 libgnuradio-filter3.7.9
libgnuradio-fosphor3.7.0 libgnuradio-fosphor3.7.10 libgnuradio-noaa3.7.9
libgnuradio-pager3.7.9 libgnuradio-pmt3.7.9 libgnuradio-qtgui3.7.9
libgnuradio-runtime3.7.9 libgnuradio-trellis3.7.9 libgnuradio-uhd3.7.9
libgnuradio-video-sdl3.7.9 libgnuradio-vocoder3.7.9 libgnuradio-wavelet3.7.9
libgnuradio-wxgui3.7.9 libgnuradio-zeromq3.7.9 libgrilo-0.2-1 libgroupsock1
libgssapi3-heimdal libgtkglext1 libgucharmap-2-90-7 libhcrypto4-heimdal
libhdb9-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhunspell-1.3-0
libhx509-5-heimdal libical1a libicu55:i386 libilmbase6v5 libisc95 libisccc90
libisccfg90 libjasper1 libkdc2-heimdal libkrb5-26-heimdal
liblist-moreutils-perl liblivemedia23 libllvm3.7 liblog4cpp5-dev liblouis9
liblouisutdml6 liblwres90 libnamespace-autoclean-perl libntdb1 libonig2
libopenexr6v5 libopenjpeg5 libpff1 libpgm-5.1-0 libpng12-0 libpoppler57
libpostproc-ffmpeg53 libpth20 libpython3.4-minimal libpython3.4-stdlib
libqdbm14 libqmi-glib1 libquvi-scripts libquvi7 libqwt-dev libqwt-headers
libqwt6abi1 libregfi0 libroken18-heimdal libsodium13 libswresample-ffmpeg1
libswscale-ffmpeg3 libtask-weaken-perl libtre5 libtrio2 libusageenvironment1
libusbmuxd2 libvolk1.1 libwebp5 libwebp5:i386 libwebpdemux1 libwebpmux1
libwebrtc-audio-processing-0 libwind0-heimdal libx265-68 libyara3 libzip2
libzmq3 multiforcer php5 php5-cli php5-common php5-json php5-ldap
php5-mcrypt php5-mysql php5-readline php5-sqlite python-apsw python-bluez
python-characteristic python-ctypeslib python-dbus-dev python-distlib
python-dominate python-ecdsa python-flickrapi python-googleapi
python-instagram python-jwt python-lzma python-lzo python-ntdb
python-oauth2client python-oauthlib python-pyatspi python-pyexiv2
python-pyexiv2-doc python-pyqtgraph python-qt4-gl python-qt4-phonon
python-requests-oauthlib python-requests-toolbelt python-rsa python-tidylib
python-tweepy python-uritemplate python-yapsy python3.4 python3.4-minimal
ratproxy rcconf ruby-rainbow ruby-rexec ruby2.2-dev system-config-printer
sysv-rc-conf
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
Need to get 0 B/160 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 422168 files and directories currently installed.)
Preparing to unpack .../debconf_1.5.59_all.deb ...
Unpacking debconf (1.5.59) over (1.5.59) ...
Setting up debconf (1.5.59) ...
Setting up apt-listchanges (3.3) ...
Traceback (most recent call last):
File "/tmp/aptlcNK0CEJ.py", line 6, in <module>
import debconf
ImportError: No module named 'debconf'
dpkg: error processing package apt-listchanges (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
apt-listchanges
E: Sub-process /usr/bin/dpkg returned an error code (1) |
|
|
|
Then you have a broken /usr/bin/python3...
What does the following command return?
python3 -c 'import sys; print(sys.path)'
From your error message I guess that you don't have '/usr/lib/python3/dist-packages' in the answer and the official Debian package does have that directory... |
|
|
|
:~# python3 -c 'import sys; print(sys.path)'
['', '/usr/local/lib/python35.zip', '/usr/local/lib/python3.5', '/usr/local/lib/python3.5/plat-linux', '/usr/local/lib/python3.5/lib-dynload', '/root/.local/lib/python3.5/site-packages', '/usr/local/lib/python3.5/site-packages']
There was another round of updates totaling over 1GB immediately preceeding the updates in this post. |
|
|
|
So you have a custom installation of python3 in /usr/local and it's not configured to be compatible with the Debian way of packaging python 3 modules.
It's not our fault. Remove what you installed manually. |
|