apt-add-repository fails to add key for PPA with non-ASCII name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If the terminal is not configured for a UTF-8 locale, the following command fails:
# sudo add-apt-repository ppa:cz.
The BIRD Internet Routing Daemon PPA (by upstream & .deb maintainer)
More info: https:/
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpsbr85z
gpg: keyring `/tmp/tmpsbr85z
gpg: requesting key F9C59A45 from hkp server keyserver.
gpg: /tmp/tmpsbr85z9
gpg: key F9C59A45: public key "Launchpad Datov� schr�nky" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
'ascii' codec can't decode byte 0xc3 in position 86: ordinal not in range(128)
I'd expect it to work, but fail to display the characters that aren't supported.
While I have a workaround, which is to switch locale, the context is that I'm trying to instruct the users of my application on how to install the above PPA and that's a lot more complicated if I have to explain to them how to check the locale and install a UTF-8 version of their locale and switch to it.
---
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
CurrentDesktop: GNOME-Flashback
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2014-08-28 (1343 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Package: software-
PackageArchitec
ProcVersionSign
Tags: xenial
Uname: Linux 4.4.0-119-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-08-01 (638 days ago)
UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo
_MarkForUpload: True
apport information