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

Bug#758153: apt: support for versioned Provides



On Thu, Aug 14, 2014 at 11:48:17PM +0300, Niko Tyni wrote:
> I assume that this is not supported by apt yet, as I didn't find any
> mention of it in the changelogs. It would be great if such support could
> be added.

In theory, libapt has support for versioned provides – very old
feature/abi coming from the fact that apt supported rpm (features) at
some point.

That said, the parser doesn't parse it at the moment, so it will not
work – and it means that you need support for it in debian zurg, so you
can use it in debian zurg+1 (so that upgrades work as expected).

I used versioned provides to hack Multi-Arch:foreign into libapt (=
I will spare you details to protect your sanity), so I am confident that
this (mostly) works, but I am not sure what this means for supporting
"real versioned provides".  Looks like I have to check now…


Two things though: First, I was really suprised about this dpkg change,
given that this was discussed for years even before I joined apt and
reused the code in apt to push my own agenda. Secondly, and more
importantly, there is way more software which deals with dependencies
than just apt and dpkg. I have some hopes that most apt-based software
will follow suite as they usually don't play that deep in the dungeon
(and we would see them fail with multiarch today already), but I am not
so sure about stuff like sbuild, britney, … So I wouldn't hold my breath
– I used the undefined "zurg" instead of "jessie" for a reason…


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


Reply to: