a guest Oct 15th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SPECIFYING PACKAGES
- Many commands take a <package-spec> parameter that selects a package for the operation. DNF looks for interpretations of the parameter from the most commonly used meanings to the least, that is it tries to see if the given
- spec fits one of the following patterns (in decreasing order of priority):
- · name.arch
- · name
- · name-[epoch:]version-release.arch
- · name-[epoch:]version-release
- · name-[epoch:]version
- Note that name can in general contain dashes (e.g. package-subpackage).
- Failing to match the input argument to an existing package name based on the patterns above, DNF tries to see if the argument matches an existing provide.
- By default, if multiple versions of the selected package exist in the repository, the most recent version suitable for the given operation is used. If the selected package exists for multiple architectures, the packages which
- best match the system's architecture will be preferred. The name specification is case-sensitive, globbing characters "?, * and [ are allowed and trigger shell-like glob matching. If a globbing character is present in name,
- DNF expands given name first and consequently selects all packages matching the expanded <package-spec>.
- <package-name-spec> is similar to <package-spec> except the provides matching is never attempted there.
- <package-installed-specs> is similar to <package-specs> except it considers only installed packages.
RAW Paste Data