27
submitted 8 months ago by xtapa@discuss.tchncs.de to c/linux@lemmy.ml

Hi,

I'm in the weird spot again, where I want to update my Tumbleweed system and am lost in a dependency hell. It more or less occurs once in a while when updates drop and the prompt asks if I want to install stuff from vendor "obs://build.opensuse.org/home:wolfi323" replacing the obsolete stuff from the official openSUSE vendor.

As soon as I read wolfi323, I get fucking Vietnam flashbacks, because it means I will have to decide for ~100 services if I keep the current obsolote version or install the one from wolfi323. Either way, it's gonna fuck up a myriad of dependencies.

All that hassle just to do the same shit all over again because at some point, the official opensuse repos catch up with newer versions.

I could probably wait for the official updates, but it's uncertain, when they are going to drop and I'll just pile up thousands of updates in the meantime.

How do the Tumbleweed Folks among us deal with this?

you are viewing a single comment's thread
view the rest of the comments
[-] Kuunha@lemmy.eco.br 12 points 8 months ago* (last edited 8 months ago)

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

[-] xtapa@discuss.tchncs.de 3 points 8 months ago

Wow, thats really elaborate. Thanks so much!

this post was submitted on 18 Mar 2024
27 points (88.6% liked)

Linux

48349 readers
676 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS