Updates to installed packages do not persist
- 3 months 5 days ago
Hi! I followed the installation instructions for a diskless installation based on the standard iso. Here are my basic configuration files. I am using a small internal hard driver formatted with ext4 and no partitions (although I have tried partioning the disk as well). This holds the
apkovl and the package cache. I have managed to persist newly installed packages that are present after reboot, however updates to installed packages do not persist. For example when I run
apk update && apk upgrade
Updates to the installed packages are fetched to
/media/usb/cache (I see the newer version apks in the cache directory). However after rebooting the previous versions of the packages are present in the system, i.e. if I run
apk update && apk upgrade the packages are updated yet again (of course I
lbu commit'ed everything first). Initially I thought that this happens because packages are pulled from the CDROM instead of the cache, but even if I comment out
/media/cdrom/apks and the cache is sync'ed to the remote repository the problem persists. I also tried
apk cache sync but without any results.
Could you please give me some guidelines on how to debug this issue?
DEFAULT_CIPHER=aes-256-cbc LBU_MEDIA=usb BACKUP_LIMIT=2
/etc/apk/cache links to