You are not logged in.

#1 2014-01-30 10:08:39

jo.be
Member
From: Germany
Registered: 2014-01-29
Posts: 3

[Solved] Arch won't boot anymore, systemd/fsck/libgcrypt?

Hello,

I've used Arch for about a month now, so I'm pretty much the definition of a noob. My arch won't boot anymore, more precisely: I shut my laptop down yesterday, and when I powered it on again I got into grub normally, but after grub, there was this message

/dev/sda1: clean [...]

I get that message at every boot, so that's nothing too dramatic. But for 15 minutes, nothing happened. Then, I got this message
After googling and searching this forum, I found this post. Didn't work for me, though, when I do

pacman -Ud system[...]

I get

error: could not open file system[...]: error reading fd 5
error: system[...] : cannot open package file

I then tried

pacman -Syu

Everything was downloaded, but when it came to installing I was told

error: failed to commit transaction (invalid or corrupted package (PGP signature))

For every package.

I remember updating libgcrypt yesterday, but I can't figure out what to do.

Could someone please help me?

EDIT 1:
I just ran

pacman-key --refresh-keys

Guess what. Error:

gpg: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file or directory
==> ERROR: A specified local key could not bee updated from a keyserver

EDIT 2:
I solved it. The problem was indeed libgcrypt 1.6.0-2. Luckily, I had the tar.xz of version 1.5.3-1 in my cache and was able to reinstall it. Now my PC boots just fine.

But can someone explain to me: what exactly did happen here?

Last edited by jo.be (2014-01-30 11:09:39)

Offline

#2 2014-01-30 16:33:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Arch won't boot anymore, systemd/fsck/libgcrypt?

Sounds to me like you updated libgcrypt but not everything. Partial updates are not supported, and this is exactly why. Update your entire system all at once and you should be fine. If you're using the systemd hook in mkinitcpio.conf, rebuild your initramfs afterwards, too.

Offline

Board footer

Powered by FluxBB