[Bug 1791476] [NEW] apt-clone crashed with apt.cache.LockFailedException in _get_archive_lock(): Failed to lock archive directory /target/var/cache/apt/archives/: E:Could not get lock /target/var/cache/apt/archives/lock - open (11: Resource temporarily unavailable), E:Unable to lock directory /target/var/cache/apt/archives/

John S. Gruber JohnSGruber at gmail.com
Sat Sep 8 23:42:42 UTC 2018


Public bug reported:

Happened toward the end of a fresh install to a flash drive using
ubiquity (at least ubiquity said that the installation was done).

ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: apt-clone 0.4.1ubuntu2
ProcVersionSignature: Ubuntu 4.17.0-9.10-generic 4.17.17
Uname: Linux 4.17.0-9-generic x86_64
ApportVersion: 2.20.10-0ubuntu9
Architecture: amd64
CasperVersion: 1.395
Date: Sat Sep  8 19:26:29 2018
ExecutablePath: /usr/bin/apt-clone
InterpreterPath: /usr/bin/python3.6
LiveMediaBuild: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180908)
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/apt-clone restore-new-distro /target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz cosmic --destination /target
Python3Details: /usr/bin/python3.6, Python 3.6.6+, python3-minimal, 3.6.6-1
PythonArgs: ['/usr/bin/apt-clone', 'restore-new-distro', '/target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz', 'cosmic', '--destination', '/target']
PythonDetails: N/A
SourcePackage: apt-clone
Title: apt-clone crashed with apt.cache.LockFailedException in _get_archive_lock(): Failed to lock archive directory /target/var/cache/apt/archives/:  E:Could not get lock /target/var/cache/apt/archives/lock - open (11: Resource temporarily unavailable), E:Unable to lock directory /target/var/cache/apt/archives/
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

** Affects: apt-clone (Ubuntu)
     Importance: Medium
         Status: New


** Tags: amd64 apport-crash cosmic

** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-clone in Ubuntu.
https://bugs.launchpad.net/bugs/1791476

Title:
  apt-clone crashed with apt.cache.LockFailedException in
  _get_archive_lock(): Failed to lock archive directory
  /target/var/cache/apt/archives/:  E:Could not get lock
  /target/var/cache/apt/archives/lock - open (11: Resource temporarily
  unavailable), E:Unable to lock directory
  /target/var/cache/apt/archives/

Status in apt-clone package in Ubuntu:
  New

Bug description:
  Happened toward the end of a fresh install to a flash drive using
  ubiquity (at least ubiquity said that the installation was done).

  ProblemType: Crash
  DistroRelease: Ubuntu 18.10
  Package: apt-clone 0.4.1ubuntu2
  ProcVersionSignature: Ubuntu 4.17.0-9.10-generic 4.17.17
  Uname: Linux 4.17.0-9-generic x86_64
  ApportVersion: 2.20.10-0ubuntu9
  Architecture: amd64
  CasperVersion: 1.395
  Date: Sat Sep  8 19:26:29 2018
  ExecutablePath: /usr/bin/apt-clone
  InterpreterPath: /usr/bin/python3.6
  LiveMediaBuild: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180908)
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/apt-clone restore-new-distro /target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz cosmic --destination /target
  Python3Details: /usr/bin/python3.6, Python 3.6.6+, python3-minimal, 3.6.6-1
  PythonArgs: ['/usr/bin/apt-clone', 'restore-new-distro', '/target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz', 'cosmic', '--destination', '/target']
  PythonDetails: N/A
  SourcePackage: apt-clone
  Title: apt-clone crashed with apt.cache.LockFailedException in _get_archive_lock(): Failed to lock archive directory /target/var/cache/apt/archives/:  E:Could not get lock /target/var/cache/apt/archives/lock - open (11: Resource temporarily unavailable), E:Unable to lock directory /target/var/cache/apt/archives/
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1791476/+subscriptions



More information about the foundations-bugs mailing list