-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add PPA Key #56
Comments
Running on Ubuntu I do like this to get his PPA's working:
|
I found the fix was for me to set the language to UTF-8.
Edit: As pointed out by @SmallRoomLabs some Ubuntu installs don't have To add it run |
The AMI that I use on AWS doesn't have the language pack installed by default so I had to install language-pack-en-base. Just doing the locale-gen didn't cut it for me. But even after 22 years of screwing around with Linux (0.99pl3 was the kernel on my first dist) I'm still more than just a bit confused when it comes to character- & language encodings. ;-) |
Unfortunately that's something broken by Ubuntu and has to be fixed by Ubuntu. I will leave this open for others to find. Thanks for the workaround... |
JFTR this is shortened version that should work (run as root):
|
@oerdnj has this been reported to ubuntu? And alternatively while I fully understand that it's not your fault, would it be an option for you to use a transliterated version of your name instead of the full unicode one? That would be a good workaround I guess. |
Should I also change my official name so your copy & paste buffer doesn't get cluttered with few more characters? No, I am definitely not going to use transliterated name because it's 2015 and I like my name as it is. |
Eh I meant no offense. I just meant it would be a pragmatic way to reduce
the load of duplicate support issues about this problem. I agree with you
though that in this day and age Unicode usage shouldn't cause such breakage.
|
I have added instructions to every major PPA description how to circumvent this issue. Hope this fixes most problems. |
JFTR: |
Dockerfile part for official Ubuntu 14 docker image which worked for me
|
@rvadym your solution is excellent, there is only a small issue, you missed a |
@ktamas77 I think you're right. It is just part of much bigger config, so I might miss some small details accidentally. Thanks for pointing this out. |
With the current locale setting
I still got the warning below. Is this something I can ignore?
|
Issue add-apt-repository is broken with non-UTF-8 locales, see oerdnj/deb.sury.org#56 Workaround added to dockerfile
I have done what is suggested above and added the following two lines to the top of my install.sh script.
Yet I still get the following message:
Am I missing something? |
I am not able to run it every time i get below erroe can some one please help |
No matter what I do, this is still an issue for me on 16.04. I have tried the this fix multiple times in different ways (using Ansible) and none of them work. The end result is always:
Edit: See below, seems to have been something screwy with the state of SSL on my OS. |
|
@todeveni did not work, same error. |
@shadowhand Works for me 🙂 Here's the full vagrant setup I tested it on. |
Well, I was having some other SSL issues with composer so I decided to reinstall my OS completely and now everything appears to be working. 🧐 |
I spoke too soon. Every time there is an ansible package install it will fail ~50% of the time. I can even SSH into the vagrant machine and manually run |
@emilklindt You're trying to add Ubuntu repo to Debian. Doesn't work that way. |
I'd like to add that you can just then proceed as normal (ie: sudo apt-get install -y php7.2) etc. |
Stop hijacking old issues for unrelated chitchat. |
Also asking for other user contact details here, will get you blocked. |
Hey,
Trying to add the PPA key but it seems to always fail due to the your name in the PPA Key.
The text was updated successfully, but these errors were encountered: