How to remove apt repository on ubuntu 18?
Bo Berglund
bo.berglund at gmail.com
Wed Aug 18 11:39:17 UTC 2021
On Wed, 18 Aug 2021 13:30:46 +0200, Bo Berglund <bo.berglund at gmail.com> wrote:
>Does it stuff the custom repositories into another file instead or does the fact
>that I did:
>sudo apt remove streamlink
>also remove the repository reference?
Upon further investigation I found that there is a subdirectory
/etc/apt/sources.list.d in which I found this:
/etc/apt$ ll sources.list.d/
total 68
drwxr-xr-x 2 root root 4096 2021-08-18 00:28 .
drwxr-xr-x 7 root root 4096 2021-08-18 13:30 ..
-rw-r--r-- 1 root root 134 2021-08-18 00:28 certbot-ubuntu-certbot-bionic.list
-rw-r--r-- 1 root root 134 2021-08-18 00:28
certbot-ubuntu-certbot-bionic.list.save
-rw-r--r-- 1 root root 132 2021-08-18 00:28 deadsnakes-ubuntu-ppa-bionic.list
-rw-r--r-- 1 root root 132 2021-08-18 00:28
deadsnakes-ubuntu-ppa-bionic.list.save
-rw-r--r-- 1 root root 140 2021-08-18 00:28
jonathonf-ubuntu-ffmpeg-4-bionic.list
-rw-r--r-- 1 root root 140 2021-08-18 00:28
jonathonf-ubuntu-ffmpeg-4-bionic.list.save
-rw-r--r-- 1 root root 144 2021-08-18 00:28
nilarimogard-ubuntu-webupd8-bionic.list
-rw-r--r-- 1 root root 144 2021-08-18 00:28
nilarimogard-ubuntu-webupd8-bionic.list.save
-rw-r--r-- 1 root root 132 2021-08-18 00:28 ondrej-ubuntu-apache2-bionic.list
-rw-r--r-- 1 root root 132 2021-08-18 00:28
ondrej-ubuntu-apache2-bionic.list.save
-rw-r--r-- 1 root root 124 2021-08-18 00:28 ondrej-ubuntu-php-bionic.list
-rw-r--r-- 1 root root 124 2021-08-18 00:28 ondrej-ubuntu-php-bionic.list.save
-rw-r--r-- 1 root root 97 2021-08-18 00:28 openvpn-aptrepo.list
-rw-r--r-- 1 root root 63 2019-04-07 09:02 openvpn-aptrepo.list.distUpgrade
-rw-r--r-- 1 root root 97 2021-08-18 00:28 openvpn-aptrepo.list.save
As you can see there are two files which are connected to this:
nilarimogard-ubuntu-webupd8-bionic.list
nilarimogard-ubuntu-webupd8-bionic.list.save
So what is the proper apt command to remove these such that apt understands it
correctly?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list