Better error handling of apt-add-repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I issue "sudo add-apt-repository ppa:ubuntu-
I get something like this.
Traceback (most recent call last):
File "/usr/bin/
ppa_info = get_ppa_
File "/usr/lib/
curl.perform()
pycurl.error: (6, "Couldn't resolve host 'launchpad.net'")
Some other users reported that they got similar things for unknown reasons.
(From http://
Traceback (most recent call last):
File "/usr/bin/
ppa_info = get_ppa_
File "/usr/lib/
curl.perform()
pycurl.error: (7, "couldn't connect to host")
Errors are possible and acceptable.
However, such error messages mentioned above are insane.
Please fix it.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-
ProcVersionSign
Uname: Linux 3.2.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Thu Sep 20 12:14:21 2012
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no username)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.