On 07/12/2020 20.17, Brian Reichert wrote:
I have a mounting set of questions about zypper, which don't seem to be addressed by any online docs I've read so far.
I don't know if this is an appropriate forum, and am happy for any pointers to a better one.
Of course it is.
My issues are under SLES 12, but I find those forums relatively unresponsive.
Well, that's a problem, because this is an openSUSE forum. I know verly little about SLES, so I can only answer assuming that it is sufficiently similar to Leap. But SLES 12 is old, around 2014.
I'm assuming that SLES's version of 'zypper' isn't critically different than other SuSE-related distributions, so hopefully this is a good alternative.
On SLES there must be some method of verification that you are a client to be able to download updates. There is nothing like that on Leap - that's an important difference.
One such question:
One on SLES 12 host, I sucessfully installed 'createrepo' with zypper, and retained the RPM package.
I've copied it to another SLES 12 host, and am attempting to install it via 'zypper':
localhost:~ # zypper --no-gpg-checks --no-remote install -y - /home/prior_release_RPM/createrepo-0.10.3-2.8.x86_64.rpm ... Reading installed packages... Resolving package dependencies... 2 Problems: Problem: createrepo-0.10.3-2.8.x86_64 requires /bin/sh, but this requirement cannot be provided Problem: This request will break your system! Solution 1: Following actions will be done: keep bash-4.3-83.23.1.x86_64 ... Solution 2: do not install createrepo-0.10.3-2.8.x86_64 Solution 3: break createrepo-0.10.3-2.8.x86_64 by ignoring some of its dependencies
What is zypper trying to convey here? The local RPM database is quite aware of the presense of the 'bash' package, and what it provides:
Sorry, I have never seen anything similar. But normally, I would install a lone rpm using the "rpm" command. Or I would add a local disk repository with YaST. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)