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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
81 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....
user avatar
0 votes
0 answers
50 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 ...
user avatar
  • 1
2 votes
0 answers
648 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....
user avatar
  • 165
0 votes
0 answers
36 views

Did i broke my system?

so i'm new and yes i know i probably didn't brake my system but i think i managed to make quite a mess:( Please let me know what is happening or how to fix, i'm sure this is stupid problem but i am ...
user avatar
0 votes
0 answers
88 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 ...
user avatar
0 votes
0 answers
51 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.
user avatar
3 votes
1 answer
64 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 ...
user avatar
3 votes
1 answer
368 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 ...
user avatar
2 votes
1 answer
765 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-...
user avatar
  • 1,914
1 vote
1 answer
407 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 ...
user avatar
0 votes
0 answers
614 views

Missing repositories with Qt4 libraries on Ubuntu 21.04 for Raspberry Pi

I tried the official Raspberry Pi OS 32-bit 2021-05-07-raspios-buster-armhf-full and I was able to install opencv-python with its dependencies, including libqtgui4 and libqt4-test. I'm trying to ...
user avatar
-1 votes
1 answer
40 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?...
user avatar
0 votes
0 answers
13 views

Errors in Adding repos [duplicate]

I'm using Ubuntu 21.04. Everytime i try to add repositories I'm getting the following errors and I'm not able to install any applications. This is not happening for a specific repo, but for every repo....
user avatar
1 vote
2 answers
1k 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
12k 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....
user avatar
0 votes
0 answers
197 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, ...
user avatar
  • 101
0 votes
0 answers
10 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)" ...
user avatar
0 votes
1 answer
604 views

Make add-apt-repository use python3.7 instead of python3

I am using Ubuntu 16.04 LTS. I'm trying to use sudo add-apt-repository , but I'm getting the module apt_pkg not found error: Traceback (most recent call last): File "/usr/bin/add-apt-repository&...
user avatar
  • 213
1 vote
1 answer
4k 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 ...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
  • 2,631
1 vote
2 answers
1k views

"sudo apt-key add -" has no effect [duplicate]

This command: sudo add-apt-repository ppa:upubuntu-com/network -y returns: Cannot add PPA: ''This PPA does not support focal''. Then I'll jump straight to the point by skipping the elementary part ...
user avatar
0 votes
1 answer
2k views

add-apt-repository <ppa> always throws an error

I'm currently facing this issue with add-apt-repository. Whenever I try to do anything (adding or even removing repos), I get this error: Traceback (most recent call last): File "/usr/bin/add-...
user avatar
  • 3
1 vote
1 answer
169 views

How do I get the pubkey for ksplice?

(I am aware that installing third-party bundles poses a theoretical security risk.) I am using ksplice to apply kernel updates for a running system. After installing, I cannot run sudo apt-get update ...
user avatar
  • 5,764
1 vote
0 answers
462 views

Can't run software-properties-gtk or add repositories through Terminal

Today, I wanted to see how Elementary OS' Pantheon desktop environment would work with my workflow. I didn't care much for it, so I removed all traces (I could easily find on my own) using Synaptic. ...
user avatar
2 votes
2 answers
3k 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 ...
user avatar
0 votes
3 answers
3k 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://...
user avatar
0 votes
1 answer
53 views

Installing okular on a barebone ubuntu container where there is no add-apt-repository command

I have Ubuntu 18:04 Bionic installed in a Singularity container.(*) Via the Singularity definition file I try to add the Okular PDF viewer with the command line apt-get install -y okular However I ...
user avatar
  • 141
1 vote
1 answer
4k 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 ...
user avatar
4 votes
3 answers
14k 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 ...
user avatar
2 votes
1 answer
2k views

add-apt-repository is throwing strange errors (18.03)

I was attempting to enable the wireshark repositories when following the guide that they give on their website, and when I ran sudo add-apt-repository ppa:Wireshark-dev/stable it returned these ...
user avatar
  • 21
1 vote
0 answers
79 views

Installing Deepin Desktop Environment on Ubuntu 19.10 [duplicate]

I tried to install the Deepin Desktop Environment by following the instructions given in several websites, but when I started adding the PPA by executing the command: sudo add-apt-repository ppa:...
user avatar
2 votes
2 answers
4k views

Installation php5.6 on Ubuntu 19.10 doesn't work even with ppa:ondrej/php

I need to install php5.6 to my Ubuntu 19.10, found out a lot of variants in the internet and almost all of them was the same - to use ppa:ondrej/php I tried this variant: sudo add-apt-repository ppa:...
user avatar
0 votes
0 answers
126 views

I may installed wrong apt-repository and packages while reinstalling GPU drivers

A general question: If I think I've added wrong apt-repository and installed wrong GPU drivers, what I should do? About my situation: I have Kubuntu 19.04 and AMD R9 280X (HD 7970/8970). Because I ...
user avatar
-1 votes
1 answer
5k views

Unable to locate package libapache2-mod-php7.0 [closed]

I'm trying to install Rainloop Webmail on Debian. I've added the next package add-apt-repository ppa:ondrej/php This key was added: 4F4EA0AAE5267A6C But upon apt-get update: Reading package lists.....
user avatar
0 votes
1 answer
130 views

add-apt-repository gives no result, cursor keeps on blinking for long time

root@Gagan-PC:~# add-apt-repository ppa:slimbook/slimbook and I get no result after this, it just keeps on blinking
user avatar
2 votes
1 answer
179 views

Upgrading From Ubuntu 18.04.2 to 19.04 Using DVD

I hope someone can help. My SSD hard drive containing the OS failed but I was able to rescue most of my data using ddrescue. I restored the data for my old Ubuntu 18.04.2 (Bionic Beaver) to the ...
user avatar
1 vote
0 answers
996 views

Command add-apt-repository problems [duplicate]

I'm trying to do this: sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" And getting: Traceback (most recent call last): ...
user avatar
0 votes
1 answer
4k 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 ...
user avatar
  • 1
0 votes
0 answers
22 views

how to fix W: Target packages and Target DEP-11 error on ubuntu 19.04 [duplicate]

when I tried to add a repository I'm getting these warning I don't know how to fix them. please help me on how to fix this warnings or errors. What can I do? (base) test@Batman:~$ sudo apt-add-...
user avatar
  • 101
9 votes
1 answer
19k 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 ...
user avatar
3 votes
2 answers
13k views

Python can't find module named apt_pkg

I am running Ubuntu 16.04 and on my server I have 2 version of python , python3.5 and python3.6. What I already tried is: uninstalling python3-apt and reinstalling it, didn't help still the same ...
user avatar
  • 121
13 votes
2 answers
13k views

sudo add-apt-repository hangs

I am running sudo add-apt-repository ppa:webupd8team/java in order to add the repository to install oracle jdk on my Ubuntu 18.4 machine. The command hangs and does not return. As far as I understand ...
user avatar
3 votes
2 answers
3k 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 ...
user avatar
  • 359
2 votes
1 answer
6k views

Installing firebird 2.5 on ubuntu 18.10

I want to install firebird 2.5 server on ubuntu 18.10 I followed this installing firebird 2.5, but got stuck in sudo add-apt-repository ppa:mapopa it says error E: The repository 'http://ppa....
user avatar
  • 145
0 votes
1 answer
5k views

How do I fix apt-add-repository "no such option: --allow-unauthenticated"? [duplicate]

I'm running 18.04, and I'm attempting to install Wine, which has an unsigned repository. I tried bypassing this by using the --allow-unauthenticated flag, but I get an error $ sudo apt-add-repository ...
user avatar
36 votes
8 answers
88k 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):...
user avatar
1 vote
1 answer
333 views

Solutions for risks when using external repository

This is a list of risks when using external repositories I found. Quality: Conflict between packages from external repositories and stable packages in system. Conflict between external repositories ...
user avatar
0 votes
1 answer
2k views

How to install BareOS on Ubuntu?

Many repository directories are organized as dists, pool etc. And anyone can simply edit sources.list file in order to add new repo. I need to add an extraordinarily structured repo like this. How ...
user avatar
3 votes
1 answer
1k views

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 17: invalid start byte

I want to install Nginx together with Let's Encrypt on Ubuntu 18.04 and already installed this package: software-properties-common When I try to use the command: sudo add-apt-repository ppa:certbot/...
user avatar