aptsources.sourceslist or softwareproperties.ppa calling out to system-image-cli erroneously

Bug #1484470 reported by Daniel Holbach on 2015-08-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Undecided
Unassigned

Bug Description

daniel@daydream:~$ sudo add-apt-repository ppa:snappy-dev/snapcraft-daily
usage: system-image-cli [-h] [--version] [-C DIRECTORY] [-b BUILD]
                        [-c CHANNEL] [-d DEVICE] [-f FILTER] [-g]
                        [--no-reboot] [-i] [-n] [-v] [--progress PROGRESS]
                        [-p PERCENTAGE] [--list-channels] [--factory-reset]
                        [--production-reset] [--switch CHANNEL]
                        [--show-settings] [--set KEY=VAL] [--get KEY]
                        [--del KEY]
system-image-cli: error:
Configuration directory not found: /etc/system-image/config.d
usage: system-image-cli [-h] [--version] [-C DIRECTORY] [-b BUILD]
                        [-c CHANNEL] [-d DEVICE] [-f FILTER] [-g]
                        [--no-reboot] [-i] [-n] [-v] [--progress PROGRESS]
                        [-p PERCENTAGE] [--list-channels] [--factory-reset]
                        [--production-reset] [--switch CHANNEL]
                        [--show-settings] [--set KEY=VAL] [--get KEY]
                        [--del KEY]
system-image-cli: error:
Configuration directory not found: /etc/system-image/config.d
usage: system-image-cli [-h] [--version] [-C DIRECTORY] [-b BUILD]
                        [-c CHANNEL] [-d DEVICE] [-f FILTER] [-g]
                        [--no-reboot] [-i] [-n] [-v] [--progress PROGRESS]
                        [-p PERCENTAGE] [--list-channels] [--factory-reset]
                        [--production-reset] [--switch CHANNEL]
                        [--show-settings] [--set KEY=VAL] [--get KEY]
                        [--del KEY]
system-image-cli: error:
Configuration directory not found: /etc/system-image/config.d
 Snapcraft daily builds, use only at your own risk!
 Mehr Informationen: https://launchpad.net/~snappy-dev/+archive/ubuntu/snapcraft-daily
Drücken Sie [ENTER], um fortzufahren oder Strg-c, um das Hinzufügen abzubrechen

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: python-apt 1.0.0~beta3ubuntu1
ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu6
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Aug 13 12:48:15 2015
InstallationDate: Installed on 2015-04-30 (104 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: python-apt
SystemImageInfo: Error: command ['system-image-cli', '-i'] failed with exit code 2:
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Daniel Holbach (dholbach) wrote :
Daniel Holbach (dholbach) wrote :

Confirmed that John's fix (http://pastebin.ubuntu.com/12070249/) solves the problem.

Julian Andres Klode (juliank) wrote :

This is fixed in upstream 1.0, the bug number linked is the wrong one though unfortunately.

I asked infinity about syncing this half a month ago, as it's the final release of 1.0, and fixes another important bug that is currently in vivid for example, namely other tools complaining about invalid PEP440 version numbers for python-apt, which has happened once again since the last upload to wily.

Changed in python-apt (Ubuntu):
status: New → Fix Committed
Julian Andres Klode (juliank) wrote :

As I wrote in the previous comment, this was fixed in 1.0; which is merged since a long time, so let's clean this up by closing it :)

Changed in python-apt (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers