CrunchBang Forums » News & Announcements

Removing programs.. crunchbang-desktop dependencies.

(5 posts)
  • Started 1 year ago by yeldarb
  • Latest reply from trailwhisperer
  1. yeldarb
    Member
    8 posts

    I have come across a strange dependency issue. When I try to remove an application that came with the install (Rhythmbox, for example), I get a message in terminal saying it has dependencies with crunchbang-desktop and asks if I would like to remove it. Basically, I am being told that in order to remove an app I must remove crunchbang and all other apps that came with it as well. I have never seen this with other distros.. any ideas?

    Posted 1 year ago #
  2. corenominal
    root
    251 posts

    This is due to the system being build from a single metapackage, either "crunchbang-desktop" or "crunchbang-desktop-lite". I have noticed similar behaviour with the "ubuntu-desktop" package when trying to remove pulse audio. Still, it does seem somewhat strange and I will look into it. Thanks for raising this :)

    Posted 1 year ago #
  3. trailwhisperer
    Member
    2 posts

    You still should be able to remove the program/package. It will remove the metapackage (container) but not the other programs/packages installed. The only problem is that when using apt afterwards, you will see a warning stating that the other programs installed with crunchbang-desktop are no longer needed (they don't need to be installed to satisfy the dependencies of the metapackage), when in fact, they are. So DO NOT sudo apt-get autoremove as suggested. To remove the warning, simply install those programs through apt with sudo apt-get install package1 package2 package3 etc.; Now, there will be a lot of them, so a simple paste and copy would normally suffice, though because of the terminal window and the way it handles spaces, simply open a text editor (gedit, leafpad, etc., works fine) and beginning with the last line in the lengthy list, remove the backspaces at the beginning of each line until all of the packages are neatly aligned in one row. Copy them, and in a terminal sudo apt-get install **pasted list***. All done! Done it on 3 different installs and works flawlessly. If you have any problems or need help, reply here and I'll keep an eye the post for a few days.

    Posted 1 year ago #
  4. snowpine
    Member
    22 posts

    Unless you really need to physically remove the application to free up space on your hard drive, you could simply remove Rhythmbox from the menu. An inelegant solution perhaps... but a simple one.

    Posted 1 year ago #
  5. trailwhisperer
    Member
    2 posts

    I believe you might be able to try:

    sudo aptitude keep-all
    sudo aptitude remove rhythmbox

    I think that would work. Give that a try and let us know what happens. I already installed all the packages via the solution I tried above, but I'm sure this should provide a better, easier fix.

    Posted 1 year ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies. If you would like to reply, please use the new forums.