PDA

View Full Version : pbuilder apt-key support?



mtron
February 14th, 2008, 07:46 PM
can i add another (external) Repository's signing key file to pbuilder?

i'm using a line like

OTHERMIRROR="deb http://example.com gutsy universe"
in my /etc/pbuilder/pbuilderrc.

The gpg key for this repository is available, but i don't know how to tell pbuilder that the signing key is at location x. How to do the trick?

i'm using pbuilder 0.174ubuntu2~gutsy1 (http://packages.ubuntu.com/gutsy-backports/devel/pbuilder) (taken from the gutsy backports repository)

Thanks for the help ;)

sfp-a7x
August 15th, 2008, 10:53 PM
can i add another (external) Repository's signing key file to pbuilder?

Yes:
$ sudo pbuilder --login --save-after-login
# cat | apt-key add - <<EOF
...public key goes here...
EOF
# logout

(I realize it's been a while since this question was posted, but I just had the same problem and figured it out. I thought I'd share in case it would be useful to someone else.)