[Bug 1756862] Re: upgrade from 17.10 to 18.04 - apt-clone crashed with SystemError in commit(): installArchives() failed

Brian Murray brian at ubuntu.com
Tue Apr 10 21:47:56 UTC 2018


Running it with --simulate we can see something weird is going on:

sudo APT_CLONE_DEBUG_RESOLVER=1 apt-clone restore-new-distro /tmp/apt-clone-state-ubuntu.tar.gz bionic --destination / --simulate
missing: adwaita-icon-theme-full,fonts-cantarell,fonts-nanum,fonts-takao-pgothic,gir1.2-totem-plparser-1.0,gnome-session,gnome-themes-standard,gnome-themes-standard-data,gnome-user-share,gpart,gtk2-engines-pixbuf,ipython3,kerneloops-applet,libboost-date-time1.62.0,libboost-filesystem1.62.0,libboost-iostreams1.62.0,libboost-system1.62.0,libboost-thread1.62.0,libcanberra-gtk-module,libcanberra-gtk0,libcapnp-0.5.3,libcdio-cdda1,libcdio-paranoia1,libcdio13,libdfu1,libfreerdp-cache1.1,libfreerdp-client1.1,libfreerdp-codec1.1,libfreerdp-common1.1.0,libfreerdp-core1.1,libfreerdp-crypto1.1,libfreerdp-gdi1.1,libfreerdp-locale1.1,libfreerdp-plugins-standard,libfreerdp-primitives1.1,libfreerdp-utils1.1,libfwupd1,libgom-1.0-common,libicu57,liblouis12,libntfs-3g872,libpython-stdlib,libwinpr-crt0.1,libwinpr-dsparse0.1,libwinpr-environment0.1,libwinpr-file0.1,libwinpr-handle0.1,libwinpr-heap0.1,libwinpr-input0.1,libwinpr-interlocked0.1,libwinpr-library0.1,libwinpr-path0.1,libwinpr-
pool0.1,libwinpr-registry0.1,libwinpr-rpc0.1,libwinpr-sspi0.1,libwinpr-synch0.1,libwinpr-sysinfo0.1,libwinpr-thread0.1,libwinpr-utils0.1,linux-headers-4.13.0-16,linux-headers-4.13.0-16-generic,linux-headers-4.13.0-21,linux-headers-4.13.0-21-generic,linux-headers-4.13.0-38,linux-headers-4.13.0-38-generic,linux-image-4.13.0-16-generic,linux-image-4.13.0-21-generic,linux-image-4.13.0-38-generic,linux-image-extra-4.13.0-16-generic,linux-image-extra-4.13.0-21-generic,linux-image-extra-4.13.0-38-generic,python,python-minimal,python-pexpect,python-ptyprocess,python2.7,python2.7-minimal,python3-decorator,python3-ipdb,python3-ipython,python3-ipython-genutils,python3-pickleshare,python3-prompt-toolkit,python3-pygments,python3-simplegeneric,python3-traitlets,python3-wcwidth,tcpd,ubuntu-gnome-desktop

Some of those packages are in main. I was able to workaround this by
setting "allow-insecure=true" in the sources.list file in the apt-clone
file, but that is not a solution.

-- 
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/1756862

Title:
  upgrade from 17.10 to 18.04 - apt-clone crashed with SystemError in
  commit(): installArchives() failed

Status in apt-clone package in Ubuntu:
  Confirmed
Status in apt-clone source package in Bionic:
  Confirmed

Bug description:
  Test Case:
  1. Install 17.10 and apply all updates
  2. boot the ISO of Ubuntu Desktop 18.04
  3. Launch the install and in the partitioning step, select Upgrade from 17.10 to 18.04
  4. Proceed with the rest of the installation

  Expected result
  The system upgrades successfully to 18.04

  Actual result
  This crash

  ProblemType: Crash
  DistroRelease: Ubuntu 18.04
  Package: apt-clone 0.4.1ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
  Uname: Linux 4.15.0-12-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  CasperVersion: 1.389
  Date: Mon Mar 19 12:59:14 2018
  ExecutablePath: /usr/bin/apt-clone
  InterpreterPath: /usr/bin/python3.6
  LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180317)
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/apt-clone restore-new-distro /target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz bionic --destination /target
  Python3Details: /usr/bin/python3.6, Python 3.6.5rc1, python3-minimal, 3.6.4-1
  PythonArgs: ['/usr/bin/apt-clone', 'restore-new-distro', '/target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz', 'bionic', '--destination', '/target']
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
  SourcePackage: apt-clone
  Title: apt-clone crashed with SystemError in commit(): installArchives() failed
  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/1756862/+subscriptions



More information about the foundations-bugs mailing list