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.
38
questions
46
votes
8
answers
121k
views
ModuleNotFoundError: No module named 'apt_pkg' error
I run below command on ubuntu 16.4 :
sudo add-apt-repository ppa:noobslab/apps
of below question:
How to install PlayOnLinux on Ubuntu 16.04
and get below error:
Traceback (most recent call last):...
129
votes
16
answers
266k
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-...
381
votes
16
answers
729k
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 ...
53
votes
11
answers
183k
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 ...
43
votes
2
answers
31k
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
4
answers
38k
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
4
answers
21k
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--: ...
3
votes
1
answer
2k
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 ...
19
votes
9
answers
43k
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 ...
9
votes
5
answers
48k
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
4
answers
14k
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)...
145
votes
1
answer
534k
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-...
25
votes
1
answer
118k
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:
...
13
votes
3
answers
25k
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 ...
1
vote
1
answer
2k
views
multiverse repository update warning message
for installing MS-core-fonts i just added following repository to ubuntu 21.04:
sudo add-apt-repository multiverse
now, everytime i run apt update command i get following warning message several ...
46
votes
2
answers
8k
views
What is the difference between add-apt-repository & apt-add-repository?
Difference between add-apt-repository & apt-add-repository ?
16
votes
2
answers
49k
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:...
11
votes
0
answers
4k
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 -...
8
votes
4
answers
17k
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 ...
8
votes
4
answers
27k
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>
...
8
votes
1
answer
47k
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, ...
3
votes
4
answers
10k
views
Remove apt repository?
Some while ago I may have accidentally added an apt repository with an invalid URL. Now, every time I run sudo apt update, the following error message shows at the bottom:
E: The repository 'http://...
3
votes
1
answer
2k
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 ...
0
votes
2
answers
2k
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 ...
12
votes
2
answers
984
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 ...
11
votes
1
answer
22k
views
Retrieving gpg Key timed out - What does this mean?
I am unable to install any packages thru the terminal. After doing sudo add-apt-repository, the terminal seems to run normally (after about 5-10 minutes however) and am asked to hit enter. After I hit ...
10
votes
1
answer
26k
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 ...
6
votes
0
answers
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
1
answer
308
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 ...
5
votes
2
answers
6k
views
do-release-upgrade disables third party software sources. Easy way to re-enable them? [duplicate]
I recently upgraded my Ubuntu from 19.04 to 20.04. And as always, the first thing that happens is that all third party software sources are disabled.
I'm sure there are good reasons to do that and I ...
4
votes
1
answer
7k
views
How to get the gpg key for a repository?
When adding a repository through add-apt-repository a new gpg key will be add.
e,g:
sudo add-apt-repository ppa:some-ppa
You will be asked to press Enter to import the gpg key. I need to get the gpg ...
1
vote
1
answer
5k
views
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Elementary/next
The following happens every time I want to add a repository - It is not working since I have installed (and then uninstalled) pantheon desktop :(
$ sudo add-apt-repository ppa:appgrid/stable
...
1
vote
2
answers
5k
views
Downloading packages from ubuntu repositories (apt) manually using wget
I want to learn about how apt works & fetches objects from mirrors in sources.list. How can I browse these repositories manually, download them manually & build them manually (not using source ...
1
vote
0
answers
2k
views
Error: retrieving gpg key timed out
$ sudo add-apt-repository ppa:git-core/ppa
The most current stable version of Git for Ubuntu.
For release candidates, go to https://launchpad.net/~git-ore/+archive/candidate .
...
1
vote
1
answer
498
views
Screen turns gray on boot after install of a PPA
Problem
I recently added ppa:eugenesan/ppa to my maverick installation to install smartgit. Right after apt-get listed a bunch of updates that I immediately installed. After rebooting I noticed that ...
0
votes
0
answers
109
views
`apt-cache policy` lists repos not shown in `add-apt-repository --list`
I have several 3rd party repos in /etc/apt/sources.list.d/*, including for apt "foobaz", which is installed. I want to check which repository foobaz came from, or could come from:
figure ...
0
votes
1
answer
168
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 ...
0
votes
2
answers
1k
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 '%...