Jump to content

how do I determine the version number of an rpm?


papaschtroumpf
 Share

Recommended Posts

home now

[root@localhost root]# urpmf --provides kdenetwork-krfb
kdenetwork-krfb:krdc
kdenetwork-krfb:krfb
kdenetwork-krfb:kcm_krfb.so
kdenetwork-krfb:kded_kinetd.so
kdenetwork-krfb:kdenetwork-krfb[== 1:3.2.3-13mdk]
[root@localhost root]#

now, this may or may not be the one installed, as urpmf searches the source database.

 

 

[root@localhost root]# urpmq -pr kdenetwork-krfb
kdenetwork-krfb-3.2.3-13mdk
[root@localhost root]# urpmq -prv kdenetwork-krfb
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.cooker_contrib.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.cooker2.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.cooker.cz]
kdenetwork-krfb-3.2.3-13mdk
[root@localhost root]#

again, same thing. urpmX is 90% for using the sources to resolve deps. The exceptions are using urpmi in a local dir to install rpms so that it'll resolve the deps, or using urpme to remove a pgk. Other than that, rpm does everything else. In short, no, and it's not supposed to. You did it right with rpm -q :D

Edited by bvc
Link to comment
Share on other sites

Using broad terms urpmi is a wrapper for rpm, facilitating the install of packages to include their dependancies. The underlying rpm database and tools are still there and theres no reason not to use them, adding flags to urpmi to query the rpm database is re-inventing the wheel IMO.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...