[MacPorts] #37893: No port py24-matplotlib found in the index; can't rebuild

MacPorts noreply at macports.org
Fri Feb 1 16:19:41 PST 2013


#37893: No port py24-matplotlib found in the index; can't rebuild
------------------------+--------------------------------
  Reporter:  lkelley@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.2
Resolution:  invalid    |   Keywords:
      Port:             |
------------------------+--------------------------------

Comment (by sean@…):

 Replying to [comment:4 lkelley@…]:
 > Replying to [comment:3 sean@…]:
 > > Replying to [comment:2 lkelley@…]:
 > > > Replying to [comment:1 macsforever2000@…]:
 > > > > There is no py24-matplotlib. But since you are using python 2.7,
 you should be using py27-matplotlib anyway.
 > > >
 > > > That IS what I'm using... but, for example:
 > > >
 > > > {{{
 > > > sudo port install py27-matplotlib
 > > > dyld: DYLD_ environment variables being ignored because main
 executable (/usr/bin/sudo) is setuid or setgid
 > > > --->  Computing dependencies for py27-matplotlib
 > > > --->  Cleaning py27-matplotlib
 > > > --->  Scanning binaries for linking errors: 100.0%
 > > > --->  Found 2 broken file(s), matching files to ports
 > > > Warning: No port py24-matplotlib found in the index; can't rebuild
 > > > --->  Broken files found, but all associated ports are not in the
 index and so cannot be rebuilt.
 > > > }}}
 > >
 > > Yeah, I remember running into some weird problems like this with rev-
 update. Try to uninstall py24-matplotlib,
 > >
 > > {{{
 > > sudo port uninstall py24-matplotlib
 > > }}}
 > >
 > > You might need to use --follow-dependents (and keep track of what that
 uninstalled, in case you need it). If you're using python27, then you
 might want to uninstall all python24 ports (I'm assuming they were
 installed by accident? Most likely a typo with some port without specify
 '27', e.g. py-someport?)
 >
 > I think I've definitely used python2.4 specifically in the past -- so I
 think I installed certain things on purpose (at least at the time).
 Probably don't need them anymore.  So, I tried just to uninstall
 py24-matplotlib, and it didn't work.  If I'm going to uninstall py24-*
 (which is probably a good idea), is there a good way to store what things
 I used to have, just incase?
 >
 >
 > {{{
 > sudo port uninstall py24-matplotlib
 > dyld: DYLD_ environment variables being ignored because main executable
 (/usr/bin/sudo) is setuid or setgid
 > Password:
 > --->  Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the
 following ports depend on it:
 > --->          py-matplotlib @1.1.1_2
 > Error: org.macports.uninstall for port py24-matplotlib returned: Please
 uninstall the ports that depend on py24-matplotlib first.
 > Please see the log file for port py24-matplotlib for details:
 >
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py24-matplotlib_1.1.1_2+tkinter/py24-matplotlib/main.log
 > Warning: Failed to execute portfile from registry for py24-matplotlib
 @1.1.1_2+tkinter
 > --->  Unable to uninstall py24-matplotlib @1.1.1_2+tkinter, the
 following ports depend on it:
 > --->          py-matplotlib @1.1.1_2
 > Error: port uninstall failed: Please uninstall the ports that depend on
 py24-matplotlib first.
 > }}}
 >
 >
 > >
 > > {{{
 > > port installed py24-*
 > > sudo port uninstall py24-*
 > > }}}

 Run this command to see all your py24-* ports,

 {{{
 port installed py24-*
 }}}

 and save that list somewhere. Then, to uninstall them all,

 {{{
 sudo port uninstall --follow-dependents py24-*
 }}}

 or, if you just want to uninstall py24-matplotlib for now,

 {{{
 sudo port uninstall --follow-dependents py24-matplotlib
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37893#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list