Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39801 closed defect (duplicate)

Trouble uninstalling inactive ports due to py27-distribute dependencies

Reported by: mkae (Marko Käning) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: base Version: 2.1.3
Keywords: Cc:
Port:

Description

Although - just now - py27-setuptools 0.9.6_0 got successfully installed I keep having problems with my dependencies in my installation.

Initially I wondered why I still have so many inactive ports installed:

$ port installed inactive
The following ports are currently installed:
  py27-distribute @0.6.45_0
  py27-pyobjc-cocoa @2.4_0
  py27-setuptools @0.7.2_0
  py27-setuptools @0.7.4_0
  py27-setuptools @0.7.8_0
  py27-setuptools @0.9.5_0
  sbcl @1.1.8_0
  webp @0.3.0_0
  xorg-libX11 @1.5.99.902_0+universal
  xorg-libxcb @1.9_0+python27+universal
  xorg-libXcursor @1.1.13_0
  xorg-libXext @1.3.1_0+universal
  xorg-libXi @1.6.2.901_0
  xorg-libXinerama @1.1.2_0
  xorg-libXrandr @1.4.0_0+universal
  xorg-libXt @1.1.3_0
  xrender @0.9.7_0+universal
  youtube-dl @2013.05.23_0
  youtube-dl @2013.06.21_0
  youtube-dl @2013.06.26_0
  youtube-dl @2013.06.33_0
  youtube-dl @2013.06.34.2_0
  youtube-dl @2013.07.02_0
  youtube-dl @2013.07.12_0

although I regularly call "sudo port uninstall inactive".

At the top you see that there are quite a few inactive py27-setuptools in there!

Well, so, when I try to remove all of them I end up with this:

$ sudo port uninstall inactive
--->  Unable to uninstall py27-distribute @0.6.45_0, the following ports depend on it:
--->  	py27-altgraph @0.10.2_0
--->  	py27-bdist_mpkg @0.4.4_0
--->  	py27-dateutil @1.5_1
--->  	py27-nose @1.2.1_1
--->  	py27-pyobjc @2.5.1_0
Error: org.macports.uninstall for port py27-distribute returned: Please uninstall the ports that depend on py27-distribute first.
Please see the log file for port py27-distribute for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py27-distribute_0.6.45_0/py27-distribute/main.log
Warning: Failed to execute portfile from registry for py27-distribute @0.6.45_0
--->  Unable to uninstall py27-distribute @0.6.45_0, the following ports depend on it:
--->  	py27-altgraph @0.10.2_0
--->  	py27-bdist_mpkg @0.4.4_0
--->  	py27-dateutil @1.5_1
--->  	py27-nose @1.2.1_1
--->  	py27-pyobjc @2.5.1_0
Error: port uninstall failed: Please uninstall the ports that depend on py27-distribute first.

Well, the message is clear, but I don't really feel like removing all those py27-* ports which depend on py27-distribute @0.6.45_0, since I believe they should know by themselves that there is an active py27-setuptools around which they should rather depend on. (And I don't know how many other ports would be affected on top of these.)

How should I proceed safely from here?

Change History (3)

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

comment:2 Changed 11 years ago by jmroot (Joshua Root)

Component: portsbase
Port: py27-setuptools removed

comment:3 Changed 11 years ago by jmroot (Joshua Root)

Summary: Trouble uninstalling inactive ports due to py27-setuptoolsTrouble uninstalling inactive ports due to py27-distribute dependencies
Note: See TracTickets for help on using tickets.