Find the answer to your Linux question:
Results 1 to 2 of 2
Hello again, Is there a way to remove a package that others depend on without removing them as well? I'm planning on installing a new version of Python, but a ...
  1. #1
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942

    Removing packages and ignoring dependencies

    Hello again,

    Is there a way to remove a package that others depend on without removing them as well? I'm planning on installing a new version of Python, but a good 30 packages depend on it, and it won't let me install without removing Python first. I don't want to have to reinstall all those packages... =(

    Thanks in advance!

  2. #2
    Linux User St. Joe's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    271
    If you are installing a new (updated) version of Python then apt should recognize that as an upgrade to your system, and replace the older release without removing any packages. However, since you are getting those dependency errors I would suggest the most likely reasons are:

    1. The "new" Python version is not Debian compatible.
    2. You are not using the correct installation method.
    It may be that your sole purpose in life is simply to serve as a warning to others.

Posting Permissions

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