[MacPorts] #30611: inconsistent flat receipt cannot be converted to sqlite
MacPorts
noreply at macports.org
Sat Sep 17 03:07:12 PDT 2011
#30611: inconsistent flat receipt cannot be converted to sqlite
-------------------------------------+--------------------------------------
Reporter: n.gilbert@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: base | Version: 1.9.2
Resolution: wontfix | Keywords:
Port: |
-------------------------------------+--------------------------------------
Comment(by macosx12345@…):
Maybe this can be helpful to you: you can modify the file
/opt/local/share/macports/Tcl/registry2.0/registry.tcl so that it displays
each port it is converting to the new registry format. Then you will know
the name of the port it was processing when it stops. Maybe you can then
remove the {{{receipt.bz2}}} file of the port (in
{{{/opt/local/var/macports/receipts/}}}''portname''{{{/}}}''version''{{{/}}}).
To do so, look for the following lines in
/opt/local/share/macports/Tcl/registry2.0/registry.tcl and modify them
(using an editor with the administrator's rights):
{{{
proc convert_to_sqlite {} {
set ilist [receipt_flat::installed "" ""]
foreach installed $ilist {
set iname [lindex $installed 0]
}}}
Then add the following line just after the line with {{{foreach...}}}:
{{{
ui_warn "Converting $installed"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30611#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list