re-installing packages with dpkg also requires --force-depends because dpkg doesn't consider Pre-Depends

This commit is contained in:
Johannes 'josch' Schauer 2018-11-04 20:38:16 +01:00
parent a9765a3ad2
commit cc7dddb1b3
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1052,7 +1052,7 @@ sub setup {
# without --skip-same-version, dpkg will install the given
# packages even though they are already installed
print STDERR "I: re-installing packages because of path-exclude...\n";
run_dpkg_progress [@essential_pkgs], @chrootcmd, 'dpkg', '--install';
run_dpkg_progress [@essential_pkgs], @chrootcmd, 'dpkg', '--install', '--force-depends';
}
}