Errors trying to install or uninstall packages
built on Wed Dec 12 07:40:18 EST 2018
The system is on the latest version.
Version information updated at Mon Feb 25 10:25:31 EST 2019
Whenever I try to install any Package I get this dialogue:
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
pfSense-pkg-iperf: 184.108.40.206_3 [pfSense]
iperf: 2.0.12 [pfSense]
Number of packages to be installed: 2
[1/2] Installing iperf-2.0.12...
pkg-static: 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
When I try to uninstall a package it just sits at:
Please wait while the update system initializes
It looks like there is a error in the package manager database is there a way to rebuild it?
Grimson Banned last edited by
@grimson Thank you for pointing that out for me, I swear I googled the issue for a good hour or two to no avail.
I get an error whenever I run the command /usr/sbin/pkg-static update -f
/usr/sbin/pkg-static command not found
.csrc .k5login .profile .tcshrc var
.hushlogin .login .shrc pkg-static
looks like im missing /usr/ all together.
Gertjan last edited by Gertjan