Update error samba

For about a week I have the same problem on 3 of my Leap3 computers. In the list of updates there is openSUSE-SLE-15.3-2021-2623(1) Recommended update for samba. When I try to install I get Update Error
nothing provides ‘libgenrand-samba4.so(SAMBA_4.11.14_GIT.260.32282693E404.22.2_SUSE_OS15.0_I386)’ needed by the to be installed libndr0-32bit-4.11.14+git.260.32282693e40-4.22.2.x86_64

SInce I don’t need samba - I have no windows system and my network uses NFS only I just unticked this update however it comes again and again. When I select uninstall libndr0 there are many other dependencies which YAST will update, delete etc. so I didn’t follow this line further. zypper se does not find a libgenrand-samba4.so. I quickly looked through the forum but didn’t find anything related to this.
Now these computers are normally updated by the people who work on them and I don’t want to be called every time they try to do an update. What are the options? what is going on here?
Any help is appreciated.

Post:

zypper lr -d
zypper se -si samba

SAMBA_4.11.14_GIT.260.32282693E404.22.2_SUSE_OS15.0_I386

Thats not a Leap 15.3 package, also 32 bit, this is mine:

i | samba                       | Paket | 4.13.4+git.187.5ad4708741a-1.34 | x86_64 | OSS

Thank you, sauerland, I wondered about the 32 bits too but since samba is to connect to the windows file system…

zypper lr -d
#  | Alias                       | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | openSUSE-Leap-15.3-1        | openSUSE-Leap-15.3-1                                                                        | No      | ----      | ----    |   99     | NONE   | hd:/?device=/dev/disk/by-id/usb-Imation_HQT_070326B92223F774-0:0-part2  | 
 2 | packman                     | packman                                                                                     | Yes     | (r ) Yes  | Yes     |   80     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/      | 
 3 | 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.3/backports_debug/          | 
 4 | repo-backports-update       | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/backports/                | 
 5 | repo-debug                  | Debug Repository                                                                            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/     | 
 6 | repo-debug-non-oss          | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/ | 
 7 | repo-debug-update           | Update Repository (Debug)                                                                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/oss/                | 
 8 | repo-debug-update-non-oss   | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/non-oss/            | 
 9 | repo-non-oss                | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/       | 
10 | repo-oss                    | Main Repository                                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/           | 
11 | 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.3/sle/                | 
12 | 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/                      | 
13 | repo-source                 | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/    | 
14 | repo-update                 | Main Update Repository                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/oss                       | 
15 | 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/                  | 
uli@linux-Inga:~> zypper se -si samba
Loading repository data...
Reading installed packages...

S  | Name                        | Type    | Version                          | Arch   | Repository
---+-----------------------------+---------+----------------------------------+--------+-------------------------------------------------------------
i+ | gvfs-backend-samba          | package | 1.42.2-4.24                      | x86_64 | Main Repository
i+ | libsamba-credentials0       | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | libsamba-credentials0-32bit | package | 4.9.5+git.437.36c0d4dd762-3.54.1 | x86_64 | (System Packages)
i+ | libsamba-errors0            | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | libsamba-errors0-32bit      | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | libsamba-hostconfig0        | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | libsamba-hostconfig0-32bit  | package | 4.9.5+git.437.36c0d4dd762-3.54.1 | x86_64 | (System Packages)
i+ | libsamba-passdb0            | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | libsamba-passdb0-32bit      | package | 4.9.5+git.437.36c0d4dd762-3.54.1 | x86_64 | (System Packages)
i+ | libsamba-policy0-python3    | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | libsamba-util0              | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | libsamba-util0-32bit        | package | 4.9.5+git.437.36c0d4dd762-3.54.1 | x86_64 | (System Packages)
i+ | samba                       | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-ad-dc                 | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-client                | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-client-32bit          | package | 4.9.5+git.437.36c0d4dd762-3.54.1 | x86_64 | (System Packages)
i+ | samba-dsdb-modules          | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-libs                  | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-libs-32bit            | package | 4.9.5+git.437.36c0d4dd762-3.54.1 | x86_64 | (System Packages)
i+ | samba-libs-python3          | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-python3               | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-winbind               | package | 4.13.4+git.187.5ad4708741a-1.34  | x86_64 | Main Repository
i+ | samba-winbind-32bit         | package | 4.9.5+git.437.36c0d4dd762-3.54.1 | x86_64 | (System Packages)
i+ | yast2-samba-client          | package | 4.3.3-3.3.1                      | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | yast2-samba-server          | package | 4.3.4-1.5                        | noarch | Main Repository


For an extended search including not yet activated remote resources you may run 'zypper
search-packages' at any time.
Do you want to run 'zypper search-packages' now? [yes/no/always/never] (no): 

uli@linux-Inga:~> 

It seems I have quite a few samba 32 bit packages installed - parallel to the x86_64 packages. I guess I should uninstall all the 32 bit packages. What would be the easiest way to do this?

OK I used YAST and selected the first 32 bit package and instantly YAST offered the option to uninstall all the other 32 bit packages as well. All is solved except that I would be interested to know how these 32 bit samba packages got installed on all those 3 computers…
Thanks again Sauerland.

I do not know why you had those packages installed. But reading your first post, you are not really fond of having Samba on your system. Same here. I have uninstalled package samba (that is the server) and taboo’ed it. You could try to remove more Samba packages, but there is a point where Samba client packages are required by KDE. No idea why, but alas, it is.

Dolphin has inherent network file handling functionality which includes SMB support.

I was afraid of that. I do not know much of Samba, but from the basics on how Unix works it is very strange to me that a user program should be aware of, let alone having anything to do with it. User programs are also unaware of NFS. But that is probably my complete ignorance with respect to anything MS Windows.

Back to the thread
Please post:

zypper se -si | grep -Ei 'system_p|system p|system-p|systemp'

Thank you, Henk, I will taboo the samba server (and I would prefer to taboo quite a few more samba packages but I don’t have the knowledge to sort this out). Samba seems to be a huge package group which only increases the attack surface on any system. It should really be treated as a package group which could be selected during install when needed.

Sauerland, I don’t quite understand this command and what you are looking for, but I tried it and since there are quite a few packages listed I put it on susepaste: https://susepaste.org/69924526. But I have checked if there are any more 32 bit packages and I found only 2: cupswrapperHL2130 and hl2130pr for our printer a Brother HL2130. But may be could explain what you are searching. I am not an IT person and what I know I learned in the 21 years I switched to Linux and I prefer to know what I am doing and why.

Sauerland, I don’t quite understand this command and what you are looking for, but I tried it and since there are quite a few packages listed I put it on susepaste: SUSE Paste. But I have checked if there are any more 32 bit packages and I found only 2: cupswrapperHL2130 and hl2130pr for our printer a Brother HL2130. But may be could explain what you are searching. I am not an IT person and what I know I learned in the 21 years I switched to Linux and I prefer to know what I am doing and why.

The command searches for packages not belonging to a Repo.
This , f.e., is an old Leap 15.1 package:

i+ | libx265-179 | package | 3.2.1-pm151.3.3

vlc is not offered from Packman anymore for Leap 15.3 and so on…

You can delete all of this packages in Yast or switch them to the OSS Repo (vlc)…

Any time I forget why I have any 32 bit packages installed and try to remove them, I am reminded my Brother printer drivers require them when zypper announces they will be removed at the same time.

Thank you for your reply, Sauerland. I am not sure how to continue now. I have changed the vlc packages to openSUSE and I removed the orphaned packages but the following ones are still here:

 zypper se -si | grep -Ei 'system_p|system p|system-p|systemp'
i+ | alsa-oss                                   | package | 1.1.8-3.3.1                                      | x86_64 | (System Packages)
i+ | alsa-oss-32bit                             | package | 1.1.8-3.3.1                                      | x86_64 | (System Packages)
i+ | bash-doc                                   | package | 4.4-19.3.1                                       | noarch | (System Packages)
i+ | bash-lang                                  | package | 4.4-19.3.1                                       | noarch | (System Packages)
i+ | btrfsmaintenance                           | package | 0.4.2-3.3.1                                      | noarch | (System Packages)
i+ | cupswrapperHL2130                          | package | 2.0.4-2                                          | i386   | (System Packages)
i  | google-poppins-fonts                       | package | 4.003-6.3.1                                      | noarch | (System Packages)
i+ | gstreamer-lang                             | package | 1.16.3-3.3.1                                     | noarch | (System Packages)
i+ | gstreamer-plugins-base-lang                | package | 1.16.3-4.3.1                                     | noarch | (System Packages)
i+ | gstreamer-plugins-good-lang                | package | 1.16.3-3.3.1                                     | noarch | (System Packages)
i+ | hl2130lpr                                  | package | 2.1.0-1                                          | i386   | (System Packages)
i+ | libKF5GlobalAccel5-lang                    | package | 5.76.0-3.3.1                                     | noarch | (System Packages)
i+ | libX11-data                                | package | 1.6.5-3.21.1                                     | noarch | (System Packages)
i  | libefa1                                    | package | 31.0-3.6.3                                       | x86_64 | (System Packages)
i+ | libibverbs                                 | package | 31.0-3.6.3                                       | x86_64 | (System Packages)
i+ | libibverbs1                                | package | 31.0-3.6.3                                       | x86_64 | (System Packages)
i+ | libldap-data                               | package | 2.4.46-9.56.1                                    | noarch | (System Packages)
i+ | libmlx4-1                                  | package | 31.0-3.6.3                                       | x86_64 | (System Packages)
i+ | libmlx5-1                                  | package | 31.0-3.6.3                                       | x86_64 | (System Packages)
i+ | librdmacm1                                 | package | 31.0-3.6.3                                       | x86_64 | (System Packages)
i+ | libstorage-ng-lang                         | package | 4.3.108-3.5.1                                    | noarch | (System Packages)
i  | pam-doc                                    | package | 1.3.0-6.38.1                                     | noarch | (System Packages)
i+ | psmisc-lang                                | package | 23.0-6.16.1                                      | noarch | (System Packages)
i  | purge-kernels-service                      | package | 0-8.3.1                                          | noarch | (System Packages)
i+ | python2-six                                | package | 1.14.0-10.1                                      | noarch | (System Packages)
i+ | python3-bind                               | package | 9.16.6-22.7.1                                    | noarch | (System Packages)
i+ | python3-py                                 | package | 1.8.1-5.6.1                                      | noarch | (System Packages)
i  | python3-six                                | package | 1.14.0-10.1                                      | noarch | (System Packages)
i+ | python3-urllib3                            | package | 1.25.10-4.3.1                                    | noarch | (System Packages)
i+ | rdma-core                                  | package | 31.0-3.6.3                                       | x86_64 | (System Packages)
i+ | readline-doc                               | package | 7.0-19.3.1                                       | noarch | (System Packages)
i+ | shim                                       | package | 15.4-7.19.1                                      | x86_64 | (System Packages)
i  | systemd-presets-common-SUSE                | package | 15-8.9.1                                         | noarch | (System Packages)
i+ | tar-lang                                   | package | 1.30-3.9.1                                       | noarch | (System Packages)
i  | wget-lang                                  | package | 1.20.3-3.12.1                                    | noarch | (System Packages)
i+ | yast2-network                            | package | 4.3.69-3.5.1                                     | noarch | (System Packages) 

E.g. the printer drivers which I have mentioned earlier are still here and I need them. What about all the others, e.g. the python3, yast2-network, shim, etc.?

I see no reason to remove them. (Similar to what I have.)

thank you, deano_ferrari, then all my problems for today are solved :-).