Why dual instances of repositories and packages with same version?

I wonder why I have got dual instances of seemingly corresponding repositories that install dual instances of packages with the same version on LP15.5?
And is there a recommended way to avoid this and cleanup this?

From the packages code below, I also wonder what are the difference and purpose with the various libSvtAv1 vs SV-AV1 packages and versions?

zypper lr -Eu
Repository priorities in effect:                                                                                                                                                           (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) : 15 repositories

#  | Alias                     | Name                                                         | Enabled | GPG Check | Refresh | URI
---+---------------------------+--------------------------------------------------------------+---------+-----------+---------+--------------------------------------------------------------------
 1 | NVIDIA:repo-non-free      | repo-non-free (15.5)                                         | Yes     | (r ) Yes  | Yes     | https://download.nvidia.com/opensuse/leap/15.5
 2 | google-chrome             | google-chrome                                                | Yes     | (r ) Yes  | Yes     | https://dl.google.com/linux/chrome/rpm/stable/x86_64
 3 | openSUSE:repo-non-oss     | repo-non-oss (15.5)                                          | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/distribution/leap/15.5/repo/non-oss
 5 | openSUSE:repo-openh264    | repo-openh264 (15.5)                                         | Yes     | (r ) Yes  | Yes     | http://codecs.opensuse.org/openh264/openSUSE_Leap
 6 | openSUSE:repo-oss         | repo-oss (15.5)                                              | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/distribution/leap/15.5/repo/oss
 9 | openSUSE:update-backports | update-backports (15.5)                                      | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/update/leap/15.5/backports
11 | openSUSE:update-non-oss   | update-non-oss (15.5)                                        | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/update/leap/15.5/non-oss
13 | openSUSE:update-oss       | update-oss (15.5)                                            | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/update/leap/15.5/oss
15 | openSUSE:update-sle       | update-sle (15.5)                                            | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/update/leap/15.5/sle
17 | packman                   | Packman                                                      | Yes     | (r ) Yes  | Yes     | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.5/
18 | repo-backports-update     | Update repository of openSUSE Backports                      | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.5/backports/
19 | repo-non-oss              | Non-OSS Repository                                           | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.5/repo/non-oss/
20 | repo-oss                  | Main Repository                                              | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.5/repo/oss/
21 | repo-sle-update           | Update repository with updates from SUSE Linux Enterprise 15 | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.5/sle/
22 | repo-update               | Hovedpakkebrønn for oppdateringer                            | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.5/oss
23 | repo-update-non-oss       | Oppdateringspakkebrønn (ikke åpen kildekode)                 | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.5/non-oss/

zypper se -is svt
Loading repository data...
Reading installed packages...

S  | Name          | Type    | Version          | Arch   | Repository
---+---------------+---------+------------------+--------+----------------
i  | libSvtAv1Dec0 | package | 1.4.1-bp155.1.20 | x86_64 | repo-oss (15.5)
i  | libSvtAv1Dec0 | package | 1.4.1-bp155.1.20 | x86_64 | Main Repository
i  | libSvtAv1Enc1 | package | 1.4.1-bp155.1.20 | x86_64 | repo-oss (15.5)
i  | libSvtAv1Enc1 | package | 1.4.1-bp155.1.20 | x86_64 | Main Repository
i+ | SVT-AV1       | package | 1.4.1-bp155.1.20 | x86_64 | repo-oss (15.5)
i+ | SVT-AV1       | package | 1.4.1-bp155.1.20 | x86_64 | Main Repository

Most likely because you were using opi or one-click install from software.o.o

I assume this is the result of the openSUSE-repos-Leap package.

I am not sure of all the details, but IMHO it is getting a bit of a nightmare for many.

Read Zypper error : ./repo/repoindex.xml - #17 by jcdole . It is getting more interesting in the second half.

It is not a nightmare. It makes repo management way easier…
But some try to outsmart the solution and fail miserably…
These packages already exist since 2022…

@terjejh you can remove some of these repos.
sudo zypper rr 18 19 20 21 22 23

When you have removed the double repos, you will see that the output of zypper se -is svt is cleaned up. As the packages are available in two different repos, they show up as double…

2 Likes

I may be dumb, but I doubt very much that the OP is aware of the problem you point to. I also doubt he is aware of a solution to that problem and I also doubt very much that is is trying to outsmart the solution he isn’t aware of for a problem he isn’t aware of.

Same for me, although I am not hit by it until now, thus the outsmarting part is not applicable to me in any case.

Thank you, that worked. As I used “zypper se -is” I thought the packages were installed twice.

So to my last question, in case someone can clarify this;
“What are the difference and purpose with libSvtAv1Dec0 vs libSvtAv1Enc1 vs SV-AV1” ?
zypper info for each are identical except for the installed size:
2.3 MiB vs 4.9 MiB vs 7.3 MiB

while

zypper info --requires differ for each package as follows:

Requires       : [6]
    libc.so.6(GLIBC_2.17)(64bit)
    libpthread.so.0()(64bit)
    libpthread.so.0(GLIBC_2.2.5)(64bit)
    libpthread.so.0(GLIBC_2.3.2)(64bit)
    libpthread.so.0(GLIBC_2.3.4)(64bit)
    /sbin/ldconfig

Requires       : [9]
    libc.so.6(GLIBC_2.17)(64bit)
    libpthread.so.0()(64bit)
    libm.so.6()(64bit)
    libm.so.6(GLIBC_2.29)(64bit)
    libpthread.so.0(GLIBC_2.2.5)(64bit)
    libm.so.6(GLIBC_2.2.5)(64bit)
    libpthread.so.0(GLIBC_2.3.2)(64bit)
    libpthread.so.0(GLIBC_2.3.4)(64bit)
    /sbin/ldconfig

Requires       : [5]
    libc.so.6(GLIBC_2.17)(64bit)
    libm.so.6()(64bit)
    libm.so.6(GLIBC_2.2.5)(64bit)
    libSvtAv1Dec.so.0()(64bit)
    libSvtAv1Enc.so.1()(64bit)

libSvtAv1Dec0 is the decoder library for AV1 video streams
libSvtAv1Enc1 is the encoder library for AV1 video streams
SVT-AV1 provides the apps and extensive documentation and all around…

1 Like

Thank you for the clarification that makes sense for me :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.