pkgdb errors after crash

spuelmaschien at email.de spuelmaschien at email.de
Sun Sep 9 12:12:19 PDT 2018


Hallo,

unfortunateley the system crashed while installing a list of packages.
Now it refuses to install any packages:
Is it possible to resolve this ?

Thanks,
   Sascha


# pkg install samba46
Updating Marburg repository catalogue...
Marburg repository is up to date.
Updating RWTH_AACHEN repository catalogue...
RWTH_AACHEN repository is up to date.
All repositories are up to date.
pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0  FROM packages AS p    INNER JOIN deps AS d ON (p.id = d.package_id)  WHERE d.name = ?1 in file pkgdb_iterator.c:396: database disk image is malformed
pkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0  FROM packages AS p    INNER JOIN deps AS d ON (p.id = d.package_id)  WHERE d.name = ?1 in file pkgdb_iterator.c:396: database disk image is malformed
pkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0  FROM packages AS p    INNER JOIN deps AS d ON (p.id = d.package_id)  WHERE d.name = ?1 in file pkgdb_iterator.c:396: database disk image is malformed
pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed

...

        libarchive: 3.3.2,1 [RWTH_AACHEN]
        lzo2: 2.10_1 [RWTH_AACHEN]

Installed packages to be UPGRADED:
        libressl: 2.7.3 -> 2.7.4 [RWTH_AACHEN]

Installed packages to be REINSTALLED:
        gettext-runtime-0.19.8.1_1 [RWTH_AACHEN]

Number of packages to be installed: 38
Number of packages to be upgraded: 1
Number of packages to be reinstalled: 1

The process will require 514 MiB more space.

Proceed with this action? [y/N]: y
[1/40] Upgrading libressl from 2.7.3 to 2.7.4...
pkg: sqlite error while executing INSERT OR REPLACE INTO packages( origin, name, version, comment, desc, message, arch, maintainer, www, prefix, flatsize, automatic, licenselogic, mtree_id, time, manifestdigest, dep_formula, vital)VALUES( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12, ?13, (SELECT id FROM mtree WHERE content = ?14), NOW(), ?15, ?16, ?17 ) in file pkgdb.c:1723: database disk image is malformed
# pkg info samba46
pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed




More information about the Users mailing list