mkdebmirror issue

Henning Sprang henning.sprang at gmail.com
Wed Mar 3 16:59:44 CET 2010


For simple mirrors with the same architecture as the mirror-host, you
can use the tool apt-mirror it takes simple sources.list entries as
input.

2010/3/3, Antonia Mey <ppxasjsm at nottingham.ac.uk>:
> I could really use some help. I am a little lost when creating a debian
> mirror.
> running ./mkdebmirror -v (the script provided in the fai examples, with
> the hosts etc edited accordingly) I get errors concerning RSA keys.
>
> To be more precise something like this:
>
> "./mkdebmirror -v
> ------------------ create mirror for debian ------------------
> Unknown option: pdiff
> Usage: /usr/bin/debmirror [--progress] [--verbose] [--debug] [--dry-run]
> [--help]
>           [--host=remotehost] [--root=directory]
>           [--method=ftp|hftp|http|rsync] [--passive]
>           [--user=remoteusername] [--passwd=remoteuserpassword]
>           [--proxy=http://user:pass@url:port/]
>           [--dist=foo[,bar,..] ...] [--omit-suite-symlinks]
>           [--section=foo[,bar,..] ...] [--arch=foo[,bar,..] ...]
>           [--adddir=directory] [--rsync-extra=foo[,bar,..] ...]
>           [--di-dist=foo[,bar,..] ...] [--di-arch=foo[,bar,..] ...]
>           [--source|--nosource] [--i18n] [--getcontents] [--md5sums]
>           [--ignore-missing-release] [--ignore-release-gpg]
>           [--ignore=regex] [--exclude=regex] [--include=regex]
>           [--exclude-deb-section=regex] [--limit-priority=regex]
>           [--timeout=seconds] [--max-batch=number]
>           [--rsync-batch=number] [--rsync-options=options]
>           [--postcleanup|--cleanup|--nocleanup] [--skippackages]
>           [--diff=use|mirror|none] [--gzip-options=options]
>           [--state-cache-days=number]
>           [--ignore-small-errors] [--allow-dist-rename]
>           <mirrordir>
>
> For details, see man page.
> ------------------ create mirror for debian-security ------------------
> Mirroring to /files/scratch/debmirror/debian-security from
> ftp://anonymous@security.debian.org/debian-security/
> Arches: i386
> Dists: lenny/updates
> Sections: main,contrib,non-free
> Pdiff mode: use
> Passive mode on.
> Will clean up AFTER mirroring.
> Attempting to get lock, this might take 2 minutes before it fails.
> State cache file does not exist; doing full mirroring.
> Get Release files.
> [0%] Getting: dists/lenny/updates/Release
> [0%] Getting: dists/lenny/updates/Release.gpg
> gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg': file open error
> gpgv: Signature made Wed 03 Mar 2010 06:39:00 GMT using RSA key ID 55BE302B
> [GNUPG:] ERRSIG 9AA38DCD55BE302B 1 2 00 1267598340 9
> [GNUPG:] NO_PUBKEY 9AA38DCD55BE302B
> gpgv: Can't check signature: public key not found
> gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg': file open error
> gpgv: Signature made Wed 03 Mar 2010 06:39:00 GMT using RSA key ID 55BE302B
> gpgv: Can't check signature: public key not found
> Release signature does not verify.
> Get Packages and Sources files and other miscellany.
> Parse Packages and Sources files and add to the file list everything
> therein.
> Download all files that we need to get (2772 MiB).
> Get package files.
> [  0%] Getting: pool/updates/main/e/expat/libexpat1_2.0.1-4+lenny3_i386.deb
> [  0%] Getting:
> pool/updates/main/f/fckeditor/fckeditor_2.6.2-1lenny1_all.deb
> [  0%] Getting:
> pool/updates/main/f/fetchmail/fetchmail_6.3.9~rc2-4+lenny1_i386.deb
> [  0%] Getting:
> pool/updates/main/f/fetchmail/fetchmailconf_6.3.9~rc2-4+lenny1_all.deb
> [  0%] Getting:
> pool/updates/main/f/ffmpeg-debian/ffmpeg-dbg_0.svn20080206-18+lenny1_i386.deb
> [  0%] Getting:
> pool/updates/main/f/ffmpeg-debian/ffmpeg-doc_0.svn20080206-18+lenny1_all.deb
> [  1%] Getting:
> pool/updates/main/f/ffmpeg-debian/ffmpeg_0.svn20080206-18+lenny1_i386.deb
> [  1%] Getting:
> pool/updates/main/f/ffmpeg-debian/libavcodec-dev_0.svn20080206-18+lenny1_i386.deb^C
> "
>
> so obviously it does not recognise  pdif (what is this anyway?)
> and then when it comes to the debian -security mirror there are are some
> checksums that are failling, so how do I update my key?
> I don't really know where to look for answers.
>
> Thanks a lot
> Antnoia Mey
>
> --
> Antonia Mey
>
> School of Physics & Astronomy
> University Park
> Nottingham
> NG7 3RD
>
> ppxasjsm at nottingham.ac.uk
> +441159515130
>
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>

-- 
Von meinen Mobilgerät aus gesendet

Henning Sprang
http://www.sprang.de



More information about the linux-fai mailing list