Bug 251568 - ports-mgmt/pkg: pkg install fails -> error in pkgdb.c : line 1293
Summary: ports-mgmt/pkg: pkg install fails -> error in pkgdb.c : line 1293
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-STABLE
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-03 21:44 UTC by cuqerr
Modified: 2021-08-18 09:11 UTC (History)
1 user (show)

See Also:
linimon: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cuqerr 2020-12-03 21:44:21 UTC
[66/147] Extracting font-arabic-misc-1.0.3_4: 100%                                pkg: sqlite error while executing COMMIT TRANSACTION  in file pkgdb.c:1293: database is locked                                                                      [67/147] Installing font-winitzki-cyrillic-1.0.3_4...                             pkg: sqlite error while executing BEGIN IMMEDIATE TRANSACTION  in file pkgdb.c:1293: cannot start a transaction within a transaction


This is the error I got when I did "pkg install xorg" on my Raspberry Pi 0
I ran the same command again and it worked.

uname -a: FreeBSD Pi_Zero_BSD 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 RPI-B  arm
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2021-08-18 09:11:20 UTC
"database is locked", I don't think this a pkg issue, but something else is locking the database.