Get rpm package file list and config informations
Hi,
Do you know how I get the information of a rpm - package? I would like to find out in forehand, what files are modified, copied, what configuration files are added and what dependencies are required. In general I would like to know exactaly what the rpm package does, to able to reproduce it manual. I experienced a little bit with rpm, but I don't get the results I am looking for... I tried: rpm -lc -p xxx.rpm rpm -iv xxx.rpm --test .. |
Did you look at man rpm? To query package requirements (dependencies) use rpm -qR <package>. To get information onf patches etc. you'll need the source RPM as it contains all of the patches and the order in which to apply them. The RPM package itself is just the binaries in cpio format plus soime extra files that specify dependencies and install isntructions which are parsed by the rpm program. I'd suggest you look at some of the resources on http://rpm.org to get an idea of how it works.
|
All times are GMT -5. The time now is 09:41 AM. |