Project

General

Profile

Actions

Bug #56395

closed

sudo apt-get clean: Could not get lock /var/cache/apt/archives/lock. It is held by process 2658

Added by Kamoltat (Junior) Sirivadhna almost 2 years ago. Updated 8 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

/a/ksirivad-2022-06-27_21:11:03-orch:cephadm-wip-ksirivad-test-46749-and-45511-distro-default-smithi/6901518/

sudo apt-get clean basically is held by another process.

Solution:

1. ``ps aux | grep -i apt`` and delete process
2. ``sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock``

Actions #1

Updated by Kamoltat (Junior) Sirivadhna almost 2 years ago

/a/yuriw-2022-06-29_13:30:16-rados-wip-yuri3-testing-2022-06-28-1737-distro-default-smithi/6905710

this one is in the form of ansible_failure.log, but basically apt-get held by another process.

Actions #2

Updated by Kamoltat (Junior) Sirivadhna 8 months ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF