Results 1 to 5 of 5

Thread: Why doesn't Synaptic have an option to auto-deselect packages that are dependencies?

  1. #1
    Join Date
    Jul 2006
    Location
    Florida
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Why doesn't Synaptic have an option to auto-deselect packages that are dependencies?

    I recently installed MythTV on my eeepc to connect to my backend on another machine. I then realized that it'd be a pain getting it working quickly remotely, so I went into synaptic to completely remove all myth things from my eeepc.

    However, one package wanted to remove plugins-bad. Now I have to hunt down which package I selected is a dependency. Wouldn't it be logical to include an option to save the selected packages, as in "select the packages you want to keep, and the dependencies you selected to remove will be automatically unchecked"? Or am I missing an obvious button?
    "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah." - Ash J Williams

    That works as well as not following every step in a tutorial or walkthrough.

  2. #2
    Join Date
    Dec 2007
    Beans
    1,042
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Why doesn't Synaptic have an option to auto-deselect packages that are dependenci

    Hard to understand your question, so here are a bunch of possible answers.

    To see a list of all installed packages, go to a terminal and run "dpkg -l." To save the list to a text file somewhere, pipe the command through to a text file like this: "whatever_command > text_file.txt". To save a list of all the dependencies of a package, run "apt-rdepends name_of_package". If you can't remember the exact name of the package, use "apt-cache search insert_keywords_within_quotes_here" to find the name.


    If you want to automatically remove unneeded old packages that were installed as dependencies of something you don't want anymore, there are a number of methods for this.

    • My favorite method is to pull up a terminal and run the command "sudo apt-get autoremove," which uninstalls all programs that are no longer needed. Just type in your password when prompted for it; if nothing shows up on the screen it's normal.
    • You can also go to Synaptic. In the lower right area there will be a button that says "status." Click on that. The bar above it will change to a different list. Click on the entry that says "installed (auto-removable)," and you'll get a list of all the packages that aren't being used.
    Last edited by MaxIBoy; March 30th, 2009 at 02:04 AM.
    He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself.
    -Thomas Paine

  3. #3
    Join Date
    Jul 2006
    Location
    Florida
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Why doesn't Synaptic have an option to auto-deselect packages that are dependenci

    I realized it was confusing as I was typing.

    Basically, I was saying when I try to do completely remove on a large group of programs, and it says "These programs will also be removed" it's a pain to find the program I need to keep to keep one of the "These programs will also be removed".

    For example, If I like amarok in my gnome, and I try out kde, and then want to purge kde 100% but I want to keep amarok, I'd either have to know what I need to leave installed for amarok, or just reinstall it. The feature I was asking about would allow me to simply select to remove ALL kde apps in this example, and say "Amarok will also be removed" and then have a "Keep this program installed option" to automatically not deselect amarok and it's dependencies.
    "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah." - Ash J Williams

    That works as well as not following every step in a tutorial or walkthrough.

  4. #4
    Join Date
    Sep 2006
    Location
    Minsk, Belarus
    Beans
    206

    Re: Why doesn't Synaptic have an option to auto-deselect packages that are dependenci

    The best way to do what you're suggesting is to remember which meta-package you originally used to install, say KDE. When you remove the KDE meta-package, all the KDE dependencies which aren't currently being used by any other apps and can be safely removed appear in Status>Automatically Removable in the side-pane of Synaptic.

  5. #5
    Join Date
    Jul 2006
    Location
    Florida
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Why doesn't Synaptic have an option to auto-deselect packages that are dependenci

    I just thought it'd be a good feature if I forgot the meta-package, or if I'm removing multiple things at once, as in going through and removing old programs to cleanup my PC.
    "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah." - Ash J Williams

    That works as well as not following every step in a tutorial or walkthrough.

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
  •