<div dir="ltr">According to the error both libmarc-xml-perl_1.0.5-1 and libmarc-file-<br>xml-perl_1.0.5-1 are trying to place the file /usr/bin/marc2xml, which the package manager helpfully catches and gives this wonder error message about.<div>I'm guessing that libmarc-file-xml-perl_1.0.5-1 is coming from the koha-community repo.</div><div>The real question is what to do about it.  I'm not familiar enough with debian packaging to say if there is a way to override the other packages claim on the file.  I suppose it's possible to put that file in the alternatives system (/etc/alternatives), but that might be overkill.</div><div>I think the root of the error is that either the name of the debian package (libmarc-xml-perl) has diverged from the the koha-community package (libmarc-file-xml-perl), or this file found its way into the libmarc-file-xml-perl package my mistake.  Though if the problem was the package name (which could be fixed with a "provides" entry) I would expect to see more file conflicts, but maybe the package manager just stopped on the first one.</div><div>I think the proper solution is to either change the libmarc-file-xml-perl package to match the libmarc-xml-perl package (probably with a "provides" entry), or to take this file out of it (and provide a modified libmarc-xml-perl package if necessary).</div><div>Again, that advice is given with my very limited knowledge of debian packaging.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 9, 2022 at 12:52 AM Stowasser Rainer <<a href="mailto:rainer.stowasser@zamg.ac.at">rainer.stowasser@zamg.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Fridolin<br>
<br>
Debian buster<br>
<br>
koha common 22.05<br>
<br>
yes<br>
<br>
what I found out till now is that it seems to be related to catmandu<br>
and 2 versions of marc2xml<br>
perl dependencies are "very interesting" ;-)<br>
<br>
Kind regards<br>
Hofrat Mag. Rainer Stowasser<br>
Head of Library and Archives ZAMG<br>
<br>
________________________________________<br>
Von: Koha-devel <<a href="mailto:koha-devel-bounces@lists.koha-community.org" target="_blank">koha-devel-bounces@lists.koha-community.org</a>> im Auftrag von Fridolin SOMERS <<a href="mailto:fridolin.somers@biblibre.com" target="_blank">fridolin.somers@biblibre.com</a>><br>
Gesendet: Donnerstag, 9. Juni 2022 08:36:55<br>
An: <a href="mailto:koha-devel@lists.koha-community.org" target="_blank">koha-devel@lists.koha-community.org</a><br>
Betreff: Re: [Koha-devel] koha 22:05 elasticsearch<br>
<br>
Hi,<br>
<br>
What is the version of Koha (package koha-common) ?<br>
<br>
Debian 5.10.106-1 ? Which name is that (Buster, Bullseye, ...) ?<br>
<br>
Did you first run "apt update" ?<br>
<br>
Le 07/06/2022 à 22:40, Stowasser Rainer a écrit :<br>
> Hy<br>
><br>
> with the new version I thought I would give elasticsearch a try (zebra works ;-)<br>
><br>
> new server<br>
> Debian 5.10.106-1<br>
> 10.5.15-MariaDB<br>
> Apache/2.4.53<br>
><br>
> but<br>
><br>
> koha-elasticsearch<br>
><br>
> Preparing to unpack .../libmarc-xml-perl_1.0.5-1_all.deb ...<br>
> Unpacking libmarc-xml-perl (1.0.5-1) ...<br>
> dpkg: error processing archive /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_<br>
> all.deb (--unpack):<br>
>   trying to overwrite '/usr/bin/marc2xml', which is also in package libmarc-file-<br>
> xml-perl 1.0.5-1~koha+1<br>
> Errors were encountered while processing:<br>
>   /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_all.deb<br>
><br>
> apt --fix-broken install<br>
> The following additional packages will be installed:<br>
>    libmarc-xml-perl<br>
><br>
> dpkg: error processing archive /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_<br>
> all.deb (--unpack):<br>
>   trying to overwrite '/usr/bin/marc2xml', which is also in package libmarc-file-<br>
> xml-perl 1.0.5-1~koha+1<br>
><br>
> Did anyone else encounter this problem ?<br>
><br>
> Kind regards<br>
> Hofrat Mag. Rainer Stowasser<br>
> Head of Library and Archives ZAMG<br>
> _______________________________________________<br>
> Koha-devel mailing list<br>
> <a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
> <a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
> website : <a href="https://www.koha-community.org/" rel="noreferrer" target="_blank">https://www.koha-community.org/</a><br>
> git : <a href="https://git.koha-community.org/" rel="noreferrer" target="_blank">https://git.koha-community.org/</a><br>
> bugs : <a href="https://bugs.koha-community.org/" rel="noreferrer" target="_blank">https://bugs.koha-community.org/</a><br>
<br>
--<br>
Fridolin SOMERS <<a href="mailto:fridolin.somers@biblibre.com" target="_blank">fridolin.somers@biblibre.com</a>><br>
Software and system maintainer 🦄<br>
BibLibre, France<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="https://www.koha-community.org/" rel="noreferrer" target="_blank">https://www.koha-community.org/</a><br>
git : <a href="https://git.koha-community.org/" rel="noreferrer" target="_blank">https://git.koha-community.org/</a><br>
bugs : <a href="https://bugs.koha-community.org/" rel="noreferrer" target="_blank">https://bugs.koha-community.org/</a><br>
EXTERNAL EMAIL: Do not click any links or open any attachments unless you trust the sender and know the content is safe.<br>
<br>
<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="https://www.koha-community.org/" rel="noreferrer" target="_blank">https://www.koha-community.org/</a><br>
git : <a href="https://git.koha-community.org/" rel="noreferrer" target="_blank">https://git.koha-community.org/</a><br>
bugs : <a href="https://bugs.koha-community.org/" rel="noreferrer" target="_blank">https://bugs.koha-community.org/</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Michael Hafen<br></div>Washington County School District Technology Department<br></div>Systems Analyst<br><br></div></div></div></div>