hylafax - libfaxutil not removed
Hi, quick question to the packaging experts: The package hylafax+ [1] installs libfaxutil%{lib_version}. I just noticed, on an update, it does not remove the old libfaxutil. %post -n libfaxutil%{lib_version} -p /sbin/ldconfig %postun -n libfaxutil%{lib_version} -p /sbin/ldconfig does obviously not do the job. Does anyone know what the correct call is? Thanks Axel [1] https://build.opensuse.org/package/show/network:telephony/hylafax+
On Tue, Apr 26, 2022 at 3:36 PM Axel Braun <axel.braun@gmx.de> wrote:
Hi, quick question to the packaging experts: The package hylafax+ [1] installs libfaxutil%{lib_version}.
I just noticed, on an update, it does not remove the old libfaxutil.
%post -n libfaxutil%{lib_version} -p /sbin/ldconfig %postun -n libfaxutil%{lib_version} -p /sbin/ldconfig
does obviously not do the job.
Does anyone know what the correct call is?
In general libraries should never remove previous library versions. The very reason to have versioned package names is to allow two multiple library versions to coexist. Old packages may be removed by out of band means, like (zypper) weak removal.
participants (2)
-
Andrei Borzenkov
-
Axel Braun