summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-11-02 16:12:37 +0200
committerLars Wirzenius <liw@liw.fi>2022-11-02 16:12:37 +0200
commitd286c58d728ec40e02bfb44ffd50ce7a92f777dc (patch)
treed52a2dca429ba9d32f1a99c3163868b8c8f77474
parent99f0860b70076c6b62c009160258834a28f1b62d (diff)
downloaddebian-subplot-d286c58d728ec40e02bfb44ffd50ce7a92f777dc.tar.gz
feat: verify that "apt update" works
Sponsored-by: author
-rw-r--r--debian.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian.md b/debian.md
index 0ebb7b2..5f9d29e 100644
--- a/debian.md
+++ b/debian.md
@@ -38,3 +38,22 @@ given a Debian system
when I run, as debian, sudo id -u
then stdout is exactly "0\n"
~~~
+
+## Can log in and update package lists
+
+_Requirement: The system administrator can update the lists of
+packages the APT package manager needs._
+
+Justification: Without this, it's not possible to find out about new
+packages, new versions of packages, and there's no hope to apply bug
+fixes or security updates. Thus, this is a minimal, if not sufficient,
+requirement to be able to maintain a Debian system.
+
+Note that we don't upgrade packages as part of the scenario. That
+might break the system.
+
+~~~scenario
+given a Debian system
+when I run, as debian, sudo apt update
+then command is successful
+~~~