Bug#787846: Please accept --upgradeable as synonym for --upgradable
Package: apt
Version: 1.0.9.10
Severity: normal
apt list accepts --upgradable, but not --upgradeable. However,
elsewhere apt uses both interchangeably, and uses the latter in named
options:
~$ grep -i upgradeable /etc/cron.daily/apt
# APT::Periodic::Download-Upgradeable-Packages "0";
# APT::Periodic::Download-Upgradeable-Packages-Debdelta "1";
DownloadUpgradeableInterval=0
eval $(apt-config shell DownloadUpgradeableInterval APT::Periodic::Download-Upgradeable-Packages)
eval $(apt-config shell Debdelta APT::Periodic::Download-Upgradeable-Packages-Debdelta)
[ $DownloadUpgradeableInterval -eq 0 ] &&
# download all upgradeable packages (if it is requested)
DOWNLOAD_UPGRADEABLE_STAMP=/var/lib/apt/periodic/download-upgradeable-stamp
if [ $UPDATED -eq 1 ] && check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $DownloadUpgradeableInterval; then
update_stamp $DOWNLOAD_UPGRADEABLE_STAMP
# auto upgrade all upgradeable packages
~$ grep -i upgradable /etc/cron.daily/apt
debug_echo "download upgradable (success)"
debug_echo "download upgradable (error)"
debug_echo "download upgradable (not run)"
So, please consider accepting both spellings for "apt list", and please
consider auditing usage of the two throughout apt.
- Josh Triplett
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii debian-archive-keyring 2014.3
ii gnupg 1.4.19-3
ii libapt-pkg4.12 1.0.9.10
ii libc6 2.19-18
ii libgcc1 1:5.1.1-9
ii libstdc++6 5.1.1-9
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.6.11-1+b1
ii dpkg-dev 1.18.1
ii python-apt 0.9.4
-- no debconf information
Reply to: