Bug#783899: liblog-any-perl, liblog-any-adapter-perl: File conflict when being installed together
Jonas Smedegaard
dr at jones.dk
Fri May 1 18:28:32 UTC 2015
Quoting gregor herrmann (2015-05-01 18:20:45)
> On Fri, 01 May 2015 16:47:22 +0200, Jonas Smedegaard wrote:
>
> > > I guess we need:
> > > - a versioned Breaks+Replaces
> > > - a virtual dummy package (which will remove src:liblog-any-adapter-perl)
> > > - and then bugs/fixes in all rdeps (some unfortunately versioned, so
> > > a Provides wouldn't buy us much):
> > > https://codesearch.debian.net/results/liblog-any-adapter-perl%20path%3Adebian%2Fcontrol/page_0
> > > where the fix probably is "liblog-any-perl (>= 1.00) | liblog-any-adapter-perl [(>= 0.11)]"
> > I now update libcatmandu-perl which simplifies dependencies (needs
> > liblog-any-* 1.03 now).
> > After that I will relax liblog-any-adapter-screencoloredlevel-perl to
> > have unversioned dependency: 0.11 is satisfied even in oldstable.
>
> Thanks!
>
> > If someone does same for liblog-any-adapter-callback-perl
>
> Done.
>
> > I believe no
> > other versioned build-dependencies are left, and we can have
> > liblog-any-perl provide liblog-any-adapter-perl.
>
> Excellent. So this should be enough in liblog-any-perl?
>
> #v+
> --- a/debian/control
> +++ b/debian/control
> @@ -17,6 +17,9 @@ Package: liblog-any-perl
> Architecture: all
> Depends: ${misc:Depends},
> ${perl:Depends}
> +Breaks: liblog-any-adapter-perl
> +Replaces: liblog-any-adapter-perl
> +Provides: liblog-any-adapter-perl
> Description: Perl module to log messages safely and efficiently
> Log::Any allows CPAN modules to safely and efficiently log messages, while
> letting the application choose (or decline to choose) a logging mechanism
> #v-
I believe so, yes.
...but even if I believe it technically will work, I suspect unversioned
Breaks is unorthodox and might trigger lintian warnings or worse.
To be on the safe side a versioned Breaks should work just as well
(since we do not expect a newer liblog-any-adapter-perl to ever emerge)
and follow Policy recommendations more closely.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150501/17bdf995/attachment.sig>
More information about the pkg-perl-maintainers
mailing list