[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding lzma to dpkg's Pre-Depends



On Tue, 01 Apr 2008, Lionel Elie Mamane wrote:
> On Tue, Apr 01, 2008 at 08:05:06AM +0300, Guillem Jover wrote:
> 
> > As per policy 3.5 I'm bringing this up here. I'd like to add lzma to
> > dpkg's Pre-Depends, so that we can use lzma compressed packages
> > after lenny w/o having to add an lzma Pre-Depends on each .deb
> > package compressed that way.
> 
> I'm not totally clear on why it needs to be a Pre-Depends and not
> simply a Depends. I expect dpkg cannot act on packages before it is
> configured (it has not created its database yet), so the "Pre-Depends
> must be satisfied before package is unpacked" effect is of no use. I
> don't think dpkg's preinst would need lzma, either.

When dpkg is just unpacked, it should work and be able to install all
packages. With a simple dependency, you have no guaranty that lzma will be
unpacked before dpkg.

That said, given that we don't have lzma compressed debs in lenny, it's
not really necessary either...

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


Reply to: