#38407: port -v rev-upgrade reports error for gimp.app -------------------------+-------------------- Reporter: istlota@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------- Changes (by cal@…): * status: new => closed * resolution: => worksforme * port: gimp => Comment: This is weird. Rev-upgrade gets its list of installed binaries from the registry. An entry for `/Applications/MacPorts/GIMP.app/Contents/MacOS/GIMP` can only find its way into the registry, if it was ever installed. So lets assume you had GIMP.app installed at some point and then deactivated or removed it. Since rev-upgrade will only query active binaries from the registry database, it could only have seen this binary path, if the deactivation process was not run to completion and left the database in an inconsistent state (which transactions should have prevented, though). You say `port -f clean --all all` fixed the problem, but this cannot be the command that caused the problem to no longer appear, because clean doesn't even touch the registry. Whatever it was, I have no idea how that could have happened. I'll have a look at the deactivation code, but I doubt we have any race conditions or wrong transactions in there. I guess I'll just close this as worksforme… -- Ticket URL: <https://trac.macports.org/ticket/38407#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X