You are not logged in.
Greetings,
I have managed to completely wreck pacman. Heres whats going on:
-I try to system upgrade, fails to do invalid signatures
-Remove the signature database before doing a pacman-key --init, as per the wiki
-cannot pacman-key --init because my libgcrypt, being 1.6.4 to have steam functioning, is less than 1.7.0....
-So I download and attempt to install the libgcrypt >= 1.7.0 and...
-It cannot install becasue pgp database cannot be found.
-Thus we have a cyclical error! Great!...
Now for some terminal outputs:
[jbs@dmb-gaming-laptop .aur_builds]$ sudo pacman-key --init
gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.4)
chmod: cannot access '/etc/pacman.d/gnupg/trustdb.gpg': No such file or directory
gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.4)
gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.4)
==> Updating trust database...
gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.4)
==> ERROR: Trust database could not be updated.
[jbs@dmb-gaming-laptop .aur_builds]$ sudo pacman -U libgcrypt-1.7.1-1-x86_64.pkg.tar.xz
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
error: database 'xorg117' is not valid (invalid or corrupted database (PGP signature))
error: database 'catalyst' is not valid (invalid or corrupted database (PGP signature))
loading packages...
error: failed to prepare transaction (invalid or corrupted database)
[jbs@dmb-gaming-laptop .aur_builds]$
[jbs@dmb-gaming-laptop .aur_builds]$ pacman -Qi libgcrypt
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
Name : libgcrypt
Version : 1.6.4-1
Description : General purpose cryptographic library based on the code from GnuPG
Architecture : x86_64
URL : http://www.gnupg.org
Licenses : LGPL
Groups : None
Provides : None
Depends On : libgpg-error>=1.10-2
Optional Deps : None
Required By : chromium cryptsetup gcr gnupg lib32-libgcrypt libgnome-keyring libsecret libsystemd libxslt mesa systemd wireshark-cli xorg-server xorg-server-xdmx xorg-server-xephyr xorg-server-xnest
xorg-server-xvfb
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1133.00 KiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Build Date : Tue 08 Sep 2015 11:41:28 AM MDT
Install Date : Fri 10 Jun 2016 11:08:28 AM MDT
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : None
[jbs@dmb-gaming-laptop .aur_builds]$
My 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
#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 = lib32-libgcrypt libgcrypt
# 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 = PackageRequired
#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.
[xorg117]
Server = http://catalyst.wirephire.com/repo/xorg117/$arch
## Mirrors, if the primary server does not work or is too slow:
Server = http://mirror.hactar.bz/Vi0L0/xorg117/$arch
[catalyst]
Server = http://catalyst.wirephire.com/repo/catalyst/$arch
## Mirrors, if the primary server does not work or is too slow:
Server = http://mirror.hactar.bz/Vi0L0/catalyst/$arch
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
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]
Include = /etc/pacman.d/mirrorlist
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
#[testing]
#Include = /etc/pacman.d/mirrorlist
#[community-testing]
#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
I hope that makes sense. This is incredibly frustrating. The fact that I and I alone have managed to wreck my system to this point... After taking a break, I will see what else can be done to fix things. Thank you for you help!
EDIT: Added pacman -Qi libgcrypt output and pacman.conf. The commented sigLevel lines were something I tried just now. No go
Last edited by JohnBobSmith (2016-07-18 16:23:52)
I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.
Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...
Offline
Boot from the install disk and completely update your system using pacman's --root option. Or turn off signature checking temporarily.
Partial updates strike again.
Last edited by Scimmia (2016-07-18 15:41:02)
Offline
R.I.P. Until something like this just had to happen, I had no reason to care about partial upgrades. *sighs* Thus this is a result of my own stupidity then. I was warned repetitively about something like this happening. Now its my own damn fault. I'm sure I'll cleanup the pieces eventually...
At least I have a recent arch disk to work with. I'll post back if the rescue disk fixes my issue. Until then, ideas welcome!
I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.
Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...
Offline
Topic solved and a very, very hard lesson learned.
Last edited by JohnBobSmith (2016-07-18 16:24:19)
I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.
Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...
Offline