[Koha] Koha Debian packages for 18.05.02 and 17.11.08 are up

Mirko Tietgen mirko at abunchofthings.net
Fri Jul 27 20:50:49 NZST 2018


Hi,

I think you are missing the point. You already do have
libhttp-oai-perl installed. Hence the conflict. Your proposed
changes will not help you at all. Your configuration does not allow
dpkg to remove libhttp-oai-perl during the upgrade process, which
could be a result of that package being labelled essential in your
configuration or something completely different. The expected
behaviour in a default installation is a few lines of "dependency
problems, but removing anyway as you requested" and then it's done.
Try adding --force-depends to your upgrade command, that may fix it.

-- Mirko

Narcis Garcia schrieb am 27.07.2018
> Thank you for your detailed answer.
> I see in Debian 9 repositories that nothing else than Koha depends on
> libhttp-oai-perl ; then this means that package's dependencies should
> sure better this.
> 
> The order of specified dependencies in package matters:
> 
> Instead of*:
> libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<
> 4.0) | libhttp-oai-3.27-perl
> 
> These dependencies should be written as:
> libhttp-oai3-koha (< 4.0) | libhttp-oai-3.27-perl
> 
> And a "libhttp-oai3-koha" metapackage with dependencies:
> libhttp-oai-perl (>= 3.2), libhttp-oai-perl (< 4.0)
> 
> + In the meanwhile, a bug to Debian Perl Group for libhttp-oai-perl
> package could be filed.
> 
> (*) The problem is that first case matches with libhttp-oai-perl=4.03
> 
> 
> El 26/07/18 a les 20:32, Mirko Tietgen ha escrit:
>> The problem is that Debian 9 ships libhttp-oai-perl in a version
>> that won't work with Koha. So as a temporary workaround we use a
>> custom package, libhttp-oai-3.27-perl. Check
>> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20800 for
>> more details.
>>
>> The conflict is intended. You cannot have libhttp-oai-perl and
>> libhttp-oai-3.27-perl installed together. koha-common 18.05.x
>> depends on libhttp-oai-3.27-perl.
>>
>> We have tested this in various setups to ensure the upgrade process
>> works. In your case, it does not work flawlessly and you do not want
>> to use the workaround. That's unfortunate, but it does not seem
>> feasible for us to investigate your local setup. Given that this is
>> a temporary solution and you are "not in a hurry", my advice is to
>> wait for Koha to support libhttp-oai-perl 4.07+ and we don't need
>> the workaround any longer.
>>
>> Tomás has also answered to this thread. He has looked into this
>> before and will do again eventually (I hope). He is a Koha service
>> provider, so if it matters to you, sponsoring a development is
>> always an option.
>>
>> Cheers,
>>
>> Mirko
>>
>>
>> Narcis Garcia schrieb am 26.07.2018
>>> I see that workaround at
>>> https://lists.katipo.co.nz/public/koha/2018-May/050652.html
>>> (thank you)
>>>
>>> ...but there is a package dependencies problem anyway.
>>> I'm not in a hurry to upgrade Koha; then I prefer to wait for a
>>> consistent packages scenario.
>>>
>>>
>>> El 26/07/18 a les 19:47, Mirko Tietgen ha escrit:
>>>> Please check the bug tracker at
>>>> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20826#c12
>>>> about this issue.
>>>>
>>>> Narcis Garcia schrieb am 26.07.2018
>>>>> This v18.05.02 seems bad packaged same as v18.05.01
>>>>>
>>>>> $ apt update
>>>>> $ apt-cache show koha-common | grep -ie version
>>>>> Version: 18.05.02-1
>>>>> Version: 17.11.06-1
>>>>>
>>>>> $ apt full-upgrade
>>>>> The following packages were automatically installed and are no longer
>>>>> required:
>>>>> [400 packages listed]
>>>>> Use 'sudo apt autoremove' to remove them.
>>>>> The following packages will be REMOVED:
>>>>>   koha-common libhttp-oai-perl
>>>>> The following NEW packages will be installed:
>>>>>   libnet-libidn-perl libsub-quote-perl
>>>>> The following packages will be upgraded:
>>>>> apache2 [...]
>>>>> 44 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
>>>>> Need to get 43.1 MB of archives.
>>>>> After this operation, 461 MB disk space will be freed.
>>>>> Do you want to continue? [Y/n] n
>>>>>
>>>>> $ apt install koha-common
>>>>> Reading package lists... Done
>>>>> Building dependency tree
>>>>> Reading state information... Done
>>>>> Some packages could not be installed. This may mean that you have
>>>>> requested an impossible situation or if you are using the unstable
>>>>> distribution that some required packages have not yet been created
>>>>> or been moved out of Incoming.
>>>>> The following information may help to resolve the situation:
>>>>> The following packages have unmet dependencies:
>>>>>  koha-common : Depends: libnet-oauth2-authorizationserver-perl but it is
>>>>> not going to be installed
>>>>> E: Unable to correct problems, you have held broken packages.
>>>>>
>>>>>
>>>>> El 26/07/18 a les 19:21, Mirko Tietgen ha escrit:
>>>>>> Hi,
>>>>>>
>>>>>> it's hot, no further text, ;)
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Mirko
>>>>>>


More information about the Koha mailing list