Howto Get product & os information from rpm?
A student put in the disks from another Suse product and asked
for a Yast update. Now I have to straighten out with
updates a messed up Suse. The biggest problem is that
the updates already downloaded cost $40 USD for Internet
cafe fees and that is a very large amount for a third world
non-profit school. I want to find out for each patch or rpm
on the corrupted system for what product it is intended and
from which repository it came.
What I thought I would do was use the cli PIN or RPM to look at
what os/product each rpm was intended for. Rpm has a lot of
options and after trying several, I could not find one suitable.
Even -qvv does not give anything about the product or os nor the
repository from whence it came. I wonder if this important
information is available after doing the following.
ls -ls /var/lib/rpm
total 51160
1 drwxr-xr-x 3 root root 536 Sep 9 22:10 .
1 drwxr-xr-x 46 root root 1216 Jan 2 21:15 ..
6386 -rw-r--r-- 1 root root 10174464 Jan 9 17:03 Basenames
12 -rw-r--r-- 1 root root 12288 Jan 9 17:03 Conflictname
1425 -rw-r--r-- 1 root root 1458176 Jan 9 17:03 Dirnames
7494 -rw-r--r-- 1 root root 10366976 Jan 9 17:03 Filemd5s
24 -rw-r--r-- 1 root root 24576 Jan 9 17:03 Group
44 -rw-r--r-- 1 root root 45056 Jan 9 17:03 Installtid
44 -rw-r--r-- 1 root root 49152 Jan 9 17:03 Name
34490 -rw-r--r-- 1 root root 35287040 Jan 9 17:03 Packages
449 -rw-r--r-- 1 root root 638976 Jan 9 17:03 Providename
116 -rw-r--r-- 1 root root 118784 Jan 9 17:03 Provideversion
12 -rw-r--r-- 1 root root 12288 Jan 9 17:03 Pubkeys
316 -rw-r--r-- 1 root root 421888 Jan 9 17:03 Requirename
196 -rw-r--r-- 1 root root 200704 Jan 9 17:03 Requireversion
84 -rw-r--r-- 1 root root 94208 Jan 9 17:03 Sha1header
56 -rw-r--r-- 1 root root 81920 Jan 9 17:03 Sigmd5
12 -rw-r--r-- 1 root root 12288 Jan 9 17:03 Triggername
0 drwxr-xr-x 2 root root 208 Jan 6 15:32 alternatives
|