#1038065 piuparts: Upgrades from lenny to boomworm fail

#1038065#5
Date:
2023-06-15 12:23:56 UTC
From:
To:
Dear Maintainer,

I am trying to test package upgrades from lenny to bookworm.

# piuparts --apt --allow-database --arch i386 --do-not-verify-signatures
--dpkg-noforce-unsafe-io --no-eatmydata -m 'http://archive.debian.org/debian/
main' --no-check-valid-until --scriptsdir /etc/piuparts/scripts --scriptsdir
/etc/piuparts/scripts-multi-distro-upgrade -i /etc/shells --skip-
logrotatefiles-test --warn-on-leftovers-after-purge --warn-on-others -d lenny
-d wheezy -d squeeze libsqliteodbc

The above command fails on error:

2m23.0s DEBUG: Starting command: ['chroot', '/tmp/tmp1r56fnsn',
'tmp/scripts/pre_distupgrade_allow_unauthenticated']
2m23.0s DUMP:
  FAIL: /etc/apt/apt.conf.d/unauthenticated-lenny exists
2m23.0s ERROR: Command failed (status=1): ['chroot', '/tmp/tmp1r56fnsn',
'tmp/scripts/pre_distupgrade_allow_unauthenticated']
  FAIL: /etc/apt/apt.conf.d/unauthenticated-lenny exists

piuparts detects the existnence of the'unauthenticated-lenny' and fails. I
can't seem to ignore the file with the -i option.