|
|
Log in / Subscribe / Register

DNF replacing yum

DNF replacing yum

Posted Apr 22, 2015 22:28 UTC (Wed) by k8to (guest, #15413)
In reply to: DNF replacing yum by mathstuf
Parent article: DNF replacing yum

dpkg-the-command is annoying. dpkg-the-format is superior.

You can find faults, and I certainly have, but the semi-documented nature and inaccessability of the RPM binary is a bear for reliability, auditing, and other things.


to post comments

DNF replacing yum

Posted Apr 23, 2015 0:29 UTC (Thu) by mathstuf (subscriber, #69389) [Link] (4 responses)

I'm not too worried about the format either, but as a packager, I do care about the tools there. RPM automatically adds provides and requires at the symbol-version level for shared objects, as well as Perl dependencies, Haskell, shebangs, etc. Maybe that's been added to dpkg as well, but I also vastly prefer a spec file to the debian/ directory layout (I do grant that spec files can get enormously complicated, but the common cases are really dead-simple).

So maybe what we need is a compkg (compromise package) toolchain with dnf for users, spec files for developers, and dpkg in between ;) .

DNF replacing yum

Posted Apr 23, 2015 1:17 UTC (Thu) by dlang (guest, #313) [Link] (3 responses)

the vast majority of the differences between .deb and .rpm a cosmetic (in that tools like alien can do lossless conversions back and forth between the formats). One thing I like about .deb is that in addition to hard dependencies there are also "recommends" and "suggests" soft depenencies.

now, I also happen to prefer the .deb directory of simple files rather than the .rpm spec file. In both cases simple things are simple to do, but when things get complicated I like the simplification of the separation that .deb provides.

DNF replacing yum

Posted Apr 23, 2015 1:53 UTC (Thu) by rahulsundaram (subscriber, #21946) [Link]

Recommends and suggests as well as supplements and enhances have been supported by various RPM distributions for years.

http://rpm.org/wiki/PackagerDocs/DependenciesOverview

This isn't really a format differentiation anymore.

DNF replacing yum

Posted Apr 24, 2015 13:44 UTC (Fri) by epa (subscriber, #39769) [Link] (1 responses)

Of course, the rpm spec file is not part of the rpm package format; there is no reason in principle why a different packaging tool couldn't produce rpm packages given a configuration more like that used for dpkg. Or indeed produce both package formats from a single config.

DNF replacing yum

Posted Apr 24, 2015 14:04 UTC (Fri) by rahulsundaram (subscriber, #21946) [Link]

If you are looking to produce rpm and deb together without having much understanding of packaging, fpm is handy

https://github.com/jordansissel/fpm


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds