[SOLVED] [pacman] My 'pacman-key --init' issue

pacman-key --init
gpg: Generating pacman keychain master key...
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 211 more bytes)
Well, I thought that I could resolve it using random bytes from RANDOM.ORG (http://www.random.org/, in particularly http://www.random.org/bytes/), a really useful website.
Is it a good solution, or is it mandatory to generate random bytes using my PC? And in that case, how can I use random bytes generated from that site?
Last edited by metre (2011-10-14 09:48:31)

teratomata wrote:
hussam wrote:
I installed pacman 4.0 from testing. I did pacman-key --init
but now I can't install anything again
trying to install hplip
Proceed with installation? [Y/n] y
(1/1) checking package integrity [####################################] 100%
error: hplip: key "FCF2CB179205AC90" is unknown
:: Import PGP key 9205AC90, "Eric Belanger <[email protected]>", created 2011-04-20? [Y/n] y
(1/1) checking package integrity [####################################] 100%
error: hplip: signature from "Eric Belanger <[email protected]>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
I found that my pacman.conf didn't get updated, but once I moved /etc/pacman.conf.pacnew to /etc/pacman.conf, everything worked.
I just wanted to say thanks teratomata. I did everything that was mentioned and was continually being asked if I wanted to import keys.  Moved pacman.conf.pacnew to pacman.conf and everything works great!

Similar Messages

  • Circular: can't install libusb-compat for `pacman-key --init` [SOLVED]

    So like a lot of people on here have upgraded to pacman 4.
    I can't run `pacman-key --init` to update the keyring:
    [stuart@myhost ~]$ sudo pacman-key --init
    Password:
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    chmod: cannot access `/etc/pacman.d/gnupg/trustdb.gpg': No such file or directory
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    ==> Updating trust database...
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    And because of signature issues can't install libusb-compat:
    [stuart@myhost ~]$ sudo pacman -S libusb-compat
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): libusb-compat-0.1.3-2
    Total Installed Size: 0.06 MiB
    Net Upgrade Size: -0.02 MiB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [######################] 100%
    warning: Public keyring not found; have you run 'pacman-key --init'?
    error: GPGME error: Invalid crypto engine
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    Errors occurred, no packages were upgraded.
    Last edited by Skipper_the_eye_child (2012-01-26 19:24:00)

    That worked - thanks. It'd have helped had I remembered to write over pacman.conf of course! I've not done any mainentance for while, got a little rusty i'm afraid.
    Last edited by Skipper_the_eye_child (2012-04-11 14:02:52)

  • [SOLVED] Pacman Key Signing Strange Activity

    Hi,
    I was just setting up the package verification system with pacman when I noticed it was doing something unusual.  When I ran:
    pacman-key --init
    instead of waiting for entropy, it just returned the prompt.  Next, when I ran:
    pacman-key --populate archlinux
    it seemed to go through the entire signing process itself, stating that they didn't need to be signed again (sorry for the vagueness as I can't fetch exactly what it said by redirecting it into a file or something).  The point is, usually I have to confirm each signature.
    Is this normal?
    Last edited by Mindstormscreator (2012-08-26 15:42:40)

    Does the contents of /etc/pacman.d/gnupg look normal? You could compare that directory with the one on the live media (diff -rq) to test that theory.
    When I set up package signing, I think I signed five master keys manually which I'd compared from two somewhat independent sources. After that, I don't remember having to *sign* any more signatures but only to confirm it was OK to import them. And now pacman seems to handle much of that automatically... But it is hard to imagine it would be meant to sign the master keys automatically since that would seem to undermine the point of having them in the first place.
    On a fresh install, too, the init should take longer because so little is going on. (Hence all the threads here about it hanging because people haven't read the instructions for creating entropy .)

  • [SOLVED] Pacman is unable to look up keys?

    Hi there,
    I'm using Arch Linux for a while, and I'm using pacman 4.0 as well as key signing. It works without any problems, and I run system upgrades every 3 days or so.
    Today i just want to initiate the upgrade with "pacman -Syu" as usual, but pacman refuses it because it is unable to check the keys. Since it did work perfectly before, I - of course - did pacman key initialization and configured the pacman.conf properly.
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    warning: dependency cycle detected:
    warning: udev will be installed before its util-linux dependency
    looking for inter-conflicts...
    Targets (25): binutils-2.22-5 coreutils-8.16-2 dhcpcd-5.5.6-1 expat-2.1.0-1
    filesystem-2012.2-4 gcc-4.7.0-3 gcc-libs-4.7.0-3 glibc-2.15-10
    gnutls-3.0.18-1 kmod-7-2 krb5-1.10.1-2 libarchive-3.0.4-1
    libltdl-2.4.2-5 libpng-1.5.10-1 libtool-2.4.2-5 linux-3.2.14-1
    linux-api-headers-3.3-1 mkinitcpio-0.8.6-2 pcmciautils-018-4
    perl-net-ssleay-1.46-1 syslinux-4.05-4 syslog-ng-3.3.4-5
    tzdata-2012c-1 udev-181-9 util-linux-2.21.1-2
    Total Installed Size: 245.35 MiB
    Net Upgrade Size: 5.96 MiB
    Proceed with installation? [Y/n] y
    (25/25) checking package integrity [######################] 100%
    error: libarchive: key "5C2E46A0F53A76ED" is unknown
    error: key "5C2E46A0F53A76ED" could not be looked up remotely
    error: failed to commit transaction (invalid or corrupted package)
    Errors occurred, no packages were upgraded.
    My pacman.conf looks like this (important parts)
    # PGP signature checking
    # NOTE: None of this will work without running `pacman-key --init` first.
    # The compiled in default is equivalent to the following line. This requires
    # you to locally sign and trust packager keys using `pacman-key` for them to be
    # considered valid.
    #SigLevel = Optional TrustedOnly
    # If you wish to check signatures but avoid local sign and trust issues, use
    # the following line. This will treat any key imported into pacman's keyring as
    # trusted.
    SigLevel = Optional TrustAll
    # For now, off by default unless you read the above.
    #SigLevel = Never
    [core]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    [community]
    SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    gpg.conf
    no-greeting
    no-permission-warning
    lock-never
    keyserver hkp://keys.gnupg.net
    keyserver-options timeout=10
    I also tried increasing the timeout and changing the keyserver to hkp://pgp.mit.edu:11371, as adviced in other threads, but no help.
    Cleaning the caches with pacman -Sc didn't help ether. I also restarted the system several times, but no success.
    Any help? Thanks!
    Last edited by silentsnake (2012-04-07 14:56:24)

    Cleaning the cache with pacman -Sc will leave the most recent downloaded version there, so delete the package manually from the cache and run pacman -Syu again.

  • Pacman giving error after 'packman-key --init'

    Well after a long time i m back on arch. and i found out that pacman has changed and using pgp signature (happy now !). and everything is smooth except one thing pacman is still giving error and asks me to import pgp for every single package when i try to install something. here is an output :
    [root@Olympians hades]# pacman -S rhythmbox
    resolving dependencies...
    looking for inter-conflicts...
    Targets (32): aspell-0.60.6.1-1 clutter-1.8.2-2 clutter-gst-1.4.6-1
    clutter-gtk-1.0.4-1 cogl-1.8.2-1 enchant-1.6.0-4 gmime-2.6.4-1
    gobject-introspection-1.30.0-1 grilo-0.1.18-1 gvfs-1.10.1-2
    gvfs-afc-1.10.1-2 hspell-1.1-1 hunspell-1.3.2-1 icu-4.8.1.1-1
    json-glib-0.14.2-1 libdiscid-0.2.2-1 libdmapsharing-2.9.12-1
    libgpod-0.8.2-2 libmtp-1.1.1-1 libmusicbrainz3-3.0.3-1
    libpeas-1.2.0-1 libwebkit3-1.6.1-1 media-player-info-15-1
    mutagen-1.20-3 mx-1.4.1-1 pygobject-devel-3.0.3-1
    python2-beaker-1.6.2-1 python2-gobject-3.0.3-1
    python2-mako-0.5.0-2 python2-markupsafe-0.15-1
    totem-plparser-2.32.6-3 rhythmbox-2.95-1
    Total Installed Size: 129.07 MiB
    Proceed with installation? [Y/n] y
    (32/32) checking package integrity [----------------------] 100%
    error: grilo: key "A5E9288C4FA415FA" is unknown
    :: Import PGP key 4FA415FA, "Jan Alexander Steffens (heftig) <[email protected]>", created 2011-08-25? [Y/n] y
    error: icu: key "94657AB20F2A092B" is unknown
    :: Import PGP key 0F2A092B, "Andreas Radke <[email protected]>", created 2011-05-14? [Y/n] y
    error: enchant: key "976AC6FA3B94FA10" is unknown
    :: Import PGP key 3B94FA10, "Jan de Groot <[email protected]>", created 2011-06-06? [Y/n] y
    (32/32) checking package integrity [----------------------] 100%
    (32/32) loading package files [----------------------] 100%
    (32/32) checking for file conflicts [----------------------] 100%
    (32/32) checking available disk space [----------------------] 100%
    ( 1/32) installing json-glib [----------------------] 100%
    ( 2/32) installing cogl [----------------------] 100%
    ( 3/32) installing clutter [----------------------] 100%
    ( 4/32) installing clutter-gtk [----------------------] 100%
    ( 5/32) installing clutter-gst [----------------------] 100%
    ( 6/32) installing grilo [----------------------] 100%
    Optional dependencies for grilo
    grilo-plugins: Plugins for grilo
    ( 7/32) installing gvfs [----------------------] 100%
    Optional dependencies for gvfs
    gvfs-afc: AFC (mobile devices) support
    gvfs-smb: SMB/CIFS (Windows client) support
    gvfs-gphoto2: gphoto2 (PTP camera/MTP media player) support
    gvfs-obexftp: ObexFTP (bluetooth) support
    gvfs-afp: Apple Filing Protocol (AFP) support
    ( 8/32) installing gvfs-afc [----------------------] 100%
    ( 9/32) installing libdmapsharing [----------------------] 100%
    (10/32) installing mutagen [----------------------] 100%
    (11/32) installing libgpod [----------------------] 100%
    Optional dependencies for libgpod
    gtk-sharp-2: Mono bindings
    (12/32) installing libmtp [----------------------] 100%
    (13/32) installing libdiscid [----------------------] 100%
    (14/32) installing libmusicbrainz3 [----------------------] 100%
    (15/32) installing gobject-introspection [----------------------] 100%
    (16/32) installing libpeas [----------------------] 100%
    Optional dependencies for libpeas
    gjs: gobject-based plugin engine - gjs runtime loader
    seed: gbject-based plugin engine - seed runtime loader
    (17/32) installing icu [----------------------] 100%
    (18/32) installing aspell [----------------------] 100%
    ==> aspell comes with no default dictionary
    Optional dependencies for aspell
    perl: to import old dictionaries
    (19/32) installing hunspell [----------------------] 100%
    Optional dependencies for hunspell
    perl: for ispellaff2myspell
    (20/32) installing hspell [----------------------] 100%
    (21/32) installing enchant [----------------------] 100%
    (22/32) installing libwebkit3 [----------------------] 100%
    (23/32) installing media-player-info [----------------------] 100%
    (24/32) installing mx [----------------------] 100%
    (25/32) installing pygobject-devel [----------------------] 100%
    (26/32) installing python2-gobject [----------------------] 100%
    (27/32) installing python2-markupsafe [----------------------] 100%
    (28/32) installing python2-beaker [----------------------] 100%
    (29/32) installing python2-mako [----------------------] 100%
    (30/32) installing gmime [----------------------] 100%
    (31/32) installing totem-plparser [----------------------] 100%
    (32/32) installing rhythmbox [----------------------] 100%
    Optional dependencies for rhythmbox
    gstreamer0.10-ugly-plugins: Extra media codecs
    gstreamer0.10-bad-plugins: Extra media codecs
    gstreamer0.10-ffmpeg: Extra media codecs
    brasero: cd burning
    and here is my pacman.conf file.
    # /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
    HoldPkg = pacman glibc
    # 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
    #XferCommand = /usr/bin/curl -C - %u > %o
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    TotalDownload
    ILoveCandy
    CheckSpace
    # PGP signature checking
    # NOTE: None of this will work without running `pacman-key --init` first.
    # The compiled in default is equivalent to the following line. This requires
    # you to locally sign and trust packager keys using `pacman-key` for them to be
    # considered valid.
    #SigLevel = Optional TrustedOnly
    # If you wish to check signatures but avoid local sign and trust issues, use
    # the following line. This will treat any key imported into pacman's keyring as
    # trusted.
    SigLevel = Optional TrustAll
    # For now, off by default unless you read the above.
    #SigLevel = Never
    # 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]
    ## Add your preferred servers here, they will be used first
    #Include = /etc/pacman.d/mirrorlist
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    ## Add your preferred servers here, they will be used first
    #Include = /etc/pacman.d/mirrorlist
    #[multilib]
    ## Add your preferred servers here, they will be used first
    #Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    i searched it but i am not sure i understood it quite very well. anyway thanks for help. and its good to be back !!!

    so can anyone of you post your pacman.conf file that is already merged ?? and when i press y when it prompts to import the key it doesn't really import it ! and i dont understand this - i m able to install single package but cant upgrade the system ! okay here is the output -
    [hades@Olympians ~]$ sudo pacman -Syu
    :: Synchronizing package databases...
    core 106.4 KiB 23.1K/s 00:05 [----------------------] 100%
    extra 1186.2 KiB 93.1K/s 00:13 [----------------------] 100%
    community 1048.9 KiB 114K/s 00:09 [----------------------] 100%
    :: Starting full system upgrade...
    :: Replace module-init-tools with core/kmod? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...
    Targets (204): alsa-firmware-1.0.25-1 alsa-lib-1.0.25-1 alsa-oss-1.0.25-1
    alsa-utils-1.0.25-1 ati-dri-7.11.2-1 autoconf-2.68-2
    automake-1.11.2-1 avahi-0.6.30-6 bash-4.2.020-1
    binutils-2.22-4 bison-2.5-3 bzip2-1.0.6-3
    ca-certificates-20111211-1 cifs-utils-5.2-1 colord-0.1.16-1
    conky-1.8.2git20111107-1 consolekit-0.4.5-2 coreutils-8.15-1
    cracklib-2.8.18-2 cryptsetup-1.4.1-1 curl-7.24.0-1
    db-5.3.15-1 deadbeef-0.5.1-4 desktop-file-utils-0.19-1
    dhcpcd-5.2.12-4 dialog-1.1_20111020-1 dnsutils-9.8.1-2
    dosfstools-3.0.12-1 e2fsprogs-1.42-1 enca-1.13-2
    eventlog-0.2.12-3 expat-2.0.1-7 fakeroot-1.18.2-1 file-5.10-1
    filesystem-2011.12-2 findutils-4.4.2-4
    flashplugin-11.1.102.55-1 flex-2.5.35-5 freeglut-2.8.0-1
    gawk-4.0.0-2 gcc-4.6.2-6 gcc-libs-4.6.2-6 gdbm-1.10-1
    gdk-pixbuf2-2.24.1-1 gettext-0.18.1.1-4
    glib-networking-2.30.2-1 glib2-2.30.2-1 glibc-2.15-4
    glibmm-2.30.1-1 gmtk-1.0.5-2 gnome-icon-theme-symbolic-3.2.2-1
    gnome-keyring-3.2.2-3 gnome-mplayer-1.0.5-1 gnutls-3.0.12-1
    gpm-1.20.6-7 grep-2.10-1 groff-1.21-2 grub-0.97-21
    gstreamer0.10-bad-0.10.22-3 gstreamer0.10-bad-plugins-0.10.22-3
    gstreamer0.10-ffmpeg-0.10.13-1 gstreamer0.10-ugly-0.10.18-4
    gstreamer0.10-ugly-plugins-0.10.18-4
    gtk-update-icon-cache-2.24.9-1 gtk2-2.24.9-1 gtk3-3.2.3-2
    gucharmap-3.2.2-1 gzip-1.4-4 heirloom-mailx-12.5-3
    idnkit-1.0-2 inetutils-1.9.1-1 initscripts-2012.01.3-1
    intel-dri-7.11.2-1 intltool-0.50.0-1 iproute2-3.2.0-2
    iputils-20101006-2 jack-0.121.3-5 jfsutils-1.1.15-3
    jshon-20111222-1 keyutils-1.5.5-1 kmod-4-1 krb5-1.9.2-2
    lame-3.99.3-1 lcms2-2.3-1 less-444-2 libass-0.10.0-3
    libbluray-0.2.1-1 libburn-1.1.8-1 libcap-2.22-2
    libcroco-0.6.3-1 libdatrie-0.2.5-1 libdrm-2.4.30-1
    libdvdnav-4.2.0-2 libdvdread-4.2.0-1 libevent-2.0.16-1
    libgl-7.11.2-1 libglapi-7.11.2-1 libgnome-keyring-3.2.2-1
    libgphoto2-2.4.11-1 libgusb-0.1.3-1 libiec61883-1.2.0-3
    libjpeg-turbo-1.1.1-4 libldap-2.4.28-2 libpcap-1.2.1-1
    libpipeline-1.2.0-2 libpulse-1.1-2 librsvg-2.34.2-1
    libsasl-2.1.23-9 libthai-0.1.16-1 libusb-1.0.8-2
    libusb-compat-0.1.3-2 libvdpau-0.4.1-2 libxfce4ui-4.8.1-1
    libxi-1.4.5-1 libxrandr-1.3.2-2 linux-3.2.2-1
    linux-firmware-20111101-1 lirc-utils-1:0.9.0-10
    lxappearance-0.5.1-3 m4-1.4.16-2 mach64-dri-7.11.2-1
    man-db-2.6.0.2-3 mdadm-3.2.3-1 mesa-7.11.2-1 mga-dri-7.11.2-1
    mjpegtools-2.0.0-1 mkinitcpio-0.8.2-1
    module-init-tools-3.16-1 [removal] mpfr-3.1.0.p3-1
    mpg123-1.13.4-2 mplayer-34426-1 nano-2.2.6-2 ncurses-5.9-2
    network-manager-applet-0.9.2.0-1 networkmanager-0.9.2.0-1
    nss-3.13.1-2 obmenu-1.0-9 openbox-themes-1.0.2-2
    openssl-1.0.0.g-1 p11-kit-0.9-1 pam-1.1.5-2 parted-3.0-4
    patch-2.6.1-3 pciutils-3.1.8-1 pcre-8.21-1 perl-5.14.2-7
    pixman-0.24.2-1 pkg-config-0.26-2 pm-quirks-0.20100619-2
    polkit-0.103-1 poppler-0.18.3-1 poppler-glib-0.18.3-1
    popt-1.16-4 ppp-2.4.5-3 python-distutils-extra-2.29-1
    python-imaging-1.1.7-4 python2-2.7.2-4 r128-dri-7.11.2-1
    raptor-2.0.6-1 readline-6.2.002-1 reiserfsprogs-3.6.21-4
    run-parts-4.0.4-1 savage-dri-7.11.2-1 scrot-0.8-5
    sdl-1.2.15-1 sed-4.2.1-4 sg3_utils-1.33-1 shadow-4.1.4.3-5
    shared-color-profiles-0.1.5-1 sis-dri-7.11.2-1
    smbclient-3.6.2-1 sqlite3-3.7.10-1 startup-notification-0.12-2
    sysfsutils-2.1.0-7 syslinux-4.05-1 syslog-ng-3.3.4-1
    talloc-2.0.7-1 tar-1.26-2 tdfx-dri-7.11.2-1 texinfo-4.13a-7
    transmission-gtk-2.42-2 tzdata-2011n-1 udev-179-1
    unrar-4.1.4-1 upower-0.9.15-1 util-linux-2.20.1-2
    vi-1:050325-2 wavpack-4.60.1-2 which-2.20-5
    wireless_tools-29-6 wpa_supplicant-0.7.3-4 x264-20111030-1
    xcb-util-0.3.8-1 xf86-input-joystick-1.6.0-3
    xf86-video-ati-6.14.3-1 xf86-video-intel-2.17.0-2
    xf86-video-vmware-11.1.0-1 xfconf-4.8.1-1 xfsprogs-3.1.7-1
    xkeyboard-config-2.5-1 xorg-server-1.11.3-1
    xorg-server-common-1.11.3-1 xorg-xinit-1.3.1-2
    zathura-0.0.8.5-4
    Total Download Size: 7.87 MiB
    Total Installed Size: 898.19 MiB
    Net Upgrade Size: 20.59 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    glibc-2.15-4-i686 7.1 MiB 118K/s 01:02 [----------------------] 90%
    e2fsprogs-1.42-1-i686 7.9 MiB 118K/s 01:08 [----------------------] 100%
    (203/203) checking package integrity [----------------------] 100%
    (203/203) loading package files [----------------------] 100%
    (203/203) checking for file conflicts [----------------------] 100%
    error: failed to commit transaction (conflicting files)
    filesystem: /etc/mtab exists in filesystem
    Errors occurred, no packages were upgraded.
    [hades@Olympians ~]$

  • [Solved] Pacman Issue

    After attempting to run the command pacman -Syu, I got this error:
    Proceed with installation? [Y/n] y
    (60/60) checking package integrity [######################] 100%
    error: amsn: signature from "Jaroslav Lichtblau (trusted user) <[email protected]>" is unknown trust
    error: libglapi: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: libgl: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: ati-dri: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: bash: signature from "Allan McRae <[email protected]>" is unknown trust
    error: util-linux: signature from "Tom Gundersen <[email protected]>" is unknown trust
    error: systemd-tools: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: bluez: signature from "Tom Gundersen <[email protected]>" is unknown trust
    error: libx11: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: mesa: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: clutter: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: clutter-gst: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: colord: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: consolekit: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: device-mapper: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: cryptsetup: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: db: signature from "Stphane Gaudreault <[email protected]>" is unknown trust
    error: e2fsprogs: signature from "Ronald van Haren <[email protected]>" is unknown trust
    error: eog-plugins: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: gnome-user-docs: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: gpm: signature from "Eric Belanger <[email protected]>" is unknown trust
    error: gvfs: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: gvfs-obexftp: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: perl: signature from "Florian Pritz <[email protected]>" is unknown trust
    error: vim-runtime: signature from "Thomas Dziedzic <[email protected]>" is unknown trust
    error: gvim: signature from "Thomas Dziedzic <[email protected]>" is unknown trust
    error: imagemagick: signature from "Eric Belanger <[email protected]>" is unknown trust
    error: initscripts: signature from "Tom Gundersen <[email protected]>" is unknown trust
    error: intel-dri: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: libatasmart: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: libcanberra: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: libpulse: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: libcanberra-pulse: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: libldap: signature from "Stphane Gaudreault <[email protected]>" is unknown trust
    error: libpipeline: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: libproxy: signature from "Evangelos Foutras <[email protected]>" is unknown trust
    error: libsystemd: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: libtasn1: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: libxaw: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: libxft: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: lvm2: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: mkinitcpio-busybox: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: mkinitcpio: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: net-snmp: signature from "Evangelos Foutras <[email protected]>" is unknown trust
    error: perl-xml-parser: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: pixman: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: procps-ng: signature from "Eric Belanger <[email protected]>" is unknown trust
    error: pulseaudio: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: run-parts: signature from "Pierre Schmitz <[email protected]>" is unknown trust
    error: xcb-util: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: startup-notification: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: sudo: signature from "Allan McRae <[email protected]>" is unknown trust
    error: svga-dri: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: udisks: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: vte-common: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: vte3: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: xf86-video-ati: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: xf86-video-intel: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: xorg-server-common: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: xorg-server: signature from "Andreas Radke <[email protected]>" is unknown trust
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    Errors occurred, no packages were upgraded.
    I looked around to see if others had the same issues, but none of their solutions worked for me. I do not have a pacman.conf.pacnew file. Here is my pacman.config file:
    # /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
    #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
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # Misc options
    #UseSyslog
    #UseDelta
    #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
    # - 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]
    #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
    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
    # 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
    Any help at all will be greatly appreciated.
    EDIT: I realized I misunderstood one of the posts on the forum I saw previously. I fixed the issue by setting SigLevel = Optional TrustAll. I thought it meant only in one place, not each package I'm using. Sorry for the inconvienence.
    Last edited by Inxsible (2012-06-04 22:35:26)

    Next time, please use [ code ] tags, not [ quote ] tags
    like this
    https://bbs.archlinux.org/help.php#bbcode
    so the code is more readable and longer listing are nicely scrollable.

  • [Solved] Pacman -Su stuck at downloading required keys

    With updating my system (with pacman -Syu), pacman seems stuck with the last operation "Checking keys in the keyring". What I see is:
    (167/167) checking keys in keyring                                 [####################################] 100%
    downloading required keys...
    After 20 minutes or so I killed the process and initialized the keyring from scratch, following the instructions on the wiki, hoping this would give some clues. Unfortunately, this problem still persists.
    Any suggestions on what may be the problem, or how to fix it?
    Last edited by Floris (2015-02-12 14:04:31)

    Thanks for that hint. The debug showed that it was fetching a key remotely, and then nothing. With that, I was able to find this similar thread on this forum. I followed the suggested procedure:
    mauritiusdadd wrote:# rm -R /etc/pacman.d/gnupg/
    # rm -R /root/.gnupg/  # only if the directory exists
    # gpg --refresh-keys
    # pacman-key --init && pacman-key --populate
    # pacman-key --refresh-keys
    and it solved the stall. I think that the second instruction really helped, because I did rebuild the keychain multiple times today. Apparently something was cached in the .gnupg folder that might have interfered.
    Thanks!
    Last edited by Floris (2015-02-12 16:54:23)

  • (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)

    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

  • [SOLVED] PACMAN sig errors

    Hi,
    So i have this problem which started about a week ago, i reckon around the time of that pacman update. Anyway i'm getting signing erros on package installs and  a sudo pacman-key --init
    sudo pacman-key --populate archlinux with and without sudo pacman -Syy fixes it....till i reboot then it errors up again. I've removed the /etc/pacman.d/gnupg folder etc reinstalled archlinux-keyring, pacman without a fix. Sorry my first post here is a beg for ideas to help but i'm more of a lurker then poster.
    If anyone needs more info i am happy to provide as i really would love to solve this. Long live arch linux
    cheers
    Al
    edit:
    Should add the keys show up with pacman-key -l or -f etc after reboot but doesn't stop me from errors. so the keyring is still there but not searched?   but if i do a pacman-key --refresh-keys then it will find new keys but this will not fix the errors and allow package install.   needs the --init  then populate to allow install.
    hope i'm clear enough
    Last edited by woznme (2013-03-12 12:39:32)

    Allan it appears to be correct, and i disabled the ntpd check/set i had autostarting and that made no difference. Thanks for your efforts in helping troubleshoot this.
    not sure this helps but if I logout my openbox session  (--exit) then logon again the keyring is still working fine.
    Last edited by woznme (2013-03-10 14:22:23)

  • [SOLVED] Pacman not working after updating.

    While I'm trying to resolve issue "package-query: requires pacman<3.6", I did wrong that entering "pacman-key --init" right after upgrading pacman. Now it neither upgrade nor install programs.
    pacman -Syu
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirrors.kernel.org : Could not resolve host: mirrors.kernel.org; Name or service not known
    error: failed retrieving file 'core.db' from mirror.yandex.ru : Could not resolve host: mirror.yandex.ru; Name or service not known
    error: failed to update core (download library error)
    error: failed retrieving file 'extra.db' from mirrors.kernel.org : Could not resolve host: mirrors.kernel.org; Name or service not known
    error: failed retrieving file 'extra.db' from mirror.yandex.ru : Could not resolve host: mirror.yandex.ru; Name or service not known
    error: failed to update extra (download library error)
    error: failed retrieving file 'community.db' from mirrors.kernel.org : Could not resolve host: mirrors.kernel.org; Name or service not known
    error: failed retrieving file 'community.db' from mirror.yandex.ru : Could not resolve host: mirror.yandex.ru; Name or service not known
    error: failed to update community (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    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
    #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
    #VerbosePkgLists
    # PGP signature checking
    # NOTE: None of this will work without running `pacman-key --init` first.
    # The compiled in default is equivalent to the following line. This requires
    # you to locally sign and trust packager keys using `pacman-key` for them to be
    # considered valid.
    #SigLevel = Optional TrustedOnly
    # If you wish to check signatures but avoid local sign and trust issues, use
    # the following line. This will treat any key imported into pacman's keyring as
    # trusted.
    #SigLevel = Optional TrustAll
    # For now, off by default unless you read the above.
    SigLevel = Never
    # 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]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    #SigLevel = PackageOptional
    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
    Last edited by bilgee0629 (2012-02-06 13:34:40)

    Gcool wrote:
    Could you post the output of the following commands:
    * ifconfig -a
    * cat /etc/resolv.conf
    * ping mirrors.kernel.org
    * ping 8.8.8.8
    * tail -50 /var/log/pacman.log
    1) 
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
    inet6 fe80::ea9a:8fff:fe63:6190 prefixlen 64 scopeid 0x20<link>
    ether e8:9a:8f:63:61:90 txqueuelen 1000 (Ethernet)
    RX packets 6820 bytes 1956857 (1.8 MiB)
    RX errors 48 dropped 1 overruns 0 frame 46
    TX packets 3693 bytes 398312 (388.9 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 1 collisions 48
    device interrupt 43
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 0 (Local Loopback)
    RX packets 26 bytes 2052 (2.0 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 26 bytes 2052 (2.0 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492 metric 1
    inet 49.0.145.198 netmask 255.255.255.255 destination 8.8.8.8
    ppp txqueuelen 3 (Point-to-Point Protocol)
    RX packets 3103 bytes 1539691 (1.4 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 3589 bytes 312371 (305.0 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 metric 1
    ether d0:df:9a:30:2d:8e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    2)
    nameserver 202.72.241.5
    nameserver 203.34.37.3
    3)
    PING mirrors.us.kernel.org (149.20.4.71) 56(84) bytes of data.
    64 bytes from mirrors2.kernel.org (149.20.4.71): icmp_req=1 ttl=53 time=241 ms
    64 bytes from mirrors2.kernel.org (149.20.4.71): icmp_req=2 ttl=53 time=242 ms
    64 bytes from mirrors2.kernel.org (149.20.4.71): icmp_req=3 ttl=53 time=242 ms
    ^C
    --- mirrors.us.kernel.org ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2002ms
    rtt min/avg/max/mdev = 241.653/242.080/242.345/0.504 ms
    4)
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_req=1 ttl=255 time=10.3 ms
    64 bytes from 8.8.8.8: icmp_req=2 ttl=255 time=11.4 ms
    64 bytes from 8.8.8.8: icmp_req=3 ttl=255 time=210 ms
    64 bytes from 8.8.8.8: icmp_req=4 ttl=255 time=7.34 ms
    64 bytes from 8.8.8.8: icmp_req=5 ttl=255 time=10.6 ms
    ^C
    --- 8.8.8.8 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4005ms
    rtt min/avg/max/mdev = 7.349/50.062/210.542/80.252 ms
    5)
    [2012-02-06 17:58] Running 'pacman -Rdd package-query'
    [2012-02-06 17:59] removed package-query (0.9-1)
    [2012-02-06 17:59] Running 'pacman -Syu'
    [2012-02-06 17:59] synchronizing package lists
    [2012-02-06 18:11] upgraded linux-api-headers (3.0.1-1 -> 3.1.6-1)
    [2012-02-06 18:11] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
    [2012-02-06 18:11] Generating locales...
    [2012-02-06 18:11] en_US.UTF-8... done
    [2012-02-06 18:11] en_US.ISO-8859-1... done
    [2012-02-06 18:11] Generation complete.
    [2012-02-06 18:11] upgraded glibc (2.14-6 -> 2.15-4)
    [2012-02-06 18:11] upgraded libarchive (2.8.5-2 -> 3.0.3-3)
    [2012-02-06 18:11] installed pth (2.0.7-4)
    [2012-02-06 18:11] installed gnupg (1.4.12-1)
    [2012-02-06 18:11] installed libksba (1.2.0-1)
    [2012-02-06 18:11] installed libassuan (2.0.3-1)
    [2012-02-06 18:11] installed pinentry (0.8.1-3)
    [2012-02-06 18:11] installed dirmngr (1.1.0-3)
    [2012-02-06 18:11] installed gnupg2 (2.0.18-1)
    [2012-02-06 18:11] installed gpgme (1.3.1-2)
    [2012-02-06 18:11] >>> Run `pacman-key --init` to set up your pacman keyring.
    [2012-02-06 18:11] upgraded pacman (3.5.4-4 -> 4.0.1-4)
    [2012-02-06 18:12] Running 'pacman -S firefo'
    [2012-02-06 18:13] Running 'pacman -S firefox'
    [2012-02-06 18:13] Running 'pacman -S package-query'
    [2012-02-06 18:13] Running 'pacman -Syu'
    [2012-02-06 18:13] synchronizing package lists

  • [RESOLVED] pacman annoyance (libgcrypt issue)

    Heya guys,
    I'm doing countless searches online but can't seem to come up with any good results or leads, so must vent my frustration as a plea for help.
    I've just installed the arch environment on a machine using the nice guide here ( https://wiki.archlinux.org/index.php/In … ase_system ) which gives me a base install - but libgcrypt didn't seem to be installed alongside cryptsetup for whatever reason.
    So, I go hunting for any solutions and run into this stream: http://archlinux.2023198.n4.nabble.com/ … 94100.html
    (in summary, the stream indicates some packages got moved between [base] and [core] (or something) and so some version funnies went on.
    I skimmed most of it (just re-read it and it does say upgrade both gnupg and libgcrypt together) and upgraded libgcrypt by itself:
    (I come from Fedora where upgrading one package usually means any version dependencies get taken into account)
    pacman -S libgcrypt
    Great, cryptsetup now worked for me... but then I come to install another package aaaaaand:
    error: GPGME error: Invalid crypto engine
    error: gnupg: missing required signature
    :: File /var/cache/pacman/pkg/gnupg-2.0.22-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n] n
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    Errors occurred, no packages were upgraded.
    SO, looking through various sources I can't find any "ignore gpg signature errors" .
    - Any suggestions guys?
    Last edited by old486whizz (2014-01-30 13:47:22)

    *EDIT* :
    No attack on archlinux intended, I am unaware of how new pacman is, how careful the repositories are at updates etc.
    I am enjoying arch so far, especially the fact that installing into a chroot environment is just a breeze (I'm doing so on my NAS, where I've also done TinyCoreLinux - I'm assuming it's based off Arch).
    And I'm also assuming that Arch uses something similar to the BSD's systems (I don't have any experience myself but I've heard it is core and then extra stuff).
    Whenever I tried to upgrade *any* package I got the GPGME error shown above.
    I did try and re-initialize the trusted key DB but got back:
    pacman-key --init
    gpg: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
    gpg: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
    ==> Updating trust database...
    gpg: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
    ==> ERROR: Trust database could not be updated.
    So it was an issue with gnupg having a dependency on an older libgcrypt library whilst the cryptsetup binary required a newer one.
    Thanks to this site here: http://www.archlinuxuser.com/2012/06/ig … doing.html
    I was able to turn off gpg checking (a shame it isn't a command line option as I only needed to update gnupg).
    I've now managed to pacman -S gnupg and now everything is right with the world!
    pacman -S community/nbd
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): nbd-3.7-1
    Total Download Size: 0.04 MiB
    Total Installed Size: 0.16 MiB
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages ...
    nbd-3.7-1-x86_64 43.4 KiB 556K/s 00:00 [########################################################] 100%
    (1/1) checking keys in keyring [########################################################] 100%
    (1/1) checking package integrity [########################################################] 100%
    (1/1) loading package files [########################################################] 100%
    (1/1) checking for file conflicts [########################################################] 100%
    (1/1) checking available disk space [########################################################] 100%
    (1/1) installing nbd [########################################################] 100%
    At least I didn't bork the install otherwise I'd be rather annoyed and just grab a different distro.
    Some of the terminology in the commands doesn't make too much sense yet (Synchronising = installing!?) but let's see...
    Last edited by old486whizz (2014-01-30 13:40:35)

  • [SOLVED] Pacman GPGME error: No data

    I recently bought a new computer and, of course, wanted to get away from windows 8 asap. I've installed arch several times before, and this time, from the outset, I've been plagued with GPGME errors. First was during the installation when I tried to install the base system with pacstrap. I solved that using the method here: https://bbs.archlinux.org/viewtopic.php?id=142798 (essentially delete /var/lib/pacman/sync and then run pacman -Syyu). From there on out, the install proceeded happily. After booting into my system, I attempted to begin downloading and installing things such as openssh, gparted, virt-manager...etc. Now I get the same error that I had before.
    pacman -Syyu
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    ::Synchronizing package databases. . .
    Core
    Core.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    extra
    extra.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    community
    community.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    multilib
    multilib.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    error: failed to synchronuze any databases
    error: failed to init transaction (invalid or corrupted database (PGP signature))
    As soon as this happened, I attempted to re initialize pacman and the keys with
    pacman-key --init && pacman-key --populate archlinux
    This ran properly, but I was still unable to sync or update pacman. I then tried deleting /var/lib/pacman/sync and updating with the same result. 
    Next, I tried commenting out the mirrors, as that was mentioned in several posts while perusing the wiki. This still did not work. The next ting I tried was setting the SigLevel in the pacman.conf to Never, which brought about a whole host of different errors when trying to update (Unrecognized archive format error).
    After reinitializing the keys again, deleting the /var/lib/pacman/sync folder and attempting another (unsuccessful) pacman -Syyu, and running pacman-key --refresh-keys, I set the SigLevel back to it's default, and decided it might be time to post asking for help. Does anyone have any other ideas that I could try? I've been working on this unsuccessfully for a few hours now, and I'd like to see it up and running.
    Thank you all in advance!
    Searching the archwiki, I tried these threads for additional help:
    https://bbs.archlinux.org/viewtopic.php … 2#p1111872 -- had a problem in pacman conf I do not
    https://bbs.archlinux.org/viewtopic.php?id=169225 --commenting out mirrors did not work
    https://bbs.archlinux.org/viewtopic.php?id=135310 --- did not help with archive errors
    ..... and many many more that were totally unrelated despite similar titles to mine
    Last edited by ephreal (2014-03-29 23:28:46)

    I shutdown my computer, moved to a different network area, and it is now running happily. I have no idea why... perhaps firewall controls? Whatever the reason was, this is no longer happening. Marking as solved.

  • [solved] pacman cannot retrieve core.db

    I get the following errors when I try updating via pacman:
    [eric@blackmesa sync]$ sudo pacman -Syyu
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirrors.rutgers.edu : Connection time-out
    error: failed retrieving file 'core.db' from mirror.rit.edu : Connection time-out
    error: failed retrieving file 'core.db' from cake.lib.fit.edu : Connection time-out
    error: failed retrieving file 'core.db' from mirror.us.leaseweb.net : Connection time-out
    error: failed to update core (download library error)
    extra 1183.5 KiB 122K/s 00:10 [######################] 100%
    community 1035.7 KiB 122K/s 00:08 [######################] 100%
    error: failed retrieving file 'multilib.db' from mirrors.rutgers.edu : Connection time-out
    error: failed retrieving file 'multilib.db' from mirror.rit.edu : Connection time-out
    error: failed retrieving file 'multilib.db' from cake.lib.fit.edu : Connection time-out
    error: failed retrieving file 'multilib.db' from mirror.us.leaseweb.net : Connection time-out
    error: failed to update multilib (download library error)
    :: Starting full system upgrade...
    there is nothing to do
    [eric@blackmesa sync]$
    Sometimes I cannot get multilib either.
    I am able to curl the first mirror:
    [eric@blackmesa sync]$ curl -O http://mirrors.rutgers.edu/archlinux/core/os/x86_64/core.db
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- 0:00:15 --:--:-- 0Warning: Failed to create the file core.db: Permission denied
    1 106k 1 1117 0 0 73 0 0:24:51 0:00:15 0:24:36 16671
    curl: (23) Failed writing body (0 != 1117)
    This is my pacman.conf:
    [eric@blackmesa etc]$ cat 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
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #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
    #VerbosePkgLists
    # PGP signature checking
    # NOTE: None of this will work without running `pacman-key --init` first.
    # The compiled in default is equivalent to the following line. This requires
    # you to locally sign and trust packager keys using `pacman-key` for them to be
    # considered valid.
    #SigLevel = Optional TrustedOnly
    # If you wish to check signatures but avoid local sign and trust issues, use
    # the following line. This will treat any key imported into pacman's keyring as
    # trusted.
    #SigLevel = Optional TrustAll
    # For now, off by default unless you read the above.
    SigLevel = Optional TrustedOnly
    # 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]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    #SigLevel = PackageOptional
    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 = PackageOptional
    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
    [eric@blackmesa etc]$
    This is my mirrorlist file:
    [eric@blackmesa pacman.d]$ cat mirrorlist
    ## Arch Linux repository mirrorlist
    ## Generated on 2012-01-26
    ## Any
    #Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
    #Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
    ## Australia
    #Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
    #Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
    #Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
    #Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
    #Server = ftp://mirror.optus.net/archlinux/$repo/os/$arch
    #Server = http://mirror.optus.net/archlinux/$repo/os/$arch
    ## Belarus
    #Server = ftp://ftp.byfly.by/pub/archlinux/$repo/os/$arch
    #Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch
    #Server = ftp://mirror.datacenter.by/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch
    ## Belgium
    #Server = ftp://archlinux.mirror.kangaroot.net/pub/archlinux/$repo/os/$arch
    #Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch
    ## Brazil
    #Server = ftp://ftp.bitwave.com.br/archlinux/$repo/os/$arch
    #Server = http://www.bitwave.com.br/downloads/archlinux/$repo/os/$arch
    #Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/$arch
    #Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
    #Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
    #Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
    #Server = ftp://www2.itti.ifce.edu.br/archlinux/$repo/os/$arch
    #Server = http://www2.itti.ifce.edu.br/archlinux/$repo/os/$arch
    ## Bulgaria
    #Server = ftp://archlinux.igor.onlinedirect.bg/linux/archlinux/$repo/os/$arch
    #Server = http://archlinux.igor.onlinedirect.bg/$repo/os/$arch
    ## Canada
    #Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
    #Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
    #Server = ftp://mirror.its.dal.ca/archlinux/$repo/os/$arch
    #Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch
    ## Chile
    #Server = ftp://mirror.archlinux.cl/$repo/os/$arch
    #Server = ftp://mirror.netglobalis.net/archlinux/$repo/os/$arch
    #Server = http://mirror.netglobalis.net/archlinux/$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://mirror6.bjtu.edu.cn/archlinux/$repo/os/$arch
    #Server = ftp://mirror.lzu.edu.cn/archlinux/$repo/os/$arch
    #Server = http://mirror.lzu.edu.cn/archlinux/$repo/os/$arch
    #Server = ftp://mirrors.stuhome.net/archlinux/$repo/os/$arch
    #Server = http://mirrors.stuhome.net/archlinux/$repo/os/$arch
    ## Colombia
    #Server = http://www.laqee.unal.edu.co/archlinux/$repo/os/$arch
    ## Czech Republic
    #Server = ftp://archlinux.mirror.dkm.cz/pub/archlinux/$repo/os/$arch
    #Server = http://archlinux.mirror.dkm.cz/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch
    ## Denmark
    #Server = ftp://mirrors.dotsrc.org/archlinux/$repo/os/$arch
    #Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch
    #Server = ftp://ftp.klid.dk/archlinux/$repo/os/$arch
    ## Estonia
    #Server = ftp://ftp.eenet.ee/pub/archlinux/$repo/os/$arch
    #Server = http://ftp.eenet.ee/pub/archlinux/$repo/os/$arch
    ## Finland
    #Server = ftp://mirror.academica.fi/archlinux/$repo/os/$arch
    #Server = http://mirror.academica.fi/archlinux/$repo/os/$arch
    #Server = ftp://mirror.archlinux.fi/archlinux/$repo/os/$arch
    #Server = http://mirror.archlinux.fi/archlinux/$repo/os/$arch
    ## France
    #Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/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 = ftp://mir1.archlinux.fr/archlinux/$repo/os/$arch
    #Server = http://mir1.archlinux.fr/archlinux/$repo/os/$arch
    #Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
    #Server = ftp://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
    #Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
    #Server = http://archlinux.polymorf.fr/$repo/os/$arch
    ## Germany
    #Server = http://archlinux.limun.org/$repo/os/$arch
    #Server = ftp://artfiles.org/archlinux.org/$repo/os/$arch
    #Server = http://artfiles.org/archlinux.org/$repo/os/$arch
    #Server = http://mirror.devnu11.net/archlinux/$repo/os/$arch
    #Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
    #Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
    #Server = ftp://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
    #Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
    #Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
    #Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
    #Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
    #Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
    #Server = ftp://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
    #Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
    #Server = ftp://mirrors.n-ix.net/archlinux/$repo/os/$arch
    #Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch
    #Server = ftp://mirror.selfnet.de/archlinux/$repo/os/$arch
    #Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
    #Server = ftp://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
    #Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
    #Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
    #Server = ftp://arch.mirrors.tuxdroid.org/$repo/os/$arch
    #Server = http://arch.mirrors.tuxdroid.org/$repo/os/$arch
    #Server = ftp://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
    ## Great Britain
    #Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/$arch
    #Server = ftp://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
    #Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
    #Server = ftp://mirror.cinosure.com/archlinux/$repo/os/$arch
    #Server = http://mirror.cinosure.com/archlinux/$repo/os/$arch
    #Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/$arch
    #Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
    ## Greece
    #Server = ftp://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
    #Server = http://foss.aueb.gr/mirrors/linux/archlinux/$repo/os/$arch
    #Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch
    #Server = ftp://ftp.otenet.gr/pub/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch
    ## Hungary
    #Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
    ## India
    #Server = ftp://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
    #Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
    ## Indonesia
    #Server = http://repo.ukdw.ac.id/archlinux/$repo/os/$arch
    ## Ireland
    #Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch
    #Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch
    ## Israel
    #Server = ftp://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch
    ## Italy
    #Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch
    ## Japan
    #Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch
    #Server = ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
    #Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
    #Server = ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/$arch
    ## Kazakhstan
    #Server = ftp://archlinux.kz/$repo/os/$arch
    #Server = http://archlinux.kz/$repo/os/$arch
    #Server = ftp://mirror.neolabs.kz/archlinux/$repo/os/$arch
    #Server = http://mirror.neolabs.kz/archlinux/$repo/os/$arch
    ## Korea
    #Server = ftp://mirror.yongbok.net/archlinux/$repo/os/$arch
    #Server = http://mirror.yongbok.net/archlinux/$repo/os/$arch
    ## Latvia
    #Server = http://archlinux.goodsoft.lv/$repo/os/$arch
    ## Luxembourg
    #Server = ftp://archlinux.mirror.root.lu/archlinux/$repo/os/$arch
    #Server = http://archlinux.mirror.root.lu/$repo/os/$arch
    ## Macedonia
    #Server = http://arch.linux.net.mk/archlinux/$repo/os/$arch
    ## Moldova
    #Server = ftp://mirror.ihost.md/archlinux/$repo/os/$arch
    #Server = http://mirror.ihost.md/archlinux/$repo/os/$arch
    ## Netherlands
    #Server = ftp://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
    #Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
    #Server = ftp://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
    #Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
    ## New Caledonia
    #Server = ftp://archlinux.nautile.nc/archlinux/$repo/os/$arch
    #Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch
    ## Norway
    #Server = ftp://arch.ping.uio.no/$repo/os/$arch
    #Server = http://arch.ping.uio.no/$repo/os/$arch
    #Server = ftp://mirror.archlinux.no/$repo/os/$arch
    #Server = http://mirror.archlinux.no/$repo/os/$arch
    #Server = ftp://mirror.pvv.ntnu.no/pub/archlinux/$repo/os/$arch
    ## Poland
    #Server = ftp://mirror.chmuri.net/archmirror/$repo/os/$arch
    #Server = http://mirror.chmuri.net/archmirror/$repo/os/$arch
    #Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
    #Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
    ## Portugal
    #Server = ftp://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/$arch
    #Server = http://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/$arch
    ## Romania
    #Server = ftp://mirrors.adnettelecom.ro/archlinux/$repo/os/$arch
    #Server = http://mirrors.adnettelecom.ro/archlinux/$repo/os/$arch
    #Server = ftp://mirror.archlinux.ro/archlinux/$repo/os/$arch
    #Server = http://mirror.archlinux.ro/archlinux/$repo/os/$arch
    #Server = ftp://ftp.roedu.net/mirrors/archlinux.org/$repo/os/$arch
    #Server = http://ftp.roedu.net/mirrors/archlinux.org/$repo/os/$arch
    ## Russia
    #Server = ftp://mirror.yandex.ru/archlinux/$repo/os/$arch
    #Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch
    ## Singapore
    #Server = ftp://ftp.oss.eznetsols.org/linux/archlinux/$repo/os/$arch
    ## Slovakia
    #Server = ftp://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch
    #Server = http://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch
    ## South Korea
    #Server = ftp://ftp.kaist.ac.kr/ArchLinux/$repo/os/$arch
    #Server = http://ftp.kaist.ac.kr/ArchLinux/$repo/os/$arch
    ## Spain
    #Server = ftp://ftp.rediris.es/mirror/archlinux/$repo/os/$arch
    #Server = http://sunsite.rediris.es/mirror/archlinux/$repo/os/$arch
    ## Sweden
    #Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/$arch
    #Server = ftp://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
    #Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
    #Server = ftp://ftp.portlane.com/pub/os/linux/archlinux/$repo/os/$arch
    #Server = http://ftp.portlane.com/pub/os/linux/archlinux/$repo/os/$arch
    ## Switzerland
    #Server = ftp://archlinux.puzzle.ch/$repo/os/$arch
    #Server = http://archlinux.puzzle.ch/$repo/os/$arch
    ## Taiwan
    #Server = ftp://linux.cs.nctu.edu.tw/archlinux/$repo/os/$arch
    #Server = http://linux.cs.nctu.edu.tw/archlinux/$repo/os/$arch
    #Server = ftp://shadow.ind.ntou.edu.tw/archlinux/$repo/os/$arch
    #Server = http://shadow.ind.ntou.edu.tw/archlinux/$repo/os/$arch
    #Server = ftp://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
    #Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
    ## Turkey
    #Server = ftp://ftp.linux.org.tr/archlinux/$repo/os/$arch
    #Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch
    ## Ukraine
    #Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch
    #Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch
    #Server = ftp://mirrors.mithril.org.ua/linux/archlinux/$repo/os/$arch
    #Server = http://mirrors.mithril.org.ua/linux/archlinux/$repo/os/$arch
    ## United States
    Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch
    Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
    Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
    Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
    #Server = ftp://archlinux.supsec.org/pub/linux/arch/$repo/os/$arch
    #Server = http://archlinux.supsec.org/$repo/os/$arch
    #Server = ftp://cake.lib.fit.edu/archlinux/$repo/os/$arch
    #Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
    #Server = ftp://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
    #Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
    #Server = http://mirror.ece.vt.edu/archlinux/$repo/os/$arch
    #Server = ftp://ftp.archlinux.org/$repo/os/$arch
    #Server = ftp://ftp.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
    #Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
    #Server = ftp://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch
    #Server = http://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch
    #Server = http://mirrors.us.kernel.org/archlinux/$repo/os/$arch
    #Server = ftp://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
    #Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/$arch
    #Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
    #Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
    #Server = http://mirror.mocker.org/archlinux/$repo/os/$arch
    #Server = ftp://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
    #Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
    #Server = ftp://mirror.rit.edu/archlinux/$repo/os/$arch
    #Server = http://schlunix.org/archlinux/$repo/os/$arch
    #Server = http://mirrors.lax1.thegcloud.com/arch//$repo/os/$arch
    #Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch
    ## Uzbekistan
    #Server = ftp://mirrors.st.uz/archlinux/$repo/os/$arch
    #Server = http://mirrors.st.uz/archlinux/$repo/os/$arch
    [eric@blackmesa pacman.d]$
    I tried removing core.db from /var/lib/pacman/sync/ and I changed SigLevel to Never in pacman.conf. I've tried other keyservers, and I've tried different mirrors. I'm not sure what to do from this point. I need pacman to continue building my system, so any help would be appreciated. Thanks.
    Last edited by mukti (2012-02-27 16:54:47)

    falconindy wrote:Sounds like this bug.
    Thanks! I disabled IPv6, and everything works now.

  • SOLVED pacman

    ok this is weird and I haven't found a sticky that covers it ....
    Does anyone know why my pacman gives me this output when I use it ..(i've set up and re-setup my repo's to try and fix it )
    warning: config file /etc/pacman.d/mirrorlist, line 199: directive 'Server' in section 'options' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 200: directive 'Server' in section 'options' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 201: directive 'Server' in section 'options' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 202: directive 'Server' in section 'options' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 203: directive 'Server' in section 'options' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 204: directive 'Server' in section 'options' not recognized.
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from ftp.osuosl.org : Connection time-out
    error: failed retrieving file 'core.db' from mirrors.rutgers.edu : Connection time-out
    core                     102.4 KiB   123K/s 00:01 [#################] 100%
    extra                   1393.4 KiB   121K/s 00:12 [#################] 100%
    community   
    I mean it works ... just all the warnings are frustrating
    Tim
    Last edited by coacharnold (2012-04-29 21:37:54)

    No Idea ... but here we go .... thanks for your patience on this
    # /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
    #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
    #VerbosePkgLists
    # PGP signature checking
    # NOTE: None of this will work without running `pacman-key --init` first.
    # The compiled in default is equivalent to the following line. This requires
    # you to locally sign and trust packager keys using `pacman-key` for them to be
    # considered valid.
    #SigLevel = Optional TrustedOnly
    # If you wish to check signatures but avoid local sign and trust issues, use
    # the following line. This will treat any key imported into pacman's keyring as
    # trusted.
    #SigLevel = Optional TrustAll
    # For now, off by default unless you read the above.
    SigLevel = Never
    # 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]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [core]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [community]
    #SigLevel = PackageOptional
    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

  • [Solved] pacman -Syyu sync's repository and then repoistory.db

    For instance I run 'pacman -Syyu' and it will then sync core, core.db, extra, etra.db and so on a so forth for all the repo's in my pacman.conf. It did not sync the .db on my last install which was up to date unitl I just did a fresh install using the archboot iso. I looked through the pacman.conf a few times and did not see anything obvious wrong to me. <-- not saying much
    I searched this section of the forum going back about 2 months figuring it has to do with signatures and found nothing. So i believe it means that either a) my last setup was incorrect. b) My searching skills are lacking.
    If this is normal that is fine, it doesn't bother me, was just curous about it.
    Cheers.
    Last edited by doug piston (2012-07-27 04:52:08)

    Sure and I apologize for the delay and not includung this information to begin with.
    ┌─[jarvis][watson][~]
    └──╼ sudo pacman -Syyu
    Password:
    :: Synchronizing package databases...
    core 107.7 KiB 146K/s 00:01 [-----------------------------------------------------------------------------------] 100%
    core.sig 4.2 KiB 44.9K/s 00:00 [-----------------------------------------------------------------------------------] 100%
    extra 1408.6 KiB 547K/s 00:03 [-----------------------------------------------------------------------------------] 100%
    extra.sig 4.2 KiB 44.6K/s 00:00 [-----------------------------------------------------------------------------------] 100%
    community 1765.5 KiB 762K/s 00:02 [-----------------------------------------------------------------------------------] 100%
    community.sig 4.2 KiB 42.5K/s 00:00 [-----------------------------------------------------------------------------------] 100%
    multilib 90.6 KiB 148K/s 00:01 [-----------------------------------------------------------------------------------] 100%
    multilib.sig 4.2 KiB 45.6K/s 00:00 [-----------------------------------------------------------------------------------] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    ┌─[jarvis][watson][~]
    └──╼ cat /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
    #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
    #VerbosePkgLists
    ILoveCandy
    # 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
    # - 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]
    #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
    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
    # 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
    Also I was wrong it isn't repository.db but actually repository.sig

Maybe you are looking for