mmdebstrap: Show APT's dependency trace when in debug mode
A dependency trace is a powerful tool to debug issues related to APT's selection of packages, especially in custom mode. Thus it makes sense to ask APT to output a dependency trace when `mmdebstrap` is run with the `--debug` flag.
This commit is contained in:
parent
64ba5f8229
commit
a4b7239d71
1 changed files with 3 additions and 0 deletions
|
@ -2085,6 +2085,9 @@ sub run_download() {
|
|||
'apt-get',
|
||||
'--yes',
|
||||
'-oApt::Get::Download-Only=true',
|
||||
($verbosity_level >= 3) ? '-oDebug::pkgProblemResolver=true' : (),
|
||||
($verbosity_level >= 3) ? '-oDebug::pkgDepCache::Marker=1' : (),
|
||||
($verbosity_level >= 3) ? '-oDebug::pkgDepCache::AutoInstall=1' : (),
|
||||
$options->{dryrun} ? '-oAPT::Get::Simulate=true' : (),
|
||||
'install'
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue