[MacPorts] #26745: dependency confusion between py26-setuptools and py26-distribute
#26745: dependency confusion between py26-setuptools and py26-distribute ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: py26-setuptools ---------------------------------+------------------------------------------ I just tried doing a {{{port uninstall inactive}}}, and when it got to py26-setuptools, it failed with: {{{ ---> Unable to uninstall py26-setuptools 0.6c11_0, the following ports depend on it: ---> py26-virtualenv ---> py26-simplejson ---> py26-jinja2 ---> py26-pygments ---> py26-pyflakes Error: port uninstall failed: Please uninstall the ports that depend on py26-setuptools first. }}} Next I ran: {{{ $ port info py26-virtualenv py26-virtualenv @1.4.5 (python, devel) Variants: universal ... Library Dependencies: python26, py26-distribute }}} And lo, py26-setuptools isn't actually listed as a dependency. I currently have the most up-to-date versions of py26-distribute and py26-setuptools. Please let me know how to get this in order. Ideally I'd only need py26-distribute, and could uninstall py26-setuptools entirely, but I'll settle for whatever keeps everything consistent (that is, not contradicting itself). -- Ticket URL: <https://trac.macports.org/ticket/26745> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26745: dependency confusion between py26-setuptools and py26-distribute ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: py26-setuptools ---------------------------------+------------------------------------------ Comment(by raimue@…): Most probably #13054. Just use force for this one, but consider switching to `portdbformat sqlite` in your macports.conf. -- Ticket URL: <https://trac.macports.org/ticket/26745#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26745: dependency confusion between py26-setuptools and py26-distribute ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: py26-setuptools ---------------------------------+------------------------------------------ Comment(by jabronson@…): Replying to [comment:1 raimue@…]:
Most probably #13054. Just use force for this one, but consider switching to `portdbformat sqlite` in your macports.conf. Before I try with -f, I'd like to see if I can get it working without it. I switched to sqlite, rebuilt the port registry, and ran port uninstall inactive again, but it looks like it cached the failed result. If so, is there a way to clear the cache and try again (without -f)?
-- Ticket URL: <https://trac.macports.org/ticket/26745#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26745: dependency confusion between py26-setuptools and py26-distribute ----------------------------------+----------------------------------------- Reporter: jabronson@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.1 Resolution: duplicate | Keywords: Port: py26-setuptools | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * component: ports => base * resolution: => duplicate Comment: There isn't a "cache" per se. If the deps were wrong in the flat registry, they're still wrong after migrating it to sqlite. They will however be correct after upgrading to a new version of a port when using sqlite. -- Ticket URL: <https://trac.macports.org/ticket/26745#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26745: dependency confusion between py26-setuptools and py26-distribute ----------------------------------+----------------------------------------- Reporter: jabronson@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.1 Resolution: duplicate | Keywords: Port: py26-setuptools | ----------------------------------+----------------------------------------- Comment(by jabronson@…): I just force uninstalled the few incorrectly-registered ports I had (py26-setuptools, texlive_base, texlive_texmf-docs) and then the "uninstall inactive" worked. Thanks for the quick help! -- Ticket URL: <https://trac.macports.org/ticket/26745#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts