how to avoid unauthenticated warning
maxb at f2s.com
Wed Jun 3 17:33:51 BST 2009
travis+ml-ubuntu-dev at subspacefield.org wrote:
> I'm in the process of setting up my own Ubuntu repository for some local
> I used the following HOWTOs:
> I use the following script:
> for b in $(find dists -type d \( -name 'binary*' -o -name 'all' \))
> dpkg-scanpackages $b /dev/null | gzip -9c > $b/Packages.gz
> for s in $(find dists -type d -name source)
> dpkg-scansources $s | gzip -9c > $s/Sources.gz
> for r in intrepid jaunty
> rm dists/$r/Release
> apt-ftparchive -c ../$r.conf release dists/$r > dists/$r/Release
> gpg -ba -u 4F988F40 -o dists/$r/Release.gpg dists/$r/Release
> However, I still get this error:
> WARNING: The following packages cannot be authenticated!
> Install these packages without verification [y/N]?
> How do I avoid that error?
Your script doesn't look like it will generate a proper repository
layout to me.
> Is there an easier way of doing all this?
My own script for this purpose is currently at
https://code.launchpad.net/~maxb/+junk/apt-generate . It certainly works
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20090603/9a0d6202/attachment.pgp
More information about the Ubuntu-devel-discuss