top | item 35019292

(no title)

ShredKazoo | 3 years ago

I wonder if there's a way to write a DEB to RPM conversion script with automated testing etc, so Fedora gets to snarf up all existing DEBs :-)

discuss

order

soraminazuki|3 years ago

That approach is fundamentally broken because binaries from one distro aren't guaranteed to be compatible with binaries in another distro. Heck, even binaries from the same distro at different points in time can be incompatible with one another. There'd be incompatibilities across ABIs, compile time feature flags, system paths, and much more. There are plenty of assumptions about the system baked into binaries that aren't always trivial to fix.

Automated conversion can be helpful if you don't have access to the source code though. There are plenty of examples running proprietary software on unsupported distros using this approach. However, because of its shortcomings, it shouldn't be used when the source code is available.