Why cannot use ppa:ondrej?












1















I want to use ondrej ppa to upgrade php version in ubuntu server. I have connected to internet connection.



sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php


I tried and got an error:



Cannot add PPA: 'ppa:ondrej/ubuntu/php'
'ondrej' user or team does not exist


I had tried using -E in the command and the error is the same.



about the proxy setting, I do not really understand. I do not know how to adjust the setting according the answer in here



I also tried this:



RUN apt-get -y install locales
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository -y ppa:ondrej/php


but the result is the same, the error cannot add ppa:ondrej



Thank you










share|improve this question

























  • Please edit your question and post the exact error message that you are receiving.

    – pa4080
    Jan 23 at 8:41











  • Which ubuntu version are you using?

    – dufte
    Jan 23 at 8:51











  • ubuntu version 16.04

    – joun
    Jan 23 at 8:59











  • Did you check the answers here and here? And if so, please edit the question and add the information what you tried.

    – RoVo
    Jan 23 at 9:39


















1















I want to use ondrej ppa to upgrade php version in ubuntu server. I have connected to internet connection.



sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php


I tried and got an error:



Cannot add PPA: 'ppa:ondrej/ubuntu/php'
'ondrej' user or team does not exist


I had tried using -E in the command and the error is the same.



about the proxy setting, I do not really understand. I do not know how to adjust the setting according the answer in here



I also tried this:



RUN apt-get -y install locales
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository -y ppa:ondrej/php


but the result is the same, the error cannot add ppa:ondrej



Thank you










share|improve this question

























  • Please edit your question and post the exact error message that you are receiving.

    – pa4080
    Jan 23 at 8:41











  • Which ubuntu version are you using?

    – dufte
    Jan 23 at 8:51











  • ubuntu version 16.04

    – joun
    Jan 23 at 8:59











  • Did you check the answers here and here? And if so, please edit the question and add the information what you tried.

    – RoVo
    Jan 23 at 9:39
















1












1








1








I want to use ondrej ppa to upgrade php version in ubuntu server. I have connected to internet connection.



sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php


I tried and got an error:



Cannot add PPA: 'ppa:ondrej/ubuntu/php'
'ondrej' user or team does not exist


I had tried using -E in the command and the error is the same.



about the proxy setting, I do not really understand. I do not know how to adjust the setting according the answer in here



I also tried this:



RUN apt-get -y install locales
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository -y ppa:ondrej/php


but the result is the same, the error cannot add ppa:ondrej



Thank you










share|improve this question
















I want to use ondrej ppa to upgrade php version in ubuntu server. I have connected to internet connection.



sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php


I tried and got an error:



Cannot add PPA: 'ppa:ondrej/ubuntu/php'
'ondrej' user or team does not exist


I had tried using -E in the command and the error is the same.



about the proxy setting, I do not really understand. I do not know how to adjust the setting according the answer in here



I also tried this:



RUN apt-get -y install locales
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository -y ppa:ondrej/php


but the result is the same, the error cannot add ppa:ondrej



Thank you







server ppa php7






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 24 at 3:43









wjandrea

9,10342363




9,10342363










asked Jan 23 at 8:00









jounjoun

85




85













  • Please edit your question and post the exact error message that you are receiving.

    – pa4080
    Jan 23 at 8:41











  • Which ubuntu version are you using?

    – dufte
    Jan 23 at 8:51











  • ubuntu version 16.04

    – joun
    Jan 23 at 8:59











  • Did you check the answers here and here? And if so, please edit the question and add the information what you tried.

    – RoVo
    Jan 23 at 9:39





















  • Please edit your question and post the exact error message that you are receiving.

    – pa4080
    Jan 23 at 8:41











  • Which ubuntu version are you using?

    – dufte
    Jan 23 at 8:51











  • ubuntu version 16.04

    – joun
    Jan 23 at 8:59











  • Did you check the answers here and here? And if so, please edit the question and add the information what you tried.

    – RoVo
    Jan 23 at 9:39



















Please edit your question and post the exact error message that you are receiving.

– pa4080
Jan 23 at 8:41





Please edit your question and post the exact error message that you are receiving.

– pa4080
Jan 23 at 8:41













Which ubuntu version are you using?

– dufte
Jan 23 at 8:51





Which ubuntu version are you using?

– dufte
Jan 23 at 8:51













ubuntu version 16.04

– joun
Jan 23 at 8:59





ubuntu version 16.04

– joun
Jan 23 at 8:59













Did you check the answers here and here? And if so, please edit the question and add the information what you tried.

– RoVo
Jan 23 at 9:39







Did you check the answers here and here? And if so, please edit the question and add the information what you tried.

– RoVo
Jan 23 at 9:39












1 Answer
1






active

oldest

votes


















1














Maybe the problem is caused by




  • your locale (language etc)

  • your computer's internet connection

  • some [other] installed PPA or program package


I tried with a live Ubuntu 16.04.1 LTS, and I could add the repository ppa:ondrej/php.



There was a warning: 'add-apt-repository is broken with non-UTF-8 locales.' and a tip with a work-around. See below.



ubuntu@ubuntu:~$ sudo add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions
are included. Only Supported Versions of PHP
(http://php.net/supported-versions.php) for Supported Ubuntu Releases
(https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life
PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmppiurqcxa/secring.gpg' created
gpg: keyring `/tmp/tmppiurqcxa/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmppiurqcxa/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK





share|improve this answer


























  • I am able to get through apt without error of "user or team ondrej does not exist". But I am stucked with the key...after press enter..it shows invalid http proxy (proxy address):bad URI and failed to add key

    – joun
    Jan 28 at 5:21











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112174%2fwhy-cannot-use-ppaondrej%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Maybe the problem is caused by




  • your locale (language etc)

  • your computer's internet connection

  • some [other] installed PPA or program package


I tried with a live Ubuntu 16.04.1 LTS, and I could add the repository ppa:ondrej/php.



There was a warning: 'add-apt-repository is broken with non-UTF-8 locales.' and a tip with a work-around. See below.



ubuntu@ubuntu:~$ sudo add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions
are included. Only Supported Versions of PHP
(http://php.net/supported-versions.php) for Supported Ubuntu Releases
(https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life
PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmppiurqcxa/secring.gpg' created
gpg: keyring `/tmp/tmppiurqcxa/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmppiurqcxa/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK





share|improve this answer


























  • I am able to get through apt without error of "user or team ondrej does not exist". But I am stucked with the key...after press enter..it shows invalid http proxy (proxy address):bad URI and failed to add key

    – joun
    Jan 28 at 5:21
















1














Maybe the problem is caused by




  • your locale (language etc)

  • your computer's internet connection

  • some [other] installed PPA or program package


I tried with a live Ubuntu 16.04.1 LTS, and I could add the repository ppa:ondrej/php.



There was a warning: 'add-apt-repository is broken with non-UTF-8 locales.' and a tip with a work-around. See below.



ubuntu@ubuntu:~$ sudo add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions
are included. Only Supported Versions of PHP
(http://php.net/supported-versions.php) for Supported Ubuntu Releases
(https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life
PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmppiurqcxa/secring.gpg' created
gpg: keyring `/tmp/tmppiurqcxa/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmppiurqcxa/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK





share|improve this answer


























  • I am able to get through apt without error of "user or team ondrej does not exist". But I am stucked with the key...after press enter..it shows invalid http proxy (proxy address):bad URI and failed to add key

    – joun
    Jan 28 at 5:21














1












1








1







Maybe the problem is caused by




  • your locale (language etc)

  • your computer's internet connection

  • some [other] installed PPA or program package


I tried with a live Ubuntu 16.04.1 LTS, and I could add the repository ppa:ondrej/php.



There was a warning: 'add-apt-repository is broken with non-UTF-8 locales.' and a tip with a work-around. See below.



ubuntu@ubuntu:~$ sudo add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions
are included. Only Supported Versions of PHP
(http://php.net/supported-versions.php) for Supported Ubuntu Releases
(https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life
PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmppiurqcxa/secring.gpg' created
gpg: keyring `/tmp/tmppiurqcxa/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmppiurqcxa/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK





share|improve this answer















Maybe the problem is caused by




  • your locale (language etc)

  • your computer's internet connection

  • some [other] installed PPA or program package


I tried with a live Ubuntu 16.04.1 LTS, and I could add the repository ppa:ondrej/php.



There was a warning: 'add-apt-repository is broken with non-UTF-8 locales.' and a tip with a work-around. See below.



ubuntu@ubuntu:~$ sudo add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions
are included. Only Supported Versions of PHP
(http://php.net/supported-versions.php) for Supported Ubuntu Releases
(https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life
PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmppiurqcxa/secring.gpg' created
gpg: keyring `/tmp/tmppiurqcxa/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmppiurqcxa/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 23 at 10:01

























answered Jan 23 at 9:55









sudodussudodus

24.1k32875




24.1k32875













  • I am able to get through apt without error of "user or team ondrej does not exist". But I am stucked with the key...after press enter..it shows invalid http proxy (proxy address):bad URI and failed to add key

    – joun
    Jan 28 at 5:21



















  • I am able to get through apt without error of "user or team ondrej does not exist". But I am stucked with the key...after press enter..it shows invalid http proxy (proxy address):bad URI and failed to add key

    – joun
    Jan 28 at 5:21

















I am able to get through apt without error of "user or team ondrej does not exist". But I am stucked with the key...after press enter..it shows invalid http proxy (proxy address):bad URI and failed to add key

– joun
Jan 28 at 5:21





I am able to get through apt without error of "user or team ondrej does not exist". But I am stucked with the key...after press enter..it shows invalid http proxy (proxy address):bad URI and failed to add key

– joun
Jan 28 at 5:21


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112174%2fwhy-cannot-use-ppaondrej%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕