Ubuntu 22.04 on Dell Latitude E5570
Following an Ubuntu update I tried “sudo apt autoremove” to remove obsolete files, and got the output shown below. I would be grateful for help in resolving the issues shown.
Many thanks.
Keith
keith@E5570:~$ sudo apt autoremove
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up update-notifier-common (3.192.54.8) …
Traceback (most recent call last):
- File “/usr/lib/update-notifier/package-data-downloader”, line 24, in *
- import debian.deb822*
ModuleNotFoundError: No module named ‘debian’
dpkg: error processing package update-notifier-common (–configure):- installed update-notifier-common package post-installation script subprocess returned error exit status 1*
dpkg: dependency problems prevent configuration of update-notifier:- update-notifier depends on update-notifier-common (= 3.192.54.8); however:*
- Package update-notifier-common is not configured yet.*
dpkg: error processing package update-notifier (–configure):
- dependency problems - leaving unconfigured*
dpkg: dependency problems prevent configuration of ubuntu-desktop:- ubuntu-desktop depends on update-notifier; however:*
- Package update-notifier is not configured yet.*
dpkg: error processing package ubuntu-desktop (–configure):
- dependency problems - leaving unconfigured*
dpkg: dependency problems prevent configuration of ubuntu-desktop-minimal:- ubuntu-desktop-minimal depends on update-notifier; however:*
- Package update-notifier is not configured yet.*
dpkg: error processing package ubuntu-desktop-minimal (–configure):
- dependency problems - leaving unconfigured*
No apport report written because the error message indicates it’s a follow-up error from a previous failure.- No apport report written because the error message indicates it’s a follow-up error from a previous failure.*
No apport report written because MaxReports has already been reached
Errors were encountered while processing:- update-notifier-common*
- update-notifier*
- ubuntu-desktop*
- ubuntu-desktop-minimal*
E: Sub-process /usr/bin/dpkg returned an error code (1)
keith@E5570:~$
1 post - 1 participant