Installed RPM from SupportPack failed tcpdump and libcap
search cancel

Installed RPM from SupportPack failed tcpdump and libcap

book

Article ID: 254088

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Installed RPM from SupportPack failed tcpdump and libcap

Layer7_API_SupportPack_v10.X-CentOS-2020-10-21.L7P

#rpm -i -vh libpcap-1.5.3-12.el7.x86_64.rpm

warning: libpcap-1.5.3-12.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY

Preparing...                          ################################# [100%]

        file /usr/lib64/libpcap.so.1 from install of libpcap-14:1.5.3-12.el7.x86_64 conflicts with file from package libpcap-14:1.4                                       .0-4.20130826git2dbcaa1.el6.x86_64

 

Environment

Release : 10.1

Cause

The option -i is for install RPM if a previous version was installed this will need to be changed to -U for upgrade 

Resolution

Check the version previous version was installed 

# rpm -qa  libpcap tcpdump

libpcap-1.4.0-4.20130826git2dbcaa1.el6.x86_64

tcpdump-4.0.0-9.20090921gitdf3cb4.2.el6.x86_64

Resolution:

The option -i is for install, change it to -U for upgrade 

 

#rpm -U -vh libpcap-1.5.3-12.el7.x86_64.rpm

warning: libpcap-1.5.3-12.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY

Preparing...                          ################################# [100%]

Updating / installing...

Then for TCPDUMP

rpm -U -vh  tcpdump-4.9.2-4.el7_7.1.x86_64.rpm