On Fri, Dec 27, 2024 at 02:36:51AM -0800, Josh Triplett wrote: > Package: apt > Version: 2.9.19 > Severity: wishlist > X-Debbugs-Cc: j...@joshtriplett.org > > apt-get and apt support a -U option to update before running the > command. Please consider providing an option in apt.conf to always act > as if this option were provided. That would allow (for instance) CI > systems to make `apt install xyz` Just Work. > > I would suggest an `Apt::Get::Update` option, with possible values > "true", "false", and (perhaps in the future) "binaries" (to update only > binary repos and not source repos).
This is controllable by the APT::Update option. All command-line options are just syntactic sugar for apt.conf options. As the feature is experimental, and not working correctly (it doesn't acquire and hold the locks throughout but behaves exactly like update&&upgrade), it's not documented. The goal is to fix the locking issue, add a separate stamp file, and then switch the default to automatically update on missing sources or if we haven't updated in 7 days. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en