This commit is contained in:
Maxim Devaev 2023-10-28 14:08:24 +03:00
parent 9240c8582d
commit 7e898635aa
2 changed files with 22 additions and 5 deletions

View File

@ -310,9 +310,17 @@ As a first step, we recommend carefully reading our documentation on [GitHub](ht
# date
# rw
# pacman -Syu
# reboot # Allow 10 to 15 minutes for a response.
# reboot # Allow 2 to 5 minutes for a response.
```
If you encounter any error during the upgrade, it is most likely due to the upgrade of the Arch Linux ARM repository upstream. In this case, just use our script, which fixes this:
```
# curl https://files.pikvm.org/update-os.sh | bash
```
Next time you will be able to use the usual method with `pacman -Syu`.
Pacman saves all installed packages in a compressed format so that you can roll back to the old version if something goes wrong. After you've updated and made sure everything works, (ONLY for older images, newer images has this partition expended and no longer has this issue) it makes sense to clear the package cache so that it doesn't take up space on the SD card: `rw; rm -rf /var/cache/pacman/pkg; ro`.

View File

@ -63,12 +63,21 @@ It's best to do this now, when you have physical access to the device, because i
To update, run these commands under the `root` user:
```console
[root@pikvm]# rw
[root@pikvm]# pacman -Syu
[root@pikvm]# reboot
[root@pikvm ~]# rw
[root@pikvm ~]# pacman -Syu
[root@pikvm ~]# reboot
```
**And then, after all...**
If you encounter any error during the upgrade, it is most likely due to the upgrade of the Arch Linux ARM repository upstream.
In this case, just use our script, which fixes this:
```console
[root@pikvm ~]# curl https://files.pikvm.org/update-os.sh | bash
```
Next time you will be able to use the usual method with `pacman -Syu`.
**And now, after all...**
{!_passwd.md!}