add-apt-repository doesn't add key when behind a proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt
Hi,
I've run into an error while trying to add a PPA repository using add-apt-repository.
Ubuntu Version : 10.04
apt version : 0.7.25.3ubuntu7
(up-to-date at the time of the error/reporting)
I'm behind an HTTP proxy, updating/installing using Synaptic/apt works fine.
Here's what I did and whet happened:
$ sudo add-apt-repository ppa:michael-
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
print "Error reading %s: %s" % (lp_url, e)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 43: ordinal not in range(128)
This PPA is to install Skype. (we use it at the office...)
I got the line from http://
After launching the command, the terminal hangs for 10/20 seconds (^C doesn't do anything), then the error message is displayed.
The return code ($?) is 0; but I don't know if it's from sudo or apt.
The result is that the repository is added but not the PGP key.
Changed in software-properties (Ubuntu): | |
status: | New → Confirmed |
An update about this problem :
I've tried from home (so not behind the proxy) and it works fine : the PGP key is added, and no error message is displayed.
So I guess the problem is proxy related, may be specific to the proxy settings we have at work.
Anyway, the error message could more... user friendly. ;-)