install_packages fails at "aptitude --allow-change-held-packages ..."
Adam Lewenberg <[email protected]>
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <CALa0DZJi5J404Om2kbDsX19_cfjcidHuZnvvbeFNo6Sp2wwYJg@mail.gmail.com> |
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?