Trust my own packages

JD jd1008 at gmail.com
Tue Apr 30 20:19:01 UTC 2013


On 04/30/2013 01:55 PM, Helmut Schneider wrote:
> Hi,
>
> I created a few packages using
>
> dpkg-buildpackage
>
> and uploaded them to my ftp server. I ran
>
> apt-ftparchive release ./ > ./Release
> gpg --output ./Release.gpg -ba ./Release
> apt-ftparchive packages ./ > ./Packages
> gpg --output ./Packages.gpg -ba ./Packages
>
> to create the Signatures and imported my own key:
>
> gpg -a --export <myid> | sudo apt-key add -
>
> I then added
>
> deb ftp://192.168.124.35/pub/Ubuntu/ lucid-backports universe
>
> to sources.list
>
> helmut at ubuntu:~/temp/Ubuntu$ find .
> .
> ./Release
> ./Packages.gpg
> ./Packages
> ./pool
> ./pool/universe
> ./pool/universe/whois_5.0.20ubuntu1_amd64.deb
> ./dists
> ./dists/lucid-backports
> ./dists/lucid-backports/universe
> ./dists/lucid-backports/universe/binary-i386
> ./dists/lucid-backports/universe/binary-i386/Packages.gz
> ./dists/lucid-backports/universe/binary-i386/Packages
> ./dists/lucid-backports/universe/binary-amd64
> ./dists/lucid-backports/universe/binary-amd64/Packages.gz
> ./dists/lucid-backports/universe/binary-amd64/Packages
> ./dists/lucid-backports/Packages.gz
> ./dists/lucid-backports/Release.gpg
> ./Release.gpg
> helmut at ubuntu:~/temp/Ubuntu$
>
> When I now try to update packages with the new ones I receive the
> warning:
>
> WARNING: untrusted versions of the following packages will be installed!
>
> How can I trust my own packages?
>
> Thanks, Helmut
>
>
Follow the thread titled:
Unauthenticated sources

It fixed my problem which was similar (but not identical) to yours.





More information about the ubuntu-users mailing list