Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [add-apt-repository]

A command line utility to add and remove APT software repositories, such as PPAs. It is part of the software-properties-common package and installed in Ubuntu by default.

201
votes
12answers
315k views

How can I get a list of all repositories and PPAs from the command line into an install script?

I know how to list all packages installed on my system. But how could I get a list of all repositories and PPA's into a script that I can run on a new machine to replicate the repository setup ...
130
votes
1answer
500k views

How to install 'add-apt-repository' using the terminal? [duplicate]

I want to install: add-apt-repository ppa:ricotz/testin It is showing: The program add-apt-repository is currently not installed. You can install it by typing: sudo apt-get install python-software-...
114
votes
13answers
205k views

How do I get add-apt-repository to work through a proxy?

I'm trying to follow the "Installing Cross Toolchain on Ubuntu 10.04 (Lucid) and 10.10 (Maverick) Hosts" instructions on wiki.linaro.org (on my Ubuntu 10.04 VM). The first step is: sudo add-apt-...
43
votes
2answers
5k views

What is the difference between add-apt-repository & apt-add-repository?

Difference between add-apt-repository & apt-add-repository ?
41
votes
2answers
29k views

Difference between “ppa-purge” and “add-apt-repository -r”?

What is the main difference between ppa-purge and add-apt-repository -r. Which one better clear residual items and reason to use one over another? Does add-apt-repository -r should do what ppa-purge ...
41
votes
10answers
122k views

How to use a .iso image as a CD-ROM Repository?

I have all images of Debian, Ubuntu and Ubuntustudio as .iso. How can I use them as repository to install my desired packages with sudo apt-get install package-name? I easily mount the .iso file with ...
24
votes
1answer
114k views

Cannot Add PPA Behind Proxy Ubuntu 14.04 [duplicate]

I am unable to add a repository via the command line on Ubuntu 14.04. Apt-get works perfectly fine, and I am able to update the system. I have configured my /etc/apt/apt.config file as follows: ...
18
votes
2answers
12k views

Check for and remove unused PPAs

Since the installation, I have added not too few PPAs to my 15.04 system because I wanted a specific application. But sometimes I have removed that package later again, because it did not work, was ...
17
votes
9answers
38k views

Adding PPA's results in “Couldn't resolve host 'launchpad.net'”

For example, after running this command: sudo add-apt-repository ppa:tualatrix/ppa I get the following output : Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 125, in ...
14
votes
2answers
47k views

Remove PPAs: “add-apt-repository --remove” vs. “rm /etc/apt/sources.list.d/???.list”

According to How can PPAs be removed? there are mainly 3 methods to get rid of a PPA: Use the add-apt-repository command: sudo add-apt-repository --remove ppa:???/??? Manually remove the .list file:...
14
votes
4answers
18k views

How do I add a repository from behind a proxy?

I've a problem at the office. We're behind a proxy (which is set and applied at ubuntu proxy settings) and when I try to add a repository from terminal, I get: Error reading --some url here--: ...
13
votes
3answers
21k views

No gpg key from behind a firewall

Just stumbled over this closed thread here: GPG Error while running apt-get Same problem here, Ubuntu 12.04 behind a firewall and proxy. I dont think that matter is duplicate of the given topic. So ...
12
votes
2answers
742 views

What is the meaning of `ppa:x/y`

I know how to add a PPA to Ubuntu. But I don't know what this ppa:x/y PPA format means! For instance : # (VLC PPA) sudo add-apt-repository -y ppa:videolan/stable-daily What is videolan and what is ...
10
votes
4answers
37k views

How do I install Myunity on 12.10?

Basically as is the title how do you install Myunity on 12.10? I've tried adding the repository ppa:myunity/ppa and performing: sudo add-apt-repository ppa:myunity/ppa sudo apt-get update sudo apt-...
9
votes
1answer
4k views

add-apt-repository missing from mini.iso

I downloaded the Ubuntu 12.10 mini.iso today. My intentions were to install the Razor-QT ppa. I found this here sudo apt-get install python-software-properties Did not work. I can't locate the ...
8
votes
5answers
37k views

How to install ppa packages in an apt-get style

I want to install ppa packages in a sudo apt-get install <program> style. I don't want to google for the ppa name and I don't want to execute add-apt-repository before executing apt-get. I just ...
8
votes
2answers
892 views

How can I figure out the add-apt-repository command by looking at a launchpad project?

To install programs from launchpad, you can add a repository to the software sources list... I know how to look at a launchpad page and add the repository & public key through the "Software ...
8
votes
4answers
12k views

add-apt-repository returns unexpected length error

Ubuntu 11.10 (oneiric ocelot): When I try to add a new ppa through add-apt-repository, it returns with: rene@rene-MS-N104:~$ sudo add-apt-repository ppa:tualatrix/ppa Traceback (most recent call last)...
8
votes
1answer
2k views

Can I call other dpkg or apt-* commands within my preinst scripts?

As part of my custom (in-house) .deb file that will be deployed to Ubuntu 12.04 devices, I need to add several PPA repositories, run apt-get update, and then install packages from those PPAs. Can ...
7
votes
4answers
22k views

How can I get add-apt-repository to work?

Whenever I try to add a repository via the command line, I get the following error message: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 125, in <module> ...
7
votes
1answer
28k views

how to disable third party repositories ubuntu 12.04

I wanted to install skype but as I installed the software, it was not correctly installed and gave an error on update that I have to disable third party repository. I want to know what's that mean, ...
6
votes
1answer
7k views

gpgkeys: key F60F4B3D7FA2AF80 not found on keyserver

How can I fix this issue? mona@pascal:~$ sudo apt-get update Ign file: InRelease Get:1 file: Release.gpg [181 B] Get:2 file: Release [196 B] ...
6
votes
0answers
6k views

How can I install add-apt-repository [duplicate]

Possible Duplicate: How to add a PPA on a server? When I want to use a package from Launchpad it tells me to execute the command: sudo add-apt-repository ppa:user/ppa-name However, on my ...
5
votes
1answer
226 views

Use of PPA to send simple updates

I wish to setup a PPA to send simple changes to several hundreds of ubuntu 12.04 machines in the field. Simple changes mean that bash script changes and configuration file updates and possibly other ...
4
votes
1answer
617 views

“Signing key does not exist” after successful upload on Launchpad

I have added my package as a ppa successfully (it says Successfully uploaded packages with the command dput ppa:user/my_package my_package_0.3-1_source.changes). However, It says that the signing key ...
4
votes
1answer
2k views

Why doesn't archive.ubuntu.com use HTTPS? [duplicate]

I always see instructions for adding the Universe and Multiverse repositories that look something like the following: sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -...
4
votes
3answers
18k views

Need help “sudo: add-apt-repository: command not found”

There are lots of "add-apt-repository" posts out there, but I think I have seen and tried the solutions in most of them. I am trying to install Java on Ubuntu Server 12.04. Some searching lead to the ...
4
votes
0answers
786 views

Can't add PPA using add-apt-repository: SSL support not available

Whenever I try to add any PPA to install any stuff, I get the following error: nikunj@nikunj-DL-H61MXE-V:~$ sudo add-apt-repository ppa:ravefinity-project/ppa Traceback (most recent call last): ...
3
votes
1answer
10k views

apt-add-repository: Command not found

If I try something like: sudo add-apt-repository ppa:graphics-drivers/ppa it raises an error: Command not found. So I installed the repository with: apt-get install software-properties-common and ...
3
votes
5answers
22k views

Unable to Add ppa in my newly installed ubuntu 16.04 LTS

I am trying to install ppa:ondrej/php on Ubuntu 16.04 When I enter the command: sudo add-apt-repository ppa:ondrej/php It gives me this message: Cannot add PPA: 'ppa:~ondrej/ubuntu/php'. ERROR: '~...
3
votes
3answers
18k views

Can't install Unetbootin in Ubuntu 18.04 Live Boot Session

I booted my laptop with Ubuntu 18.04 (Try Ubuntu without installing method). Then, I ran the following command: sudo add-apt-repository universe sudo add-apt-repository multiverse sudo add-apt-...
3
votes
1answer
832 views

Is is possible to skip the confirmation step while adding a repository?

When I add a repository by running sudo add-apt-repository ppa:ubuntu-x-swat/x-updates It outputs this dialog: Updated versions of X.org drivers, libraries, etc. for Ubuntu. This PPA is for stable ...
3
votes
1answer
10k views

Adding repository error

I'm trying to add a repository on my VPS with Ubuntu 12.04 installed using this command : sudo add-apt-repository ppa:chris-lea/node.js But terminal is showing command not found Then I've ...
3
votes
1answer
1k views

add-apt-repository and update and install package

I find add-apt-repository very userful and use it quite often. I was wondering why it doesn't provide an option to do the add + update + install package in one command. I was planning to make a script ...
3
votes
4answers
7k views

installing ansible on ubuntu

I'm following this document to install ansible: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-14-04 I'm try to add ansible to my ubuntu repositories ...
3
votes
1answer
12k views

Solution to no ultimately trusted keys found

I tried installing tlp and Ubuntu tweak on my new Ubuntu (previously I had the same Ubuntu, but reinstalled it). When adding their sources, I got the error no ultimately trusted keys found. In the ...
3
votes
1answer
15k views

apt-get install python-software-properties dependency problems

So, I was trying to add a repository using add-apt-repository and I got this error: sudo add-apt-repository ppa:gijzelaar/opencv2 [sudo] password for foo: Traceback (most recent call last): File "/...
3
votes
1answer
85 views

I deleted the partition volume where ubuntu 14.04 LTS was installed. now i cant access windows

I am stuck at grub rescue. I tried booting Ubuntu from a live USB, then doing this sudo app-apt-repository ppa:yannubuntu/boot-repair the this error came up. Please check that the PPA name or ...
3
votes
3answers
5k views

Not able to add repo when APT is using a proxy connection

I have ubuntu 12.10 working on my system. I have tried many time to add repo but every time i tried i got the same error as in this case. $ sudo add-apt-repository ppa:scopes-packagers/ppa Cannot ...
3
votes
1answer
628 views

Wine 3.x repository 404 error

I've been trying to install wine but the repository doesn't get added. I have added the release key it doesn't seem to recognize that either. Please help... >.< $ sudo apt-add-repository https://...
3
votes
1answer
319 views

Can not add repositories in Ubuntu GNOME 17.04

I have tried adding various third party repositories, and I get the same error with all of them. When I try to add third party repositories through the GUI "Other Software" section, I can open the ...
3
votes
0answers
147 views

Remove all non-existent repositories in Ubuntu [duplicate]

How do I remove all repositories which don’t exist for one reason or another? I am wondering if there is a command to do this, so that I can remove all such repositories at once. I am running Ubuntu ...
3
votes
1answer
658 views

Unable to add ppa repository (14.04)

There are no proxies involved and I have already tried (repeatedly) to reinstall my ca-certificates but I still am unable to add ppa repositories. $ sudo apt-add-repository ppa:libccd-debs Cannot add ...
3
votes
0answers
813 views

12.10 - Touchegg: can't add repository

I would like to add some multi-touch gestures, like those on a Mac device. Therefore I want to install Touchegg but I get this error sudo add-apt-repository ppa:utouch-team/daily Cannot access PPA (...
3
votes
1answer
3k views

How to fix “couldn't connect to host” error installing Unity Webapps?

I get the following errors when I try to install Unity Webapp on Ubuntu 12.04: root@detro-X101H:/home/detro# sudo add-apt-repository ppa:webapps/preview Traceback (most recent call last): File "/...
2
votes
1answer
4k views

add-apt-repository: Problem with the SSL CA cert

user@amd64:~$ sudo add-apt-repository ppa:jd-team/jdownloader [sudo] password for 1: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 125, in <module> ppa_info =...
2
votes
1answer
1k views

Can not use add-apt-repository due to SSL connection timeout

I'm using Ubuntu 11.10 i386. Please help me. I cannot use add-apt-repository: $ sudo add-apt-repository ppa:n-muench/vlc Traceback (most recent call last): File "/usr/bin/add-apt-repository", line ...
2
votes
1answer
440 views

add-apt-repository command is suddenly very slow

There were no issues before, but today I started my computer and I removed the unstable OIBAF graphics drivers and tried to add stable OIBAF graphics PPA. I left for about 15 minutes and when I came ...
2
votes
1answer
3k views

nvidia ppa not recognized

I have just done a clean Ubuntu 16.04 LTS install on my MSI GS40 Phantom 6QE, ive got the dual harddrives connected and all of the graphics look fine while using the stock Xorg drivers and i dont have ...
2
votes
1answer
2k views

why am i not able to add any ppa repositories?

karan@karan-HP-630-Notebook-PC:~$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer You are about to add the following PPA to your system: This PPA contains the latest release of Grub ...