How to tell which repositories provide which packages?
Little Girl
littlergirl at gmail.com
Thu Jan 7 04:07:09 UTC 2021
Hey there,
Ralf Mardorf via ubuntu-users wrote:
>PS: The assumption of "0" for packages without an epoch describes the
>sort order of the package management. But if we use the grep command
>to recognize, to distinguish, if the package version is "(none)" or
>an existing package, with real versioning, without using grep's
>inverted match option, the "0" is just imaginary, it doesn't exist
>for grep.
True. Also, since it's commonly not specified in version numbers, it
wouldn't be a very useful way of filtering the results.
>The inverted match seems to be the best thing to do, since "(" is
>definitively no valid versioning char. To keep the script human
>readable it makes sense to use "(none)" instead of "(" only.
That makes sense, and also gives the user a better idea of what's
being matched and why. I also kind of prefer to use just "(none)"
rather than "Installed: (none)" since it's shorter on some of those
horrendously long commands.
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list