[Bug 1756862] Re: apt-clone crashed with SystemError in commit(): installArchives() failed
Jean-Baptiste Lallement
jean-baptiste.lallement at ubuntu.com
Mon Mar 19 12:43:46 UTC 2018
Mar 19 11:59:14 ubuntu ubiquity: Traceback (most recent call last):
Mar 19 11:59:14 ubuntu ubiquity: File "/usr/bin/apt-clone", line 148, in <module>
Mar 19 11:59:14 ubuntu ubiquity: args.source, args.destination, new_distro=args.new_distro_codename, protect_installed=protect_installed)
Mar 19 11:59:14 ubuntu ubiquity: File "/usr/lib/python3/dist-packages/apt_clone.py", line 501, in restore_state
Mar 19 11:59:14 ubuntu ubiquity: self._restore_package_selection(statefile, targetdir, protect_installed, exclude_pkgs)
Mar 19 11:59:14 ubuntu ubiquity: File "/usr/lib/python3/dist-packages/apt_clone.py", line 658, in _restore_package_selection
Mar 19 11:59:14 ubuntu ubiquity: cache.commit(self.fetch_progress, self.install_progress)
Mar 19 11:59:14 ubuntu ubiquity: File "/usr/lib/python3/dist-packages/apt/cache.py", line 529, in commit
Mar 19 11:59:14 ubuntu ubiquity: raise SystemError("installArchives() failed")
Mar 19 11:59:14 ubuntu ubiquity: SystemError: installArchives() failed
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity chroot /target umount /sys
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity chroot /target umount /proc
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity umount /target/run
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity umount /target/dev
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity umount -f /target/proc
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity umount -f /target/sys
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity umount -f /target/dev
Mar 19 11:59:14 ubuntu /plugininstall.py: log-output -t ubiquity umount -f /target/run
Mar 19 11:59:14 ubuntu /plugininstall.py: Could not restore packages from the previous install:
Mar 19 11:59:14 ubuntu /plugininstall.py: Traceback (most recent call last):
Mar 19 11:59:14 ubuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 246, in run
Mar 19 11:59:14 ubuntu /plugininstall.py: self.apt_clone_restore()
Mar 19 11:59:14 ubuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1486, in apt_clone_restore
Mar 19 11:59:14 ubuntu /plugininstall.py: restore_cmd, preexec_fn=install_misc.debconf_disconnect)
Mar 19 11:59:14 ubuntu /plugininstall.py: File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
Mar 19 11:59:14 ubuntu /plugininstall.py: raise CalledProcessError(retcode, cmd)
Mar 19 11:59:14 ubuntu /plugininstall.py: subprocess.CalledProcessError: Command '['apt-clone', 'restore-new-distro', '/target/ubiquity-apt-clone/apt-clone-state-ubuntu.tar.gz', 'bionic', '--destination', '/target']' returned non-zero exit status 1.
** Information type changed from Private to Public
** Description changed:
Test Case:
- 1. Install 17.01 and apply all updates
+ 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:
** Tags added: rls-bb-incoming
** Summary changed:
- apt-clone crashed with SystemError in commit(): installArchives() failed
+ upgrade from 17.10 to 18.04 - apt-clone crashed with SystemError in commit(): installArchives() failed
** Changed in: apt-clone (Ubuntu)
Importance: Medium => High
--
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:
New
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