I'm getting the following error with jwhois-4.0-18.fc12.x86_64: whois last.pk [Querying http://pknic.net.pk/cgi-bin/pknic-db/display.html] [HTTP: Unable to run web browser: /usr/bin/lynx: No such file or directory] so it seems the package misses a dependency on lynx (or a patch to use something else...)
There's no dependency on lynx because it's up to user which browser he will use, if any. See /etc/jwhois.conf: [SNIP] # # Path to the browser to use for HTTP servers. # browser-pathname = "/usr/bin/lynx"; [SNIP] Change it to the text-www-browser you prefer. I don't want to e.g. add general text-www-browser and hack jwhois.conf during post install, because jwhois package works without it for many users and I want to avoid generating unnecessary dependencies.
Oh, I didn't notice the configuration setting, I agree with the resolution. In an ideal world though, executing the configured browser would trigger the packagekit command-not-found plugin and install the missing piece...
Nobody needs or even wants a PackageKit dependency for a command line only application. Depending on PackageKit with X and GTK/GNOME is definately the wrong way. So please leave as it is - thanks Vitezslav :)
I don't think that's what I said, and in fact I pretty much agree with you
*** Bug 625772 has been marked as a duplicate of this bug. ***
*** Bug 630333 has been marked as a duplicate of this bug. ***
*** Bug 744198 has been marked as a duplicate of this bug. ***
I've also run into this problem on my installation of Fedora 21: $ whois osv.io [Querying http://www.io.io/cgi-bin/whois] [HTTP: Unable to run web browser: /usr/bin/lynx: No such file or directory] One can argue whether the problem is the missing dependency on lynx (as the original submitter said) or the configuration in /etc/jwhois.conf (as comment 1 said), but in both cases, this *is* a bug, and should not have been closed. Please note also how duplicates keep cropping up, and if I weren't paying attention enough, I would have created yet another dup today.
Sorry, I really don't get it... Why don't you just install lynx? Isn't the message clear enough? jwhois can work fine without web browser, it's necessary only for some queries. That makes it optional dependency. And if you need it, jwhois will let you know quite nicely. Leaving it as it is will save ~1.5 MB space for every user, who doesn't run http queries or is used to using different text browser.