installer crashing wit "Could not restore packages from the previous install"

Bug #1955701 reported by phm2f1alcw69
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

installer crashes nearly the end of fresh install of kubuntu 20.04 on lvm with luks.
install kernel 5.11.0-27 on 20.04.3 LTS

in syslog the following error messages appear:
==============================================
in run /usr/share/ubiquity/plugininstall.py:
#257 in "self.apt_clone_restore()"
#1655 in apt_clone_restore "subprocess.check_call("

in /usr/lib/python3.8/subprocess.py
#364 in check_all raise CalledProcessError(retCode, cmd)

with subprocess.CalledProcessError: Command '[apt-clone', 'restore-new-distro', '/target/ubuquity-apt-clone/apt-clone-state-kubuntu.tar.gz', 'focal', '--destination', '/target'] returned non-zero exit status 1
==============================================

similar error messages are already filed under the below listed bug reports, the main difference being the line numbers in plugininstall.py

1. https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1881829
in comment #2

2. https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1928748
in https://launchpadlibrarian.net/539276481/UbiquitySyslog.txt

3. https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1936442
in https://launchpadlibrarian.net/548660333/UbiquitySyslog.txt
and in comment #2
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445.1
DistroRelease: Ubuntu 20.04
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz persistent file=/cdrom/preseed/kubuntu.seed quiet splash ---
LiveMediaBuild: Kubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819.1)
Package: ubiquity 20.04.15.17
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
Tags: focal ubiquity-20.04.15.17 kubuntu
Uname: Linux 5.11.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445.1
DistroRelease: Ubuntu 20.04
InstallCmdLine: file=/cdrom/preseed/kubuntu.seed maybe-ubiquity initrd=/casper/initrd quiet splash --- maybe-ubiquity
LiveMediaBuild: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Package: ubiquity 20.04.15.2
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Tags: focal ubiquity-20.04.15.2 kubuntu
Uname: Linux 5.4.0-42-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote :

After the above posted error message the installer was able to leave some last messages (cf. attachment) in the syslog before finally dying.

Paul White (paulw2u)
affects: ubuntu → ubiquity (Ubuntu)
tags: added: focal
Revision history for this message
Chris Guiver (guiverc) wrote (last edit ):

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1955701

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Ubiquity log files (package lists with versions, ISO used, etc) were not included thus making it hard to diagnose/explore, which will be added if the apport-collect is performed on the box. After the apport-collect has been executed, please return the status to 'New'.

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : Casper.txt

apport information

tags: added: apport-collected kubuntu ubiquity-20.04.15.17
description: updated
Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : Dependencies.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquityDebug.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquityDm.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquityPartman.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquitySyslog.txt

apport information

Chris Guiver (guiverc)
Changed in ubiquity (Ubuntu):
status: Incomplete → New
Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : Casper.txt

apport information

tags: added: ubiquity-20.04.15.2
description: updated
Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : Dependencies.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquityDebug.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquityDm.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquityPartman.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote : UbiquitySyslog.txt

apport information

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote :

added same debugging info for 20.04.2

Revision history for this message
phm2f1alcw69 (phm2f1alcw69) wrote :

bug reports which seem to be related to the same problem have been arround since 2012:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1040599

other more recent reports are:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1825355
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1896113

In some of the reports a connection to using preformatted partitions is made. Though I always use manually created and preformatted partitions as part of a lukslvm setup, and this now is the first time to encounter this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.