i'm trying to save the installed Packages on my Ubuntu Server in order to add them to a repository. I can download the installed packages with apt-get download but this will attempt to download the packages from the official repositories.
Is it possible to export/save the installed packages without redownloading them from an official repo? I've seen some solutions with --upgrade --no-download but they do not really for work for me.
/var/cache/apt/archives
(see https://askubuntu.com/a/1016/158442). The use the other answers to set up a repo with those deb files. – muru Feb 24 '21 at 13:00