On Wed, Feb 01, 2006 at 09:39:54AM +0100, Florian Weimer wrote: > * Marc Haber: > > I want to check whether a given package has migrated from unstable to > > testing in a cron job, and this cron job should be able to run on a > > host that doesn't have a local archive. > > With the arrivale of Packages diffs, it's actually rather cheap (in > terms of network bandwidth) to maintain a local mirror of the archive > metadata. AFAICS, you only need the Sources files, so the disk space > consumption shouldn't be an obstacle, either.
Having never really understood the rather sparsely documented apt.conf syntax, I am reluctant to use apt to keep metadata current on a system without root privileges. Additionally, parsing the Sources file is another challenge. And again additionally, I don't want to get alerts just because my mirror is down or desynced. I was rather content with parsing packages.debian.org output. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]