mmdebstrap: Show APT's dependency trace when in debug mode
#24
Closed
gioele
wants to merge 1 commits from gioele/mmdebstrap:debug-show-apt-resolution
into main
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'gioele/mmdebstrap:debug-show-apt-resolution'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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.We never need this if apt succeeds, correct? If yes, and this is only about figuring out why apt failed to do what it was asked to do, then instead we should add some code that, if apt fails, runs apt again with better options and dumps the EDSP.
Personally, I also used this to understand why certain packages were brought it. In that case apt did not error out, but did not produce the result I was expecting.
That would be great, but I'm afraid it's above my current knowledge of
mmdebstrap
.a4b7239d71
to27fca53e1d
2 years agoAdded in
7ce6db0ca7
. Thanks!Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.