Hi all,I just realized an alternative implementation was already contributed by Michael Vogt on salsa.d.o
https://salsa.debian.org/apt-team/python-apt/-/merge_requests/67 Good to see he ended up with almost the same implementation as I did. Regards, Micha