Essentially the following happened:
- I ran a full system upgrade using
pacman -Syyufrom a tty window (ctl+alt+F2).
- At some time in the middle, my computer froze. My guess is that I might have ran out of disk space or something, but I am not sure about this.
- I restarted the computer (and cleaned up some disk space).
- I ran updates again, first using
pacman -Syyuand after that
pamac upgradeto also upgrade the aur-packages that I have.
Everything seemed fine, until I rebooted and the system would stop showing anything on the screen when switching to GUI-mode.
Luckily I could still switch to the other tty windows, which I did to try to re-install
optimus-manager and some other packages that I thought might be causing the problem.
In the end I was able to restart and get back to the GUI. However, it seems that this only happens sometimes and other times it will again result in above problem, only giving me access to the shell.
Also, even when shutting the computer down using
shutdown now from the CLI, it will find inodes it needs to clear on next startup. I also see some
/oldroot-partition that the system "fails to unmount" at shutdown.
So I think my system is in a weird 'partial upgrade' state now. Not by choice but by accident.
My question: is there a way to 're-do' the full upgrade, or 'force-reinstall' all packages that are currently on the system?