#27188 closed defect (fixed)
Unable to execute port: wrong # args
Reported by: | junk@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | base | Version: | 1.9.2 |
Keywords: | Cc: | adammede@…, djnecrogami@…, kldavis4@…, skymoo (Adam Mercer), sja45uk@…, benibex@…, ryandesign (Ryan Carsten Schmidt) | |
Port: |
Description
Hello,
I just did a 'sudo port selfupdate', and now I can't install any ports. Here is an example:
$ sudo port install pwlib Error: Unable to execute port: wrong # args: should be "macports::_deptypes_for_target target" To report a bug, see <http://guide.macports.org/#project.tickets> $
The selfupdate updated my version from 1.9.1 to 1.9.2. Here is the output when I run 'sudo port -v selfupdate' now:
$ sudo port selfupdate ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.9.2 installed, MacPorts base version 1.9.2 downloaded. ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated $
When I try running 'sudo port -v upgrade outdated', I get this:
$ sudo port -v upgrade outdated Error: Unable to exec port: wrong # args: should be "macports::_deptypes_for_target target" To report a bug, see <http://guide.macports.org/#project.tickets> $
When I do it with a -d instead, I get a ton of stuff including this pertinent text:
DEBUG: Starting logging for gnome-common DEBUG: wrong # args: should be "macports::_deptypes_for_target target" while executing "macports::_deptypes_for_target $target $workername" (procedure "mportexec" line 17) invoked from within "mportexec $workername activate" Error: Unable to exec port: wrong # args: should be "macports::_deptypes_for_target target" To report a bug, see <http://guide.macports.org/#project.tickets>
It looks like $workername is being passed, and it's not expected. Is this something that changed in 1.9.2? Any idea how to fix or work around this? I'm running OS X 10.6.4.
Thanks, Stephen
Change History (17)
comment:1 Changed 14 years ago by thewolf167@…
comment:3 Changed 14 years ago by adammede@…
I need to watch the progress on this one as I am unable to install something I need in order to keep working on a particular project. This is a blocker for me.
comment:4 Changed 14 years ago by thewolf167@…
Any attempt to install an older version of Macports ends up with 1.9.2 still installed, and the complete inability to install new software.
comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | djnecrogami@… added |
---|---|
Component: | ports → base |
Has duplicate #27189.
comment:6 Changed 14 years ago by benibex@…
I am having the same exact issue. Did a selfupdate this evening and now I see this same error with v1.9.2
comment:8 Changed 14 years ago by kldavis4@…
I am seeing the same issue. I completely uninstalled Macports after trying the upgrade, and it is still doing it.
comment:12 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:13 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | benibex@… ryandesign@… added |
---|
comment:14 follow-up: 15 Changed 14 years ago by jmroot (Joshua Root)
sudo port -f selfupdate
will do it.
I'm seeing the same thing. I can't install anything.