unattended-upgrade crashed with apt.cache.LockFailedException in __enter__(): Failed to lock directory /var/cache/apt/archives/: E:Could not get lock /var/cache/apt/archives/lock. It is held by process 26973 (apt-get)

Bug #1922477 reported by Makis Livadas
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
New
Medium
Unassigned

Bug Description

got this while installing latest update.

ProblemType: Crash
DistroRelease: Ubuntu 21.04
Package: unattended-upgrades 2.8
ProcVersionSignature: Ubuntu 5.11.0-1004.4-raspi 5.11.7
Uname: Linux 5.11.0-1004-raspi aarch64
ApportVersion: 2.20.11-0ubuntu61
Architecture: arm64
CasperMD5CheckResult: unknown
Date: Fri Apr 2 17:42:45 2021
ExecutablePath: /usr/bin/unattended-upgrade
ImageMediaBuild: 20201022
InterpreterPath: /usr/bin/python3.9
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unattended-upgrade
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
Python3Details: /usr/bin/python3.9, Python 3.9.2, python3-minimal, 3.9.2-2
PythonArgs: ['/usr/bin/unattended-upgrade']
PythonDetails: N/A
SourcePackage: unattended-upgrades
Title: unattended-upgrade crashed with apt.cache.LockFailedException in __enter__(): Failed to lock directory /var/cache/apt/archives/: E:Could not get lock /var/cache/apt/archives/lock. It is held by process 26973 (apt-get)
UpgradeStatus: Upgraded to hirsute on 2021-03-25 (9 days ago)
UserGroups: N/A

Revision history for this message
Makis Livadas (glivadas) wrote :
tags: removed: need-duplicate-check
Changed in unattended-upgrades (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
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.