On Mon, 2016-04-18 at 23:20 +0300, Peter Pentchev wrote: > On Mon, Apr 18, 2016 at 05:06:02PM +0100, James Cowgill wrote: > > Package: timelimit > > Version: 1.8-1 > > Severity: minor > > > > Hi, > > > > I only had a brief look at this after you posted an RFS for a new > > upload, but it seems to me that this relation: > > > > Conflicts: netpipes (<< 4.2-6) > > > > should instead be: > > > > Breaks: netpipes (<< 4.2-6) > > Replaces: netpipes (<< 4.2-6) > > > > which allows a more flexible upgrade path with no apparent issues > > caused. > > The problem is that timelimit and netpipes are completely independent > packages; none of them upgrades the other. The reason for the unusual > versioned conflict is that in netpipes-4.2-6, the netpipes maintainer, > Mats Erik Andersson, chose to resolve this conflict by renaming the tool > that is only a small part of the whole netpipes package and actually > adding timelimit to netpipes's "Recommends". The timelimit package > itself is no replacement for the main functionality of the netpipes > package, it's more the other way round - a part of netpipes has > functionality quite similar to (but just a bit inferior to, even if I do > say so myself ;)) timelimit.
Thanks for the explanation, but I still think a Breaks/Replaces would work here. Replaces is just an indicator to dpkg that a package is allowed to overwrite files from another - it doesn't have to overwrite everything though. This page has lots of information on moving stuff between packages: https://wiki.debian.org/PackageTransition I think this is situation #9. It says there needs to be a Breaks the other way as well but I can't quite work out why that's needed. Policy also has lots to say on this (7.3, 7.4, 7.6): https://www.debian.org/doc/debian-policy/ch-relationships.html > Hm, I just had a thought... since netpipes recommends timelimit, should > I get timelimit to "enhance" netpipes instead? I'll think about it... Possibly, if netpipes "knows" about the existance of timelimit in some way and uses it. > Anyway, thanks for taking an interest in timelimit and trying to improve it! Thanks for maintaining it :) James
signature.asc
Description: This is a digitally signed message part