Hi Jamie, I did a fresh install of webmin on my vServer which is running openSUSE Leap 42.3. To get IPv6 connectivity, I want to install the Socket6 Perl module. I get
Installing package(s) with command apt-get -y -f install perl(Socket6) .. sh: dpkg: command not found .. install failed!
Of course it fails, there is neither apt-get nor dpkg on an openSUSE system. The correct call would be "zypper -n install 'perl(Socket6)'", which runs fine when installed manually.
BTW, the operating system's name is spelled "SuSE Linux 42.3" in Webmin, but it should be "openSUSE Leap 42.3". The spelling "SuSE" is invalid for 10+ years now ;)
The recommended modules aren't installable via Webmin as well, because of just the same error. Where can I configure thes software to be used on installing? I guess the self-update of Webmin will fail for the same reason, too.
So has SUSE implemented it's own package installer separate from YUM and APT? I didn't know about that..
LOL webmin running on SUSE Linux Enterprise Server uses rpm when updating. There is no problem installing additional perl modules on SLES (apart from the usual errors like missing header files). As I startet using S.u.S.E., they already had rpm, not dpkg, and the first version zypper has been introduced with SLES 10, some years ago. I do not understand at all why this installation tries to run apt-get and dpkg on a SUSE host.
My other hosts running openSUSE have no problems as well, so there must be something wrong with just this single installation (from the yum repo as described on http://www.webmin.com/rpm.html), just using "zypper install webmin" instead of the last "yum install webmin". The SUSE part on https://doxfer.webmin.com/Webmin/Installation was written by me (topmost entry in the history).
So, where can I set rpm as package installer now?
So the problem here is that becuase
yum
is not installed butapt-get
is, Webmin assumes that you're using the APT packaging system.Is
zapper
compatible withyum
in terms of the command-line flags and syntax? If so, it should be easy to support.For some reason, the package zypper-aptitude has been installed as a dependency, and this package provides /usr/bin/apt-get. I removed this packed now.
I do not know yum too well, but I think that zypper does a lot more ;) Do you recognize the respective yum commands from the following overview?
Well, for example "yum install" and "zypper install" (or "zypper in") should do the same thing. I don't know what other options you use inside webmin. A "yum check-update" may be the same as "zypper lu", "yum makecache" may be the same as "zypper ref". "zypper update" updates all available packages (like "yum update"), while "zypper patch" only pulls in the security patches from the official update repo.
As a hack, to test if it's compatible, you could run
ln -s /usr/bin/zypper /usr/bin/yum