OpenSUSE Community + Wiki instructions add duplicate Packman repository. Which is best?

I’ve added Additional package repositories - openSUSE Wiki

sudo zypper ar -cfp 90 https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ packman

However, I subsequently used https://opensuse-community.org/codecs-kde.ymp from https://opensuse-community.org/#:~:text=for%20the%20packages).-,kde%20codecs,-GNOME%20Codecs, leaving me with

RokeJulianLockhart@localhost:~> zypper lr
Repository priorities in effect:                                                                                                                                                                                                                                                            (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  7 repositories

#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh
---+----------------------------------+----------------------------------------+---------+-----------+--------
 1 | http-ftp.gwdg.de-6e60d066        | Packman Repository                     | Yes     | (r ) Yes  | Yes
 2 | http-opensuse-guide.org-a033cfed | libdvdcss repository                   | Yes     | (r ) Yes  | Yes
 3 | openSUSE-20230908-0              | openSUSE-20230908-0                    | No      | ----      | ----
 4 | packman                          | packman                                | Yes     | (r ) Yes  | Yes
 5 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----
 6 | repo-non-oss                     | openSUSE-Tumbleweed-Non-Oss            | Yes     | (r ) Yes  | Yes
 7 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes
 8 | repo-oss                         | openSUSE-Tumbleweed-Oss                | Yes     | (r ) Yes  | Yes
 9 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----
10 | repo-update                      | openSUSE-Tumbleweed-Update             | Yes     | (r ) Yes  | Yes
11 | snappy                           | snappy                                 | Yes     | (r ) Yes  | Yes
RokeJulianLockhart@localhost:~>

As you can see, http-ftp.gwdg.de-6e60d066 and packman have very different URIs. It seems like perhaps https://people.opensuse.org/2007-08-16-martin-schlander.html caches the packman packages and routes them through http://ftp.gwdg.de-6e60d066? I’d like some confirmation of whether this is a sensible configuration, though, especially since the recommended

sudo zypper dup --from packman --allow-vendor-change

making many packages come from a lower-ranked repository surely isn’t a very good idea?

What should I do? Keep both? Remove one?

We really cannot tell. You should use

zypper lr -d

for posting repo information. What you posted does not show the URI nor the priority.

So I am just guessing here. If I guessed correctly, then repo#1 and repo #4 in your list will both have the same packages as the two are synchronized. Okay, there will be brief periods of time when they are not in sync, but near enough.

If it were my system and if my guesses are correct, then I would delete repo#1, and I would change the priority of repo#4 to 90, which I am guessing is the priority of current repo#1.

Again, if my guess is correct, then that “zypper dup” command will not switch packages from repo#1 to repo#4, because those will all have the same vendor and there will be nothing to switch.

1 Like
  1. Don’t use 1-click installations! Thats already broadly known. One-Click Installs are just so ...
  2. Follow these instructions to add Packman repo: SDB:Installing codecs from Packman repositories - openSUSE Wiki
  3. Packman has several mirrors (oh wonder): PackMan :: Mirrors
1 Like
zypper lr -d

produces

RokeJulianLockhart@localhost:~> zypper lr -d
#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                           | Service
---+----------------------------------+----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------+--------
 1 | http-ftp.gwdg.de-6e60d066        | Packman Repository                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/                | 
 2 | http-opensuse-guide.org-a033cfed | libdvdcss repository                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                           | 
 3 | openSUSE-20230908-0              | openSUSE-20230908-0                    | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/ata-SATA3_64GB_SSD_2020032100150-part2            | 
 4 | packman                          | packman                                | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/                          | 
 5 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/tumbleweed/repo/oss/                       | 
 6 | repo-non-oss                     | openSUSE-Tumbleweed-Non-Oss            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                         | 
 7 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                       | 
 8 | repo-oss                         | openSUSE-Tumbleweed-Oss                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                             | 
 9 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/tumbleweed/repo/oss/                      | 
10 | repo-update                      | openSUSE-Tumbleweed-Update             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                               | 
11 | snappy                           | snappy                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed | 
RokeJulianLockhart@localhost:~>

Do you know how I might go about doing this, @nrickert? I understand if you don’t want to craft the commands for me, but I’d like to not mess-up this new installation. I’ll try myself when I can anyway and report back.

Thanks.

It was not known to me, @hui. All I saw across Google was that they were recommended. Should I report this to the OpenSUSE Community website maintainer, you reckon?

The easiest way is to use:
Yast Software Repositories

1 Like

It is several years since I last used a 1-click install. Even then, after the install, I disabled the repos added by that install.

Only the time of updating the servers are different.