Minor question on zypper up

A while ago I changed my OS from TW to Leap 15.3 for a quieter life. Unfortunately and in ignorance I continued to update using zypper dup until I was told rather firmly that for Leap 15.3 I should be using zypper up. OK so I always use that now on Leap 15.3 installations.

However when I now run zypper up I get a number of files showing thus:-

The following 14 package updates will NOT be installed: 
  gstreamer-plugins-ugly gstreamer-plugins-ugly-lang libprojectM3 libvlc5 libvlccore9 libzvbi0 vlc 
  vlc-codec-gstreamer vlc-lang vlc-noX vlc-qt vlc-vdpau vorbis-tools vorbis-tools-lang


I suspect these are left over from my error but I would like to understand what is going on and what I should do to clean up my system.

First of all show your repository list

zypper lr -d

Most likely you have newer versions of these packages from different vendor. zypper will not switch vendor automatically (at least, in default settings). Show

zypper search -s gstreamer-plugins-ugly

Here is what I have in my system:-

#  | Alias                            | Name                                                         | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                | Service 
---+----------------------------------+--------------------------------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------+-------- 
 1 | http-ftp.gwdg.de-1025f41d        | Packman Repository                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/ |  
 2 | http-opensuse-guide.org-644cec2b | libdvdcss repository                                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.3/                 |  
 3 | multimedia_apps                  | Multimedia Applications (15.3)                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/multimedia:/apps/15.3/  |  
 4 | openSUSE-Leap-15.3-1             | openSUSE-Leap-15.3-1                                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/      |  
 5 | repo-backports-update            | Update repository of openSUSE Backports                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/backports/           |  
 6 | repo-non-oss                     | Non-OSS Repository                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/  |  
 7 | repo-oss                         | Main Repository                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/      |  
 8 | repo-sle-update                  | Update repository with updates from SUSE Linux Enterprise 15 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/sle/                 |  
 9 | repo-update                      | Main Update Repository                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/oss                  |  
10 | repo-update-non-oss              | Update Repository (Non-Oss)                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/non-oss/             |  
alastair@ibmserv2:~> 


and here is what I have from this search:-

alastair@ibmserv2:~> sudo zypper search -s gstreamer-plugins-ugly 
Loading repository data... 
Reading installed packages... 

S  | Name                                        | Type       | Version            | Arch   | Repository 
---+---------------------------------------------+------------+--------------------+--------+------------------------------------------------------------- 
v  | gstreamer-plugins-ugly                      | package    | 1.16.3-3.3.1       | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 
i+ | gstreamer-plugins-ugly                      | package    | 1.16.3-pm153.3.5.5 | x86_64 | Packman Repository 
v  | gstreamer-plugins-ugly                      | package    | 1.16.2-1.75        | x86_64 | openSUSE-Leap-15.3-1 
v  | gstreamer-plugins-ugly                      | package    | 1.16.2-1.75        | x86_64 | Main Repository 
   | gstreamer-plugins-ugly                      | srcpackage | 1.16.3-3.3.1       | noarch | Update repository with updates from SUSE Linux Enterprise 15 
   | gstreamer-plugins-ugly                      | srcpackage | 1.16.3-pm153.3.5.5 | noarch | Packman Repository 
   | gstreamer-plugins-ugly-32bit                | package    | 1.16.3-3.3.1       | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 
   | gstreamer-plugins-ugly-32bit                | package    | 1.16.2-1.75        | x86_64 | openSUSE-Leap-15.3-1 
   | gstreamer-plugins-ugly-32bit                | package    | 1.16.2-1.75        | x86_64 | Main Repository 
   | gstreamer-plugins-ugly-debuginfo            | package    | 1.16.3-pm153.3.5.5 | x86_64 | Packman Repository 
   | gstreamer-plugins-ugly-debugsource          | package    | 1.16.3-pm153.3.5.5 | x86_64 | Packman Repository 
   | gstreamer-plugins-ugly-doc                  | package    | 1.16.3-3.3.1       | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 
   | gstreamer-plugins-ugly-doc                  | package    | 1.16.3-pm153.3.5.5 | x86_64 | Packman Repository 
   | gstreamer-plugins-ugly-doc                  | package    | 1.16.2-1.75        | x86_64 | openSUSE-Leap-15.3-1 
   | gstreamer-plugins-ugly-doc                  | package    | 1.16.2-1.75        | x86_64 | Main Repository 
v  | gstreamer-plugins-ugly-lang                 | package    | 1.16.3-3.3.1       | noarch | Update repository with updates from SUSE Linux Enterprise 15 
i+ | gstreamer-plugins-ugly-lang                 | package    | 1.16.3-pm153.3.5.5 | noarch | Packman Repository 
v  | gstreamer-plugins-ugly-lang                 | package    | 1.16.2-1.75        | noarch | openSUSE-Leap-15.3-1 
v  | gstreamer-plugins-ugly-lang                 | package    | 1.16.2-1.75        | noarch | Main Repository 
i+ | gstreamer-plugins-ugly-orig-addon           | package    | 1.16.3-pm153.3.5.5 | x86_64 | Packman Repository 
   | gstreamer-plugins-ugly-orig-addon-debuginfo | package    | 1.16.3-pm153.3.5.5 | x86_64 | Packman Repository 
alastair@ibmserv2:~> 

What a mess!

As you see, you have installed the versions from Packman. Assuming you want this, that is OK.

v  | gstreamer-plugins-ugly                      | package    | 1.16.3-3.3.1       | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 
i+ | gstreamer-plugins-ugly                      | package    | 1.16.3-pm153.3.5.5 | x86_64 | Packman Repository 

Same Source Versions: 1.16.3

But different Release Scheme…

I would stay on the Packman Version because it Builds with

%if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON}
%files orig-addon
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstamrnb.so
%{_libdir}/gstreamer-%{gst_branch}/libgstamrwbdec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstasf.so
%{_libdir}/gstreamer-%{gst_branch}/libgstx264.so
%{_datadir}/gstreamer-%{gst_branch}/presets/GstAmrnbEnc.prs
%{_datadir}/gstreamer-%{gst_branch}/presets/GstX264Enc.prs
%endif

Also I would prefer on setting the Priority of the Packman Repo to a higher one to get new packages installed from Packman Repo:

zypper mr -p 20 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/

Good suggestion. Thanks.

Just like to thank Sauerland for his excellent advice. I knew I had historically had both Packman and other relevant repo working because changes through updates had made this necessary but fixing the priority never occurred to me, let alone knowing how to do this. Have followed Sauerland’s advice and had no issues since. Others may find this helpful.

The wiki shows the same with a priority value of ‘90’ used (vs the standard official repos using ‘99’)…
https://en.opensuse.org/Additional_package_repositories