You are not logged in.

#1 2014-01-10 22:47:43

kiwiblaster516
Member
Registered: 2013-09-15
Posts: 10

[SOLVED] Pacman Issues

Addendum:
SOLUTION:

If the command:

pacman-key --init && pacman-key --populate archlinux

is not working to solve the GPGME errors, edit your mirrorlist:

nano /etc/pacman.d/mirrorlist

From within your mirrorlist, change the mirror that pacman is currently using (a.k.a the top, uncommented one) to one of the ones below it by commenting the current one out and making sure the next mirror is uncommented.  Then, re-run the command:

pacman-key --init && pacman-key --populate archlinux

and

pacman -Syy

You may get GPGME errors the first time, but re-run your update after this and it should work.

pacman -Syu

And, in the interest of completion, run:

pacman -Syy

again. 

Hopefully this solves your problem.  My specific issue appears to have been related to the aggregate mirror in the US.  Commenting it out and doing the above seems to have fixed the issue.  Thanks, guys.



~~

I'm posting this in the Newbie corner because I know this is a simple issue, but all of the simple fixes I have tried have failed.

Essentially, when I update, I am greeted with:

[root@navi etc]# pacman -Syu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
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))

I have had this issue before and was able to fix it, though this time, nothing  I have tried has fixed it.

Obviously, this followed the pacman update and I removed the old configurations and such and replaced them with the .pacnews.  Unfortunately, I was greeted with the error above. 

Upon searching the forums, I determined that this was a key-related issue and thus went to work replacing my keys via:
rm -r /etc/pacman.d/gnupg
pacman-key --init && pacman-key --populate archlinux
All of this returns the expected output, but the error persisted.

On an Archbang forum, I found a post that recommended clearing out the sync folder in pacman's lib directory:
rm -r /var/lib/pacman/sync
and the re-running:
pacman -Syy

Again, the errors persisted upon updating.
I've done the above multiple times with no results.  I even tried using:
pacman-key --refresh-keys
This did refresh the keys successfully, but the error continued.

The only way I have been able to update is by changing the SigLevel to "Never" in pacman.conf.

I currently have two computers running Arch, a laptop and this desktop.  Both have the same issues.  I even attempted running a newly downloaded arch-key and recieved these errors during the pacstrap -i /mnt base base-devel command.

I've even tried correcting my hardware clock as it says on the pacman wiki page by using hwclock -w .  I am unfamiliar with this command, however, so I am not entirely sure that it is doing what I think it's doing.

Any suggestions?

---

Also, knowing you guys will need some more information about my system, here are some related resources:

pacman.conf: (Do note, I have tried the command with and without commenting out the SigLevel parameters.  Updating / installing new packages only works when they are set to "Never.")

#
# /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
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#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    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# 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
#   - 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]
#Include = /etc/pacman.d/mirrorlist

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

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

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

[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]
#Include = /etc/pacman.d/mirrorlist

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

# 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

My Mirrorlist (is something wrong here?):

##
## Arch Linux repository mirrorlist
## Generated on 2014-01-08
##

## Australia
#Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
#Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
#Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
#Server = http://mirror.optus.net/archlinux/$repo/os/$arch
#Server = http://mirror.rackcentral.com.au/archlinux/$repo/os/$arch
#Server = http://syd.mirror.rackspace.com/archlinux/$repo/os/$arch
#Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.uber.com.au/$repo/os/$arch

## Austria
#Server = http://mirror1.htu.tugraz.at/archlinux/$repo/os/$arch

## Bangladesh
#Server = http://mirrors.ispros.com.bd/archlinux/$repo/os/$arch

## Belarus
#Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch
#Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch

## Belgium
#Server = http://archlinux.cu.be/$repo/os/$arch
#Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch

## Brazil
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
#Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
#Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch

## Bulgaria
#Server = http://archlinux.igor.onlinedirect.bg/$repo/os/$arch

## Canada
#Server = http://archlinux.dropswitch.net/archlinux/$repo/os/$arch
#Server = http://mirror.clibre.uqam.ca/archlinux/$repo/os/$arch
#Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
#Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.rafal.ca/$repo/os/$arch
#Server = http://archlinux.mirror.vexxhost.com/$repo/os/$arch

## Chile
#Server = http://mirror.archlinux.cl/$repo/os/$arch

## China
#Server = http://mirrors.163.com/archlinux/$repo/os/$arch
#Server = http://mirror.bjtu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.hust.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.hustunique.com/archlinux/$repo/os/$arch
#Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch

## Colombia
#Server = http://www.laqee.unal.edu.co/archlinux/$repo/os/$arch

## Czech Republic
#Server = http://archlinux.mirror.dkm.cz/pub/archlinux/$repo/os/$arch
#Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch

## Denmark
#Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch

## Estonia
#Server = http://ftp.eenet.ee/pub/archlinux/$repo/os/$arch

## Finland
#Server = http://mirror.archlinux.fi/archlinux/$repo/os/$arch

## France
#Server = http://archlinux.aubrac-medical.fr/$repo/os/$arch
#Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
#Server = http://archlinux.vi-di.fr/$repo/os/$arch
#Server = http://mirror.bpiotrowski.pl/archlinux/$repo/os/$arch
#Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$arch
#Server = http://mir.archlinux.fr/$repo/os/$arch
#Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
#Server = http://archlinux.polymorf.fr/$repo/os/$arch
#Server = http://mirror.solusipse.net/archlinux/$repo/os/$arch
#Server = http://arch.tamcore.eu/$repo/os/$arch

## Germany
#Server = http://mirror.1favre.de/$repo/os/$arch
#Server = http://archlinux.limun.org/$repo/os/$arch
#Server = http://artfiles.org/archlinux.org/$repo/os/$arch
#Server = http://mirror.fluxent.de/archlinux/$repo/os/$arch
#Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
#Server = http://mirror.hactar.bz/$repo/os/$arch
#Server = http://ftp.hawo.stw.uni-erlangen.de/archlinux/$repo/os/$arch
#Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
#Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
#Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
#Server = http://mirror.michael-eckert.net/archlinux/$repo/os/$arch
#Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch
#Server = http://ftp.neutrinopower.de/archlinux/$repo/os/$arch
#Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
#Server = http://linux.rz.rub.de/archlinux/$repo/os/$arch
#Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
#Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
#Server = http://truefunny.com/m/archlinux/$repo/os/$arch
#Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
#Server = http://ftp.tuxdroid.org/archlinux/$repo/os/$arch
#Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/$arch
#Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
#Server = http://mirror.unitedcolo.de/archlinux/$repo/os/$arch

## Greece
#Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
#Server = http://foss.aueb.gr/mirrors/linux/archlinux/$repo/os/$arch
#Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch
#Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch

## Hong Kong
#Server = http://hkg.mirror.rackspace.com/archlinux/$repo/os/$arch

## Hungary
#Server = http://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch

## Iceland
#Server = http://mirror.system.is/arch/$repo/os/$arch

## India
#Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch

## Indonesia
#Server = http://suro.ubaya.ac.id/archlinux/$repo/os/$arch

## Iran, Islamic Republic of
#Server = http://mirror.yazd.ac.ir/arch/$repo/os/$arch

## Ireland
#Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch

## Israel
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch

## Italy
#Server = http://archlinux.openlabto.org/archlinux/$repo/os/$arch
#Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch

## Japan
#Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch
#Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch

## Kazakhstan
#Server = http://mirror.neolabs.kz/archlinux/$repo/os/$arch

## Korea, Republic of
#Server = http://ftp.kaist.ac.kr/ArchLinux/$repo/os/$arch
#Server = http://mirror.premi.st/archlinux/$repo/os/$arch

## Latvia
#Server = http://archlinux.goodsoft.lv/$repo/os/$arch

## Luxembourg
#Server = http://archlinux.mirror.root.lu/$repo/os/$arch

## Macedonia, The Former Yugoslav Republic of
#Server = http://arch.linux.net.mk/archlinux/$repo/os/$arch

## Netherlands
#Server = http://arch.apt-get.eu/$repo/os/$arch
#Server = http://fruk.org/archlinux/$repo/os/$arch
#Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch
#Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
#Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
#Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch

## New Caledonia
#Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch

## New Zealand
#Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch

## Norway
#Server = http://mirror.archlinux.no/$repo/os/$arch
#Server = http://archlinux.uib.no/$repo/os/$arch

## Poland
#Server = http://mirror.chmuri.net/archmirror/$repo/os/$arch
#Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
#Server = http://ftp.vectranet.pl/archlinux/$repo/os/$arch

## Portugal
#Server = http://archlinux.dcc.fc.up.pt/$repo/os/$arch
#Server = http://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/$arch

## Romania
#Server = http://mirror.archlinux.ro/archlinux/$repo/os/$arch
#Server = http://archlinux.mirrors.linux.ro/$repo/os/$arch

## Russian Federation
#Server = http://mirror.rol.ru/archlinux/$repo/os/$arch
#Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch

## Serbia
#Server = http://mirror.pmf.kg.ac.rs/archlinux/$repo/os/$arch

## Singapore
#Server = http://mirror.nus.edu.sg/archlinux/$repo/os/$arch

## Slovakia
#Server = http://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch

## South Africa
#Server = http://ftp.wa.co.za/pub/archlinux/$repo/os/$arch

## Spain
#Server = http://osl.ugr.es/archlinux/$repo/os/$arch
#Server = http://sunsite.rediris.es/mirror/archlinux/$repo/os/$arch

## Sri Lanka
#Server = http://mirror.learn.ac.lk/archlinux/$repo/os/$arch

## Sweden
#Server = http://ftp.availo.se/archlinux/$repo/os/$arch
#Server = http://ftp.df.lth.se/pub/archlinux/$repo/os/$arch
#Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/$arch
#Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
#Server = http://ftp.portlane.com/pub/os/linux/archlinux/$repo/os/$arch

## Switzerland
#Server = http://archlinux.puzzle.ch/$repo/os/$arch

## Taiwan, Province of China
#Server = http://archlinux.cs.nctu.edu.tw/$repo/os/$arch
#Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch

## Turkey
#Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch

## Ukraine
#Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch
#Server = http://mirrors.mithril.org.ua/linux/archlinux/$repo/os/$arch

## United Kingdom
#Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
#Server = http://mirror.cinosure.com/archlinux/$repo/os/$arch
#Server = http://mirrors.manchester.m247.com/arch-linux/$repo/os/$arch
#Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch
#Server = http://arch.serverspace.co.uk/arch/$repo/os/$arch
#Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch

## United States
Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
Server = http://mirrors.cecsresearch.org/archlinux/$repo/os/$arch
Server = http://arch.mirror.constant.com/$repo/os/$arch
Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
Server = http://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch
Server = http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
Server = http://lug.mtu.edu/archlinux/$repo/os/$arch
Server = http://mirror.metrocast.net/archlinux/$repo/os/$arch
Server = http://mirror.nexcess.net/archlinux/$repo/os/$arch
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
Server = http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch
Server = http://mirrors.lax1.thegcloud.com/arch/$repo/os/$arch
Server = http://mirror.umd.edu/archlinux/$repo/os/$arch
Server = http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch
Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch

## Uzbekistan
#Server = http://mirrors.st.uz/archlinux/$repo/os/$arch

## Viet Nam
#Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/$arch

Contents of /etc/pacman.d/gnupg:

[kiwi@navi gnupg]$ ls
gpg.conf  pubring.gpg  pubring.gpg~  random_seed  secring.gpg  trustdb.gpg

Contents of /var/lib/pacman/sync: (I have read that .db.sigs are not supposed to exist in this folder, but removing them does nothing to help the situation.)

[kiwi@navi sync]$ ls
community.db      core.db      extra.db      multilib.db
community.db.sig  core.db.sig  extra.db.sig  multilib.db.sig

---

I've used Arch for two years and I know missing something quite stupid here.  I just don't know what.  Did I miss some instructions during the update?

Last edited by kiwiblaster516 (2014-01-12 06:46:19)

Offline

#2 2014-01-10 23:03:28

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Pacman Issues

Not sure but try changing mirrors and refreshing.  pacman goes down top to bottom, so put a mirror above the mirrors.aggregate one.

Edit:  Just saw another thread about this.  Start reading from https://bbs.archlinux.org/viewtopic.php … 9#p1369459

Last edited by frank604 (2014-01-10 23:09:24)

Offline

#3 2014-01-10 23:07:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman Issues

After you change the mirror, run

# pacman-key --init && pacman-key --populate archlinux

Offline

#4 2014-01-10 23:20:59

kiwiblaster516
Member
Registered: 2013-09-15
Posts: 10

Re: [SOLVED] Pacman Issues

I did update my mirrorlist using the archlinux mirrorlist generator:

##
## Arch Linux repository mirrorlist
## Generated on 2014-01-10
##

## United States
Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
Server = http://mirrors.cecsresearch.org/archlinux/$repo/os/$arch
Server = http://arch.mirror.constant.com/$repo/os/$arch
Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
Server = http://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch
Server = http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
Server = http://lug.mtu.edu/archlinux/$repo/os/$arch
Server = http://mirror.metrocast.net/archlinux/$repo/os/$arch
Server = http://mirror.nexcess.net/archlinux/$repo/os/$arch
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
Server = http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch
Server = http://mirrors.lax1.thegcloud.com/arch/$repo/os/$arch
Server = http://mirror.umd.edu/archlinux/$repo/os/$arch
Server = http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch
Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch

Running

[root@navi pacman.d]# pacman-key --init && pacman-key --populate archlinux
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
==> Disabling revoked keys in keyring...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: next trustdb check due at 2014-01-22

and then updating:

[root@navi pacman.d]# pacman -Syu
error: GPGME error: No data
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: database 'core' is not valid (invalid or corrupted database (PGP signature))
[root@navi pacman.d]# 

And I have cleared my cache completely (I'm not one to care about downgrading):

[root@navi pacman.d]# ls /var/cache/pacman/pkg
[root@navi pacman.d]# 

Offline

#5 2014-01-10 23:25:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman Issues

Can you run 'pacman -Syy' again with another mirror?

Offline

#6 2014-01-10 23:26:21

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Pacman Issues

It is still using Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch

Try a different mirror by copy and paste another Server line above that one.

Offline

#7 2014-01-11 00:35:12

kiwiblaster516
Member
Registered: 2013-09-15
Posts: 10

Re: [SOLVED] Pacman Issues

Alright, it appears to be working now:
(I commented out the aggregate server in the mirrorlist and did the following):

[root@navi pacman.d]# bluefish mirrorlist
error reading list 1 Error opening file: No such file or directory

** (bluefish:5187): WARNING **: no configfile rcfile-2.0, try to convert config files from older versions

config file migration error 1:Error opening file: No such file or directoryerror reading list 1 Error opening file: No such file or directory

** (bluefish:5187): WARNING **: failed to load plugin /usr/lib/bluefish/charmap.so with error libgucharmap_2_90.so.7: cannot open shared object file: No such file or directory

Error creating proxy: The connection is closed (g-io-error-quark, 18)
[root@navi pacman.d]# clear

[root@navi pacman.d]# pacman-key --init && pacman-key --populate archlinux
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
==> Disabling revoked keys in keyring...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: next trustdb check due at 2014-01-22
[root@navi pacman.d]# pacman -Syu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 core is up to date
 extra                   1442.6 KiB   701K/s 00:02 [######################] 100%
 community is up to date
 multilib is up to date
error: database 'core' 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))
[root@navi pacman.d]# pacman -Syy
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 core                     106.4 KiB   242K/s 00:00 [######################] 100%
 extra                   1442.6 KiB   499K/s 00:03 [######################] 100%
 community                  2.0 MiB  1100K/s 00:02 [######################] 100%
 multilib                 112.1 KiB   274K/s 00:00 [######################] 100%
[root@navi pacman.d]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (2): cogl-1.16.0-3  libmikmod-3.3.5-1

Total Download Size:    0.77 MiB
Total Installed Size:   2.99 MiB
Net Upgrade Size:       -0.01 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
 cogl-1.16.0-3-x86_64     648.1 KiB   930K/s 00:01 [######################] 100%
 libmikmod-3.3.5-1-x...   136.7 KiB   444K/s 00:00 [######################] 100%
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
(2/2) loading package files                        [######################] 100%
(2/2) checking for file conflicts                  [######################] 100%
(2/2) checking available disk space                [######################] 100%
(1/2) upgrading cogl                               [######################] 100%
(2/2) upgrading libmikmod                          [######################] 100%
[root@navi pacman.d]# pacman -Syy
:: Synchronizing package databases...
 core                     106.4 KiB   296K/s 00:00 [######################] 100%
 extra                   1442.6 KiB  1010K/s 00:01 [######################] 100%
 community                  2.0 MiB   939K/s 00:02 [######################] 100%
 multilib                 112.1 KiB   261K/s 00:00 [######################] 100%
[root@navi pacman.d]# 

So, I suppose that it was the aggregate server giving me issues?  I had tried this earlier without much in the way of results.  It works now, I suppose I'll try this on my laptop as well.

Offline

#8 2014-01-11 01:42:32

dslink
Member
From: USA
Registered: 2012-02-23
Posts: 48

Re: [SOLVED] Pacman Issues

This is still totally screwed for me. I ran into this about 2 weeks ago installing on a workstation now what worked for me on the workstation isn't working in a VM.  btw the command that worked the lasttime was pacman-key --init; pacman-key --populate archlinux; pacman-key --refresh-keys; pacman -Syyu

No luck now.

Offline

#9 2014-01-11 01:44:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman Issues

Try different mirrors. Post the output of 'pacman -Syyu'.

Offline

#10 2014-01-11 01:56:35

dslink
Member
From: USA
Registered: 2012-02-23
Posts: 48

Re: [SOLVED] Pacman Issues

It's in a vm with no paste. The only error is "error: GPGME error: No data it does it 4 times for core extra, ect.

Also when I do pacman-key --init    it just hangs on
gpg: Generating pacman keyring master key...

Last edited by dslink (2014-01-11 01:58:00)

Offline

#11 2014-01-11 01:59:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman Issues

Run pacman-key properly, use e.g. haveged https://wiki.archlinux.org/index.php/Pa … he_keyring



Edit: You can use a pastebin client so you can provide the command output or error messages https://wiki.archlinux.org/index.php/Pa … in_clients (assuming you can install them)

Last edited by karol (2014-01-11 02:01:46)

Offline

#12 2014-01-11 02:17:13

dslink
Member
From: USA
Registered: 2012-02-23
Posts: 48

Re: [SOLVED] Pacman Issues

Hehe I can't install anything. I was cat'ing urandom for some randomness with the pgp but it ran for a good 20mins before I killed it. I'll try haveged now, Thanks.

Offline

#13 2014-01-11 02:19:28

dslink
Member
From: USA
Registered: 2012-02-23
Posts: 48

Re: [SOLVED] Pacman Issues

haveged did it...

Thanks man!

Offline

#14 2014-01-12 06:36:01

kiwiblaster516
Member
Registered: 2013-09-15
Posts: 10

Re: [SOLVED] Pacman Issues

Ok, this appears to work on both my laptop and my desktop.  Thank you for the help!

Offline

Board footer

Powered by FluxBB