Cleaning up repos following upgrade to 15.5

I have tried to follow the upgrade instructions from opensuse SDB:System_upgrade and it all seems to have gone well but I have a couple of repos remaining on my system which are still from Leap 15.4. These are
multimedia:/apps/15.4/ and a remaining openSUSE-Leap-15.4-1.

What should I do with these? I believe the multimedia repo was added to provide an app I needed but do not have any notes or details why. I do have a small number of files which are likely to be relevant to my question:-

alastair@HP-Z640-1:~> sudo zypper up
Loading repository data...
Reading installed packages...

The following 42 package updates will NOT be installed:
  dvdauthor libgbm1 libpipewire-0_3-0 libprojectM3 libquicktime0 libsamba-policy0-python3 libvdpau_nouveau
  mediainfo Mesa Mesa-dri Mesa-dri-nouveau Mesa-gallium Mesa-KHR-devel Mesa-libEGL1 Mesa-libEGL-devel
  Mesa-libGL1 Mesa-libglapi0 Mesa-libGL-devel Mesa-libva mpv mpv-bash-completion mpv-mpris pipewire
  pipewire-lang pipewire-modules-0_3 pipewire-spa-plugins-0_2 pipewire-spa-tools pipewire-tools samba
  samba-client samba-client-libs samba-gpupdate samba-ldb-ldap samba-libs samba-libs-python3 samba-python3
  samba-winbind samba-winbind-libs smplayer smplayer-lang vorbis-tools vorbis-tools-lang
Nothing to do.
alastair@HP-Z640-1:~> 

Grateful for advice please.

possibly you use packman repo and those packages needing vendor change. to be upgraded.

sudo zypper dup --allow-vendor-change

You are long enough around that you should know how to show your repo list:

zypper lr -d

And no, you don’t do a vendor change in general but only from defined repositories:

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

But for that we also need to know if you have properly setup your repos…

Hi and yes, here is my list. I know some are left over from earlier and should be removed but I was starting with the obvious. Here is my existing setup and yes it does need cleaning up.

#  | Alias                                 | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+---------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | ftp.gwdg.de-openSUSE_Leap_$releasever | Packman Repository                                                                          | Yes     | (r ) Yes  | Yes     |   80     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.5/      | 
 2 | multimedia                            | multimedia                                                                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/multimedia:/apps/15.4/       | 
 3 | openSUSE-Leap-15.4-1                  | openSUSE-Leap-15.4-1                                                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/           | 
 4 | repo-backports-debug-update           | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/update/leap/15.5/backports_debug/          | 
 5 | repo-backports-update                 | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.5/backports/                | 
 6 | repo-debug                            | Debug Repository                                                                            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.5/repo/oss/     | 
 7 | repo-debug-non-oss                    | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.5/repo/non-oss/ | 
 8 | repo-non-oss                          | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.5/repo/non-oss/       | 
 9 | repo-oss                              | Main Repository                                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.5/repo/oss/           | 
10 | repo-sle-debug-update                 | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.5/sle/                | 
11 | 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.5/sle/                      | 
12 | repo-source                           | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.5/repo/oss/    | 
13 | repo-update                           | Main Update Repository                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.5/oss                       | 
14 | repo-update-non-oss                   | Update Repository (Non-Oss)                                                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.5/non-oss/                  | 
alastair@HP-Z640-1:~> 

Looks not that bad. You can delete repo number 3 (old Leap 15.4 repo) as the correct one is number 9 (new Leap 15.5 repo).

And you only need to change the URL from repo number 2 to

https://download.opensuse.org/repositories/multimedia:/apps/15.5/

After that you can do again a

zypper up

and

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

Many thanks, makes sense to me but I have a strange result when I ran the last command:-

alastair@HP-Z640-1:~> sudo zypper dup --from packman --allow-vendor-change
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
Repository 'packman' not found by its alias, number, or URI.
Use 'zypper repos' to get the list of defined repositories.
alastair@HP-Z640-1:~> 

Sorry, my mistake. You need to use the correct repo name. In your case:

zypper dup --from "Packman Repository" --allow-vendor-change

Hi and that has sorted out Packman but I cannot follow the remaining files:-

alastair@HP-Z640-1:~> sudo zypper up
[sudo] password for root: 
Loading repository data...
Reading installed packages...

The following 21 package updates will NOT be installed:
 dvdauthor libprojectM3 libsamba-policy0-python3 mediainfo mpv mpv-bash-completion mpv-mpris samba
 samba-client samba-client-libs samba-gpupdate samba-ldb-ldap samba-libs samba-libs-python3 samba-python3
 samba-winbind samba-winbind-libs smplayer smplayer-lang vorbis-tools vorbis-tools-lang
Nothing to do.
alastair@HP-Z640-1:~> 

I ask because when I look at these in Yast2, some have updates available (in brackets and highlighted in blue) but It appears they cannot be updated, for example samba-libs and samba-libs-python3 require de-installation of samba-ac-dc-libs-4.15.5+git.328.f1f29505d84-150400.1.44x86_64.

I am reluctant to accept any of the options offered as I have no idea why this is still required.

This package is not available in leap 15.5. Thats why the automatic resolver does not work. So you need to solve the dependencies manually…as example by deleting samba-ac-dc-libs
If you can’t remember how you did install it…delete it if in doubt…

Other packages like dvdauthor doesn’t get updated as they are available in the official openSUSE repo and your multimedia repo. If you want to avoid such messages you also need to set another priority to the multimedia repo. But i would recommend to search for all packages which you have installed from the multimedia repo (yast software → show → repositories) and check if they are not also available in the openSUSE repo. If you don’t really need a package from the multimedia repo, you can do the vendor switch back to the openSUSE repo and delete the multimedia repo afterwards…

Hi,
All sorted now thanks. I assume the unwanted files are hang-overs from earlier installations. I suspect the same applies to the debug repos. Can I delete these now as I am sure they are no longer required.

Debug and source repos are setup by default. But as you can see in your repolist, they are disabled. So they do no harm. If you really don’t want them and want a nicer looking repo list, you can delete them. But later if as example you want to recompile a package yourself or some developers want a backtrace of a crashing program from you, you will need these repos…

Understood. Meanwhile I have been very pleased with the upgrade experience so my thanks again.

In fact so pleased was I with the results of moving to 15.5 that I did the same upgrade on my backup server, which is an older machine. It all went well but there remains one question. The original installation I set up with an xfce desktop. Now I have upgraded the machine to Leap 15.5 it does not have the same desktop. I recall that it had been possible to switch desktops but there is no sign of xfce now.
I assume I shall be able to reinstall xfce from yast and I still have some housekeeping to do but at this rate I shall start on my main workstation. Fingers crossed!