You are not logged in.

#1 2021-08-24 10:11:49

YuvarajVelmurugan
Member
Registered: 2020-11-23
Posts: 15

nmcli: error while loading shared libraries: invalid ELF header

My machine had an update yesterday. After updating i was using my pc for some hours. Later I shutdown my pc.

Today when I turned on my pc it showed:

Failed to start network manager

I booted my machine with arch linux uefi bootable usb device.

Mounted root partition:

mount /dev/sda2 /mnt

Mounted boot partition:

mount /dev/sda1 /mnt/boot

Changed root directory:

arch-chroot /mnt

I ran a command nmcli device

It shows below output:

nmcli: error while loading shared libraries: /usr/lib/libgobject-2.0.so.0: invalid ELF header

I ran pacman -Syu

It showed below output:

error: local database is inconsistent: name mismatch on package e2fsprogs

error: local database is inconsistent: version mismatch on package e2fsprogs

Then I ran pacman -S e2fsprogs

But it shows below output:

Errors occurred, no packages were upgraded.

Last edited by YuvarajVelmurugan (2021-08-24 10:19:52)


Thanks,
Yuvaraj Velmurugan

Offline

#2 2021-08-24 15:19:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,360

Re: nmcli: error while loading shared libraries: invalid ELF header

Please use code tags, https://bbs.archlinux.org/help.php#bbcode

It's not only e2fsprogs, libgobject-2.0.so.0 is from the glib package.
Boot the iso, DO NOT CHROOT! and post the output of

LC_ALL=C pacman -Qkk --sysroot /mnt | grep -v ', 0 altered files'

You can use the tip in the 1st link below to pipe the output into ix.io

Online

Board footer

Powered by FluxBB