Opened 9 years ago
Last modified 4 years ago
#47937 closed defect
grads: /opt/local/bin/wgrib already exists and does not belong to a registered port — at Version 1
Reported by: | kimi4896171@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | grads |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
epri12i1:~ epri$ grads -bash: grads: command not found epri12i1:~ epri$ sudo port install grads ---> Computing dependencies for grads ---> Activating grads @2.0.2_7 Error: org.macports.activate for port grads returned: Image error: /opt/local/bin/wgrib already exists and does not belong to a registered port. Unable to activate port grads. Use 'port -f activate grads' to force the activation. Please see the log file for port grads for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_grads/grads/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port grads failed epri12i1:~ epri$ sudo port -f activate grads ---> The following versions of grads are currently installed: ---> grads @2.0.2_6 ---> grads @2.0.2_7 Error: port activate failed: Registry error: Please specify the full version as recorded in the port registry. epri12i1:~ epri$
there's no grads program so i installed it and it failed :( i tried logout and rebooting whole program but it failed again :(( self upgraded of course but it failed again :((( what should i do? is there any problem that i miss?
i realllllllllyyyyyyyy want your help!
Change History (1)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | grads added |
Summary: | Installing grads using sudo port occurs error → grads: /opt/local/bin/wgrib already exists and does not belong to a registered port |
Note: See
TracTickets for help on using
tickets.
In order to force the activation, you would need to specify which of the two versions you have installed you want to activate, for example:
But the real question is why does /opt/local/bin/wgrib already exist and not belong to a registered port? That should not be. If you cannot explain why these files already exist, who knows how many other files are in your MacPorts prefix that should not be there. Because of this, you may run into this or other problems again later with other ports. It may be safer to uninstall all ports, and uninstall MacPorts and delete all of /opt/local, after saving any important data therein, and then reinstalling MacPorts and the ports you want. Then you can be sure the only files that are there are the ones MacPorts put there.