[MacPorts] #47937: Installing grads using sudo port occurs error
#47937: Installing grads using sudo port occurs error ---------------------------+-------------------------------- Reporter: kimi4896171@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ---------------------------+-------------------------------- ------------------------------------------------------------------------------------ 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! -- Ticket URL: <https://trac.macports.org/ticket/47937> MacPorts <https://www.macports.org/> Ports system for OS X
#47937: grads: /opt/local/bin/wgrib already exists and does not belong to a registered port ----------------------------+-------------------------------- Reporter: kimi4896171@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: grads | ----------------------------+-------------------------------- Changes (by ryandesign@…): * port: => grads Old description:
------------------------------------------------------------------------------------ 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!
New description: {{{ 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! -- Comment: 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: {{{ sudo port -f activate grads @2.0.2_7 }}} 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. -- Ticket URL: <https://trac.macports.org/ticket/47937#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47937: grads: /opt/local/bin/wgrib already exists and does not belong to a registered port ----------------------------+-------------------------------- Reporter: kimi4896171@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: grads | ----------------------------+-------------------------------- Comment (by kimi4896171@…): I tried activating grads @2.0.2_7 and it works. But it occurred error like Error opening stroke character data set Data set names = /usr/local/lib/grads/scripts/font0.dat ; font0.dat}}} So i uninstalled all ports, reinstalled Macports and done self updating but it still occurs Error opening stroke character data set Data set names = /usr/local/lib/grads/scripts/font0.dat ; font0.dat}}} I think installing Macport hasn't any problem but installing grads has problem cause it showed $ sudo port install grads ---> Computing dependencies for grads ---> Cleaning grads ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. What should i do? i googled it but can't find answer what i want.. -- Ticket URL: <https://trac.macports.org/ticket/47937#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47937: grads: /opt/local/bin/wgrib already exists and does not belong to a registered port ----------------------------+----------------------- Reporter: kimi4896171@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: grads | ----------------------------+----------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => takeshi@… * cc: ryandesign@… (added) Comment: Replying to [comment:2 kimi4896171@…]:
{{{ Error opening stroke character data set Data set names = /usr/local/lib/grads/scripts/font0.dat ; font0.dat }}}
I'm not sure why grads is looking for anything in /usr/local, since that's not where MacPorts installs files. Takeshi? -- Ticket URL: <https://trac.macports.org/ticket/47937#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47937: grads: /opt/local/bin/wgrib already exists and does not belong to a registered port ----------------------------+----------------------- Reporter: kimi4896171@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: grads | ----------------------------+----------------------- Comment (by takeshi@…): Check the environment variables. You might have installed a GrADS binary installed and set the environment variables for it. See the [http://www.iges.org/grads/gadoc/gradcomdgrads.html documentation]. -- Ticket URL: <https://trac.macports.org/ticket/47937#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts