repo clash when running zypper up

Here is my output from zypper up:


computername:~ # zypper up
Loading repository data...
Reading installed packages...

The following 11 package updates will NOT be installed:
  libgstphotography-1_0-0 libheif1 libquicktime0 libvlc5 libvlccore9 vlc vlc-codec-gstreamer vlc-lang vlc-noX vlc-qt vlc-vdpau
Nothing to do.
computername:~ # 

And here are my repos:


computername:~ # zypper repos
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                     | Name                        | Enabled | GPG Check | Refresh
--+---------------------------+-----------------------------+---------+-----------+--------
1 | http-ftp.gwdg.de-b5c053ef | Packman Repository          | Yes     | (r ) Yes  | Yes
2 | libdvdcss                 | libdvdcss                   | Yes     | (r ) Yes  | Yes
3 | openSUSE-20210120-0       | openSUSE-20210120-0         | Yes     | (r ) Yes  | 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-oss                  | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes
8 | repo-source               | openSUSE-Tumbleweed-Source  | No      | ----      | ----
9 | repo-update               | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes
computername:~ # 

Do I need to change my repos? I’m guessing that I shouldn’t have two instances of Packman in my repos–which one should I remove?

And do I need to do anything about the message that read: The following 11 package updates will NOT be installed ?

I’ve browsed other threads about that message, but I felt I should ask when I saw that Tumbleweed (which I run) behaves somewhat differently. Thank you in advance.

Here’s my /etc/os-release:


computername:~ # cat /etc/os-release 
NAME="openSUSE Tumbleweed"
# VERSION="20210121"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20210121"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20210121"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo"
computername:~ # 

We can’t be sure without seeing output from zypper lr -d, but the problem might be openSUSE-20210120-0 is your installation DVD/USB stick in need of removal or disabling, unless you plan to install packages from it instead of the latest packages available online.

Those being held back are usually because newer version is available from a different repo from which the currently installed version came.

Do not use zypper up with TW. Always use zypper dup, until you become an expert who has good reason.

That is not necessarily a problem. It might just be telling you that the version in the main repo has a higher version number than in the packman repo. And that’s fine.

As for your repos – you should always use

zypper lr -d

when posting, so we can see the url. Otherwise we are only guessing.

Going by just the name (i.e. guessing), your repos look okay except for the apparent duplicate for packman. I’m guessing, based on the name, that the first show was added when you used a “one click” link to install a package. That’s probably the one to remove. But again, I’m guessing because you provided incomplete information.

Thank you, both! Here’s my zypper lr -d output:


computername:~ # zypper lr -d
# | Alias                     | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                 | Service
--+---------------------------+-----------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------+--------
1 | http-ftp.gwdg.de-b5c053ef | Packman Repository          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/      | 
2 | libdvdcss                 | libdvdcss                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                 | 
3 | openSUSE-20210120-0       | openSUSE-20210120-0         | Yes     | (r ) Yes  | No      |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/ata-MATSHITADVD-RAM_redacted  | 
4 | packman                   | packman                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ | 
5 | repo-debug                | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99     | NONE   | 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-oss                  | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                   | 
8 | repo-source               | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/            | 
9 | repo-update               | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                     | 
computername:~ # 

Duly noted. Thank you. I will use zypper dup henceforward.

I have a couple questions now:
(1) Which packman repo should I remove? (I added the repos and then I did the 1-click .ymp install, which I suppose is why it’s doubled up.)
(2) Should I remove my installation media from the repos? (openSUSE-20210120-0)

Thank you!

Shorten your list of repos by removing duplicates and disabling or removing unneeded repos:

**erlangen:~ #** zypper lr -uEP 
#  | Alias               | Name                                           | Enabled | GPG Check | Refresh | Priority | URI 
---+---------------------+------------------------------------------------+---------+-----------+---------+----------+-------------------------------------------------------------------------------- 
**13 | packman             | Packman repository (openSUSE_Tumbleweed)       | Yes     | (r ) Yes  | Yes     |   90     | http://packman.inode.at/suse/openSUSE_Tumbleweed 
11 | openSUSE-20191106-0 | openSUSE-Tumbleweed-Oss                        | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/oss/ 
16 | repo-non-oss        | openSUSE-Tumbleweed-Non-Oss                    | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/non-oss/ 
18 | repo-update         | openSUSE-Tumbleweed-Update                     | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/tumbleweed/ 
 **1 | Application_Geo     | Application_Geo                                | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Tumbleweed/ 
 3 | BellSoft            | BellSoft Repository                            | Yes     | (r ) Yes  | Yes     |  100     | http://yum.bell-sw.com/ 
 6 | chrome              | chrome                                         | Yes     | (r ) Yes  | Yes     |  100     | http://dl.google.com/linux/chrome/rpm/stable/x86_64 
 9 | jalbum              | jalbum                                         | Yes     | (  ) No   | Yes     |  100     | http://jalbum.net/download/software/yumrepo/ 
10 | myrepo              | myrepo                                         | Yes     | (  ) No   | Yes     |  100     | dir:/home/karl/Downloads/myrepo 
**erlangen:~ #**

The bold repos will do the trick.

I would remove #3 & #4. #4 Packman has a symlink URL, so it’s a longer URL.

Unless you plan to compile software yourself, there’s no point to having Source.

Done. Here are my repos now:


computername:~ # zypper lr -d
# | Alias                     | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                            | Service
--+---------------------------+-----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------+--------
1 | http-ftp.gwdg.de-b5c053ef | Packman Repository          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ | 
2 | libdvdcss                 | libdvdcss                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/            | 
3 | repo-debug                | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/        | 
4 | repo-non-oss              | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/          | 
5 | repo-oss                  | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/              | 
6 | repo-source               | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/       | 
7 | repo-update               | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                | 
computername:~ # 

Does that look good? You were saying I can safely delete #6, openSUSE-Tumbleweed-Source?

Yes.

You were saying I can safely delete #6, openSUSE-Tumbleweed-Source?

Unless you plan to compile software yourself, there’s no point to having Source.
means yes, unless you plan to compile software yourself. If it’s not installed, you spend less time updating and upgrading, and may spend less time rolling back, backing up and restoring.

I removed the source repo. Thanks for your help!

How did your zypper dup go?

It works great! The transition is seamless for me because I had gotten used to only upgrading through a bash alias. On *buntu, this was:

alias up="apt-get upgrade"

And now I just changed it to:

alias up="zypper dup"

Great to hear! :slight_smile: