[MacPorts] #62951: port - unable to recover

MacPorts noreply at macports.org
Fri May 21 21:57:42 UTC 2021


#62951: port - unable to recover
------------------------+--------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  base?
------------------------+--------------------
 Intel CPU, macOS Big Sur 11.3.1, Xcode-12.5, Macports-2.7.0.

 Got a problem during update (either in {{{sudo port self update}}} or in
 {{{sudo port upgrade outdated}}}). Not sure how (pilot error very likely),
 but some Macports own files got corrupted or deleted.

 I tried to re-install {{{MacPorts-2.7.0-11-BigSur.pkg}}} without wiping
 {{{/opt/local}}} completely. Installation hung up.

 I deleted {{{/opt/local/var/macports}}}, and then successfully re-
 installed Macports, but (maybe predictably) it could not detect any of the
 installed ports.

 OK, knowing what ports I had, I started re-installing them manually, with
 {{{sudo port -f install <whatever>}}}, {{{-f}}} to get through the "files
 already present" error.

 On {{{qemu}}} the process stopped. I seem unable to install this port no
 matter what.

 Is there a way to rediscover installed ports? Any other recommendation for
 recovery, short of {{{rm -rf /opt/local}}} and starting truly from
 scratch?

-- 
Ticket URL: <https://trac.macports.org/ticket/62951>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list