You are not logged in.
Hello,
N00b here. I took some advice to downgrade a package (glibc) on one of the arch user repository pages from the latest because a browser video codec wasn't working when I upgraded the system and now I get some error in the shell along the lines of "GLIBC_2.33" not found error. I can't open apps. I can't do anything. How do I fix this issue?
Regards.
Offline
Boot an install disk, mount everything, and use pacman's --root option to fully update the system.
Always remember, partial updates are not supported. The lower level you go, the more chance of major problems, and glibc is about as low-level as it gets.
Offline
Thanks, but could you provide a little bit more detail on the pacman --root option?
Is that the sudo pacman -Syu --sysroot command I saw somewhere when I was trying to figure this out but kept getting this error I posted about.
Regards.
Offline
Follow Pacman#Pacman_crashes_during_an_upgrade 1 to 3 then change 4 to
pacman --root /mnt --cache /mnt/var/cache/pacman/pkg -SyuOffline
Sorry, I can't do any of that. I booted using an older USB from about six months ago or so.
But none of those commands work for me.
Already have mnt, sys, proc directories.
Offline
Please post the commands you used and their full outputs.
Offline
The first command says /dev/sda1 already mounted on /run/archiso/bootmnt
Offline
Check the output of `parted -l` make sure /dev/sda1 is the system's root partition not the boot ISO.
Offline
It's been a while. I can't remember what I did in the initial setup. I know I created and encrypted disk and have a /dev/nvme0n1p7 Linux file system. But where to go from here to execute the commands that you're talking about I have no idea.
Offline
Mapping_LUKS_partitions_with_the_device_mapper
The following assumes the container uses LUKS / LUKS2 not plain and there is no LVM2 or RAID involved:
cryptsetup open /dev/nvme0n1p7
mount /dev/mapper/cryptroot /mntOffline
OK. I figured out how to decrypt my volume and do the mounting calls that were outlined in the link you provided. But running the pacman command fails because I haven't connected to the internet.
However, when I try to run iwctl (as provided in the installation instructions) it just sits at "Waiting for IWD to start..."
I think it may be due to wlan0 not being UP?
Edit: I set it to up but iwctl still won't start.
Last edited by dramatis.persona (2021-03-02 04:12:59)
Offline
I have never used iwctl. Possibly try starting iwd.service
If you try just syncing the system without the upgrade does that prompt to update glibc?
pacman --root /mnt --cache /mnt/var/cache/pacman/pkg -SOffline
OK. Somehow got the connection working using the command "iwctl --passphrase passphrase station device connect SSID" and registered a DHCP so I could get an internet connection. Now I ran the the last pacman command and it looks like it upgraded the glibc package.
Rebooting now. Hopefully it will work.
Thanks.
Offline