On Fri, Oct 15, 2010 at 18:57, Zenaan Harkness <[email protected]> wrote:
> Ahh, now I remember, I symlinked my various mirrors intoto /public/,
> so now I have to give a target directory by including the trailing /,
> or it sees only the symlink. Time to put a readlink -f in my lib...
>
> solved.
>

This was NOT solved, as symlinks were not the problem.

I deceived myself. Should have double checked before spouting off my
non-solution.

Thanks to Angus who delved rather solidly last night at SLUG meet.

We thinks it may be a debmirror on ubuntu, mirroring debian, thing,
and/ or a deep in the bowels of debmirror, thing.

Anyone know perl, and happy to tinker with debmirror? If so, the
commands to run, which clearly identify the problem, are very
straightforward (please note, the repo fails to download, so don't
worry about chewing bandwidth); as root (in ubuntu 8.04 I am):

# become root:
sudo su -

# do test in temp location:
target=/tmp/debmirrortmp
mkdir $target
cd $target

# import the supposedly required key:
export GNUPGHOME=$target
touch trustedkeys.gpg
key=55BE302B     # <<<--- HERE IT IS, the required key
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
apt-key export $key | gpg --keyring trustedkeys.gpg --import -

# try mirroring (part of) some debian archive:
/usr/bin/debmirror --nocleanup --exclude-deb-section=games --verbose
--progress --arch=amd64 --section=main --dist=squeeze
--host=ftp.iinet.net.au --method=http --root=pub/debian/debian
$target/target-dir

And this last command above produces the following output:

Mirroring to /tmp/debmirrortmp/target-dir from
http://ftp.iinet.net.au/pub/debian/debian/
Arches: amd64
Dists: squeeze
Sections: main
Including source.
Will NOT clean up.
Pdiff mode: use.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
[0%] Getting: dists/squeeze/Release... ok
[0%] Getting: dists/squeeze/Release.gpg... ok
gpgv: Signature made Sat 30 Oct 2010 01:22:41 PM EST using RSA key ID 55BE302B
[GNUPG:] ERRSIG 9AA38DCD55BE302B 1 2 00 1288405361 9
[GNUPG:] NO_PUBKEY 9AA38DCD55BE302B
gpgv: Can't check signature: public key not found
gpgv: Signature made Sat 30 Oct 2010 01:22:41 PM EST using RSA key ID 55BE302B
gpgv: Can't check signature: public key not found
Release signature does not verify.
Errors:
 Release signature does not verify.
Failed to download some Release or Release.gpg files!
WARNING: releasing 1 pending lock...

----
As you can see from the output, the key 55BE302B is still "public key
not found".

Time to file a formal bug report somewhere I guess.

TIA
Zen
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to