Bug#1091472: Please provide an apt.conf option equivalent to -U
Package: apt
Version: 2.9.19
Severity: wishlist
X-Debbugs-Cc: josh@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).
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64
Kernel: Linux 6.12.6-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.137
ii base-passwd 3.6.5
ii debian-archive-keyring 2023.4
ii libapt-pkg6.0t64 2.9.19
ii libc6 2.40-4
ii libgcc-s1 14.2.0-11
ii libseccomp2 2.5.5-2
ii libssl3t64 3.3.2-2
ii libstdc++6 14.2.0-11
ii libsystemd0 257.1-4
ii sqv 1.2.1-4
Versions of packages apt recommends:
ii ca-certificates 20241223
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.8.13-6.1
ii dpkg-dev 1.22.11
ii gnupg 2.2.45-2
pn powermgmt-base <none>
-- no debconf information
Reply to: