Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#57149 closed defect (fixed)

guide webpage needs updating:: nosync

Reported by: gaming-hacker (G Alexander) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: guide Version:
Keywords: Cc:
Port:

Description (last modified by gaming-hacker (G Alexander))

https://guide.macports.org/

it states

selfupdate --nosync

when running, results in

Warning: port selfupdate --nosync is deprecated, use --no-sync instead

then after updating to 2.53, errors with

sqlite error: attempt to write a readonly database (8) while executing query: ALTER TABLE registry.ports ADD COLUMN cxx_stdlib TEXT
    while executing
"registry::open $db_path"
    (procedure "mportinit" line 666)
    invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error: attempt to write a readonly database (8) while executing query: ALTER TABLE registry.ports ADD COLUMN cxx_stdlib TEXT

Change History (4)

comment:1 Changed 2 years ago by gaming-hacker (G Alexander)

Description: modified (diff)

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 1b5b83a7ed100c6b75297657cd48ccf68fddb939/macports-guide (master):

update --nosync option to --no-sync

Fixes: #57149

comment:3 Changed 2 years ago by mf2k (Frank Schima)

Keywords: errata removed
Type: updateenhancement
Version: 2.4.4

comment:4 Changed 2 years ago by mf2k (Frank Schima)

Type: enhancementdefect
Note: See TracTickets for help on using tickets.