I used to copy deb packages from /var/cahe/apt/archives
to make my own local repository. Now I realized that apt cleans up /var/cahe/apt/archives
after each package installation. How can I force apt to keep downloaded files?
Distro: Kubuntu 17.10
PS
Pleas note that this question is different. Removing packages immediately after download (rather than using an age, size restriction) is quite different policy controlled by different configuration parameters.
Well, I just found a workaround that fixes the issue for me:
I'm not sure why they've changed default behavior. I just lost several gigabytes of bandwidth + a couple of hours.
Hope this helps someone