[pacman-dev] "pacman --arch=i686 -Syu" results in "error: GPGME error: No data"

Allan McRae allan at archlinux.org
Thu Jun 3 00:34:07 UTC 2021


On 3/6/21 9:55 am, stratus--- via pacman-dev wrote:
> # pacman --arch=i686 -Syu
> This is clearly not a sensible command, but trying it just to see what happened when using the --arch option out resulted in database corruption, then it was impossible to upgrade and pacman would not function:
> error: GPGME error: No data
> error: failed to synchronize all databases (unexpected error)
> until I did:
> # rm /var/lib/pacman/sync/*
> # pacman-key --init
> # pacman-key --populate archlinux artix
> # pacman -Syy
> I tried it again and it did the same thing, and thought you might be interested.
> .

I can not replicate:

> pacman --arch=i686 -Syu
:: Synchronizing package databases...
 core.db failed to download
 extra.db failed to download
 community.db failed to download
error: failed retrieving file 'extra.db' from syd.mirror.rackspace.com :
Could not resolve host: syd.mirror.rackspace.com
warning: too many errors from syd.mirror.rackspace.com, skipping for the
remainder of this transaction
error: failed retrieving file 'community.db' from
syd.mirror.rackspace.com : Could not resolve host: syd.mirror.rackspace.com
error: failed retrieving file 'core.db' from syd.mirror.rackspace.com :
Could not resolve host: syd.mirror.rackspace.com
error: failed to synchronize all databases (invalid url for server)

Allan


More information about the pacman-dev mailing list