[Bug 1119621] Re: KeyError: "filename './etc/apt/sources.list' not found" during precise desktop installation on a system that already had precise installed.

Brian Murray brian at ubuntu.com
Tue Apr 16 23:24:48 UTC 2013


** Changed in: ubiquity (Ubuntu)
   Importance: Low => High

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

Title:
   KeyError: "filename './etc/apt/sources.list' not found" during
  precise desktop installation on a system that already had precise
  installed.

Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  The following crash occurred during a precise desktop installation on
  a system that already had precise installed. The crash occurs with VMs
  and on hardwares with all three desktop images (20130208 i386,amd64
  and amd64+mac)

  Feb  8 17:33:39 ubuntu ubiquity: Traceback (most recent call last):
  Feb  8 17:33:39 ubuntu ubiquity:   File "/usr/bin/apt-clone", line 117, in <module>
  Feb  8 17:33:39 ubuntu ubiquity:     args.source, args.destination, args.new_distro_codename, protect_installed)
  Feb  8 17:33:39 ubuntu ubiquity:   File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 327, in restore_state
  Feb  8 17:33:39 ubuntu ubiquity:     self._restore_sources_list(statefile, targetdir)
  Feb  8 17:33:39 ubuntu ubiquity:   File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 366, in _restore_sources_list
  Feb  8 17:33:39 ubuntu ubiquity:     tar.extract(self.TARPREFIX+"etc/apt/sources.list", targetdir)
  Feb  8 17:33:39 ubuntu ubiquity:   File "/usr/lib/python2.7/tarfile.py", line 2076, in extract
  Feb  8 17:33:39 ubuntu ubiquity:     tarinfo = self.getmember(member)
  Feb  8 17:33:39 ubuntu ubiquity:   File "/usr/lib/python2.7/tarfile.py", line 1796, in getmember
  Feb  8 17:33:39 ubuntu ubiquity:     raise KeyError("filename %r not found" % name)

  
  The steps to reproduce:
  (The same as comment #9 on bug 1066347)

  1. Install precise (select 'Erase disk and install ubuntu' on the 'Installation type' screen)
  2. Finish the installation, reboot and login
  3. Do another installation on the same device with NO NETWORK (select 'Something else' on the 'Installation type' screen)
  4. 'Change' the existing ext-4 partition to be the root partition of the new installation and leave the others (swap) untouched. Do not format the chaned partition.
  5. Continue the installation entering the same username/password used for the previous installation
  6. The crash can be observed at the end of the installation.


  The logs are attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1119621/+subscriptions




More information about the foundations-bugs mailing list