Bug#866991: libcpan-meta-perl: uninstallable in unstable
gregor herrmann
gregoa at debian.org
Mon Jul 3 16:07:28 UTC 2017
On Mon, 03 Jul 2017 13:52:38 +0300, Niko Tyni wrote:
> > > - libcpan-meta-perl depends on perl which depends on perl-modules-5.24
> > > - libcpan-meta-perl breaks libparse-cpan-meta-perl (<< 1.4420)
> > > - perl-modules-5.24 provides libparse-cpan-meta-perl (= 1.4417.001)
> > >
> > > => libcpan-meta-perl both depends on and breaks perl-modules-5.24.
> >
> > I suspect the solution here is to lower the Breaks on
> > libparse-cpan-meta-perl to (<< 1.4417) or similar, since there is no
> > separate libparse-cpan-meta-perl package anymore (the last version in
> > Debian was 1.4414-1, removed[1] in 2015), and libcpan-meta-perl already
> > provides libparse-cpan-meta-perl itself.
Thanks for the bug report and the analysis.
As libparse-cpan-meta-perl still exists in oldstable, I'd rather keep
a Breaks/Replaces relationship.
> Thanks. Lowering the Breaks seems OK to me though I haven't looked at
> this very deeply yet. Assuming the Breaks is mainly about file conflicts,
> even (<= 1.4414-1) would probably be OK.
Ack, Parse::CPAN::Meta was merged into libcpan-meta-perl.
And I wanted to be cautious and Breaks/Replaces it with the current
version, even if the separate package had a lower one.
(Which I got wrong BTW, because libcpan-meta-perl 2.150010-1 ships Parse::CPAN::Meta
2.150010; the 1.4420 seems to come from an older entry in Changes.)
I see two possibilities:
- lower the version in the Replaces/Breaks to <= 1.4414-1, as that's
the last separateky packaged version un Debian; not as
"theoretically clean" as breaking the "real" version but should be
safe within the Debian universe and allows us to fix this now;
- wait a couple of weeks: when perl 5.26 enters unstable this
problems fixes itself; but then the version in Breaks/Replaces and
Provides is still arbitrary/wrong.
I tend to prefer the first solution but I'm happy to hear about
others.
For convenience, here's the diff which I just pushed to the git repo
on Alioth (with a slightly different version to also catch
theoretical 1.4414-1+localsomething versions):
#v+
diff --git a/debian/changelog b/debian/changelog
index afd9fec..05b8681 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+libcpan-meta-perl (2.150010-2) UNRELEASED; urgency=medium
+
+ * Fix the versioned Provides of libparse-cpan-meta-perl.
+ The earlier version (1.4420) was taken from an old entry in Changes but we
+ effectively ship 2.150010.
+ * Lower the version in the Breaks/Replaces on libparse-cpan-meta-perl.
+ Take libparse-cpan-meta-perl's latest version in the archive to avoid a
+ breaks loop with perl-modules-5.24 which also provides
+ libparse-cpan-meta-perl.
+ Thanks to Sven Joachim for the bug report. (Closes: #866991)
+
+ -- gregor herrmann <gregoa at debian.org> Mon, 03 Jul 2017 18:04:19 +0200
+
libcpan-meta-perl (2.150010-1) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 83503e5..3571c0a 100644
--- a/debian/control
+++ b/debian/control
@@ -24,9 +24,9 @@ Depends: ${misc:Depends},
perl (>= 5.17.1) | libcpan-meta-requirements-perl (>= 2.121),
perl (>= 5.19.9) | libcpan-meta-yaml-perl (>= 0.011),
perl (>= 5.21.5) | libjson-pp-perl (>= 2.27300)
-Breaks: libparse-cpan-meta-perl (<< 1.4420)
-Replaces: libparse-cpan-meta-perl (<< 1.4420)
-Provides: libparse-cpan-meta-perl (= 1.4420)
+Breaks: libparse-cpan-meta-perl (<< 1.4414+)
+Replaces: libparse-cpan-meta-perl (<< 1.4414+)
+Provides: libparse-cpan-meta-perl (= 2.150010)
Description: Perl module to access CPAN distributions metadata
Software distributions released to the CPAN include a META.json or, for older
distributions, META.yml which describes the distribution, its contents, and
#v-
Cheers,
gregor
--
.''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Cat Stevens: 100 I Dream
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170703/8b2997d3/attachment-0001.sig>
More information about the pkg-perl-maintainers
mailing list