Nest update: I rolled back to the last automatic pre-update schnapps snapshot that has a corresponding post-update snapshot, ie the last snapshot that had a successful update afterwards.
Still, the same problem occurs after running pkgupdate.
What I found interesting: now I have a more detailed log and it contains:
INFO:Queue removal of python-uci
While the update hangs with:
Output from base-files.postinst:
uci: Entry not found
Output from dnssec-rootkey.postinst:
+ '[' -n ]
+ /usr/sbin/cert-backup /etc/root.keys
Output from knot-resolver.postinst:
+ '[' -z ]
+ /etc/init.d/dnsmasq restart
udhcpc: started, v1.29.3
udhcpc: sending discover
udhcpc: no lease, failing
+ sleep 2
+ /etc/kresd/kresd.postinst.sh
+ uci -q get resolver.kresd.static_domains
+ stat_dom=
+ '[' '!' -z ]
+ /etc/init.d/resolver restart
+ rm /etc/kresd/kresd.postinst.sh
+ /etc/kresd/convert_config.sh
uci: Entry not found
+ rm /etc/kresd/convert_config.sh
+ uci -q get resolver.common.prefered_resolver
+ '[' kresd '=' kresd ]
+ uci -q get resolver.common.forward_upstream
+ egrep -q '(1|yes|true|enabled|on)'
So, might this uci thing be the problem?
One other interesting thing: I removed mwan3 before the update since I don’t use it anymore anyway, but the update still installed it again.