From 3625351722e67903dc34993fe318e50863bd2d31 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 11 Apr 2023 16:37:51 +0200 Subject: Add apt install,upgrade,... -U,--update options This runs update before opening the cache and sources.list for installing/upgrading. --- doc/apt-get.8.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/apt-get.8.xml') diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index 6d28fe116..f4d347c70 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -657,6 +657,20 @@ Fail the update command if any error occured, even a transient one. + + Run the command before the specified command. This is supported for commands + installing, removing, or upgrading packages such as + , , , . + This can be useful to ensure a command always installs the latest versions, or, in combination with the + option to make sure the snapshot is present when install is being run. + + Caveat: Due to technical limitations, locks are acquired individually for each phase, hence an install + may fail to acquire locks after successfully executing the update. Until this is resolved, this is merely + syntactic sugar for apt update && apt install + + + + &apt-commonoptions; -- cgit v1.2.3-70-g09d2