summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2024-08-31 13:29:13 +0200
committerAndreas Fankhauser hiddenalpha.ch2024-08-31 13:29:13 +0200
commit37cfce0952e80bda32a9dd1bd5aef557a37cf4ce (patch)
treecf18511acfeb6b5968c5a4844b7a06cb8b5c5dd9 /doc
parent8695bd6715721e7fa8d0ce0f65113e77dc9c6fcc (diff)
downloadUnspecifiedGarbage-37cfce0952e80bda32a9dd1bd5aef557a37cf4ce.zip
UnspecifiedGarbage-37cfce0952e80bda32a9dd1bd5aef557a37cf4ce.tar.gz
Add notes for APT pkg management.
Diffstat (limited to 'doc')
-rw-r--r--doc/note/apt/apt.txt15
-rw-r--r--doc/note/setup/setup-debian.txt3
2 files changed, 17 insertions, 1 deletions
diff --git a/doc/note/apt/apt.txt b/doc/note/apt/apt.txt
new file mode 100644
index 0000000..62c7290
--- /dev/null
+++ b/doc/note/apt/apt.txt
@@ -0,0 +1,15 @@
+
+## Print why a package is installed
+
+ apt-cache rdepends --no-suggests --no-conflicts --no-breaks --no-replaces \
+ --no-enhances --installed --recurse \
+ ${PKG_NAME:?}
+
+WARN: I saw cases where above still misses to print relevant packages. Then I
+ found another hack-around which did work for me. Just pretent to
+ uninstall the package. Then the list might give some hints why it
+ was installed:
+
+ sudo apt purge --dry-run ${PKG_NAME:?}
+
+
diff --git a/doc/note/setup/setup-debian.txt b/doc/note/setup/setup-debian.txt
index 1b7c5fc..9bbc01e 100644
--- a/doc/note/setup/setup-debian.txt
+++ b/doc/note/setup/setup-debian.txt
@@ -109,7 +109,8 @@ Populate "/etc/environment" as described by "./etc-environment".
`# basic UI` \
firefox-esr file-roller thunderbird chromium okular \
`# software devel` \
- git sqlite3 manpages-dev gdb qemu-utils qemu-system wireshark samba tigervnc-viewer jq universal-ctags \
+ git sqlite3 manpages-dev gdb qemu-utils qemu-system-x86 qemu-system-arm wireshark samba \
+ tigervnc-viewer jq universal-ctags \
`# server` \
nginx-light avahi-daemon \
`# mDNS client & tools` \