Bug 2265468

Summary: clamav-data-1.0.5-1.el9.noarch.rpm shows error message on installation
Product: [Fedora] Fedora EPEL Reporter: oss-ha
Component: clamavAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel9CC: anon.amish, bennie.joubert, gbcox, gk, j, lee.jnk, ondrejj, orion, redhat-bugzilla, rh-bugzilla, sergio, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-27 14:16:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description oss-ha 2024-02-22 06:46:41 UTC
Description of problem:

I found the following error message 
when I installed clamav-data.

...
  Running scriptlet: clamav-data-1.0.5-1.el9.noarch            1/1
/var/tmp/rpm-tmp.We4WX5: line 5: [: too many arguments
...

It seems that this is the same problem to Bug 2253914.

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

clamav-data-1.0.5-1.el9.noarch.rpm

How reproducible:

Everytime on installation

Steps to Reproduce:
1. Download clamav-data-1.0.5-1.el9.noarch.rpm
2. Install clamav-data-1.0.5-1.el9.noarch.rpm like below.

# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.2 (Plow)

# yum localinstall -y clamav-data-1.0.5-1.el9.noarch.rpm
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 2:48:51 ago on Thu Feb 22 11:34:54 2024.
Dependencies resolved.
===================================================================
 Package         Arch       Version         Repository        Size
===================================================================
Installing:
 clamav-data     noarch     1.0.5-1.el9     @commandline     222 M

Transaction Summary
===================================================================
Install  1 Package

Total size: 222 M
Installed size: 223 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                           1/1
  Installing       : clamav-data-1.0.5-1.el9.noarch            1/1
  Running scriptlet: clamav-data-1.0.5-1.el9.noarch            1/1
/var/tmp/rpm-tmp.We4WX5: line 5: [: too many arguments

  Verifying        : clamav-data-1.0.5-1.el9.noarch            1/1
Installed products updated.

Installed:
  clamav-data-1.0.5-1.el9.noarch

Complete!

3. Only /var/tmp/rpm-tmp.We4WX5 is defferent on each installation.

Actual results:
Message of "/var/tmp/rpm-tmp.We4WX5 ..." shows.

Expected results:
No message of "/var/tmp/rpm-tmp.We4WX5 ..."  should show.

Additional info:

As I said already, this might be the same problem to Bug 2253914.

Comment 1 Sergio Basto 2024-02-27 14:16:52 UTC

*** This bug has been marked as a duplicate of bug 2253914 ***