You are not logged in.
Hardware: Lenovo ideapad slim 7i pro.
Hi folks,
I recently started using my laptop again and found out that I need to update my system, so I tried to update using `pacman -Syy`.
However, I received this error:
sudo: /usr/lib/libc.so.6: version GLIBC_2.34 not found (required by sudo)
sudo: /usr/lib/libc.so.6: version GLIBC_2.34 not found (required by /usr/lib/sudo/libsudo_util.so.0)
The problem is that almost anything I do gets the same error message besides a few things like
ping google.com
Some Manjaro users seem to have found a solution., but I can't get past the same error message. The main difference between my problem and the one shared in the Manjaro forum is that I also get the error message
sudo: /usr/lib/libc.so.6: version GLIBC_2.34 not found (required by sudo)
I tried manually downloading glibc (using the code below) but the output is the same.
sudo pacman -U glibc-2.35-2-x86_64.pkg.tar.zst
sudo pacman -U lib32-glibc-2.35-2-x86_64.pkg.tar.zst
Any help is appreciated!
Last edited by prayner96 (2022-04-21 21:28:23)
Offline
-Syy was a mistake for multiple reasons. First, the double y means to redownload the databases, even if they were already up to date. Second, it updates the databases without updating the system, which can lead to partial updates. It, by itself, would not cause this error, though. What else did you do? We need to know just what you broke to know how to proceed.
Online
Ran through my bash command history. It doesn't show what exact command I put in, but I recall using code from this article, so it may have been
pacman -Syyu
.
I tried to install picom and git clone the sendmail package. Both failed to install. That's when I realized gnu wasn't up to date.
Side note:
After running through the history of the Manjaro forum's OP, it seems we both have an issue where we tried to dual boot Linux from a usb on a Windows computer but ended up being stuck in Linux.
Offline
Having the -u on there makes a huge difference. If that's the case, I wonder if you have glibc in IgnorePkg for some reason? If that's the case, a whole lot of things, including pacman will be totally broken. You'll have to boot an install disk and use pacman from there with the --root option.
Online
Offline
sudo pacman-config
produces:
sudo: /usr/lib/libc.so.6: version GLIBC_2.34 not found (required by sudo)
sudo: /usr/lib/libc.so.6: version GLIBC_2.34 not found (required by /usr/lib/sudo/libsudo_util.so.0)
Offline
Offline
without sudo, it just outputs 'command not found'.
Offline
Offline
Ran through my bash command history. It doesn't show what exact command I put in,
/var/log/pacman.log should have everything about your updates. What are its contents? (We need at least the most recent entries starting about one day before the problematic update occured)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
No problem, I appreciate the fast replies btw.
The output of pacman-conf is a list of server urls using the template "server = url".
I would copy the output here but I have no access to this forum or email from my linux laptop.
Offline
The output of pacman-conf is a list of server urls using the template "server = url".
Nope, that's only the bottom of the output. We need to see the beginning as well.
Offline
Accidentally turned off my computer. RIP. (screenshot of the starting version screen)
Offline
See post #4. That's pretty much all you can do now.
Online
See post #4. That's pretty much all you can do now.
This is described in the wiki as well (steps 1-4 from "Pacman crashes during an upgrade": https://wiki.archlinux.org/title/Pacman … an_upgrade )
Edit: That uses --sysroot which is preferred when it works, but a missing glibc may force you to use --root instead.
Last edited by progandy (2022-03-07 21:02:44)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thanks for helping me out. I will follow the instructions tomorrow.
Offline
Okay so I took a break, but I'm not sure how to boot from installation medium.
I flashed the latest ISO version of arch linux on my usb drive, plugged it in to my linux laptop, but my keyboard won't let me do anything at the boot menu. After a few seconds, it automatically boots arch linux and brings me back to the starting version screen, but I don't know if there's a keyboard shortcut I need to use to get bach to the command line.
Any resources on how to get past this step would be great!
EDIT: After some tweaking, I am able to use my keyboard again at the boot menu.
Last edited by prayner96 (2022-03-10 19:32:09)
Offline
So, to avoid screwing this up again, should I open up grub at the boot menu and run steps 2-4 in the grub shell thing?
Offline
You want to enter the commands from the shell started by the installation media after you selected that from the bootloader.
Replace the command at step 4 with:
# pacman --root /mnt --cache /mnt/var/cache/pacman/pkg -Syu
Offline
I tried to follow the instructions and learn more about my situation. It feels like I'm missing something though. At the GRUB menu, I have the following options:
Arch Linux | This is the default option and the one that will be selected automatically. It leads to the starting version screen.
Advanced options for Arch Linux | Leads to a new menu with the options: "Arch Linux, with Linux linux"; or "Arch Linux, with Linux linux (fallback initramfs)". Both options also lead to the starting version screen.
UEFI Firmware Settings
I also have the option to press 'e' to edit the commands before booting, and 'c' for a command-line (which leads to a minimal Bash with grub>).
My interpretation of the Arch wiki is that I should be able to boot Arch linux using my USB flash drive with the latest version of Arch flashed. But my only option seems to be to open the command line in the grub menu and following steps 2-4 using loqs suggestion.
Offline
You can't do anything from the grub command line. You have to boot the install ISO, which doesn't use grub at all.
Online
@Scimmia Hmm. I will troubleshoot to see why my laptop isn't recognising my USB drive
Offline
No success trying to boot using a live USB drive. I tried three differents ISO image downloads of arch linux on three different USB drives using Rufus and BalenaEtcher. However, all attempts on my linux laptop led to the GRUB menu and then the starting version screen.
Not sure what I'm missing, might be worth opening a new post to address this specific issue. Any ideas?
Offline
Sounds like you aren't using them in dd mode.
Online
If you're using rufus, see the note box at https://wiki.archlinux.org/title/USB_fl … sing_Rufus
As mentioned, if you reach GRUB, then you're not booting from the Arch installation USB. If you still have no success with dd mode, then you probably need to check your laptops documentation to see how you can override the boot order.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline