makechrootpkg - howto run 'pacman-key --init'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Guys,

  Doing a major rebuild with new archroot and I've run into an error either due
to needing to run 'pacman-key --init' or due to GPGME -- or both. Do I need to
manually chroot the archroot and run pacman-key --init, or can I pass it to the
chroot with makechrootpkg -- (some option).

  What's the best way to handle this?

  After running 'sudo mkarchroot -u $CHROOT/root', when I go to build a package
requiring dependencies with 'sudo makechrootpkg -r $CHROOT -u', I get the following:

==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (17): kbproto-1.0.6-1  libjpeg-turbo-1.2.0-2  libx11-1.5.0-1
libxau-1.0.7-1  libxcb-1.8.1-1
              libxdmcp-1.1.1-1  pm-quirks-0.20100619-2  polkit-0.105-1
xcb-proto-1.7.1-1  xproto-7.0.23-1
              consolekit-0.4.6-4  dbus-glib-0.98-1  dmidecode-2.11-2
eject-2.1.5-7  libusb-compat-0.1.4-1
              pm-utils-1.4.1-5  v4l-utils-0.8.8-1

Total Installed Size:   29.00 MiB

Proceed with installation? [Y/n]
(17/17) checking package integrity
[#######################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Inappropriate ioctl for device
<snip same error>
error: GPGME error: Inappropriate ioctl for device
error: dbus-glib: missing required signature
error: libusb-compat: missing required signature
error: eject: missing required signature
error: dmidecode: missing required signature
error: pm-quirks: missing required signature
error: pm-utils: missing required signature
error: polkit: missing required signature
error: xcb-proto: missing required signature
error: xproto: missing required signature
error: libxdmcp: missing required signature
error: libxau: missing required signature
error: libxcb: missing required signature
error: kbproto: missing required signature
error: libx11: missing required signature
error: consolekit: missing required signature
error: libjpeg-turbo: missing required signature
error: v4l-utils: missing required signature
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
==> ERROR: Build failed, check /dat_e/ch47/david/build

  The GPGME error is one I haven't encountered before, I'm not sure what to do
with that one. For the missing required signature errors, I have tried setting
SigLevel = Never, but same result. What say the experts? Let me know what you
think and I'll update the DeveloperWiki:Building in a Clean Chroot page.



-- 
David C. Rankin, J.D.,P.E.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux