On Tue, Jan 14 2020, Alexis Bienvenüe wrote:
> Thanks for the report.
>
> Le jeudi 09 janvier 2020 à 17:22 +0100, Michal Sojka a écrit :
>> I was able to get rid of it by manually installing
>> liblocale-codes-perl so I think that auto-multiple-choice-common
>> should depend on this package.
>
> That looks strange because auto-multiple-choice-common already depends
> on liblocale-codes-perl:
>
>> Versions of packages auto-multiple-choice-common depends on:
>> ii  liblocale-codes-perl                      3.62-1

I see. I generated the bug report after I installed the package manually
and that's why it was listed as dependency. If I uninstall
liblocale-codes-perl, the list of dependencies would look differently:

    Versions of packages auto-multiple-choice-common depends on:
    ii  ghostscript                               9.50~dfsg-5
    ii  imagemagick                               8:6.9.10.23+dfsg-2.1+b2
    ii  imagemagick-6.q16 [imagemagick]           8:6.9.10.23+dfsg-2.1+b2
    ii  libarchive-zip-perl                       1.67-1
    ii  libclone-perl                             0.43-2
    ii  libdbd-sqlite3-perl                       1.64-1+b1
    ii  libdbi-perl                               1.642-1+b2
    ii  libfile-mimeinfo-perl                     0.29-1
    ii  libglib-object-introspection-perl         0.048-1
    ii  libgraphics-magick-perl                   1.4+really1.3.34+hg16181-1
    ii  libgtk3-perl                              0.036-1
    ii  liblocale-gettext-perl                    1.07-4
    ii  libperl5.22 [libio-compress-perl]         5.22.2-5
    ii  librsvg2-common                           2.46.4-1
    ii  libtext-csv-perl                          2.00-1
    ii  libxml-simple-perl                        2.25-1
    ii  libxml-writer-perl                        0.625-1
    ii  netpbm                                    2:10.0-15.3+b2
    ii  perl [libio-compress-perl]                5.30.0-9
    ii  perl-modules-5.22 [liblocale-codes-perl]  5.22.2-5
    ii  poppler-utils                             0.71.0-6
    ii  tex-common                                6.13
    ii  texlive-fonts-extra                       2019.20191208-1
    ii  texlive-fonts-recommended                 2019.20191208-4
    ii  texlive-latex-base                        2019.20191208-4
    ii  texlive-latex-extra                       2019.20191208-1
    ii  texlive-latex-recommended                 2019.20191208-4
    ii  unzip                                     6.0-25

It can bee seen that liblocale-codes-perl is provided by
perl-modules-5.22. That's because perl-modules-5.22 has the following
dependencies:

    Replaces: liblocale-codes-perl (<< 3.34)
    Provides: liblocale-codes-perl
    Breaks:  liblocale-codes-perl (<< 3.34)

perl-modules-5.22 is a left-over package from older distributions (in
Aptitude marked as "Obsolete"). If I uninstall it, liblocale-codes-perl
is automatically installed and AMC works fine. So maybe, AMC should
depend on liblocale-codes-perl (>= 3.34).

Alternatively, conflicting with perl-modules-5.22 would also help, but
this might force users to uninstall all (obsolete) packages depending on
it, which is not good. So I guess the versioned dependency on
liblocale-codes-perl is a better solution.

Best regards,
-Michal

Reply via email to