On 24/03/2021 22.59, Andrius Merkys wrote:
However, I am not sure how to proceed next. In principle I could tinker
with maintscripts, but I am not sure how to instruct piuparts to pick my
.deb instead of what is already present in bullseye.

There is '--distupgrade-to-testdebs-from /path/to/Packages-and-.debs'

I see you applied the fix I suggested ;-) Sorry, didn't find time yet to look at this and try something.

dpkg stating that both relative and absolute values work as $old_target is correct in most cases. Simplified, the check is

if [ $(readlink $pathname) = $old_target ] || [ $(readlink -f $pathname) = $old_target ]; then ... fi which did not work in your case because readlink returned the absolute path in both cases, but $old_target was relative and thus never matched. (But I vaguely remember a case where the relative link gave better results as well, so absolute is not the perfect solution.)

Andreas

BTW: every time you add more information to a bug it will reset the AUTORM timer.

Reply via email to