[xubuntu-users] Keeping *.deb in the archive (Ubuntu 16.04.2)
Ralf Mardorf
silver.bullet at zoho.com
Wed May 3 03:40:20 UTC 2017
On Tue, 2 May 2017 16:24:27 +0200, François P. Rotzinger wrote:
>Sorry, I have sent the message below using the wrong account. Now, it
>should be OK.
>-----------------------------------------------------------------------------------------------------------------------
>Greetings,
>After the installation of software or updates, the cache
>/var/cache/apt/archives is purged immediately. I tried without success
>to get information, which file in /etc/apt/apt.conf.d should be
>modified or added... Could you please give me a hint, what to do to
>keep the files in /var/cache/apt/archives?
>Many thanks! Best regards,
>François
You did not say how you upgraded or installed software
By default "apt-get" behaves different, than "apt" does, you temporarily
could change the default by adding "-o APT::Keep-Downloaded-Packages=1"
or permanently change the behaviour by editing the apt settings. I
don't have at hand how to permanently edit the settings, Google is your
friend.
IOW running
sudo apt full-upgrade -o APT::Keep-Downloaded-Packages=1
sudo apt install -o APT::Keep-Downloaded-Packages=1 <package>
does the same as
sudo apt-get dist-upgrade
sudo apt-get install <package>
Regards,
Ralf
--
"Access to all language versions of Wikipedia was blocked in Turkey on
29 April 2017." -
https://en.wikipedia.org/wiki/Government_censorship_of_Wikipedia#Turkey
More information about the xubuntu-users
mailing list