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.
161
questions
0
votes
1
answer
5k
views
sudo add-apt-repository hangs with no error Ubuntu 19.04
Whenever I try to run sudo add-apt-repository ppa:docky-core/ppa(for any ppa, not just this one) it just hangs indefinitely, without giving any sort of error, even with the -m flag. After I terminate ...
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 ...
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 ...
2
votes
2
answers
11k
views
Adding a PPA to add-apt-repository
I'm trying to add the ubuntu-toolchain-r/test with:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
But it comes back with:
Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'.
Please check that the ...
0
votes
0
answers
98
views
GNS3 install fails on Ubuntu 22.04.3 LTS
I am trying to install GNS3 by adding PPA:
sudo add-apt-repository ppa:gns3/ppa
Getting following error:
/usr/lib/python3/dist-packages/requests/__init__.py:87: RequestsDependencyWarning: urllib3 (2....
1
vote
0
answers
252
views
No module named 'softwareproperties'
I previously manually deleted the system's built-in python2 and python3, and then manually installed them again. When I ran the command sudo add-apt-repository ppa:xxxx, I would get this error.How to ...
381
votes
16
answers
730k
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 ...
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):...
0
votes
0
answers
110
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 ...
13
votes
1
answer
15k
views
Adding opencpn repository - AttributeError: 'NoneType' object has no attribute 'people'
When I try to add the opencpn repository I get the following error message:
sudo add-apt-repository ppa:opencpn/opencpn
Traceback (most recent call last):
File "/usr/bin/add-apt-repository"...
0
votes
0
answers
361
views
sudo add-apt-repository universe us not working in Ubuntu 22.04
I just upgraded Ubuntu 20.04 to Ubuntu 22.04 and ran sudo add-apt-repository universe on Ubuntu 22.04 and got the following error.
Traceback (most recent call last):
File "/usr/bin/add-apt-...
1
vote
0
answers
81
views
How add to repositoris new Thunderbirs? [closed]
I can't find information how to add new Thunderbird 115 to repositories using apt.
Someone now?
Thanks.
0
votes
0
answers
428
views
Adding Linux Mint repos to Ubuntu [duplicate]
I was just wondering if there's a way to add Linux Mint repos to Ubuntu to replace the apt commands that are rerouted to Snaps. For example, if I add the Mint repos, could I just do "sudo apt ...
0
votes
1
answer
230
views
sudo add-apt-repository ppa:touchegg/stable PROBLEM
I want to install touchegg because I'm on x11, but when I write:
sudo add-apt-repository ppa:touchegg/stable
I get this:
Repository: 'deb https://ppa.launchpadcontent.net/touchegg/stable/ubuntu/ jammy ...
2
votes
0
answers
45
views
add-apt-repository command is broken, throwing python error [duplicate]
Every time I use add-apt-repository it throws the following error:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
Traceback (most recent call last):
File "/usr/lib/python3/dist-...
1
vote
2
answers
990
views
Does add-apt-repository not support globs in source list?
I usually add a repository like this:
add-apt-repository --no-update --yes "deb [arch=amd64] https://download.docker.com/linux/ubuntu jammy stable"
This works fine and when setting up ...
4
votes
3
answers
5k
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
1
answer
2k
views
22.04 - sudo add-apt-repository times out
Long story short, I have a 100% fresh install of Ubuntu 22.04, and I can't seem to get add-apt-repository working without running it through a VPN. I can access the internet via browsers, Discord, and ...
1
vote
1
answer
2k
views
Ubuntu 23.04 add-apt-repository doesn't work
Since I upgraded to Ubuntu 23.04, when I run add-apt-repository, here is the error I got:
httplib2.error.ServerNotFoundError: Unable to find the server at api.launchpad.test
It seems that add-apt-...
0
votes
0
answers
86
views
Ubuntu 23.04 Messed up PPA repositories [duplicate]
Recently I upgraded from Ubuntu 22.04 to Ubuntu 23. After the upgrade, I noticed that the default python3 was also upgraded to python3.11. I tried to install an older version of python through apt, ...
24
votes
3
answers
20k
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 ...
1
vote
1
answer
694
views
Why does the security.ubuntu.com repository exist?
Looking at the contends of the /etc/apt/sources.list file two repositories are listed:
archive.ubuntu.com and security.ubuntu.com
At first I thought that the security repository only contains security ...
0
votes
2
answers
169
views
Is there a way to identify available suites / components / arches of public APT repository?
Some providers give base URL for a public APT repository and directory listing is forbidden for the HTTP file server. Is there a way to understand which suites / components /arches they provide?
Like ...
1
vote
1
answer
2k
views
Ubuntu server behind a firewall
I have a problem regarding a server behind a firewall, essentially, the whole internet is blocked, and I can't use the "add-apt-repository", problems like "X user or team does not exist&...
0
votes
0
answers
583
views
add-apt-repository behind a special proxy where URLs need to prefixed by the IP of the proxy
At work, our Linux servers are behind a proxy, therefore the urls need to look like this in order to be reachable from our servers, for example :
PROXY_IP=x.y.z.t
example URL : http://$PROXY_IP/...
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://...
20
votes
3
answers
21k
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] ...
2
votes
1
answer
51k
views
Ubuntu 22.04. How to add repo in sources.list using add-apt-repository?
System is clear and only installed and updated.
The problem is:
I clean /etc/apt/sources.list
:>/etc/apt/sources.list
When try to add repo:
add-apt-repository -s "deb http://archive.ubuntu....
2
votes
0
answers
4k
views
add-apt-repository broken in Ubuntu 22.04 for php [duplicate]
I am attempting to install php7.4 after officially upgrading from 20.04 to 22.04
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22....
5
votes
3
answers
23k
views
Error: 'multiverse' invalid + Error: 'universe' invalid
I have this Dockerfile:
FROM node:11
USER root
WORKDIR /tmp
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository multiverse
RUN add-apt-repository universe
I ...
0
votes
0
answers
494
views
Ubuntu distro custom and add-apt-repository
I edited the /etc/lsb-release and /usr/lib/os-release files, then created the /etc/upstream-release/lsb-release path with the original lsb-release file.
the add-apt-repository command no longer works ...
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)...
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 ...
1
vote
0
answers
657
views
Which apt repository to add for kdeplasma-addons?
I'm unable to install kdeplasma-addons.
Seeing the following error:
E: Unable to locate package kdeplasma-addons
Unsure as to which repository to add to overcome this.
3
votes
1
answer
429
views
How to delete all packages from a repository and then delete the repository and then delete the signing key?
I'm running Ubuntu 21.10. I made a mistake and downloaded Mono that's supposed to be used on a older version and now it's giving me error messages like:
Sub-process /usr/bin/dpkg/ returned an error ...
9
votes
2
answers
4k
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 ...
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-...
3
votes
1
answer
921
views
Can a local Ubuntu mirror host different Ubuntu releases on a single server
I am interested to know if I have a Ubuntu 20.04.3 LTS server, can use it as a local mirror to host 20.04.3 LTS and 18.04.6 LTS repositories, such that my 18.04 servers can pull from it as well as my ...
3
votes
1
answer
6k
views
how to replace apt-key for webmin [duplicate]
how to replace apt-key for webmin in ubuntu 20.04 (because apparently apt-key is deprecated)?
before (bash script):
wget -q https://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
sudo add-...
1
vote
1
answer
560
views
Desktop environment isn't working after trying to install GNOME 40
I have installed Ubuntu 21.04 on my Laptop, everything with the DE was fine till now.
I saw a video on YouTube showing the new Gnome 41. I wanted to install that.
I didn't found a tutorial to install ...
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 ...
-1
votes
1
answer
52
views
Added repository unused
I wanted to install Ardour 6 today. As suggested here, I did
sudo add-apt-repository ppa:ubuntustudio-ppa/ardour-backports
then
apt search ardour
but it still shows me the 5.12 version. What's wrong?...
2
votes
1
answer
19k
views
Please check that the PPA name or format is correct
installing ansible on ubuntu os,
on typing the command :
sudo apt-add-repository -y ppa:ansible/ansible
it is showing
Please check that the PPA name or format is correct.
how to fix this issue?
2
votes
1
answer
9k
views
How to install gnuplot 5.4 at ubuntu20.04
I'm using Ubuntu 20.04, I work with Gnuplot 5.2.8, but only some features are at the version most recent.
My question-specific question is. How to upgrade Gnuplot 5.4.0 at ubuntu 20.04?.
Thanks ...
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 ...
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 -...
3
votes
7
answers
43k
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: '~...
0
votes
1
answer
17k
views
keep on getting '404 Not Found [IP: 91.189.95.85 80]' error when getting wine repository [duplicate]
I have been trying to download wine through https://wiki.winehq.org/Ubuntu and I keep on getting this error when adding the repository using this command: Sudo add-apt-repository 'deb https://dl....
0
votes
0
answers
636
views
How to install older gcc package using APT from a repository?
I have GCC v9. But I'm trying to install a GCC 4.8.1 version to test a library compilation on that very old version of GCC.
The version is not available in the official Ubuntu repos,it is deprecated, ...
0
votes
0
answers
11
views
unable to install cudo miner to ubuntu [duplicate]
what i am trying to run:
sudo su -c "bash <(wget -qO- https://download.cudo.org/tenants/135790374f46b0107c516a5f5e13069b/5e5f800fdf87209fdf8f9b61441e53a1/linux/x64/stable/install.sh)" ...