[Bug 559008] Re: UnicodeDecodeError when adding a ppa with add-apt-repository
Robert Roth
evfool at gmail.com
Sat Feb 11 04:14:03 UTC 2012
Is this still an issue with Oneiric? I have tried with the latest development issue, and adding the PPAs listed in this bug works as expected, so I would say this has been fixed and should be set as such.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad
** Changed in: software-properties (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/559008
Title:
UnicodeDecodeError when adding a ppa with add-apt-repository
Status in “software-properties” package in Ubuntu:
Incomplete
Bug description:
$ sudo add-apt-repository ppa:riccetn/aegisub
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/dist-packages/softwareproperties/ppa.py", line 59, in run
self.add_ppa_signing_key(self.ppa_path)
File "/usr/lib/python2.6/dist-packages/softwareproperties/ppa.py", line 87, in add_ppa_signing_key
print "Error reading %s: %s" % (lp_url, e)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 39: ordinal not in range(128)
The repository is added:
$ cat /etc/apt/sources.list.d/riccetn-aegisub-lucid.list
deb http://ppa.launchpad.net/riccetn/aegisub/ubuntu lucid main
The key is not:
$ sudo apt-key list
/etc/apt/trusted.gpg
--------------------
pub 1024D/437D05B5 2004-09-12
uid Ubuntu Archive Automatic Signing Key <ftpmaster at ubuntu.com>
sub 2048g/79164387 2004-09-12
pub 1024D/FBB75451 2004-12-30
uid Ubuntu CD Image Automatic Signing Key <cdimage at ubuntu.com>
Works fine in en_US.UTF-8 locale:
$ LC_ALL=en_US.UTF-8 sudo add-apt-repository ppa:riccetn/aegisubExecuting: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv A8AB12C6D9D6695D11C6D61DFCBFDF60D7BFC706
gpg: requesting key D7BFC706 from hkp server keyserver.ubuntu.com
gpg: key D7BFC706: public key "Launchpad Aegisub PPA by riccetn" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ locale
LANG=sv_SE.utf8
LC_CTYPE="sv_SE.utf8"
LC_NUMERIC="sv_SE.utf8"
LC_TIME="sv_SE.utf8"
LC_COLLATE="sv_SE.utf8"
LC_MONETARY="sv_SE.utf8"
LC_MESSAGES="sv_SE.utf8"
LC_PAPER="sv_SE.utf8"
LC_NAME="sv_SE.utf8"
LC_ADDRESS="sv_SE.utf8"
LC_TELEPHONE="sv_SE.utf8"
LC_MEASUREMENT="sv_SE.utf8"
LC_IDENTIFICATION="sv_SE.utf8"
LC_ALL=
$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
$ LC_ALL=en_US.UTF-8 apt-cache policy python-software-properties
python-software-properties:
Installed: 0.75.9
Candidate: 0.75.9
Version table:
*** 0.75.9 0
500 http://se.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/559008/+subscriptions
More information about the foundations-bugs
mailing list