summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-01-08 18:06:53 +0100
committerJonas Smedegaard <dr@jones.dk>2017-01-08 18:06:53 +0100
commit9cae34452be02dba4291ecb4ee85658b76fc378c (patch)
treed06fdb9dfec1b67c0e82a8d0ba68594c28988120
parent072c1998d652fee27c69e958f35bb34dc2e0c95a (diff)
Draft ADMIN text, covering (first parts of) system upgrade).
-rw-r--r--ADMIN.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/ADMIN.md b/ADMIN.md
new file mode 100644
index 0000000..cd2bb3e
--- /dev/null
+++ b/ADMIN.md
@@ -0,0 +1,35 @@
+# Administrating system-wide Debian packages
+
+
+## Tools
+
+ * apt - for interactive simple command-line tasks
+ * apt-get - for scripted tasks
+ * aptitude - for fullscreen browsing and complex tasks
+
+
+## System upgrade
+
+Make sure your current system is up-to-date:
+
+ * Check /etc/apt/sources.list* files that only current release is used.
+ * Update and upgrade:
+
+ apt update; apt upgrade
+
+Make sure that all auto-installed packages are marked as such:
+
+ * Start aptitude in fullscreen mode:
+
+ aptitude -u
+
+ * Check each installed package: Flag as auto-installed as appropriate
+ * Remove no longer used packages as needed (press "g" twice).
+
+Double-check packages unneeded for or alien to current release:
+
+ * Compute package lists:
+
+ localbackuppkglists
+
+ * locate and inspect aliens and explicits below /etc/*/localpkglists.*