Adrian von Bidder <[EMAIL PROTECTED]> writes: > Hi! > > [please cc: me. Thank you.] > > How can I (more or less efficiently - I do have a script but it's very crude > and probably buggy) download all .debs (and for bonus points the source > pkgs, too) that belong to some .deb that I have (same src package, same > version)? > > cheers > -- vbi > > > > > -- >> So does the bible contain invariant sections? > It sure does: > $ bible rev22:18-19 > -- Drew Parsons, in a GFDL debate
If you just need to fetch them one or ocasionally: http://svn.debian.org/wsvn/pkg-ia32-libs/trunk/ia32-libs/fetch-and-build?op=file&rev=0&sc=0 Edit the list of DEBS and run 'BUILD=0 ./fetch-and-build'. The debs will end up in 'pkgs' and the source in 'srcs'. It will sanity check that all debs and source match versions at the end for extra points. If you need something for a cron job I suggest a partial mirror with reprepro: apt-get install reprepro --- conf/distributions --- Origin: Debian Label: Debian Suite: stable Codename: etch Version: 4.0 Architectures: source i386 amd64 Components: main local UDebComponents: main Description: Debian etch Update: - debian SignWith: yes DscIndices: Sources Release . .gz DebIndices: Packages Release . .gz UDebIndices: Packages . .gz --- conf/updates --- Name: debian Architectures: source i386 amd64 Components: main contrib non-free main/debian-installer Method: http://ftp.de.debian.org/debian ListHook: conf/filter-debian.sh --- conf/filter-debian.sh --- #!/bin/sh BINSRC='^acl$|^adduser$' SRCVER='^acl |^adduser ' ( zcat "$1" | grep-dctrl -P -e "$BINSRC" zcat "$1" | grep-dctrl -F Source -e "$BINSRC" zcat "$1" | grep-dctrl -F Source -e "$SRCVER" ) > "$2" exit 0 With that config an "reprepro -V update" will fetch you the latest debs build from the sources and sources for acl and adduser and make them availbale as repository for apt. MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]