zypper dup question

For the last couple of days when I’ve run zypper dup I’ve gotten the following response:

You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
2 Problems:
Problem: shared-python-startup-0.1-6.1.noarch conflicts with python3 < 3.8 provided by python3-3.2.1-5.1.3.x86_64
Problem: python3-dbm-3.2.1-5.1.3.x86_64 requires libgdbm.so.3()(64bit), but this requirement cannot be provided

Problem: shared-python-startup-0.1-6.1.noarch conflicts with python3 < 3.8 provided by python3-3.2.1-5.1.3.x86_64
 Solution 1: Following actions will be done:
  keep obsolete python3-3.8.3-4.2.x86_64
  keep obsolete python3-base-3.8.3-4.2.x86_64
  keep obsolete libpython3_8-1_0-3.8.3-4.2.x86_64
 Solution 2: deinstallation of python3-3.8.3-4.2.x86_64
 Solution 3: deinstallation of shared-python-startup-0.1-6.1.noarch

I’m not sure which option to choose. Has anyone else run into this?

python3-dbm is not in TW.

Run:

zypper pa --orphaned

This should include python3-dbm. You might have it installed from a non-standard repo. I recall seeing a movement about bringing distinct python3 versions, so I guess you’ll need to find another repository for that. The other package seems to be building just fine, so let’s see if that goes away. I’m not sure.

PS: remember to send along the listing of repos you have.

Thanks for your reply.

Here’s the result of zypper pa --orphaned. It’s a rather long list:

zypper pa --orphaned
Loading repository data...
Reading installed packages...
S  | Repository | Name                              | Version                    | Arch
---+------------+-----------------------------------+----------------------------+-------
i+ | @System    | SpiderOak                         | 2:7.5.0-1.el7              | x86_64
i+ | @System    | akonadi-server-debuginfo          | 19.12.3-1.1                | x86_64
i+ | @System    | akonadi-server-debugsource        | 19.12.3-1.1                | x86_64
i+ | @System    | baloo5-debugsource                | 5.68.0-1.1                 | x86_64
i+ | @System    | baloo5-file-debuginfo             | 5.68.0-1.1                 | x86_64
i+ | @System    | brscan-skey                       | 0.2.4-1                    | x86_64
i+ | @System    | brscan4                           | 0.4.8-1                    | x86_64
i+ | @System    | guile-modules-2_2                 | 2.2.6-2.6                  | x86_64
i+ | @System    | kmail-debuginfo                   | 19.12.3-1.1                | x86_64
i+ | @System    | kmail-debugsource                 | 19.12.3-1.1                | x86_64
i+ | @System    | libKF5AkonadiAgentBase5-debuginfo | 19.12.3-1.1                | x86_64
i+ | @System    | libKF5AkonadiCore5-debuginfo      | 19.12.3-1.1                | x86_64
i+ | @System    | libKF5BalooEngine5-debuginfo      | 5.68.0-1.1                 | x86_64
i+ | @System    | libKF5MailCommon5-debuginfo       | 19.12.3-1.1                | x86_64
i+ | @System    | libQt5Core5-debuginfo             | 5.14.1-1.4                 | x86_64
i+ | @System    | libQt5Widgets5-debuginfo          | 5.14.1-1.3                 | x86_64
i+ | @System    | libdigikamcore6                   | 6.4.0-5.1                  | x86_64
i  | @System    | libdns1603                        | 9.16.4-1.2                 | x86_64
i+ | @System    | libguile-2_2-1                    | 2.2.6-2.6                  | x86_64
i  | @System    | libisc1603                        | 9.16.4-1.2                 | x86_64
i+ | @System    | liblmdb-0_9_23-debuginfo          | 0.9.23-1.6                 | x86_64
i+ | @System    | libqt5-qtbase-debugsource         | 5.14.1-1.3                 | x86_64
i+ | @System    | libx264-155                       | 0.155svn20190201-3.5       | x86_64
i+ | @System    | libx264-157                       | 0.157svn20191217-1.1       | x86_64
i+ | @System    | libx265-179                       | 3.2.1-3.10                 | i586
i+ | @System    | libx265-188                       | 3.3-1.3                    | i586
i+ | @System    | lmdb-debugsource                  | 0.9.23-1.6                 | x86_64
i+ | @System    | mailcommon-debuginfo              | 19.12.3-1.1                | x86_64
i+ | @System    | mailcommon-debugsource            | 19.12.3-1.1                | x86_64
i+ | @System    | mfcj985dwcupswrapper              | 1.0.0-0                    | i386
i+ | @System    | mfcj985dwlpr                      | 1.0.0-0                    | i386
i+ | @System    | skypeforlinux                     | 8.60.0.76-1                | x86_64
i+ | @System    | slack                             | 4.4.3-0.1.fc21             | x86_64
i+ | @System    | zoom                              | 5.0.413237.0524_openSUSE-1 | x86_64

And here’s a list of my repos:

zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                                | Name                        | Enabled | GPG Check | Refresh
---+--------------------------------------+-----------------------------+---------+-----------+--------
 1 | google-chrome                        | google-chrome               | Yes     | (r ) Yes  | Yes
 2 | http-download.opensuse.org-21dda411  | openSUSE:12.1               | Yes     | (r ) Yes  | Yes
 3 | http-ftp.gwdg.de-09f04828            | Packman Repository          | Yes     | (r ) Yes  | Yes
 4 | http-opensuse-guide.org-4f2ce0e2     | libdvdcss repository        | Yes     | (r ) Yes  | Yes
 5 | https-download.opensuse.org-be282163 | network:telephony           | Yes     | (r ) Yes  | Yes
 6 | https-download.opensuse.org-cdd13205 | openSUSE:Tumbleweed         | Yes     | (r ) Yes  | Yes
 7 | openSUSE-20200214-0                  | openSUSE-20200214-0         | No      | ----      | ----
 8 | repo-debug                           | openSUSE-Tumbleweed-Debug   | No      | ----      | ----
 9 | repo-non-oss                         | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes
10 | repo-oss                             | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes
11 | repo-source                          | openSUSE-Tumbleweed-Source  | No      | ----      | ----
12 | repo-update                          | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes

Some 32 bit packages installed and an openSUSE 12.1 repository enabled?
Please post the result of

zypper lr -d

since it is impossible to know what the other repos really are from their alias only.

I would remove those, if that does not cause problems.

I suggest you use Yast Software Management. Choose the “Repositories” view.

Toward the bottom left, you should see “Secondary Filter:”. Set that to “unmaintained packages”.

It should give the same list. Then you can mark them to be deleted.

If a conflict pops up, you can tell it to keep that package, and try again.

First remove the packages where there is no conflict that pops up. Then go back and recheck the others. Maybe the only conflict is with other packages on the same list. It’s usually a good idea to keep that list as small as possible.

And here’s a list of my repos:

I would suggest that you remove #7. That is the install media, and the packages there are out of date by now.

I’m not otherwise seeing any obvious problems. Repo #6 might be a duplicate of repo #10 in that list, but I cannot tell because you did not show the url. It doesn’t hurt to have duplicates, but it might slow updating.

python3-dbm became python38-dbm. You could install the latter, removing the first if asked.

After zypper dup. A few packages might be considered orphaned at this point because the repos were refreshed but the packages not yet upgraded. This happens frequently with packages suffixed with numbers. For others, maybe the local repository was removed while keeping the packages, so they don’t get updates.

I suggest you use Yast Software Management. Choose the “Repositories” view.

Toward the bottom left, you should see “Secondary Filter:”. Set that to “unmaintained packages”.

It should give the same list. Then you can mark them to be deleted.

If a conflict pops up, you can tell it to keep that package, and try again.

First remove the packages where there is no conflict that pops up. Then go back and recheck the others. Maybe the only conflict is with other packages on the same list. It’s usually a good idea to keep that list as small as possible.

Thanks–I did that. I had to keep a few packages but I was able to delete many others.

Here’s the result of zypper lr -d after I deleted a couple of repositories:

zypper lr -d
#  | Alias                                | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                             | Service
---+--------------------------------------+-----------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------+--------
 1 | google-chrome                        | google-chrome               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                             | 
 2 | http-ftp.gwdg.de-09f04828            | Packman Repository          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/                  | 
 3 | http-opensuse-guide.org-4f2ce0e2     | libdvdcss repository        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                             | 
 4 | https-download.opensuse.org-be282163 | network:telephony           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/network:/telephony/openSUSE_Factory/ | 
 5 | https-download.opensuse.org-cdd13205 | openSUSE:Tumbleweed         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/       | 
 6 | repo-debug                           | openSUSE-Tumbleweed-Debug   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/tumbleweed/repo/oss/                         | 
 7 | repo-non-oss                         | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                           | 
 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  | Yes     | (r ) Yes  | Yes     |   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/ 

I ran zypper dup again just a few minutes ago without any problems. Thanks, everyone, for your kind help!