Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a RHEL6.1 machine that's registered with Redhat. I needed to install a customized version of a package (in my case, qemu-kvm), which I installed via RPM.

I can see the version info for my customized package by doing: "rpm -qi" or "yum info". How can I see the version information for the (non-customized) version of the RPM that exists in the Redhat repository?

share|improve this question

2 Answers 2

up vote 1 down vote accepted
yum provides "*/typical_qemu-kvm-file"

Should do the job.

yum search qemu-kvm

Is propably not enough.

yumdownloader --url qemu-kvm

might be another solution (just output url, do not download).

The syntax of the above commands is propably not 100% ok - I currently have no RH6 at hand to try it.

share|improve this answer

Add --showduplicates to the list or info command line, and yum will show all versions of packages (including duplicate versions). Eg.

yum --showduplicates list qemu-kvm

...you can also use "repoquery --plugins qemu-kvm", as that ignores the local rpmdb by default.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.