update-manager crashed with AttributeError in _records(): 'NoneType' object has no attribute 'lookup'

Bug #1871392 reported by Steve Slagle
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Expired
Medium
Unassigned

Bug Description

System locked up

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: update-manager 1:20.04.1
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu24
Aptdaemon:

Architecture: amd64
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 7 09:16:14 2020
ExecutablePath: /usr/bin/update-manager
InstallationDate: Installed on 2020-03-01 (36 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
InterpreterPath: /usr/bin/python3.8
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonArgs: ['/usr/bin/update-manager', '--no-update', '--no-focus-on-map']
PythonDetails: N/A
SourcePackage: update-manager
Title: update-manager crashed with AttributeError in _records(): 'NoneType' object has no attribute 'lookup'
UpgradeStatus: Upgraded to focal on 2020-03-25 (12 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo

Revision history for this message
Steve Slagle (bernieswteven) wrote :
tags: removed: need-duplicate-check
Changed in update-manager (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

The stacktrace points to:

  File "/usr/lib/python3/dist-packages/apt/package.py", line 541, in _records
    if not self.package._pcache._records.lookup(self._cand.file_list[0]):
AttributeError: 'NoneType' object has no attribute 'lookup'

So, reassigning.

affects: update-manager (Ubuntu) → python-apt (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

And the bug report shows this crash happened with python3-apt 1.9.10, which was a prerelease version of python3-apt before Ubuntu 20.04 LTS came out. So I'm surprised another user has just marked this bug as affecting them, causing the report to bubble up to the top. We would need some concrete evidence that this failure happens with released versions of the software to take further action here.

Changed in python-apt (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-apt (Ubuntu) because there has been no activity for 60 days.]

Changed in python-apt (Ubuntu):
status: Incomplete → Expired
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.