[Bug 1768552] [NEW] apt-add-repository fails to add key for PPA with non-ASCII name
Shaun Crampton
shaun at tigera.io
Wed May 2 14:17:06 UTC 2018
Public bug reported:
If the terminal is not configured for a UTF-8 locale, the following
command fails:
# sudo add-apt-repository ppa:cz.nic-labs/bird
The BIRD Internet Routing Daemon PPA (by upstream & .deb maintainer)
More info: https://launchpad.net/~cz.nic-labs/+archive/ubuntu/bird
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpsbr85z99/secring.gpg' created
gpg: keyring `/tmp/tmpsbr85z99/pubring.gpg' created
gpg: requesting key F9C59A45 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpsbr85z99/trustdb.gpg: trustdb created
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:Unity
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-properties-common 0.96.20.7
PackageArchitecture: all
ProcVersionSignature: Ubuntu 4.4.0-119.143-generic 4.4.114
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
** Affects: software-properties (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-collected xenial
** Tags added: apport-collected xenial
** Description changed:
If the terminal is not configured for a UTF-8 locale, the following
command fails:
# sudo add-apt-repository ppa:cz.nic-labs/bird
The BIRD Internet Routing Daemon PPA (by upstream & .deb maintainer)
More info: https://launchpad.net/~cz.nic-labs/+archive/ubuntu/bird
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpsbr85z99/secring.gpg' created
gpg: keyring `/tmp/tmpsbr85z99/pubring.gpg' created
gpg: requesting key F9C59A45 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpsbr85z99/trustdb.gpg: trustdb created
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.
+ 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:Unity
+ 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-properties-common 0.96.20.7
+ PackageArchitecture: all
+ ProcVersionSignature: Ubuntu 4.4.0-119.143-generic 4.4.114
+ 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
--
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/1768552
Title:
apt-add-repository fails to add key for PPA with non-ASCII name
Status in software-properties package in Ubuntu:
New
Bug description:
If the terminal is not configured for a UTF-8 locale, the following
command fails:
# sudo add-apt-repository ppa:cz.nic-labs/bird
The BIRD Internet Routing Daemon PPA (by upstream & .deb maintainer)
More info: https://launchpad.net/~cz.nic-labs/+archive/ubuntu/bird
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpsbr85z99/secring.gpg' created
gpg: keyring `/tmp/tmpsbr85z99/pubring.gpg' created
gpg: requesting key F9C59A45 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpsbr85z99/trustdb.gpg: trustdb created
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:Unity
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-properties-common 0.96.20.7
PackageArchitecture: all
ProcVersionSignature: Ubuntu 4.4.0-119.143-generic 4.4.114
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1768552/+subscriptions
More information about the foundations-bugs
mailing list