Bug 32908 - Clamav and data lib not installing due to conflict with mga8 library. Works when mga 8 lib removed
Summary: Clamav and data lib not installing due to conflict with mga8 library. Works w...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-02-28 22:25 CET by Gregory Harper
Modified: 2024-03-03 16:54 CET (History)
6 users (show)

See Also:
Source RPM: clamav-1.0.5-1.mga9
CVE:
Status comment: Propused packages look like fix issue


Attachments

Description Gregory Harper 2024-02-28 22:25:20 CET
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.try to up-date clamav in mga9 
2.
3.
Gregory Harper 2024-02-28 22:27:10 CET

Status comment: (none) => above rpm causing conflict and non install on clamav and clam db in mga 9 updates

Comment 1 Florian Hubold 2024-02-28 23:30:15 CET
FWIW this is the actual error message during update, this seems to be an issue with the libification - if the major changes, the actual library should not have the same version - libfreshclam should probably be split out into a separate subpackage as it does not have the same major as libclamav.

----

1 installation transactions failed

There was a problem during the installation:

file /usr/lib64/libfreshclam.so.2 from install of lib64clamav11-1.0.5-1.mga9.x86_64 conflicts with file from package lib64clamav9-0.103.10-1.mga8.x86_64

CC: (none) => doktor5000

Comment 2 Morgan Leijström 2024-02-29 08:16:42 CET
Thank you Gregory for the report, and Florian for the analysis.

No registered maintainer, assigning to all

Whiteboard: (none) => MGA9TOO
Assignee: bugsquad => pkg-bugs
CC: (none) => fri

Comment 3 Nicolas Salguero 2024-03-01 10:40:09 CET
Hi,

Can you try if clamav-1.0.5-1.1.mga9 from core/updates_testing (or clamav-1.0.5-2.mga10 for Cauldron) solves the issue, please?

Best regards,

Nico.

CC: (none) => nicolas.salguero

Comment 4 katnatek 2024-03-02 03:17:45 CET
i586:
clamav-1.0.5-1.1.mga9.i586.rpm
clamav-db-1.0.5-1.1.mga9.noarch.rpm
clamav-milter-1.0.5-1.1.mga9.i586.rpm
clamd-1.0.5-1.1.mga9.i586.rpm
libclamav-devel-1.0.5-1.1.mga9.i586.rpm
libclamav11-1.0.5-1.1.mga9.i586.rpm

x86_64:
clamav-1.0.5-1.1.mga9.x86_64.rpm
clamav-db-1.0.5-1.1.mga9.noarch.rpm
clamav-milter-1.0.5-1.1.mga9.x86_64.rpm
clamd-1.0.5-1.1.mga9.x86_64.rpm
lib64clamav-devel-1.0.5-1.1.mga9.x86_64.rpm
lib64clamav11-1.0.5-1.1.mga9.x86_64.rpm


SRPM:
clamav-1.0.5-1.1.mga9.src.rpm
Comment 5 katnatek 2024-03-02 03:24:15 CET
Real Hardware Mageia 9 x86_64

Current Package

LC_ALL=C urpmi lib64clamav11


installing lib64clamav11-1.0.5-1.mga9.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ##################################################################################################
Installation failed:    file /usr/lib64/libfreshclam.so.2 from install of lib64clamav11-1.0.5-1.mga9.x86_64 conflicts with file from package lib64clamav9-0.103.10-1.mga8.x86_64

With testing version

LC_ALL=C urpmi lib64clamav11
The following package has to be removed for others to be upgraded:
lib64clamav9-0.103.10-1.mga8.x86_64
 (due to conflicts with lib64clamav11-1.0.5-1.1.mga9.x86_64) (y/N) y

What I don't know is why not was uninstalled in upgrade from Mageia 8, I have to force the install the mg8 package with --allow-nodeps to make this test

LC_ALL=C urpmi /home/katnatek/rpm/RPMS/i586/lib64clamav9-0.103.10-1.mga8.x86_64.rpm --allow-nodeps
WARNING: --allow-nodeps option is in use. Some strange problems may happen


installing lib64clamav9-0.103.10-1.mga8.x86_64.rpm from /home/katnatek/rpm/RPMS/i586
Installation failed:
        libcrypto.so.1.1()(64bit) is needed by lib64clamav9-0.103.10-1.mga8.x86_64
        libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) is needed by lib64clamav9-0.103.10-1.mga8.x86_64
        libssl.so.1.1()(64bit) is needed by lib64clamav9-0.103.10-1.mga8.x86_64
        libssl.so.1.1(OPENSSL_1_1_0)(64bit) is needed by lib64clamav9-0.103.10-1.mga8.x86_64
Try installation without checking dependencies? (y/N) y
katnatek 2024-03-02 07:58:09 CET

Version: Cauldron => 9
Whiteboard: MGA9TOO => (none)
Assignee: pkg-bugs => qa-bugs

katnatek 2024-03-02 07:59:44 CET

Status comment: above rpm causing conflict and non install on clamav and clam db in mga 9 updates => Propused packages look like fix issue
Whiteboard: (none) => MGA9-64-OK

katnatek 2024-03-02 08:03:53 CET

Source RPM: lib64clamav9-0.103.10-1.mga8.x86_64 => clamav-1.0.5-1.mga9

katnatek 2024-03-02 08:21:49 CET

Keywords: (none) => advisory

katnatek 2024-03-02 18:42:20 CET

CC: (none) => andrewsfarm

Comment 6 Thomas Andrews 2024-03-02 20:11:00 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 7 Mageia Robot 2024-03-02 20:59:15 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0088.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 8 Vincent Coen 2024-03-02 21:46:22 CET
Just run an update but got this :

2 installation transactions failed

There was a problem during the installation:

file /usr/lib64/libfreshclam.so.2 from install of lib64clamav11-1.0.5-1.mga9.x86_64 conflicts with file from package lib64clamav9-0.103.10-1.mga8.x86_64

libksysguard >= 5.27.10-1.mga9 is needed by lib64ksgrd9-5.27.10-1.mga9.x86_64

CC: (none) => vbcoen
Ever confirmed: 1 => 0
Resolution: FIXED => (none)
Status: RESOLVED => UNCONFIRMED

Comment 9 katnatek 2024-03-02 23:48:24 CET
(In reply to Vincent Coen from comment #8)
> Just run an update but got this :
> 
> 2 installation transactions failed
> 
> There was a problem during the installation:
> 
> file /usr/lib64/libfreshclam.so.2 from install of
> lib64clamav11-1.0.5-1.mga9.x86_64 conflicts with file from package
> lib64clamav9-0.103.10-1.mga8.x86_64
> 
> libksysguard >= 5.27.10-1.mga9 is needed by lib64ksgrd9-5.27.10-1.mga9.x86_64

You still get the previous package, please wait to the mirrors get the update

You must see a message like this

LC_ALL=C urpmi lib64clamav11
The following package has to be removed for others to be upgraded:
lib64clamav9-0.103.10-1.mga8.x86_64
 (due to conflicts with lib64clamav11-1.0.5-1.1.mga9.x86_64) (y/N) y

Note the extra .1 before mga9, if the updated package still not solve the issue for you please open a new bug against clamav-1.0.5-1.1.mga9

Resolution: (none) => FIXED
Status: UNCONFIRMED => RESOLVED

Comment 10 Gregory Harper 2024-03-03 16:54:45 CET
Thanks guys

Note You need to log in before you can comment on or make changes to this bug.