Forums

nuke
nuke
Offline
Resolved
0 votes
Hi all,
I tried out Serviio and found it good but in the end have decided to just share media folders without using DNLA.
The marketplace Serviio installs Java & other dependencies that are not removed when uninstalling/removing.
How do I completely remove Java & check which other dependencies were installed through the Marketplace installation?
I apologize if this is located in a help document but I didn't find it so far.
Thanks in advance.
Monday, November 20 2017, 09:00 PM
Share this post:
Responses (3)
  • Accepted Answer

    Tuesday, November 21 2017, 12:35 PM - #Permalink
    Resolved
    0 votes
    I think a marketplace uninstall only removes the front end app-*'s. You can see in the yum log. The reason for that is exactly the same as the problem with removing packages with the yum or rpm command. It is not particularly a ClearOS issue, but more any distro using yum and it may apply to other distros as well.

    Even the method I outlined using "rpm -e" is only reasonably reliable for recently installed packages, but if anything after that installation requires one of the packages from that installation then what I've said is not good enough and you'll need to track down all the dependencies requiring your packages one by one. Not fun.
    The reply is currently minimized Show
  • Accepted Answer

    nuke
    nuke
    Offline
    Tuesday, November 21 2017, 12:59 AM - #Permalink
    Resolved
    0 votes
    Thanks for the words of warning. I only used the MarketPlace uninstall so far. I'm not sure what that uninstalled but I did find some log files and config files still left.

    I think it installed java. Java is one pkg that I'd like to remove if it was only installed for Serviio.

    This will be an interesting exercise :p

    Thanks again for your help.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 20 2017, 10:17 PM - #Permalink
    Resolved
    0 votes
    Your best chance is to look at var/log/yum.log and see what else was installed at the same time. A "yum remove" is very dangerous as it tries to remove all dependencies so you need to check the packages it is trying to remove. If it is not the same as the list that was installed stop immediately. The safe way to remove packages is the "rpm -e --nodeps package1 package2 ...." command, but it is up to you to check the dependency list.

    If you use the rpm command to install/uninstall packages, do a "yum clean all" afterwards to stop yum from warning that packages were changed outside yum.
    The reply is currently minimized Show
Your Reply