You are not logged in.
Last night my machine froze during the update and now kernel panic occurs when I try to boot. I've used a live disc to boot into the shell, mounted my drive, deleted the db lock file, and I want to reinstall all packages that were installed last night.
Is there a way to do this with pacman?
Last edited by bheadmaster (2018-03-20 14:36:16)
.............|
............/ GNU
........../
__---''' o LINUX
Offline
The direct answer:
sed -n 's/\[2018-03-19.*upgraded *\([^ ]*\).*/\1/p' /var/log/pacman.log | pacman -S -But really why do you think that is needed/worth doing? Just do `pacman -Syu`.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
But really why do you think that is needed/worth doing? Just do `pacman -Syu`.
Because the packages that created the issues (apparently, intel-ucode and linux) were seen as properly installed by pacman, so `pacman -Syu` only updated some new packages.
The direct answer fixed my system
It seems that the boot partition has been screwed up. Thanks a lot!
.............|
............/ GNU
........../
__---''' o LINUX
Offline
Note that I let sed do the heavy lifting, but the logic of the command is simply to check pacmans log file for which packages were updated last night, then just install them again with `pacman -S`.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline