Package Details: aurutils 2.3.3-1

Git Clone URL: https://aur.archlinux.org/aurutils.git (read-only)
Package Base: aurutils
Description: helper tools for the arch user repository
Upstream URL: https://github.com/AladW/aurutils
Keywords: aur
Licenses: custom:ISC
Submitter: Alad
Maintainer: Alad (runical, cgirard, maximbaz)
Last Packager: Alad
Votes: 137
Popularity: 4.69
First Submitted: 2016-03-26 19:17
Last Updated: 2019-11-07 17:45

Dependencies (10)

Required by (4)

Sources (2)

Pinned Comments

Alad commented on 2017-09-07 14:29

I've enabled GPG signing for this package. If you get an "unknown key" error, import the key:

gpg --recv-keys DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A

and run makepkg again. See the wiki for more information:

https://wiki.archlinux.org/index.php/Makepkg#Signature_checking

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Alad commented on 2019-10-31 21:49

I've updated the neomutt-git package. Thanks.

brianbuccola commented on 2019-10-31 21:23

Thanks @maximbaz, you were right. Changing s/-/./g to s/-//g in the git describe line of pkgver() in the PKGBUILD fixed the issue.

maximbaz commented on 2019-10-31 12:30

It's probably an issue with neomutt-git, whose pkgver() returns 2019.10.25.r58.g71b81b594-1 instead of 20191025.r58.g71b81b594-1

brianbuccola commented on 2019-10-31 12:24

Hi Alad, I've just installed neomutt-git, and aurutils thinks it needs to be upgraded (actually, downgraded) because the installed version differs from the AUR version:

% pacman -Sl custom | grep "\[installed\]" | cut -d' ' -f2,3 | aur vercmp
neomutt-git: 2019.10.25.r58.g71b81b594-1 -> 20180716.r180.gb6a602e8a-1

And when I run "aur -uc", it starts to reinstall neomutt-git:

==> Using [custom] repository
  -> neomutt-git: 2019.10.25.r58.g71b81b594-1 -> 20180716.r180.gb6a602e8a-1
...
==> WARNING: skipping built package (use -f to overwrite)
/var/cache/pacman/custom/neomutt-git-2019.10.25.r58.g71b81b594-1-x86_64.pkg.tar.xz

I'm not sure whether this is an aurutils issue or a neomutt-git issue, but since you maintain both packages, I figured you might be able to help. Thanks.

brisbin33 commented on 2019-10-29 18:32

Sorry about that, I didn't realize which package I was commenting on.

Alad commented on 2019-10-28 21:13

That code isn't available anywhere in aurutils. If anywhere, mention it to aurto.

brisbin33 commented on 2019-10-28 21:07

I believe this is the problem:

echo "Running: aur sync --no-view --no-confirm --database=aurto --makepkg-conf=/etc/aurto/makepkg-chroot.conf $chroot_arg --upgrades" >&2
sudo -u "$user" \

Without -E, sudo will not pass GNUPGHOME on to the invoked command, so it won't be able to find my keys.

However, -E is not the default behavior for some (I assume) security reasons, so I'm not sure you want to make that change. WDYT?

brisbin33 commented on 2019-10-28 20:59

Thanks for the quick reply, I edited my previous comment, but I'll repeat here too:

I created a systemd "drop in":

% sudo systemctl cat update-aurto.service
# /usr/lib/systemd/system/update-aurto.service
[Unit]
Description=Updates 'aurto' repo
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/lib/aurto/update-aurto

# /etc/systemd/system/update-aurto.service.d/10-gnupg.conf
[Service]
Environment=GNUPGHOME=/home/patrick/.config/gnupg

I executed the daemon-reload and restarted the service, but the error persists: unknown public key. Hmm.

Alad commented on 2019-10-28 20:54

Try setting GNUPGHOME.

brisbin33 commented on 2019-10-28 20:51

Hi Alad, is it incorrect to expect the update-aurto systemd unit to work again after running --recv-keys?

It does not, so I'm not sure if there's more to debug, or if I'm expected to build aurto once manually before that'll work again.

% gpg --recv-keys DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A
gpg: key 6BC26A17B9B7018A: 12 duplicate signatures removed
gpg: key 6BC26A17B9B7018A: 33 signatures not checked due to missing keys
gpg: key 6BC26A17B9B7018A: 12 signatures reordered
gpg: key 6BC26A17B9B7018A: "Alad Wenter <alad@archlinux.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Logs:

Oct 28 16:27:01 leo update-aurto[90105]: ==> WARNING: PACKAGER should have the format 'Example Name <email@address.invalid>'
Oct 28 16:27:01 leo update-aurto[90105]: ==> Making package: aurutils 2.3.2-1 (Mon Oct 28 16:27:01 2019)
Oct 28 16:27:01 leo update-aurto[90105]: ==> Retrieving sources...
Oct 28 16:27:01 leo update-aurto[90105]:   -> Found aurutils-2.3.2.tar.gz
Oct 28 16:27:01 leo update-aurto[90105]:   -> Found aurutils-2.3.2.tar.gz.asc
Oct 28 16:27:01 leo update-aurto[90105]: ==> Validating source files with sha256sums...
Oct 28 16:27:01 leo update-aurto[90105]:     aurutils-2.3.2.tar.gz ... Passed
Oct 28 16:27:01 leo update-aurto[90105]:     aurutils-2.3.2.tar.gz.asc ... Skipped
Oct 28 16:27:01 leo update-aurto[90105]: ==> Verifying source file signatures with gpg...
Oct 28 16:27:01 leo update-aurto[90105]:     aurutils-2.3.2.tar.gz ... FAILED (unknown public key 6BC26A17B9B7018A)
Oct 28 16:27:01 leo update-aurto[90105]: ==> ERROR: One or more PGP signatures could not be verified!
Oct 28 16:27:01 leo update-aurto[90105]: ==> ERROR: Could not download sources.
Oct 28 16:27:01 leo update-aurto[90105]: `aur sync --no-view --no-confirm --database=aurto --makepkg-conf=/etc/aurto/makepkg-chroot.conf --chroot --upgrades` failed with exit code 255 ✗
Oct 28 16:27:01 leo sudo[90119]: pam_unix(sudo:session): session closed for user patrick
Oct 28 16:27:01 leo systemd[1]: update-aurto.service: Main process exited, code=exited, status=255/EXCEPTION
Oct 28 16:27:01 leo systemd[1]: update-aurto.service: Failed with result 'exit-code'.

I use an alternative GPG home directory (~/.config/gnupg) so it's possible I need to export an environment variable somewhere to make this unit aware of that?

EDIT: I created a systemd "drop in":

% sudo systemctl cat update-aurto.service
# /usr/lib/systemd/system/update-aurto.service
[Unit]
Description=Updates 'aurto' repo
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/lib/aurto/update-aurto

# /etc/systemd/system/update-aurto.service.d/10-gnupg.conf
[Service]
Environment=GNUPGHOME=/home/patrick/.config/gnupg

But the error persists.