• Like 0

    KeepassXC from AUR Signature error


    HI guys, I am trying to install KeepassXC (community fork of KeepassX) from AUR but I get a signature error and basically installation fails.

    This is what I get:

    https://i.imgsafe.org/87813e3834.png

    Thank you.

  • Like 1

    If a build from AUR fails because of unknown public key:

    ┌──[just]─[alexasp]:~$
    └─> yaourt -S keepassxc
    
    ==> Downloading keepassxc PKGBUILD from AUR...
    x .SRCINFO
    x PKGBUILD
    ...
    ==> Verifying source file signatures with gpg...
        keepassxc-2.1.0-src.tar.bz2 ... FAILED (unknown public key D8538E98A26FD9C4)
    ==> ERROR: One or more PGP signatures could not be verified!
    ==> ERROR: Makepkg was unable to build keepassxc.
    ==> Restart building keepassxc ? [y/N]
    ==> ----------------------------------
    ==>
    

    Then all you need to do is to import that key with gpg:

    ┌──[just]─[alexasp]:~$
    └─> gpg --recv-keys D8538E98A26FD9C4
    gpg: key CFB4C2166397D0D2: public key "KeePassXC Release <[email protected]>" imported
    gpg: Total number processed: 1
    gpg:               imported: 1
    ┌──[just]─[alexasp]:~$
    └─> 
    

    The build from AUR will succeed now:

    ┌──[just]─[alexasp]:~$
    └─> yaourt -S keepassxc
    
    ==> Downloading keepassxc PKGBUILD from AUR...
    ==> Downloading keepassxc PKGBUILD from AUR...
    x .SRCINFO
    x PKGBUILD
    ...
    ==> Tidying install...
      -> Removing libtool files...
      -> Purging unwanted files...
      -> Removing static library files...
      -> Stripping unneeded symbols from binaries and libraries...
      -> Compressing man and info pages...
    ==> Checking for packaging issue...
    ==> Creating package "keepassxc"...
      -> Generating .PKGINFO file...
      -> Generating .BUILDINFO file...
      -> Generating .MTREE file...
      -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: keepassxc 2.1.0-5 (Wed Jan 25 15:11:52 MSK 2017)
    ==> Cleaning up...
    
    ==> Continue installing keepassxc ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> ==> Y
    
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    
    Package (1)  New Version  Net Change
    
    keepassxc    2.1.0-5        3.84 MiB
    
    Total Installed Size:  3.84 MiB
    
    :: Proceed with installation? [Y/n] Y
    (1/1) checking keys in keyring                     [-----] 100%
    (1/1) checking package integrity                   [-----] 100%
    (1/1) loading package files                        [-----] 100%
    (1/1) checking for file conflicts                  [-----] 100%
    (1/1) checking available disk space                [-----] 100%
    :: Processing package changes...
    (1/1) installing keepassxc                         [-----] 100%
    :: Running post-transaction hooks...
    (1/3) Updating icon theme caches...
    (2/3) Updating the desktop file MIME type cache...
    (3/3) Updating the MIME type database...
    Unknown media type in type 'all/all'
    Unknown media type in type 'all/allfiles'
    ┌──[just]─[alexasp]:~$
    └─> 
    

    Good luck

  • Like 0

    Thank you, it worked. I am new to Arch/Aur so I did not know how to.

  • Like 0

    Keep learning. Once you’ll get accustomed to Arch, you’ll be simply unable to use other distros. Arch is very simple, stable and reliable, compact, fast, lightweight, easy to use. It’s just a sweet candy, a joyful toy :) .

keepassxc1 aur30 Posts 4Views 269
Log in to reply