Public bug reported:

When trying to reinstall an existing Ubuntu cosmic installation using
latest 18.10 desktop images, the install fails around the end of the
installation with an "Error restoring installed applications". Looking
at the syslog such a traceback can be seen:

apt_pkg.Error: 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/

After reproducing this on a live session, after chrooting into /target
indeed any apt-get install operations result in the same lock-file
error. The whole syslog of the reinstall attached to the bug.

Test case:
 * Download latest cosmic image
 * Install cosmic on the whole disk (can be on a VM)
 * (optional) Boot into the system and leave a file in the home directory (to 
leave a trace, just in case)
 * Reboot and install cosmic using the first option in ubiquity: Reinstall 
Ubuntu
 * Finish configuration

The install will fail around the end of the installation process.

** Affects: apt
     Importance: Undecided
         Status: New

** Affects: ubiquity
     Importance: Undecided
         Status: New

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "syslog from a failed install on the live-session"
   https://bugs.launchpad.net/bugs/1798369/+attachment/5202210/+files/syslog

** Also affects: apt
   Importance: Undecided
       Status: New

** Also affects: ubiquity
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1798369

Title:
  Reinstall Ubuntu (with preserving existing data) fails due to "Could
  not get lock /target/var/cache/apt/archives/lock"

Status in APT:
  New
Status in ubiquity:
  New
Status in apt package in Ubuntu:
  New

Bug description:
  When trying to reinstall an existing Ubuntu cosmic installation using
  latest 18.10 desktop images, the install fails around the end of the
  installation with an "Error restoring installed applications". Looking
  at the syslog such a traceback can be seen:

  apt_pkg.Error: 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/

  After reproducing this on a live session, after chrooting into /target
  indeed any apt-get install operations result in the same lock-file
  error. The whole syslog of the reinstall attached to the bug.

  Test case:
   * Download latest cosmic image
   * Install cosmic on the whole disk (can be on a VM)
   * (optional) Boot into the system and leave a file in the home directory (to 
leave a trace, just in case)
   * Reboot and install cosmic using the first option in ubiquity: Reinstall 
Ubuntu
   * Finish configuration

  The install will fail around the end of the installation process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apt/+bug/1798369/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to