17.11.2020 22:14, James Knott пишет:
On 2020-11-17 1:56 p.m., Vojtěch Zeisek wrote:
alien -rck package.deb # Or something like that
I got some errors:
#### YaST2 conflicts list - generated 2020-11-17 14:10:32 ####
nothing provides libdl.so.2(GLIBC_2.17)(64bit) needed by unifi-6.0.28_14280-1.noarch
[ ] do not install unifi-6.0.28_14280-1.noarch
[x] break unifi-6.0.28_14280-1.noarch by ignoring some of its dependencies
This dependency is autogenerated by rpmbuild; it is fooled by non-x86 binaries included in this package (dynamic libraries armv7 and aarch64). RPM normally does not package these files in the first place (it would include conditional build depending on target arch).
#### YaST2 conflicts list END ###
When I said to break it, it then failed with:
Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.wP4J3E: line 3: /usr/share/debconf/confmodule: No such file or directory
error: %prein(unifi-6.0.28_14280-1.noarch) scriptlet failed, exit status 1
error: unifi-6.0.28_14280-1.noarch: install failed
Well, alien is just package format converter. You still need to fulfill all prerequisites and debconf is one of prerequisites in this case. RPM does not have anything similar at all, it is entirely deb specific. You may of course try to alien debconf itself ...
I guess I'll have to use Windows. :'(
You can also manually repackage for RPM if you really need it. It is not a rocket science.