I've uploaded this to the precise -proposed queue, thanks for the
reminder!

** Description changed:

  Quantal Desktop 20121012.3
  
  TEST CASE:
- 1. Install Ubuntu 12.10 once
+ 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/apt-clone", line 119, in 
<module>
  Oct 13 16:42:42 ubuntu ubiquity:     args.source, args.destination, 
args.new_distro_codename, protect_installed)
  Oct 13 16:42:42 ubuntu ubiquity:   File 
"/usr/lib/python3/dist-packages/apt_clone.py", line 343, in restore_state
  Oct 13 16:42:42 ubuntu ubiquity:     self._restore_sources_list(statefile, 
targetdir)
  Oct 13 16:42:42 ubuntu ubiquity:   File 
"/usr/lib/python3/dist-packages/apt_clone.py", line 387, in 
_restore_sources_list
  Oct 13 16:42:42 ubuntu ubiquity:     
tar.extract(self.TARPREFIX+"etc/apt/sources.list", targetdir)
  Oct 13 16:42:42 ubuntu ubiquity:   File "/usr/lib/python3.2/tarfile.py", line 
2168, in extract
  Oct 13 16:42:42 ubuntu ubiquity:     tarinfo = self.getmember(member)
  Oct 13 16:42:42 ubuntu ubiquity:   File "/usr/lib/python3.2/tarfile.py", line 
1886, in getmember
  Oct 13 16:42:42 ubuntu ubiquity:     raise KeyError("filename %r not found" % 
name)
  Oct 13 16:42:42 ubuntu ubiquity: KeyError: "filename './etc/apt/sources.list' 
not found"
  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/ubiquity/plugininstall.py", line 264, in run
  Oct 13 16:42:42 ubuntu plugininstall.py:     self.apt_clone_restore()
  Oct 13 16:42:42 ubuntu plugininstall.py:   File 
"/usr/share/ubiquity/plugininstall.py", line 1520, in apt_clone_restore
  Oct 13 16:42:42 ubuntu plugininstall.py:     
preexec_fn=install_misc.debconf_disconnect)
  Oct 13 16:42:42 ubuntu plugininstall.py:   File 
"/usr/lib/python3.2/subprocess.py", line 489, in check_call
  Oct 13 16:42:42 ubuntu plugininstall.py:     raise 
CalledProcessError(retcode, cmd)
  Oct 13 16:42:42 ubuntu plugininstall.py: subprocess.CalledProcessError: 
Command '['apt-clone', 'restore-new-distro', 
'/target/ubiquity-apt-clone/apt-clone-state-ubuntu.tar.gz', 'quantal', 
'--destination', '/target']' returned non-zero exit status 1
  
- ProblemType: Bug
- DistroRelease: Ubuntu 12.10
+ ProblemType: BugDistroRelease: Ubuntu 12.10
  Package: ubiquity 2.12.11
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  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/preseed/ubuntu.seed boot=casper 
initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121012.3)
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- SourcePackage: ubiquity
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bashSourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066347

Title:
  "Reinstall Ubuntu" failed - apt-clone crashes with: KeyError:
  "filename './etc/apt/sources.list' not found" line 1886 in getmember
  in tarfile.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1066347/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to