rpi-img-builder icon indicating copy to clipboard operation
rpi-img-builder copied to clipboard

gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Open naveen230 opened this issue 6 years ago • 6 comments

Hello

I'm trying to build image following all the instructions but I get this error,

gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation Setting up systemd-sysv (235-3) ... Setting up init (1.51) ... Processing triggers for libc-bin (2.25-3) ... E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation rootfs.mak:112: recipe for target '/root/rpi-img-builder/rootfs' failed make[1]: *** [/root/rpi-img-builder/rootfs] Error 255 Makefile:21: recipe for target 'build-rootfs' failed make: *** [build-rootfs] Error 2

Any help will be appreciated!

naveen230 avatar Dec 21 '17 00:12 naveen230

and you tried with no modifications or additions at all? What was your make string? did you move any plugins around at all?

TheSin- avatar Dec 28 '17 16:12 TheSin-

I used sudo make REPO=Ubuntu for rpi3.I added gnupg to the packages list so that error is resolved. But while building I get new issue "Unsupported platform"

naveen230 avatar Jan 02 '18 20:01 naveen230

Ubuntu is not current supported, it's as the docs state "Ubuntu repository (Yakkety/Zesty only since no rpi support before that and currently rpi2 only)"

TheSin- avatar Jan 02 '18 21:01 TheSin-

I got the same error when in run the following command on windows 10 git-bash docker-compose up -d --build Any Solution?

saifrehman15 avatar Jun 08 '18 07:06 saifrehman15

oh I have no idea using windows. I can't even try to support that, I have no windows machines around at all to even attempt to try to fix it.

I'm open to PRs to fix it sadly otherwise I have to say it's unsupported.

Unless you are also trying ubuntu which still isn't supported.

TheSin- avatar Jun 08 '18 13:06 TheSin-

As answered in https://stackoverflow.com/questions/50757647/e-gnupg-gnupg2-and-gnupg1-do-not-seem-to-be-installed-but-one-of-them-is-requ

Try RUN apt-get update && apt-get install -y gnupg2

WiRight avatar Sep 18 '19 05:09 WiRight