TheSin- / rpi-img-builder

Scripts to create custom images for RaspberryPi
MIT License
107 stars 30 forks source link

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

Open naveen230 opened 6 years ago

naveen230 commented 6 years ago

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!

TheSin- commented 6 years ago

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

naveen230 commented 6 years ago

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"

TheSin- commented 6 years ago

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)"

Saif-hub24 commented 6 years ago

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

TheSin- commented 6 years ago

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.

WiRight commented 4 years ago

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