On Fri, 30 Mar 2001, Colin Watson wrote: > Piotr Krukowiecki <[EMAIL PROTECTED]> wrote: > >Contents-*.gz files are very usefull. AFAIR they are generated weekly. > > > >Having to download them manually is not very comfortable. > >Why not apt-get install contents-i386 and have it always up-to-date? > > > >In addition, package could be upgraded only when Contents-*.gz file has > >really changed (e.g sort both files and diff them or sth. like that) > > They change every day for most architectures (or would if they were kept > up-to-date). This seems a bit impractical ... > > I'd like some more convenient way of dealing with them, I must admit.
The best solution I found is this: Package: Contents-i386 Version: 2001-04-01 Package: Contents-i386-diff Version: 2001-04-04 Depends: Contents-i386 (= 2001-04-01) Package: Contents-i386-diff # this has diffs against Contents-i386, not Version: 2001-04-07 # Contents-i386-diff Depends: Contents-i386 (= 2001-04-01) When there are many changes since Contetns-i386 2001-04-01 we could releas this 2 packages: Package: Contents-i386 # new Contents.gz Version: 2001-04-10 Package: Contents-i386-diff # dummy package needed for satisfy depends Version: 2001-04-10 Depends: Contents-i386 (= 2001-04-10) This is not very good, since you have to dl new Contents.gz even if you have diffs from a day before. But I don't see any other way :( If Contents.gz is not frequently changed, we could use Package: Contents-i386 Version: 2001-04-01 Package: Contents-i386 Version: 2001-04-08 -- Piotrek irc: #Debian.pl