Bug#518292: security.debian.org: Last-Modified times and lenny release

2009-03-05 Thread Mark Hindley
Package: security.debian.org
Severity: normal


Hi,

I have just has a bug report for apt-cacher (#517874) which I have tracked down 
to
the Last-Modified times on s.d.o.

The file was

http://localhost:3142/security.debian.org/dists/stable/updates/contrib/binary-i386/Packages.bz2
 



which was originally cached from stable (etch, Last-Modified: Tue, 29
Jan 2008 16:55:18 GMT).  After lenny release this became oldstable, but
last modified time for this same index file in the new stable (lenny)
was Last-Modified: Sun, 08 Apr 2007 07:20:40 GMT so apt-cacher kept the
more recent (but wrong!) one.

I am not convinced there is a bug in apt-cacher here.

Obviously, if the OP had been using named paths rather than stable, all
would have been fine.

Is there anyway to ensure that Last-Modified times don't go backwards
when we upgrade distributions?

Thanks

Mark


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (400, 'stable'), (300, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.28.2-mk7
Locale: LANG=en_GB, LC_CTYPE=iso_8859_1 (charmap=ISO-8859-1) (ignored: LC_ALL 
set to en_GB)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#518292: security.debian.org: Last-Modified times and lenny release

2009-03-05 Thread Thijs Kinkhorst
reassign 518292 ftp.debian.org
thanks

Hi Mark,

On Thu, March 5, 2009 10:29, Mark Hindley wrote:
 I have just has a bug report for apt-cacher (#517874) which I have
 tracked down to the Last-Modified times on s.d.o.

 The file was


 http://localhost:3142/security.debian.org/dists/stable/updates/contrib/bi
 nary-i386/Packages.bz2

 which was originally cached from stable (etch, Last-Modified: Tue, 29 Jan
 2008 16:55:18 GMT).  After lenny release this became oldstable, but
 last modified time for this same index file in the new stable (lenny) was
 Last-Modified: Sun, 08 Apr 2007 07:20:40 GMT so apt-cacher kept the
 more recent (but wrong!) one.

 I am not convinced there is a bug in apt-cacher here.


 Obviously, if the OP had been using named paths rather than stable, all
 would have been fine.

 Is there anyway to ensure that Last-Modified times don't go backwards
 when we upgrade distributions?

This is in the domain of ftp-master, I'm reassigning this bug accordingly.


cheers,
Thijs




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org