Opened 12 years ago
Closed 11 years ago
#35289 closed defect (worksforme)
expat: sqlite error: attempt to write a readonly database (8)
Reported by: | avi.meth@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | ||
Port: | expat |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I have snow leopard & xcode 3.2.6. When I try to run port install git-flow, I get the following error:
Error: org.macports.install for port expat returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work/destroot Error: Failed to install expat Error: The following dependencies were not installed: getopt gettext expat libiconv ncurses git-core curl curl-ca-bundle libidn openssl zlib p5.12-error perl5.12 gdbm p5.12-term-readkey pcre bzip2 libedit python27 db46 python_select sqlite3 rsync popt To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port git-flow failed
Any ideas?
Change History (5)
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Port: | expat added |
Resolution: | → duplicate |
Status: | new → closed |
Summary: | error installing git-flow → expat: no destroot found |
comment:2 Changed 12 years ago by avi.meth@…
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
Replying to ryandesign@…:
This is #29223. "sudo port clean expat" and try again. Cleaning and trying again is the first thing you should try anytime any port fails to install.
now I'm getting the following error:
---> Fetching archive for expat ---> Attempting to fetch expat-2.1.0_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/expat ---> Attempting to fetch expat-2.1.0_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/expat ---> Installing expat @2.1.0_0 Error: org.macports.install for port expat returned: sqlite error: attempt to write a readonly database (8) Error: Failed to install expat
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Don't forget to use WikiFormatting when writing in Trac.
I wonder why the SQLite database is read-only. It should be writeable, assuming you used "sudo" when installing. Attach the main.log if that doesn't help you resolve the problem.
comment:4 Changed 12 years ago by jmroot (Joshua Root)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | reopened → new |
Summary: | expat: no destroot found → expat: sqlite error: attempt to write a readonly database (8) |
comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing due to lack of response.
Note: See
TracTickets for help on using
tickets.
This is #29223. "sudo port clean expat" and try again. Cleaning and trying again is the first thing you should try anytime any port fails to install.