Skip to content

Commit

Permalink
add --allow-change-held-packages
Browse files Browse the repository at this point in the history
this is needed if a package is listed as to be installed and to be removed
e.g.: ubuntu-server ubuntu-server-
  • Loading branch information
Mrfai committed Nov 13, 2022
1 parent 20d9d4a commit da2a597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install_packages
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ my %classisdef;
my $maxpl; # maximum length of package list
my @known; # list of all known packages
my $execerrors; # counts execution errors
my $aptopt='-y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew';
my $aptopt='-y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew --allow-change-held-packages';
my $pacmanopts=' --noconfirm ';
my $downloaddir="/var/cache/apt/archives/partial/"; # where to download packages that gets only unpacked
my $debsourcesdir='/var/lib/fai/packages';
Expand Down

0 comments on commit da2a597

Please sign in to comment.