You are not logged in.

#1 2012-12-02 22:05:16

mcduling
Member
Registered: 2011-12-16
Posts: 67

(SOLVED) Pacman error: GPGME does not exist

Hi, I have also just been struck with the same issue - a broken pacman (and for no reason that I can fathom). Was working perfectly yesterday and all I did that wan't usual was to uninstall clamav.

Anyway, I have read this post and done a pacman -Syy, which upgraded core and archlinuxfr only. I then ran pacman -Syu and received this:

[grant@ARCH ~]$ sudo pacman -Syy
[sudo] password for grant: 
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.aarnet.edu.au : Connection time-out
 core                     106.2 KiB   353K/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
error: GPGME error: No data
error: failed to update multilib (invalid or corrupted database (PGP signature))
 archlinuxfr               30.3 KiB  81.9K/s 00:00 [######################] 100%
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))
[grant@ARCH ~]$ 

Should I do a reinstall of pacman using the CD? I know this is clumsy, but anything I have missed?

Last edited by mcduling (2012-12-03 06:43:56)

Offline

#2 2012-12-02 22:12:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: (SOLVED) Pacman error: GPGME does not exist

Please post the relevant part of your pacman log (where you removed ClamAV, presumably) and your pacman.conf


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-12-02 22:14:24

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: (SOLVED) Pacman error: GPGME does not exist

@mcduling,
Did you check your mirror's status?  'mirror.aarnet.edu.au' appears to be unreliable at the moment.

Last edited by thisoldman (2012-12-02 22:15:34)

Offline

#4 2012-12-02 23:18:42

mcduling
Member
Registered: 2011-12-16
Posts: 67

Re: (SOLVED) Pacman error: GPGME does not exist

Here is my pacman.conf

  GNU nano 2.2.6            File: /etc/pacman.conf                              

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman

^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell

I still need to check my pacman log. will do that next.

Offline

#5 2012-12-02 23:21:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: (SOLVED) Pacman error: GPGME does not exist

I'm going to split this into a separate thread - this could take some time.

mcduling - that is only the top (mostly useless) part of your pacman.conf: please paste the whole thing...

# edit and follow thisoldman's advice and try with an up-to-date mirror


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-12-02 23:35:51

mcduling
Member
Registered: 2011-12-16
Posts: 67

Re: (SOLVED) Pacman error: GPGME does not exist

Here is my pacman log.

[2012-12-02 20:15] Running 'pacman -Syu'
[2012-12-02 20:15] synchronizing package lists
[2012-12-02 20:15] starting full system upgrade
[2012-12-02 20:15] upgraded accountsservice (0.6.29-1 -> 0.6.29-2)
[2012-12-02 20:15] Running 'pacman -S clamav'
[2012-12-02 20:16] installed clamav (0.97.6-1)
[2012-12-02 20:21] Running 'pacman -Rs pavucontrol'
[2012-12-02 20:21] removed pavucontrol (1.0-1)
[2012-12-02 20:21] removed gtkmm3 (3.6.0-1)
[2012-12-02 20:21] removed pangomm (2.28.4-1)
[2012-12-02 20:21] removed cairomm (1.10.0-2)
[2012-12-02 20:21] removed atkmm (2.22.6-1)
[2012-12-02 20:21] removed glibmm (2.34.1-1)
[2012-12-02 20:21] removed libsigc++ (2.2.11-1)
[2012-12-02 20:51] Running 'pacman -Rs clamav'
[2012-12-02 20:51] warning: /etc/clamav/freshclam.conf saved as /etc/clamav/freshclam.conf.pacsave
[2012-12-02 20:51] removed clamav (0.97.6-1)
[2012-12-02 20:52] Running 'pacman -Rns pygtk python2-docutils'
[2012-12-02 20:52] removed python2-docutils (0.9.1-2)
[2012-12-02 20:52] removed pygtk (2.24.0-3)
[2012-12-02 20:52] removed python2-gobject2 (2.28.6-8)
[2012-12-02 20:52] removed pygobject2-devel (2.28.6-8)
[2012-12-02 20:52] removed python2-cairo (1.10.0-1)
[2012-12-03 07:26] Running 'pacman -Syu'
[2012-12-03 07:26] synchronizing package lists
[2012-12-03 07:27] Running 'pacman -Syu'
[2012-12-03 07:27] synchronizing package lists
[2012-12-03 07:28] Running 'pacman -Syu'
[2012-12-03 07:28] synchronizing package lists
[2012-12-03 07:39] Running 'pacman -Syu'
[2012-12-03 07:39] synchronizing package lists
[2012-12-03 07:40] Running 'pacman -S gpgme'
[2012-12-03 07:46] Running 'pacman -Syy'
[2012-12-03 07:46] synchronizing package lists
[2012-12-03 07:47] Running 'pacman -Syu'
[2012-12-03 07:47] synchronizing package lists
[2012-12-03 07:47] Running 'pacman -Syu'
[2012-12-03 07:47] synchronizing package lists
[2012-12-03 07:48] Running 'pacman -Syy'
[2012-12-03 07:48] synchronizing package lists
[2012-12-03 07:49] Running 'pacman -Syy'
[2012-12-03 07:49] synchronizing package lists
[2012-12-03 07:51] Running 'pacman -Syu'
[2012-12-03 07:51] synchronizing package lists
[2012-12-03 07:53] Running 'pacman -Syy'
[2012-12-03 07:53] synchronizing package lists

Offline

#7 2012-12-02 23:48:00

mcduling
Member
Registered: 2011-12-16
Posts: 67

Re: (SOLVED) Pacman error: GPGME does not exist

Here is my pacman.conf in separate screens:

  GNU nano 2.2.6            File: /etc/pacman.conf                              

# 
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
# 
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman

  GNU nano 2.2.6            File: /etc/pacman.conf                              

# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace

  GNU nano 2.2.6            File: /etc/pacman.conf                              

#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Optional TrustedOnly

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number

  GNU nano 2.2.6            File: /etc/pacman.conf                              

#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
# 
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
# 
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]

  GNU nano 2.2.6            File: /etc/pacman.conf                              


#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageRequired

  GNU nano 2.2.6            File: /etc/pacman.conf                              

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[multilib]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[archlinuxfr]
Server = http://repo.archlinux.fr/$arch

# An example of a custom package repository.  See the pacman manpage for

  GNU nano 2.2.6            File: /etc/pacman.conf                              


# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Offline

#8 2012-12-03 04:35:14

mcduling
Member
Registered: 2011-12-16
Posts: 67

Re: (SOLVED) Pacman error: GPGME does not exist

I have update the mirror list and copied the latest into my /etc/pacmand/mirrorlist, then #out multilib in /etc/pacman.conf.

All appears to be working fine now. I'll run it for the next few days to see if it picks up upgrades etc and report back, or label this post as solved, if all is well. Thanks for your help so far. Love the Arch Way.

Offline

#9 2012-12-03 07:31:49

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: (SOLVED) Pacman error: GPGME does not exist

mirror.aarnet.edu.au was repaired about 12:00 AEDT

Offline

#10 2012-12-04 00:00:30

mcduling
Member
Registered: 2011-12-16
Posts: 67

Re: (SOLVED) Pacman error: GPGME does not exist

Thanks for letting me know, skunktrader. aarnet stills seems very slow and times out.

Offline

#11 2012-12-08 10:08:32

akspecs
Member
Registered: 2012-02-11
Posts: 179

Re: (SOLVED) Pacman error: GPGME does not exist

After stumbling across the same problem, I had to run :

# pacman-key --init 
# pacman -Syy
# pacman -S name-of-packages

These symptoms occured when my internet connection failed suddenly midway through a "yaourt -Syua" update.

Offline

#12 2013-08-29 01:30:29

TD-Link
Member
From: China
Registered: 2011-09-24
Posts: 3

Re: (SOLVED) Pacman error: GPGME does not exist

#rm -R /lib/pacman/sync/
#pacman -Syu

resolved the problem on my laptop....

Offline

#13 2013-08-29 03:01:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: (SOLVED) Pacman error: GPGME does not exist


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB