diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-05-06 22:14:34 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-05-06 22:14:34 -0700 |
| commit | be2957c8a212b13a131cc5b52f0c496c4be49482 (patch) | |
| tree | 78c109b2a3e65e6e3de8de7cfd9848df344121fc /src | |
| parent | 3b3d9ed0d5f166e5752140ed834f404697bd6cf0 (diff) | |
Fix: Recovering from an interrupted pacman upgrade - formatting
- Fix newline formatting
Diffstat (limited to 'src')
| -rw-r--r-- | src/content/blog/recovering-interrupted-pacman-upgrade.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/blog/recovering-interrupted-pacman-upgrade.md b/src/content/blog/recovering-interrupted-pacman-upgrade.md index 2c51c94..f8c8efe 100644 --- a/src/content/blog/recovering-interrupted-pacman-upgrade.md +++ b/src/content/blog/recovering-interrupted-pacman-upgrade.md @@ -21,6 +21,7 @@ Lucky for us, since Linux distros can generally run off of a Live-USB environmen # Steps 1. Boot into Live USB environment and mount drives + Once you've booted into the Live-USB, I reccomend getting Ethernet hooked up. Sometimes there can be corrupted packages left in the `.cache`, so those need to be redownloaded. You can use WiFi, but sometimes there are issues with connecting via Live USB. Identify the drive/partition with your OS installed (where the root directory is) and mount it @@ -39,6 +40,7 @@ sudo arch-chroot /mnt and now every command we run will be like as if we were actually on the broken system. 3. Re-install all packages + Pacman actually maintains a database of what packages it has installed. So we can pipe this information into another pacman command to ask it to re-install everything. You could also triage the broken packages by verifying the checksum of each one and then individually uninstalling or re-installing it, but I think for the most part its far easier to just ask it to re-install everything (also dependency issues really mess this up) |
