[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#668305: apt: Silently installed cron job deletes files (despite comments to the contrary)



On Tue, Apr 10, 2012 at 10:41:21PM +0200, Helge Kreutzmann wrote:
> Hello Julian,
> On Tue, Apr 10, 2012 at 10:36:45PM +0200, Julian Andres Klode wrote:
> > On Tue, Apr 10, 2012 at 10:30:38PM +0200, Helge Kreutzmann wrote:
> > > Package: apt
> > > Version: 0.8.15.10
> > > Severity: important
> > > 
> > > This machine was installed last year and is running testing since. For
> > > a time, I was wondering why /var/cache/apt/archives was not growing as
> > > it did on other (older) machines. After searching I finally nailed it
> > > down to 
> > > -rw-r--r-- 1 root root 14918 Jun 30  2011 /etc/cron.daily/apt
> > > 
> > > (I removed the executable bit to verify that it was indeed the cause).
> > > Ever since I did this, no longer files are deleted.
> > > 
> > > I never touched this file and /etc/apt/apt.conf.d/02periodic does not
> > > exist on my system. According to the comments, nothing should be
> > > deleted automatically:
> > 
> > Do you have unattended-upgrades or update-notifier-common installed?
> 
> rc  unattended-upgrades                          0.74.3
> automatic installation of security upgrades
> ii  update-notifier-common                       0.99.3debian10
> Files shared between update-notifier and adept
> 
> I haven't investigated them, though and did not manually install them,
> probably installed as part of a task during d-i.

But that's the explanation for the problem, as update-notifier-common
installs 20archive which contains:

	APT::Archives::MaxAge "30";
	APT::Archives::MinAge "2";
	APT::Archives::MaxSize "500";



> 
> And thanks for the *ultra fast* reply, probably the fastest I ever
> experienced for a bug report.

I probably just checked e-mails when yours came in, so I answered it
directly.


-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgpqmQh1_87KD.pgp
Description: PGP signature


Reply to: