Illegal instruction (core dumped) on apt update

Bug #1940503 reported by Colin 't Hart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Ran `apt update` and received

Illegal instruction (core dumped)
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code

at the end.

Ran `apt update` again with no problems.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apt 2.0.6
ProcVersionSignature: Ubuntu 5.13.0-1010.11-oem 5.13.1
Uname: Linux 5.13.0-1010-oem x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Thu Aug 19 08:46:31 2021
InstallationDate: Installed on 2018-11-21 (1001 days ago)
InstallationMedia: Xubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
SourcePackage: apt
UpgradeStatus: Upgraded to focal on 2020-04-21 (484 days ago)

Revision history for this message
Colin 't Hart (colinthart) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

This seems to be a bug in command-not-found, Python, or any of the libraries it used. For further investigation, we need a core dump from that process, did apport not prompt you for that?

affects: apt (Ubuntu) → command-not-found (Ubuntu)
Changed in command-not-found (Ubuntu):
status: New → Incomplete
Revision history for this message
Colin 't Hart (colinthart) wrote :

I never used apport. I used `ubuntu-bug apt` to generate the bug report. I don't see a core dump anywhere.

Revision history for this message
John Freeman (john-freeman) wrote :

This appears to be a duplicate of https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1876034. It may be worth holding off using the "Mark as duplicate" function as it hides the duplicate from the search results. Since 1876034 doesn't contain the error the end-user sees (this bug report does), it would be easy to miss there's an existing issue raised (and already one other bug report marked as duplicate).

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for command-not-found (Ubuntu) because there has been no activity for 60 days.]

Changed in command-not-found (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.