• 8 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle


  • Configuring the priority of the repository.
    In OpenSuse, the priority of a repository is a value between 1 and 200, with 1 being the highest priority and 200 the lowest priority. If a package is available in more than one repository, then the repository with the highest priority takes precedence. Default is 99.

    This is how I do via terminal:

    List enabled repositories in priority order:
    zypper lr -PE

    In my case, the repo I want to change is:
    4 | home_paul4us | home:paul4us | Yes | (r ) Yes | No | 99
    (First column is the ID and last is PRIORITY)

    Lower the 3rd party repo priority (set PRIORITY of the repository with ID 4 the value of 100):
    sudo zypper mr -p 100 4

    You will see the message:
    Repository 'home_paul4us' priority has been set to 100.

    Bonus
    If you want to list what is installed from this repo (id 4):
    zypper se -i -r 4