diff --git a/knowledge base/zypper.md b/knowledge base/zypper.md index ff33b16..ab1781a 100644 --- a/knowledge base/zypper.md +++ b/knowledge base/zypper.md @@ -6,7 +6,8 @@ SUSE and openSUSE GNU/Linux's package management utility and command-line interf 1. [TL;DR](#tldr) 1. [Concepts](#concepts) - 1. [Repositories](#repositories) +1. [Repositories](#repositories) +1. [Configuration](#configuration) 1. [Gotchas](#gotchas) 1. [Further readings](#further-readings) 1. [Sources](#sources) @@ -154,7 +155,7 @@ They might be **packages**, **patches**, **patterns**, **products**, or basicall If one does not request specific versions of resolvables during an action, Zypper's dependency solver will pick a _reasonable_ one automatically. -### Repositories +## Repositories The **lower** the number given to their `priority` setting, the **higher** the precedence of that repository.
This means that a repository with priority 90 will have precedence on repositories with the default priority of 99. @@ -169,6 +170,13 @@ Repositories of interest: | Mozilla |
| Bleeding edge versions of Firefox, Thunderbird and all things Mozilla | | Vivaldi | | A browser adapting to you, not the other way around. | +## Configuration + +Default global configuration file: `/etc/zypp/zypp.conf`.
+An alternate config file can be set using the `ZYPP_CONF=` environment variable. + +See [zypp configuration options] for details. + ## Gotchas Global options **must** be specified **before** the command name.
@@ -185,6 +193,7 @@ sudo rpm --query --list 'parallel' - [rpm] - [How can I list all files which have been installed by an ZYpp/Zypper package?] - [Managing software with command line tools] +- [Zypp configuration options] ## Sources @@ -203,6 +212,7 @@ All the references in the [further readings] section, plus the following: [command to clean out all unneeded autoinstalled dependencies]: https://github.com/openSUSE/zypper/issues/116 [managing software with command line tools]: https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-sw-cl.html [package repositories]: https://en.opensuse.org/Package_repositories +[zypp configuration options]: https://doc.opensuse.org/projects/libzypp/HEAD/group__ZyppConfig.html [further readings]: #further-readings