Skip to content

Commit

Permalink
Update troubleshooting.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r authored Jul 13, 2024
1 parent e4a7866 commit 0900bcd
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/content/docs/en/support/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,22 @@ sudo arch-chroot /mnt/
```
Finally, run:
```shell
sudo pacman -Syyu linux-lts linux-lts-headers
sudo pacman -Syyu
sudo pacman -S linux-lts linux-lts-headers
exit
```
:::note
If you get an error like:
```
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
```
just run:
```shell
sudo rm /var/lib/pacman/db.lck
```
and retry the system upgrade as described above.
:::
If needed, persist that `/boot` partition in your fstab with a [persistent identifier](https://wiki.archlinux.org/index.php/Persistent_block_device_naming) so that you won't have to unnecessarily do this again the next time the kernel updates.

At the end, remove the ISO file and reboot the system.
Expand Down

0 comments on commit 0900bcd

Please sign in to comment.