How to check if an rpm is completely installed on centos?

Issues related to applications and software problems and general support
Post Reply
udayprojectn
Posts: 1
Joined: 2022/08/01 10:24:12

How to check if an rpm is completely installed on centos?

Post by udayprojectn » 2022/08/01 10:26:11

We have an rpm to our project and that contains pre and post install scripts.

While the post install script is still running, yum list is showing the package name in it.

Code: Select all

sudo yum list installed project-name
or

Code: Select all

sudo yum list | grep project-name
So, is there anyway to check if the package is installed completely, including the post install script?

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to check if an rpm is completely installed on centos?

Post by TrevorH » 2022/08/01 10:42:01

How about "Wait for the install to finish"?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4531
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How to check if an rpm is completely installed on centos?

Post by jlehtone » 2022/08/01 11:31:48

I thought that one can't even run yum while yum is still running?

Post Reply