pacman-Syu killed my OS

Hi everyone, I recently ran the command

pacman -Syu

and now I have the following pop up after I rebooted. Please help.

Perhaps try to switch to a differnet tty Alt+F3 (or Ctrl+Alt+F3), log in and try to find last pacman log /var/log/pacman.log. It is a large file but somewhere at the end should be output of the last update. Maybe there is some error that could explain what happened during the update.

if you have two display managers then this would make sense that something borked (the red output at the end).
if network manager is borked then you should be able to boot so that’s a head-scratcher.

your fine print is saying but it wants you to go into systemctl and turn all this stuff back on (restart, enable, whatever) implying something disabled these services. that’s how I see it. have a bunch of systemctl commands in a text doc somewhere.

I just found a similar “error message” reported by another user on the forum.

Not saying that this may be the issue in your case but leave the link here anyway as a FYI/FWIW:

I have found the pacman.log, last few lines are shown below:

As a follow up, I tried running

systemctl start NetworkManager.service

and received the following

All other systemctl commands give a similar output.

Looking into the file that has the invalid ELF header, I have the following. I don’t fully understand this, but it’s a lot of @ and ^, and occasional A, D, P, E and small black boxes:

I see an error there is no space left on device. What’s the output of df -h

3 Likes

Agreed, disk full

1 Like


ESP (fat32 efi/uefi partition) is full will leave you with unfinished intitramfs images.
i would go booting ISO (installer) and arch-chroot to solve space issue and rerun initram generation…

1 Like

Apologies that I am very new to all this.

I am trying adjust the size of my root directory, but every time I try adjust the size it reverts. How do I bypass this?

Update: deleting my home directory lets me increase the size of my root. But I don’t want to delete my home directory.

Dude you are running the installer. If you don’t want to do a fresh install just run gparted from the live ISO.

https://gparted.org/display-doc.php?name=moving-space-between-partitions

3 Likes

I would say that 20GB is rather small for /root, don’t forget that most of your apps will get installed there, /home is mostly for all your documents, downloads, photos and videos

indeed do not use system installer to change partitions… it will only apply the changes when installing the OS… use gparted from the menu or welcome…

Run gparted from the welcome menu… Increase your root to 80 or even 100 GB.

You can either use the unallocated space at the end, after home, or you can shrink your home partition at the beginning about 60 GB and then extend it at the end for the size of the unallocated space.

For the future, you might want to consider install timeshift and timeshift-autosnap. The latter will create a backup before installing software or updates. Will make it take longer, because the backup has to be created and takes some extra space because the backup has to be stored somewhere, but this way you can always roll back if something goes wrong.