09-26-2020, 11:03 AM
(09-26-2020, 09:38 AM)megous Wrote: For package managers that use signatures, you typically need to have time set up correctly on your phone, because certificates are issued for a certain time window.
Also apparently package managers don't like to hit files that I marked as unchangeable, and instead of ignoring them, they fail the whole update. Workaround is to remove immutable flag on those files, back them up before update, and copy my versions back after update. It's usually various modem scripts.
Better fix may be to use NoUpgrade NoExtract options of pacman and equivalent options for other package managers, next time.
Looks like pacman and dpkg have ways to ignore select files by specifying the ignored files in the configuration files. Alpine package manager doesn't even have a config file that I can find, and it doesn't look like it has this functionality, so not sure how to work around this issue on distros that use it. Maybe someone else has some suggestions?
PMOS-Plasma is hopeless, you can't set the timezone, changes just don't stick. But the clock is right, correctly displayed in GMT. PMOS-Phosh has the right time and timezone so that is where I started digging first. Tracked it down. /etc/apk/keys is empty. You are defaulting to having device mapper claim /dev/mmcblk2, but I didn't bother encrypting my preload, so had to figure out a way around that. Then it was easy enough to copy the keys from the preload install over and the error about untrusted repos went away. Now it has a dependency issue.
# apk upgrade
ERROR: unsatisfied constraints:
cmd:kpartx (virtual)
provided by: multipath-tools
required by: postmarketos-mkinitfs-0.14.1-r1[cmd:kpartx]
Made any changes in any of that or is that just life on the edge and it will get fixed upstream in a few hours?