I'm trying to construct a debian package repository to deploy packages from.


I took all the packages from poky/build/tmp/deploy/deb and followed the 
instructions at: 
https://wiki.debian.org/SettingUpSignedAptRepositoryWithReprepro

SettingUpSignedAptRepositoryWithReprepro - Debian 
Wiki<https://wiki.debian.org/SettingUpSignedAptRepositoryWithReprepro>
wiki.debian.org
Introduction. It can be quite useful to be able to distribute your own Debian 
packages using apt, without having to push them to the Debian project itself.

I think I've added all the magic to my yocto build including:

PREFERRED_VERSION_gnupg ?= "1.4.7"
PACKAGE_CLASSES ?= "package_deb"
IMAGE_INSTALL_append = " gpgv"
IMAGE_FEATURES += "package-management"

I've installed my sources.list file which includes

deb http://192.168.7.1/repos/apt/debian stable main

and I've installed my public key with:

$ wget -O - http://192.168.7.1/repos/apt/conf/nautel.gpg.key | apt-key add -

however, after all that, I still get:

root@qemuarm:~# apt-get update
Get:1 http://192.168.7.1 stable InRelease [1417 B]
Ign http://192.168.7.1 stable InReleaseg installed in /etc/apt/trusted.gpg.d/.
Ign http://192.168.7.1 stable/main armel Packages/DiffIndex
Hit http://192.168.7.1 stable/main armel Packages
Ign http://192.168.7.1 stable/main Translation-en
Fetched 1417 B in 2s (538 B/s)
Reading package lists... Done
W: GPG error: http://192.168.7.1 stable InRelease: Could not execute 'gpgv' to 
verify signature (is gpgv installed?)

but I'm sure that gpgv is installed:

root@qemuarm:~# which gpgv
/usr/bin/gpgv

When I run it though, it just hangs:

root@qemuarm:~# gpgv -v
gpgv: directory `/home/root/.gnupg' created
gpgv: can't open `/usr/share/gnupg/options.skel': No such file or directory
gpgv: can't allocate lock for `/home/root/.gnupg/trustedkeys.gpg'
gpgv: keyblock resource `/home/root/.gnupg/trustedkeys.gpg': general error

Has anyone else run up against this?

Peter.


-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to