Skip to content

Instantly share code, notes, and snippets.

@KenEkanem
Last active May 17, 2023 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KenEkanem/d28949c4663046ab87c0083496df151c to your computer and use it in GitHub Desktop.
Save KenEkanem/d28949c4663046ab87c0083496df151c to your computer and use it in GitHub Desktop.
Issues I encountered using Arch Linux

pacman package update

 pacman -Sy

returns

pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libalpm.so.13)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libarchive.so.13)
pacman: /usr/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libssl.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/libssh2.so.1)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libssh2.so.1)

Fix

Step 1

Download the openssl1.1 package with wget from here

Step 2

Unpack Using

unzstd openssl-1.1-1.1.1.s-4-x86_64.pkg.tar.zst
tar -xvf openssl-1.1-1.1.1.s-4-x86_64.pkg.tar

Step 3

Copy the files to /usr/lib

cp usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1
cp usr/lib/libssl.so.1.1 /usr/lib/libssl.so.1.1

or create a symlink

ln -s usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1
ln -s usr/lib/libssl.so.1.1 /usr/lib/libssl.so.1.1

Login Loop

Arch linux stuck on the dsiplay manager

Fix

Step 1

Open the command-line interface (CLI) from the login display using Ctrl + Alt + F2

Step 2

Log in with your username and password, From here, you can run any command that you would normally run in a terminal window

Step 3

Try thes fixes

Update the system

sudo pacman -Syu

Start the X server

startx

Check your system logs#

journalctl -p 3 -xb

Reset your desktop environment settings

mv ~/.config/xfce4 ~/.config/xfce4.bak

Reinstall the display manager. For Lightdm

sudo pacman -S lightdm lightdm-gtk-greeter

Return to the login display by pressing the Ctrl + Alt + F1

Cannot Upgrade Arch - archlinux-keyring error

sudo pacman -Syy
sudo pacman -Syu

returns

error: archlinux-keyring: key could not be looked up remotely
error: required files could not be loaded
error: failed to commit transaction (unexpected error)
Errors occured, no packages were upgraded

Fix

  • Update your pacman mirrors via reflector

  • Update the archlinux-keyring package

sudo pacman -S archlinux-keyring
sudo pacman-key --refresh-keys

  • Reinstall the keyring: If the refresh doesn't work, try reinstalling the archlinux-keyring

    sudo pacman -Syy archlinux-keyring
    
  • If none of these steps work, there may be a problem with your system's GPG configuration. You can try resetting your GPG configuration

rm -rf ~/.gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment