Hot answers tagged

6

Yes, you can, apt install will install the latest available package (according to its local indexes, so run apt update beforehand), upgrading if a previous version is already installed. Quoting the man page: install is followed by one or more packages desired for installation or upgrading. Basically, apt install package will result in the currently-...


4

Comment or delete the deb cdrom: line at the top of /etc/apt/sources.list to get rid of the error message and remove all duplicate entries in /etc/apt/sources.list.d/wine.list to get rid of the warning messages.


3

For the benefit of anyone who will encounter this problem. Here's what I did to fix this daunting accident. Since my network-manager had also been removed there is no way sudo apt-get update, sudo apt-get update --fix-missing, sudo apt-get -f install nor sudo apt-get upgrade works no matter how many times I tried. Thankfully, I found my thumb drive with ...


3

I don’t think there’s a way to get a single apt invocation to both show the URLs and download the files, but if you want to curl the files anyway, you can ask apt to list the URLs instead of downloading the files: $ apt download --print-uris libvirglrenderer0 'http://deb.debian.org/debian/pool/main/v/virglrenderer/libvirglrenderer0_0.7.0-2_amd64.deb' ...


2

The http://mirror.kku.ac.th/kali mirror is outdated, providing the old version mpack_1.6-8.2. You can choose a different mirror from Kali Mirrors. Use the following commands: printf "%s\n" "deb http://mirror.easylee.nl/kali/ kali-rolling main non-free contrib" |\ sudo tee /etc/apt/sources.list sudo apt update sudo apt install mpack


2

Newer versions can use apt download pppoe It will be downloaded into the current directory. (For ubuntu-based distributions whose version >=18.04)


2

The repository seems to be out of order: there should be a pool directory here, alongside dists. This is being tracked in this issue. See also this Ars Technica article on the outage.


1

The solution is pretty simple, Microsoft keeps their updated GPG signing key in this file: https://repo.skype.com/data/SKYPE-GPG-KEY So, one can do for example: curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add - Note: You should not implicitly trust any key (or file for that matter) and inspect the file thoroughly, see this answer for ...


1

The main repository is missing in your sources. You need to add at least deb http://deb.debian.org/debian buster main to /etc/apt/sources.list (see Example sources.list) and reload the package index with sudo apt update in the terminal or choose "Reload Package Information" (Ctrl + R) in synaptic.


1

For context, current best practices for third-party repositories are documented in the Debian wiki page on third-party repository usage and in this “How to properly use 3rd party Debian repository signing keys with apt” blog post. Eventually they should be extended to Debian’s own repositories, see this issue for example. Assuming you trust your current ...


1

The package lists are indeed “ingested”, into caches stored by default in /var/cache/apt: pkgcache.bin and srcpkgcache.bin. To force apt to only look at the indexes you’ve restored, the simplest option is to delete those caches: sudo rm /var/cache/apt/*pkgcache.bin. apt will then re-create them, using the local information, the next time it’s run with ...


1

Since you seem to be running Debian 10, the simplest fix for this is to remove the Jessie repositories: sed -i.bak /jessie/d /etc/apt/sources.list{,.d/*.list} Those repositories are no longer being updated, and there’s little reason to use any package from them.


1

Use this apt option to turn those warnings into errors: apt-get update -o APT::Update::Error-Mode=any You can also set that in conf files if you wish.


Only top voted, non community-wiki answers of a minimum length are eligible