check-new-release-gtk crashed with apt_pkg.Error in open(): E:flAbsPath on /var/ lib/dpkg/status failed
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Apport was also crashing trying to file this bug, but I manually copied some of the good stuff:
== Title =======
check-new-
lib/dpkg/status failed - realpath (2: No such file or directory), E:Could not op
en file - open (2: No such file or directory), E:Problem opening , E:The packag
e lists or status file could not be parsed or opened.
== Traceback =======
Traceback (most recent call last):
File "/usr/lib/
odule>
cnr = CheckNewRelease
File "/usr/lib/
nit__
m = MetaRelease(
File "/usr/lib/
e 45, in __init__
MetaRelease
File "/usr/lib/
103, in __init__
cache = apt.Cache()
File "/usr/lib/
self.
File "/usr/lib/
self._cache = apt_pkg.
apt_pkg.Error: E:flAbsPath on /var/lib/
file or directory), E:Could not open file - open (2: No such file or directory
), E:Problem opening , E:The package lists or status file could not be parsed or
opened.
Ultimately this is a dpkg issue, but u-r-u should probably catch exception.
| tags: | added: foundations-triage-discuss |

For the record this error came up when installing Ubuntu 22.10 with ZFS + encryption and /var/lib/dpkg not being mounted. It is also kind of weird that check-new- release- gtk is running on first boot.