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

Re: come funziona il depends?



Ciao Giuseppe, 
  debian-policy (sezione 7.3, Virtual Packages - "Provides") dice:

"""
If a dependency or a conflict has a version number attached then only
real packages will be considered to see whether the relationship is
satisfied (or the prohibition violated, for a conflict) - it is
assumed that a real package which provides the virtual package is not
of the "right" version.  So, a `Provides' field may not contain
version numbers, and the version number of the concrete package which
provides a particular virtual package will not be looked at when
considering a dependency on or conflict with the virtual package name.
"""

Il comportamento è corretto, visto che richiedi gs (>= 5.01) non verranno 
presi in considerazione i pacchetti che forniscono le stesse funzionalità
(ovvero quelli che hanno il campo "Provides: gs").


Ciao :)
Fabio

Il giorno mer, 16-03-2005 alle 21:20 +0100, Giuseppe Sacco ha scritto:
> Ciao,
> ho modificato il Depends della versione in sid di hylafax da
> Pre-Depends: gs (>= 5.01) | gs-aladdin | gs-esp
> in
> Depends: [...], gs (>= 5.01)
> 
> ma adesso ogni volta che si aggiorna hylafax-server dalla versione in
> testing a quella in sid, viene richiesto il pacchetto gs.
> A mio parere questo non dovrebbe succedere perché sia gs-aladdin che
> gs-esp che gs-gpl hanno un 'Provides: gs'.

-- 
Fabio Tranchitella                         http://www.kobold.it
Studio Tranchitella Assoc. Professionale   http://www.tranchitella.it
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564

Attachment: signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata


Reply to: