Opened 14 years ago
Closed 14 years ago
#25800 closed defect (worksforme)
cannot deactivate any port
Reported by: | thabangh@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: |
Description (last modified by jmroot (Joshua Root))
I am running MacPorts under Snow Leopard, and something seems to be messed up in such a way that various ports cannot be deactivated. Here is an example:
bash-3.2$ sudo port deactivate freetype @2.3.12_0+macosx ---> Deactivating freetype @2.3.12_0+macosx
This command hangs forever. Nothing appears in the log file. The only way to stop it is with a "sudo kill <pid>" command. Is there any way to get more verbose output from the port command, so that I can find out what's going wrong? Can I deactivate the port manually?
The same thing happens with other "deactivate" commands. I think the problem might have arisen because I issued the command "sudo port upgrade outdated" and then lost internet connectivity while the command was still executing.
Attachments (1)
Change History (11)
comment:1 Changed 14 years ago by thabangh@…
Changed 14 years ago by thabangh@…
comment:2 follow-up: 4 Changed 14 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|---|
Description: | modified (diff) |
Please remember WikiFormatting for your preformatted text. The gconf build failure seems unrelated and should go in a separate ticket. Please attach debug output, i.e. the result of sudo port -d deactivate freetype
.
comment:3 follow-up: 5 Changed 14 years ago by thabangh@…
As requested, I re-ran the command with the "-d" option, but got no output either on the command line or in the log file.
bash-3.2$ sudo port -d deactivate freetype ---> Deactivating freetype
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to thabangh@…:
As requested, I re-ran the command with the "-d" option, but got no output either on the command line or in the log file.
Really? In debug mode, there should have been about a dozen additional lines before "---> Deactivating freetype" was printed, and likely more after. Try again? Note the "-d" has no effect unless it goes immediately after the word "port", before the word "deactivate".
comment:6 follow-up: 7 Changed 14 years ago by thabangh@…
Honest! I cut and pasted the command line and the output in my previous entry. I just tried it again. I don't get anything different when I do "sudo port deactivate freetype" versus "sudo port -d deactivate freetype".
Is there anything else I should try?
comment:7 Changed 14 years ago by mf2k (Frank Schima)
Replying to thabangh@…:
Is there anything else I should try?
Just curious, what is the output of the following?
port version
comment:8 Changed 14 years ago by jmroot (Joshua Root)
Do you perhaps have another port process running? Check with
ps -A | grep tclsh
comment:9 Changed 14 years ago by thabangh@…
The output of "port version" is "Version: 1.9.1."
The output of "ps -A | grep tclsh" is
27349 ?? 0:26.15 /usr/bin/tclsh /opt/local/bin/port upgrade gnucash 50814 ?? 0:15.09 /usr/bin/tclsh /opt/local/bin/port upgrade outdated 54345 ?? 0:07.12 /usr/bin/tclsh /opt/local/bin/port upgrade outdated 54663 ?? 0:07.21 /usr/bin/tclsh /opt/local/bin/port upgrade outdated 57307 ttys003 0:00.00 grep tclsh
So this seems like a problem, eh?
I killed all those processes, and now I can successfully deactivate freetype.
Thanks.
comment:10 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Here is some more insight, perhaps, into this problem. The following command generates an explicit error and the attached log file.