[MacPorts] #8763: 'port uninstall' does not remove entry in
dependency list.
MacPorts
trac at macosforge.org
Mon May 5 23:02:05 PDT 2008
#8763: 'port uninstall' does not remove entry in dependency list.
------------------------------------+---------------------------------------
Reporter: agentmonkey at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts base bugs
Component: base | Version:
Resolution: | Keywords:
------------------------------------+---------------------------------------
Changes (by jmr at macports.org):
* cc: agentmonkey at gmail.com (removed)
* cc: jmr at macports.org (added)
Comment:
The bit of code that is causing this problem is
[http://trac.macosforge.org/projects/macports/browser/trunk/base/src/registry1.0/portuninstall.tcl#L144
here]. The issue is that at that point you don't know which of the
multiple versions of the port actually needed a given dependency (since
dependencies can change between versions), and hence you don't know
whether you can remove the dep map entry.
It would be possible to just trim the supernumerary entries from the dep
map, but that would still leave you with spurious entries in cases where
dependencies have been dropped from the new port version.
Maybe upgrade should clear the dep map entries for the old version before
installing the new version?
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/8763#comment:13>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list