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

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.

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-...
203
votes
12answers
316k 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 ...
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 ...
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 ...
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-...
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--: ...
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 ...
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
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)...
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: ...
2
votes
1answer
836 views

Can I mix sources from different ubuntu versions?

As we know that we are using Repositories for installing packages and repositories configuration file located at /etc/apt/sources.list. I am using Ubuntu 12.10 (Quantal Quetzal) which reaches End of ...
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-...
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:...
43
votes
2answers
5k views

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

Difference between add-apt-repository & apt-add-repository ?
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 ...
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, ...
0
votes
2answers
1k views

Issue adding ppa's

When I run the command sudo add-apt-repository ppa:linrunner/tlp It hangs after it asks for my password for a long time then shows this Cannot add PPA: 'ppa:linrunner/tlp'. Please check that the ...
3
votes
1answer
836 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
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 ...
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
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 -...
0
votes
1answer
125 views

Is it possible to install a repository via a web (Clicking in a webpage link)

I know it is possible to install an app from the Software Center via clicking an apt link in a web page. But is it possible to install a repository by clicking also? For example when a user clicks on ...
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 ...
0
votes
2answers
798 views

PPAs cannot be added on Ubuntu 12.04

Whenever I try to do something like sudo add-apt-repository ... It gives me the following error message: File "/usr/bin/add-apt-repository", line 37 print _("The %s named '%s' has no PPA named '%...