package update-notifier-common 3.192.40.4 failed to install/upgrade: installed update-notifier-common package post-installation script subprocess returned error exit status 1

Bug #1978120 reported by Ivan Snezhok
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Can`t update my server side ubuntu

ProblemType: Package
DistroRelease: Ubuntu 21.04
Package: update-notifier-common 3.192.40.4
ProcVersionSignature: Ubuntu 5.11.0-49.55-generic 5.11.22
Uname: Linux 5.11.0-49-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Jun 9 12:59:46 2022
ErrorMessage: installed update-notifier-common package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-05-29 (375 days ago)
InstallationMedia: Ubuntu-Server 21.04 "Hirsute Hippo" - Release amd64 (20210421)
PackageArchitecture: all
Python3Details: /usr/bin/python3.9, Python 3.9.5, python3-minimal, 3.9.4-1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.18-9
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.20.9ubuntu1
 apt 2.2.4ubuntu0.1
SourcePackage: update-notifier
Title: package update-notifier-common 3.192.40.4 failed to install/upgrade: installed update-notifier-common package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to hirsute on 2022-06-09 (0 days ago)

Revision history for this message
Ivan Snezhok (velebnost) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

The error in your log is:

  File "/usr/lib/update-notifier/package-data-downloader", line 24, in <module>
    import debian.deb822
ModuleNotFoundError: No module named 'debian'

The update-notifier-common package depends on python3-debian. The fact that this is not found on your system means that you have broken your system's python installation and /usr/bin/python3 is no longer able to find the debian python module that's installed.

You will need to fix your python install to continue your upgrade. 'sudo apt install --reinstall python3.9-minimal python3' may help you with this.

Changed in update-notifier (Ubuntu):
status: New → Invalid
Changed in update-notifier (Ubuntu):
status: Invalid → Confirmed
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.