rpm -e jdk-1.6.0_17-fcs error: Failed dependencies: jdk is needed by (installed) xyz.i586 I tried to search for xyz.i586 find / -name xyz.i586
but no result.
This question came from our site for professional and enthusiast programmers.
Instead of using -q flag
I would use -qa flag then grep output
Since it will cast a wider net and list java packages that may not begin with "jdk"
(Oh, you are using an old JDK version, I understand you want to uninstall it.)
To find out whether
But you already know
Maybe you want to know where
and this to show a description of
If you don't need
For where the program was installed (including all of the supporting files, so it can be a long list that you would need to search through)
dpkg-query -L firefox
For the menu item containing the package, look for a file in /usr/share/menu in the output of dpkg-query:
dpkg-query -L firefox | grep /usr/share/menu
In that file you should find "section=". The string after that text should indicate where in the menu system you would find the link to the application.
For information about what categories Ubuntu put the package into, you might try:
aptitude show firefox