[Pkg-xfce-devel] Bug#636020: Bug#636020: lightdm: Versioned dependency against virtual package

Julian Andres Klode jak at debian.org
Sat Jul 30 13:17:28 UTC 2011


On Sat, Jul 30, 2011 at 01:10:48PM +0200, Yves-Alexis Perez wrote:
> On sam., 2011-07-30 at 12:27 +0200, Julian Andres Klode wrote:
> > The lightdm package since revision 5887 depends on 
> >     lightdm-gtk-greeter | lightdm-greeter (>= 0.9.2-1)
> > 
> > The lightdm-greeter package is virtual, and virtual packages
> > can only satisfy unversioned dependencies. This alternative
> > is thus unsatisfiable. 
> 
> Hmh. I made that in order to be sure lightdm-greeter would be upgraded
> to a version depending on the -gtk or -qt package. But as the initial
> version was in unstable less than a day, maybe it's ok to just drop the
> versioning without providing a virtual package lightdm-gtk depending on
> lightdm-gtk-greeter.
This alternative dependency is completely ignored, as it is impossible
to satisfy. Versioned dependencies only work for real packages, so if
you want to do it completely correct, you need to depend on the real
packages with OR.

	lightdm-gtk-greeter | lightdm-qt-greeter

Alternatively, you can use Conflicts against lightdm-qt and
lightdm-gtk.

And for the transition in package names to work correctly, you should
probably use Replaces, Provides, and Conflicts against the old names,
as specified in Policy 7.6.2, to remove the old packages completely.
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20110730/5be1d4e7/attachment.pgp>


More information about the Pkg-xfce-devel mailing list