I was looking for a way to find the contents of an apt package and I found a post that advised to use apt-file. I installed using:
sudo apt install apt-filesudo apt-file update
This update took ages and some of the packages are quite large. Now even when I use sudo apt update
there seems to be additional repos that were added when I installed apt-file.
$ sudo apt update[sudo] password for david: Hit:1 http://dl.google.com/linux/earth/deb stable InReleaseHit:2 https://updates.signal.org/desktop/apt xenial InRelease Hit:4 http://apt.pop-os.org/proprietary jammy InRelease Get:5 https://updates.signal.org/desktop/apt xenial/main amd64 Contents (deb) [1,736 B] Get:3 https://packages.microsoft.com/repos/code stable InRelease [3,590 B] Get:6 https://packages.microsoft.com/repos/code stable/main amd64 Packages [18.6 kB] Get:7 https://packages.microsoft.com/repos/code stable/main armhf Packages [18.7 kB] Hit:8 http://apt.pop-os.org/release jammy InRelease Get:9 https://packages.microsoft.com/repos/code stable/main arm64 Packages [18.7 kB] Hit:10 https://ppa.launchpadcontent.net/freecad-maintainers/freecad-daily/ubuntu jammy InReleaseHit:11 http://apt.pop-os.org/ubuntu jammy InReleaseHit:12 https://ppa.launchpadcontent.net/freecad-maintainers/freecad-stable/ubuntu jammy InReleaseGet:13 http://apt.pop-os.org/ubuntu jammy-security InRelease [129 kB]Get:14 http://apt.pop-os.org/ubuntu jammy-updates InRelease [128 kB]Hit:15 http://apt.pop-os.org/ubuntu jammy-backports InReleaseGet:16 http://apt.pop-os.org/proprietary jammy all Contents (deb) [160 B]Get:17 http://apt.pop-os.org/proprietary jammy amd64 Contents (deb) [149 kB]Get:18 http://apt.pop-os.org/ubuntu jammy i386 Contents (deb) [36.9 MB]Get:19 http://apt.pop-os.org/ubuntu jammy amd64 Contents (deb) [46.9 MB] Get:20 http://apt.pop-os.org/ubuntu jammy-security amd64 Contents (deb) [128 MB] Get:21 http://apt.pop-os.org/ubuntu jammy-security i386 Contents (deb) [57.6 MB] Get:22 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 Packages [1,988 kB] Get:23 http://apt.pop-os.org/ubuntu jammy-updates i386 Contents (deb) [59.9 MB] Get:24 http://apt.pop-os.org/ubuntu jammy-updates amd64 Contents (deb) [132 MB] Get:25 http://apt.pop-os.org/ubuntu jammy-backports i386 Contents (deb) [721 kB] Get:26 http://apt.pop-os.org/ubuntu jammy-backports amd64 Contents (deb) [730 kB] Fetched 465 MB in 1min 48s (4,318 kB/s) Reading package lists... DoneBuilding dependency tree... DoneReading state information... Done48 packages can be upgraded. Run 'apt list --upgradable' to see them.
I think from Get:13
to Get:26
are new and were added when I installed apt-file
. And some of them are quite large (ie. 128Mb).
I was instructed to use apt-file
as follows:sudo apt-file list freecad
but when I run that command I get the message:
$ apt-file list freecadFinding relevant cache files to search ...E: The cache is empty. You need to run "apt-file update" first.
even after I just did an update with sudo apt-file update
How do I undo all of this? I don't really care about getting apt-file
working. I would be happy just removing it and getting rid of these extra repos.
I'm using PopOS 22.04 LTS