💡Aha!

dpkg verbose로 보기

가끔씩 dpkg가 Setting up 같은 작업을 할 때 무엇을 진행하는지 궁금할 때가 있다. 디버깅 모드를 사용하여 무엇을 하고 있는지 확인할 수 있다.

1dpkg --debug=help
2dpkg debugging option, --debug=<octal> or -D<octal>:
3
4 Number Ref. in source Description
5 1 general Generally helpful progress information
6 2 scripts Invocation and status of maintainer scripts
7 10 eachfile Output for each file processed
8 100 eachfiledetail Lots of output for each file processed
9 20 conff Output for each configuration file
10 200 conffdetail Lots of output for each configuration file
11 40 depcon Dependencies and conflicts
12 400 depcondetail Lots of dependencies/conflicts output
13 10000 triggers Trigger activation and processing
14 20000 triggersdetail Lots of output regarding triggers
15 40000 triggersstupid Silly amounts of output regarding triggers
16 1000 veryverbose Lots of drivel about eg the dpkg/info directory
17 2000 stupidlyverbose Insane amounts of drivel
18
19Debugging options can be mixed using bitwise-or.
20Note that the meanings and values are subject to change.
1dpkg --debug=72200 [command]

ref

How do I show the actions that installing a .deb package will take?
Thanks for contributing an answer to Server Fault! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
How do I show the actions that installing a .deb package will take?
https://serverfault.com/a/979380
How do I show the actions that installing a .deb package will take?
2024 Dohyun Jung.
Made with ☕️.