"Reinstall Ubuntu" failed - apt-clone crashes with: KeyError: "filename './etc/apt/sources.list' not found" line 1886 in getmember in tarfile.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-clone (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Quantal Desktop 20121012.3
TEST CASE:
1. Install Ubuntu 12.10 or 12.04.1 once
2. Install it a second time and in the partitioning step select "Reinstall Ubuntu 12.10"
3. Proceed with installation
ACTUAL RESULT:
Installation ends with an error dialog "Error restoring installation applications"
From syslog
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity mount --bind /run /target/run
Oct 13 16:42:42 ubuntu ubiquity: Traceback (most recent call last):
Oct 13 16:42:42 ubuntu ubiquity: File "/usr/bin/
Oct 13 16:42:42 ubuntu ubiquity: args.source, args.destination, args.new_
Oct 13 16:42:42 ubuntu ubiquity: File "/usr/lib/
Oct 13 16:42:42 ubuntu ubiquity: self._restore_
Oct 13 16:42:42 ubuntu ubiquity: File "/usr/lib/
Oct 13 16:42:42 ubuntu ubiquity: tar.extract(
Oct 13 16:42:42 ubuntu ubiquity: File "/usr/lib/
Oct 13 16:42:42 ubuntu ubiquity: tarinfo = self.getmember(
Oct 13 16:42:42 ubuntu ubiquity: File "/usr/lib/
Oct 13 16:42:42 ubuntu ubiquity: raise KeyError("filename %r not found" % name)
Oct 13 16:42:42 ubuntu ubiquity: KeyError: "filename './etc/
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity chroot /target umount /sys
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity chroot /target umount /proc
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity umount /target/run
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity umount /target/dev
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity umount -f /target/proc
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity umount -f /target/sys
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity umount -f /target/dev
Oct 13 16:42:42 ubuntu plugininstall.py: log-output -t ubiquity umount -f /target/run
Oct 13 16:42:42 ubuntu plugininstall.py: Could not restore packages from the previous install:
Oct 13 16:42:42 ubuntu plugininstall.py: Traceback (most recent call last):
Oct 13 16:42:42 ubuntu plugininstall.py: File "/usr/share/
Oct 13 16:42:42 ubuntu plugininstall.py: self.apt_
Oct 13 16:42:42 ubuntu plugininstall.py: File "/usr/share/
Oct 13 16:42:42 ubuntu plugininstall.py: preexec_
Oct 13 16:42:42 ubuntu plugininstall.py: File "/usr/lib/
Oct 13 16:42:42 ubuntu plugininstall.py: raise CalledProcessEr
Oct 13 16:42:42 ubuntu plugininstall.py: subprocess.
ProblemType: BugDistroRelease: Ubuntu 12.10
Package: ubiquity 2.12.11
ProcVersionSign
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu3
Architecture: i386
CasperVersion: 1.328
Date: Sat Oct 13 19:08:24 2012
InstallCmdLine: file=/cdrom/
LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121012.3)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → High |
summary: |
"Reinstall Ubuntu" failed - apt-clone crashes with: KeyError: "filename - './etc/apt/sources.list' not found" ilne 1886 in getmember in tarfile.py + './etc/apt/sources.list' not found" line 1886 in getmember in tarfile.py |
tags: | added: testcase |
affects: | ubiquity (Ubuntu Quantal) → apt-clone (Ubuntu Quantal) |
Changed in apt-clone (Ubuntu Quantal): | |
importance: | High → Critical |
milestone: | none → ubuntu-12.10 |
status: | Confirmed → Triaged |
Changed in apt-clone (Ubuntu Precise): | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → ubuntu-12.04.2 |
Changed in apt-clone (Ubuntu Precise): | |
milestone: | ubuntu-12.04.2 → ubuntu-12.04.3 |
Status changed to 'Confirmed' because the bug affects multiple users.