Results 1 to 6 of 6

Thread: [SOLVED] removing leftover dependancies

  1. #1
    Join Date
    Mar 2005
    Beans
    554

    [SOLVED] removing leftover dependancies

    I installed virtualbox and decided later that i don't like it. How do I remove all of the dependancies that were installed? Using synaptic to remove virtualbox does just that, then leave all of the qt libraries behind. Is there a log file of what got installed? Or another way to identify the orphan packages?

    Tnanks

  2. #2
    Join Date
    Sep 2008
    Location
    Korea
    Beans
    938
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: removing leftover dependancies

    There is a tool which identifies orphaned packages. Have a look at this tutorial: http://ubuntuforums.org/showthread.php?t=140920
    Be careful though, sometimes it reports something as orphaned although you need it. Just because it's not a dependency of anything else on the system, doesn't always mean it's useless. I find the deborphan filter in Synaptic very handy. It's all in the tutorial.

    If you want to be extra safe, before removing an orphaned package go to File->History in Synaptic and find it there. If it was installed on the same day as something that you know you have removed since, chances are that you really don't need it.

  3. #3
    Join Date
    Jun 2007
    Location
    Bombay,India
    Beans
    1,579
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: removing leftover dependancies

    Or in terminal
    Code:
    sudo apt-get autoremove
    It gives a list of what shall be removed too,so you can say no if you see something you still need but reported as not required.

  4. #4
    Join Date
    Dec 2007
    Beans
    504

    Re: removing leftover dependancies

    Quote Originally Posted by nix4me View Post
    Or another way to identify the orphan packages?

    Tnanks
    deborphan

  5. #5
    Join Date
    Mar 2005
    Beans
    554

    Re: removing leftover dependancies

    History in synaptic was most helpful. Thanks for the hint. I will try deborphan in the future.

    Thanks.

  6. #6
    Join Date
    Sep 2008
    Location
    Korea
    Beans
    938
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: removing leftover dependancies

    You are welcome! Can you mark the thread as solved then?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •