Blog
This Is Why I Hate RedHat
Date: 3/2/2005
lemon# rpm -q ethereal-gtk+-no-snmp-0.10.0a-1.RH9.i386.rpm
        package ethereal-gtk+-no-snmp-0.10.0a-1.RH9.i386.rpm is not installed
lemon# rpm -i ethereal-gtk+-no-snmp-0.10.0a-1.RH9.i386.rpm
        package ethereal-gtk+-no-snmp-0.10.0a-1.RH9 is already installed
10 years on and we still have to put up with rpm. For crying out loud... window's DLL hell is better than rpm hell.
Comments:
Ed
03/02/2005 1:07pm
This has caught me too.

I wouldn't be surprised if rpm -q works on package names rather than filenames (I can't check at the moment)

e.g. rpm -q ethereal-gtk+-no-snmp-0.10.0a-1.RH9

Common sense would have rpm look inside the .rpm file and look at it's package name and check whether that package has been installed so that it works regardless of whether you provide a filename as the argument or a package name as argument.

I feh at rpm too, but it does beat dll hell ;-)
 
Reply
From:
Email (optional): (Will be HTML encoded to evade harvesting)
Message:
 
Remember username and/or email in a cookie.
Notify me of new posts in this thread via email.
BBcode:
[q]text[/q]
[url=link]description[/url]
[img]url_to_image[/img]
[pre]some_code[/pre]
[b]bold_text[/b]