"Error restoring installed applications" while upgrading to 18.04 using the image

Bug #1740613 reported by Konrad Krawiec
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Test Case:
1. Install Ubuntu 16.04 + all the updates
2. Boot 18.04 from an ISO
3. Run the installer
4. On the partitioning page, select "Upgrade to 18.04" and continue with the installation

It can also be reproduce with the following command
$ sudo apt-clone restore-new-distro \
    /target/ubiquity-apt-clone/apt-clone-state-ubuntu.tar.gz \
    bionic --destination /target

Expected result
The upgrade ends successfully

Actual result
This crash.

When trying to upgrade the clean installation of Lubuntu/Xubuntu 16.04.3/17.10 (I haven't tested other flavors) using the daily desktop image, I got an error titled "Error restoring installed applications". The upgrade itself succeed though.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
Uname: Linux 4.13.0-17-generic x86_64
ApportVersion: 2.20.8-0ubuntu5
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Dec 30 17:56:20 2017
InstallationDate: Installed on 2017-12-30 (0 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20171230)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Konrad Krawiec (konrad11901) wrote :
description: updated
Revision history for this message
Konrad Krawiec (konrad11901) wrote :

I attach an image of this error, you can check it if you want.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1740613

tags: added: iso-testing
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Error from syslog

Dec 30 16:46:31 xubuntu ubiquity: Chrooting into
Dec 30 16:46:31 xubuntu ubiquity: /target/
Dec 30 16:46:31 xubuntu ubiquity:
Dec 30 16:46:32 xubuntu ubiquity: E
Dec 30 16:46:32 xubuntu ubiquity: :
Dec 30 16:46:32 xubuntu ubiquity: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Dec 30 16:46:32 xubuntu ubiquity:
Dec 30 16:46:32 xubuntu ubiquity: Chrooting into
Dec 30 16:46:32 xubuntu ubiquity: /target/
Dec 30 16:46:32 xubuntu ubiquity:
Dec 30 16:46:32 xubuntu ubiquity: dpkg: error: cannot stat pathname '/tmp/apt-dpkg-install-mWALBG': No such file or directory
Dec 30 16:46:34 xubuntu ubiquity: Chrooting into
Dec 30 16:46:34 xubuntu ubiquity: /target/

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Confirmed with an upgrade from 16.04 to 18.04

Changed in ubiquity (Ubuntu):
importance: Undecided → High
status: New → Confirmed
description: updated
tags: added: rls-bb-incoming
description: updated
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.