install_packages fails at "aptitude --allow-change-held-packages ..."

Adam Lewenberg fai524-full at lewenberg.com
Fri Jul 28 03:56:27 CEST 2023


When running the fai-make-nfsroot program I am getting an
install_packages error:

aptitude: unrecognized option '--allow-change-held-packages'
aptitude 0.8.13

The call to install_packages looks like this:

install_packages: executing chroot /srv/fai/bookworm-amd64 aptitude -R
-y -o Dpkg::Options::=--force-confdef -o
Dpkg::Options::=--force-confnew --allow-change-held-packages install
deborphan dnsutils ... more packages

However, aptitude does not support the --allow-change-held-packages
option, at least not on Debian bullseye or bookworm where I am running
fai-make-nfsroot. I see this line in install_packages:

my $aptopt='-y -o Dpkg::Options::=--force-confdef -o
Dpkg::Options::=--force-confnew --allow-change-held-packages';

Maybe the "--allow-change-held-packages" should be removed/changed?


More information about the linux-fai mailing list