[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gpg, Releae.gpg, and Ubuntu...



hmm, well, I thought I had this licked, but I guess I was wrong.  tried this:


made a new ubuntu-keyring thusly:

apt-get source ubuntu-keyring
cd ubuntu-keyring/keyrings
gpg --import < ubuntu-archive-keyring.gpg
gpg --export > ubuntu-archive-keyring.gpg

cd .. && dpkg-buildpackge ---rfakeroot -m"Matt Price <matt.price@utoronto.ca>"

then I did all the necessary changes to the disk (add packages to
pool, mostly) after which I  have the following in a script

# generate Packages, release, releases.gz
sudo rm $BUILD/dists/breezy/Release.gpg $BUILD/dists/breezy/Release
+$BUILD/dists/breezy/main/binary-i386/Packages
+$BUILD/dists/breezy/main/binary-i386/Packages.gz
apt-ftparchive packages  $BUILD/pool/restricted/ > /tmp/Packages
apt-ftparchive release $BUILD/dists/breezy > /tmp/Release
sudo mv /tmp/Packages $BUILD/dists/breezy/main/binary-i386/
sudo mv /tmp/Release $BUILD/dists/breezy/
gpg --output /tmp/Release.gpg -ba $BUILD/dists/breezy/Release
sudo mv /tmp/Release.gpg $BUILD/dists/breezy/

looked fine to me, but I get an error about a bad release file, so I a
ssume it's not properly signed.  gaah!  driving me crazy.  Anyway,
thanks for the help, if anyone's done this successfully I'd be very
grateful to learn what I'm doing wrong



Reply to: