Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #1169

Preventing apt from deleting cached .deb files on network

From jon <jonhobley@gmail.com>
Newsgroups comp.os.linux.misc
Subject Preventing apt from deleting cached .deb files on network
Date 2011-05-19 17:31 +0100
Message-ID <MPG.283f56106ac17cd2989689@news.btinternet.com> (permalink)

Show all headers | View raw


I am using Debian on my network, and /var/cache/apt/archives is shared 
across all machines on the network.

When I install a package using apt or dselect, the package is only 
downloaded once. Other computers can install the same package without
having to download again.

When apt has finished installing a package, it asks a question as
follows:

Do you wish to delete previously downloaded .deb files?

I normally answer no to this question. However, I accidently answered
yes, and my entire archive of packages has been deleted.

I am on metered internet, so it is going to cost me money to retrieve 
all those files again.

Is there a configuration option that I can apply to /etc/apt/apt.conf
that will prevent apt from asking that question and disable deletion of
.deb files from the cache? I never want these files deleted by apt.

Back to comp.os.linux.misc | Previous | NextNext in thread | Find similar


Thread

Preventing apt from deleting cached .deb files on network jon <jonhobley@gmail.com> - 2011-05-19 17:31 +0100
  Re: Preventing apt from deleting cached .deb files on network Bob Hauck <postmaster@avalanche.org> - 2011-05-22 11:59 -0400
    Re: Preventing apt from deleting cached .deb files on network Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-22 16:48 +0000
  Re: Preventing apt from deleting cached .deb files on network Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-22 17:02 +0000
    Re: Preventing apt from deleting cached .deb files on network Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-22 20:53 +0100
      Re: Preventing apt from deleting cached .deb files on network Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-22 22:22 +0000
        Re: Preventing apt from deleting cached .deb files on network Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-23 10:59 +0100

csiph-web