Fedora 25 upgrade breaks amavisd (resolved)
Stephen Davies
sdavies at sdc.com.au
Mon Aug 28 14:06:10 CEST 2017
On 28 August 2017 8:15:20 PM ACST, Juan Orti Alcaine <j.orti.alcaine at gmail.com> wrote:
>2017-08-28 4:28 GMT+02:00 Stephen Davies <sdavies at sdc.com.au>:
>> On 28/08/17 06:00, Juan Orti Alcaine wrote:
>>>
>>> 2017-08-27 10:41 GMT+02:00 Stephen Davies <sdavies at sdc.com.au>:
>>>>
>>>> I upgraded from F24 to F25 today and amavisd is now broken because
>>>> Zlib.c: loadable library and perl binaries are mismatched (got
>handshake
>>>> key
>>>> 0xdb00080, needed 0xdb80080)
>>>>
>>>> Despite many hits in Google, none of them actually tell me how to
>fix
>>>> this.
>>>>
>>>> I have tried uninstalling the Zlib module with dnf (which also
>uninstalls
>>>> amavisd) and then reinstalling amavisd but to no avail.
>>>>
>>>> What do I need to do?
>>>
>>>
>>> I can't reproduce the problem in F25. Could you provide more
>>> information of your setup? All the Perl stack is installed from the
>>> oficial repositories?
>>>
>>
>> I did dnf reinstall 'perl(Compress::Raw::Zlib)' and all came
>together.
>>
>> Having to manually delete files and uninstall/reinstall seems a bit
>of a
>> sledge hammer to crack a nut.
>>
>> How come the upgrade didn't handle it?
>
>If you overwrote the Zlib files from CPAN in F24, and the package was
>not upgraded from F24 to F25, their files are not touched, so you
>ended with a broken system.
>In general, it's a bad idea to overwrite distribution provided files
>with you own, and for amavisd-new all the dependencies are provided in
>Fedora.
>
>Kind regards.
I haven't used cpan for ages and also haven't manually installed a module for years.
The fact that perl doesn't even try to maintain binary compatability is bad news.
It might be a Swiss Army chainsaw but this attitude is not good.
--
Stephen Davies
More information about the amavis-users
mailing list