Transaction test error: Package conflict on yum update

CAISC

Verified User
Joined
Dec 2, 2021
Messages
88
Location
SSH Terminal
Hi,

We are having Cloudlinux 8 server with DA (ver: 1.645) running perfectly over last 1 year.
recently yum update started showing -
Error: Transaction test error:

file /usr/share/man/man1/pp.1.gz from install of nss-tools-3.79.0-10.el8_6.x86_64 conflicts with file from package perl-PAR-Packer-1.052-2.el8.x86_64

Total size: 168 M
Total download size: 146 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] alt-openldap11-2.4.46-13.el8.x86_64.rpm: Already downloaded
[SKIPPED] nss-tools-3.79.0-10.el8_6.x86_64.rpm: Already downloaded
[SKIPPED] alt-python38-blinker-1.4-2.el8.noarch.rpm: Already downloaded
[SKIPPED] ai-bolit-31.9.5-1.el8.x86_64.rpm: Already downloaded
[SKIPPED] alt-curlssl11-7.84.0-1.el8.x86_64.rpm: Already downloaded
1.1 MB/s | 1.4 MB 00:01
(51/58): alt-openssl11-libs-1.1.1p-2.el8.x86_64.rpm 1.1 MB/s | 1.4 MB 00:01
(52/58): alt-php-internal-common-7.4.30-4.el8.x86_64.rpm 3.6 MB/s | 479 kB 00:00
(53/58): alt-php-internal-intl-7.4.30-4.el8.x86_64.rpm 1.2 MB/s | 154 kB 00:00
(54/58): alt-php-internal-mbstring-7.4.30-4.el8.x86_64.rpm 3.3 MB/s | 435 kB 00:00
(55/58): alt-php-internal-mysqlnd-7.4.30-4.el8.x86_64.rpm 1.2 MB/s | 153 kB 00:00
(56/58): alt-php-internal-pdo-7.4.30-4.el8.x86_64.rpm 735 kB/s | 90 kB 00:00
(57/58): alt-php-internal-cli-7.4.30-4.el8.x86_64.rpm 8.1 MB/s | 9.3 MB 00:01
(58/58): alt-php-internal-process-7.4.30-4.el8.x86_64.rpm 282 kB/s | 41 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 18 MB/s | 146 MB 00:08
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Transaction test error:
file /usr/share/man/man1/pp.1.gz from install of nss-tools-3.79.0-10.el8_6.x86_64 conflicts with file from package perl-PAR-Packer-1.052-2.el8.x86_64

# yum info perl-PAR-Packer
This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:18:41 ago on Tue 29 Nov 2022 11:35:10 PM IST.
Installed Packages
Name : perl-PAR-Packer
Version : 1.052
Release : 2.el8
Architecture : x86_64
Size : 6.1 M
Source : perl-PAR-Packer-1.052-2.el8.src.rpm
Repository : @System
From repo : epel
Summary : PAR Packager
URL : https://metacpan.org/release/PAR-Packer
License : GPL+ or Artistic
Description : This module implements the App: : Packer::Backend interface, for generating
: stand-alone executables, perl scripts and PAR files.



Not sure why all of sudden this conflict error has started, server packages were updated same way since last 1 year never such error came.
Any suggestion from forum members will be helpful to fix this. I think post updating to DA ver 1.645 this issue has started.

Thanks
 
Last edited:
  • Like
Reactions: ViT
I'm seeing the same issue when trying to install Imunify360 on a CloudLinux 8 machine:

Code:
[2022-12-13 02:57:50] Error: Transaction test error:
[2022-12-13 02:57:50]   file /usr/share/man/man1/pp.1.gz from install of nss-tools-3.79.0-10.el8_6.x86_64 conflicts with file from package perl-PAR-Packer-1.052-2.el8.x86_64
 
I don't have nss-tools on AlmaLinux 8, but I have it on CentOS 7. What if you try and remove nss-tools then?

To test and see whether it will try to remove other packages run

Code:
yum remove nss-tools

answer 'N' when you will be asked for a confirmation.
 
It won't remove it, it will fail to install. My workaround for now (it's a test machine) was to remove perl-PAR-Packer and proceed with the installation:

Code:
dnf remove perl-PAR-Packer-1.052-2.el8.x86_64 --noautoremove
 
I also asked CloudLinux about this, this was their answer:
We are aware of the issue, and for now the solution would indeed be removing perl-PAR-Packer-1.052-2.el8.x86_64 since that package is an unknown for us third-party package installed from the epel repository.
 
It won't remove it, it will fail to install. My workaround for now (it's a test machine) was to remove perl-PAR-Packer and proceed with the installation:

Code:
dnf remove perl-PAR-Packer-1.052-2.el8.x86_64 --noautoremove
Thanks we already done with this. and we can install imunify
 
  • Like
Reactions: sbz
It won't remove it, it will fail to install. My workaround for now (it's a test machine) was to remove perl-PAR-Packer and proceed with the installation:

Code:
dnf remove perl-PAR-Packer-1.052-2.el8.x86_64 --noautoremove

you sir, have saved me a lot of headache. Thank you
 
Back
Top