Bug#787846: Please accept --upgradeable as synonym for --upgradable
Control: tag -1 pending
On Fri, Jun 05, 2015 at 09:01:09AM -0700, Josh Triplett wrote:
> 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.
>
OK. I added the alias. The other user visible changes were replaced
earlier one, so you can be happy.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
- If you don't I might ignore you.
Reply to: