How to download all dependencies and packages to directory

The marked answer has the problem that the available packages on the machine that is doing the downloads might be different from the target machine, and thus the package set might be incomplete. To avoid this and get all dependencies, use the following: apt-get download $(apt-rdepends <package>|grep -v “^ “) Some packages returned from apt-rdepends … Read more

E: The repository ‘http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release’ does not have a Release file

I got rid of the error message on Ubuntu 20.04 by removing the ppa repository. It took me a long time to find out the exact command argument, so this might help others :-). I used the command: sudo apt-add-repository -r ppa:certbot/certbot After that, the following commands do not generate any errors: sudo apt update … Read more