apt-clone crashed with KeyError in getmember(): "filename './etc/apt/sources.list.d' not found"

Bug #745397 reported by jerrylamos
58
This bug affects 7 people
Affects Status Importance Assigned to Milestone
apt-clone (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: apt-clone

Just installing 29 March Daily Build on IBM ThinkCentre A30 and got this error. Install was well along. Install finished I'll see if it worked next.

Jerry

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: apt-clone 0.1.2
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Tue Mar 29 21:20:47 2011
ExecutablePath: /usr/bin/apt-clone
InterpreterPath: /usr/bin/python2.7
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Beta 1 i386 (20110329.1)
ProcCmdline: /usr/bin/python /usr/bin/apt-clone restore-new-distro /target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz natty --destination /target
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LC_COLLATE=C
PythonArgs: ['/usr/bin/apt-clone', 'restore-new-distro', '/target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz', 'natty', '--destination', '/target']
SourcePackage: apt-clone
Title: apt-clone crashed with KeyError in getmember(): "filename './etc/apt/sources.list.d' not found"
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
jerrylamos (jerrylamos) wrote :
Revision history for this message
jerrylamos (jerrylamos) wrote :

After install with above error, booted O.K.once.

apt-get would not work.

Rebooted in recovery mode and tried "fix broken packages" which failed to run.

Boot now does not have any desktop, just the purple background.

Note there is no /etc/apt/sources.list

Will do a re-install.

Jerry

visibility: private → public
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This is fixed in my local branch and will be part of the next upload.

Changed in apt-clone (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
importance: Critical → High
Michael Vogt (mvo)
Changed in apt-clone (Ubuntu):
status: In Progress → Fix Committed
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-clone - 0.1.3

---------------
apt-clone (0.1.3) natty; urgency=low

  * debian/control:
    - add recommends on dpkg-repack (LP: #741269), thanks to Alin Andrei
  * apt_clone.py:
    - run fakeroot with "-u" (LP: #741273), thanks to Alin Andrei
    - do not fail if sources.list.d does not exist (LP: #745397)
  * .bzr-builddeb/default.conf:
    - run tests in the pre-build hook
 -- Michael Vogt <email address hidden> Thu, 31 Mar 2011 09:26:44 +0200

Changed in apt-clone (Ubuntu):
status: Fix Committed → Fix Released
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.