[Ilugc] Re: deb vs. rpm

  • From: srivasta@xxxxxxxxxx (Manoj Srivastava)
  • Date: Wed Feb 28 23:56:36 2007

On Wed, 28 Feb 2007 23:12:06 +0530, Mahesh T Pai said: 

Manoj Srivastava <srivasta@xxxxxxxxxx>
writes:

2) Package relationships: The .deb format has a more nuanced set of
relationships, incorporating recommendations and suggested
packages, and orders packages by priority as well as group.

Well, these relationships are defined by the individual(s) who
create the package(s). How does the package format help here?

        You can't define relationship types if the package format does
 not allow them.  For example, if I wanted to say that this package
 depends on the other package in the winter months, I can't do that in
 the debian control file :)

4) Debian packages may run binaries at install and un-install
   times. I am not sure if this is a major plus.

Did you mean scripts?

        Yup. Since maintainer scripts have to live in the spec file,
 they must be scripts -- for Debian, since they are in external files,
 you can sneak in binary maintainer scripts -- you would violate
 Debian policy, but the .deb format allows that.

5) Package verification and triggers -- rpm has them, and package
verification is one of the major features missing in a .deb.
triggers, well, there is a technical proposal currently being
debated about adding triggers to dpkg, but obviously, Debian is
playing catch-up here.

What about debsums? I remember seeing a discussion about this is
some recent (previous 2 weeks) in some mailing list.

        debsums are not mandatory in Debian, so some packages do not
 have them. Sure, you can attach debsums to apt hooks, but then that
 does not work dor a dpkg -i foo.deb.

        Ideally, it should be in dpkg, so that after the postinst is
 run, with debconf and all, hashes of configuration files in /etc are
 calculated. This might happen now we are talking about dpkg triggers.
 debsums does not handle modified configuration files.

That said, does this mail have anything to do with ESR's desertion
of RH/Fedora ? (grin)

        No, except I feel sorry for Ubuntu.

        manoj
-- 
Govern a great nation as you would cook a small fish.  Don't overdo
it. Lao Tsu
Manoj Srivastava <srivasta@xxxxxxx> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Other related posts: