> Regarding the search term
>   ?upgradable ~U Select packages that are installed and can be upgraded.
>
> 1. It's not clear if this is the exact same set of packages as:
>        safe-upgrade

It is not.

The set of packages selected by ?upgradable is a superset of those
which would be upgraded by either safe-upgrade or full-upgrade.

It is not uncommon that a package could have a newer version
available, but that neither safe- nor full-upgrade would upgrade it.
Indeed, full-upgrade may even remove such a package due to conflicting
other upgrades -- such a package can still be upgraded by selecting it
manually, hence, it is still `upgradable'.

So technically, `?upgradable' only considers if there is a candidate
version available which is newer than the current version.  It
directly uses info from the package cache and this is a very quick,
per-package operation.

The current documentation for this rightly does not relate this to
safe-/full-upgrade because the upgradable status is independent of
these mechanisms.

> 2. Even if it is, there's still no search term to match the packages
>        being upgraded or newly installed by:
>
>        full-upgrade
>        ...
>
> 3. And then there is also two sets of packages that will be removed,
> one for safe-upgrade and one for full-upgrade. So perhaps make search
> terms for them too.

I am not sure that the current matcher code does support this very
easily.  Though I wish anyone luck in trying.

> Or maybe for all this one should just use -s and parse the results oneself...

Perhaps a quick hack could be an option/script to change the output of
simulate to return a straight list of upgraded, installed, or removed
packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to