From d286c58d728ec40e02bfb44ffd50ce7a92f777dc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 2 Nov 2022 16:12:37 +0200 Subject: feat: verify that "apt update" works Sponsored-by: author --- debian.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 +~~~ -- cgit v1.2.1