I force shutdown while computer was restarting, after an update

I hard rest after pacman update while it was restarting since it took like more than 40s to shutdown resulting in more of the /usr/lib files being broken and a lot of system links are broken, etc.

so I got my handy manjaro live USB, and I used manjaro-chroot to try to fix it, but nothing, I even reinstalled all the packages I’ve installed.

I tried to boot back into manjaro, it forced me to run a fsck on it, which deleted a lot of very important system files, and now even with manjaro-chroot I can’t do anything with pacman
it is barely working, and upon running pacman -Qk I am presented with a lot of missing files, and if I run pacman -Qkk LITERALLY EVERY PACKAGE has this

warning: pacakage name: /usr (UID mismatch)
warning: pacakage name: /usr (GID mismatch)
warning: pacakage name: /usr/share (UID mismatch)
warning: pacakage name: /usr/share (GID mismatch)

sorry for bad formatting.

Welcome to the forum!

You’re not the first to make that mistake, and you won’t be the last. Alas, there is very little we can do about out users’ lack of patience.

And by the way, there are much safer ways to force a reboot than hitting the reset button…

Considering that…

  • your filesystem is damaged;
  • you are missing essential system libraries; and…
  • your permissions have been left in a state of disarray

… I would recommend that you use your live USB in order to to try and salvage your personal data, and that you would then reinstall the system, whereby you completely reformat your root filesystem.

I’m afraid that the damage to your system is too extensive for anyone to try troubleshooting in your system current condition . :sob:


I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

P.S. In the future, please don’t forget to come back to your question after your issue has been solved and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

And to avoid the same thing happening in the future, please read these:


1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.