canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #03640
[Bug 2060213] [NEW] "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
Public bug reported:
logfile:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/armhf/b/balsa/20240404_081820_ad372@/log.gz
pertinent log messages:
```
883s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf xvfb armhf 2:21.1.11-2ubuntu2 [738 kB]
935s autopkgtest: WARNING: apt failed to download packages, retrying in 10s...
954s E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 763 (apt-get)
954s E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
955s autopkgtest: WARNING: Test dependencies are unsatisfiable - calling apt install on test deps directly for further data about failing dependencies in test logs
957s Reading package lists...
958s Building dependency tree...
```
It perhaps looks like in a setup script, whilst sleeping before a retry,
another process starts an apt-get command which causes the script to
fail after the sleep. Or something along those lines.
** Affects: auto-package-testing
Importance: Undecided
Status: New
** Description changed:
logfile:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/armhf/b/balsa/20240404_081820_ad372@/log.gz
pertinent log messages:
```
883s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf xvfb armhf 2:21.1.11-2ubuntu2 [738 kB]
935s autopkgtest: WARNING: apt failed to download packages, retrying in 10s...
954s E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 763 (apt-get)
954s E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
955s autopkgtest: WARNING: Test dependencies are unsatisfiable - calling apt install on test deps directly for further data about failing dependencies in test logs
957s Reading package lists...
958s Building dependency tree...
```
- It perhaps looks like in setup-testbed, whilst sleeping before a retry,
+ It perhaps looks like in a setup script, whilst sleeping before a retry,
another process starts an apt-get command which causes the script to
fail after the sleep. Or something along those lines.
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2060213
Title:
"apt failed to download packages, retrying in 10s..." results in "
Unable to acquire the dpkg frontend lock"
Status in Auto Package Testing:
New
Bug description:
logfile:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/armhf/b/balsa/20240404_081820_ad372@/log.gz
pertinent log messages:
```
883s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf xvfb armhf 2:21.1.11-2ubuntu2 [738 kB]
935s autopkgtest: WARNING: apt failed to download packages, retrying in 10s...
954s E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 763 (apt-get)
954s E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
955s autopkgtest: WARNING: Test dependencies are unsatisfiable - calling apt install on test deps directly for further data about failing dependencies in test logs
957s Reading package lists...
958s Building dependency tree...
```
It perhaps looks like in a setup script, whilst sleeping before a
retry, another process starts an apt-get command which causes the
script to fail after the sleep. Or something along those lines.
To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2060213/+subscriptions
Follow ups
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-06-13
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-06-13
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-06-13
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Brian Murray, 2024-06-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Launchpad Bug Tracker, 2024-06-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Paride Legovini, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Paride Legovini, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Paride Legovini, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Paride Legovini, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Launchpad Bug Tracker, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Tim Andersson, 2024-04-11
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Paride Legovini, 2024-04-05
-
[Bug 2060213] Re: "apt failed to download packages, retrying in 10s..." results in " Unable to acquire the dpkg frontend lock"
From: Paride Legovini, 2024-04-05