You are not logged in.

#1 2013-08-14 21:21:12

jordz
Member
Registered: 2006-02-01
Posts: 250

Creating a new mirror (error: GPGME error: No data)

I'm running a cron job on my vps, to mirror ftp5.gwdg.de/pub/linux/archlinux/.
Its available here: https://kluisip.nl/public/archlinux/
I use the following rsync arguments:  -rtlvH --delete-after --delay-updates --safe-links --max-delete=1000

But when I add it to the mirror list it doesn't work, because the package signing fails (or the checking of it).

[jordy@a10 ~ $ sudo pacman -Scc                                                                 

Cache directory: /mnt/data/pacman/cache/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...

Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
jordy@a10 ~ $ sudo pacman -Syy
:: Synchronizing package databases...
 core                            103.3 KiB  2.29M/s 00:00 [###############################] 100%
 core.sig                        890.0   B  0.00B/s 00:00 [###############################] 100%
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
 extra                          1446.9 KiB  4.33M/s 00:00 [###############################] 100%
 extra.sig                       890.0   B  0.00B/s 00:00 [###############################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
 community                      2016.2 KiB  6.84M/s 00:00 [###############################] 100%
 community.sig                   890.0   B  0.00B/s 00:00 [###############################] 100%
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
 multilib                        107.7 KiB  10.5M/s 00:00 [###############################] 100%
 multilib.sig                    890.0   B  0.00B/s 00:00 [###############################] 100%
error: GPGME error: No data
error: failed to update multilib (invalid or corrupted database (PGP signature))
 repo-ck                          42.7 KiB   227K/s 00:00 [###############################] 100%
error: database 'core' is not valid (invalid or corrupted database (PGP signature))
error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
error: database 'community' is not valid (invalid or corrupted database (PGP signature))
error: database 'multilib' is not valid (invalid or corrupted database (PGP signature))

jordy@a10 ~ $ cat /etc/pacman.d/mirrorlist
Server = https://kluisip.nl/public/archlinux/$repo/os/$arch
#Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch

How do I fix this ? I already tried to regenerate the pacman key on the vps and on my pc.

Last edited by jordz (2013-08-14 21:23:37)

Offline

#2 2013-08-14 21:58:12

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Creating a new mirror (error: GPGME error: No data)

Fix your pacman.conf to only check package signatures (which is the default).   Databases are currently unsigned.

Offline

#3 2013-08-14 22:17:45

jordz
Member
Registered: 2006-02-01
Posts: 250

Re: Creating a new mirror (error: GPGME error: No data)

The same happens when I comment:

#RemoteFileSigLevel = Required

I checked the pacman.conf in abs to verify I don't have any strange settings.

The other mirror in in my mirrorlist works fine.

Offline

#4 2013-08-23 11:39:45

jordz
Member
Registered: 2006-02-01
Posts: 250

Re: Creating a new mirror (error: GPGME error: No data)

I made a mistake with a custom 404-page. I disabled it and now it works fine.

Offline

#5 2013-08-23 14:36:18

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Creating a new mirror (error: GPGME error: No data)

Glad it's fixed. Please mark this thread as [solved]. Moving from Community Contributions to Pacman & Package Upgrade Issues.

Edit: I assume you have read this.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB