PPA adding is failed with an ERROR ERROR: '~openjdk-r' user or team does not exist.

Asked by balachandar

One of my script that is executing to install some setup in Ubuntu VM that is running on Azure Cloud, in which the following command got failed to add into ppa. If i tried to execute the same command seperately in terminal also produces the same following error.

Cannot add PPA: 'ppa:~openjdk-r/ubuntu/ppa'.
ERROR: '~openjdk-r' user or team does not exist.

I have already added the necessary proxy settings into the apt.conf files,even then i have got the above error.

For your reference i have added one more error for the same kind of command execution.

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
Cannot add PPA: 'ppa:~ubuntu-toolchain-r/ubuntu/test'.
ERROR: '~ubuntu-toolchain-r' user or team does not exist.

Kindly look at this issue and let me know if any one faced already.

Question information

Language:
English Edit question
Status:
Answered
For:
sources-list Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes you could add the option -m (=--massive-debug) to the command.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Can you open the web page https://launchpad.net/api/1.0/~openjdk-r ?

If no, then you have a general connection problem, if yes, then I assume that there is a problem with proxy settings for apt.

The commands

sudo grep -R roxy /etc/apt/*
grep roxy /etc/environment
echo $http_proxy
echo $ftp_proxy
grep roxy /etc/bash.bashrc
grep roxy ~/.bashrc

will probably list all proxy settings (mask passwords in case that they are shown!)

Can you help with this problem?

Provide an answer of your own, or ask balachandar for more information if necessary.

To post a message you must log in.