Re: Optimizing use of /var/cache/apt/archives/ by Synaptic &/or apt-get
Richard Owlett wrote:
> This actually two 'related' questions.
>
> 1. If /var/cache/apt/archives/ has the same or later version version of
> a package, will Synaptic and apt-get automatically use contents of
> /var/cache/apt/archives/ in preference to downloading whatever is at
> location specified by sources.list?
That's the idea, yes.
>
> 2. If there is no internet connection at the moment, will Synaptic and
> apt-get use the latest version in /var/cache/apt/archives/ ?
> [I have a specific use for this *NON_STANDARD* behavior.]
IIRC, apt requires the ability to check that the cached version is as
new as the one in the repos.
However, one can always just use dpkg in that instance.
--
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
Reply to: