1
General Discussion / Error accessing the package database
« on: June 14, 2021, 12:56:00 am »
Hello,
Initially I had a problem with the update
I found a similar problem described in this topic
https://forum.opnsense.org/index.php?topic=2251.0
According to frnaco advice, I did
# rm -rf /var/db/pkg /root/var/db/pkg
# rm /var/db/pkg
# mkdir -p /var/db/pkg
# opnsense-bootstrap
Now the update is detected but I cannot install it, nor can I add plugins.
I would be grateful for any advice in solving the problem
Initially I had a problem with the update
Code: [Select]
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.
Child process pid=8814 terminated abnormally: Abort trap
Checking integrity... done (0 conflicting)
Nothing to do.
I found a similar problem described in this topic
https://forum.opnsense.org/index.php?topic=2251.0
According to frnaco advice, I did
# rm -rf /var/db/pkg /root/var/db/pkg
# rm /var/db/pkg
# mkdir -p /var/db/pkg
# opnsense-bootstrap
Now the update is detected but I cannot install it, nor can I add plugins.
Code: [Select]
***GOT REQUEST TO UPGRADE: maj***
Fetching packages-21.1-OpenSSL-amd64.tar: .................... done
Fetching base-21.1-amd64.txz: ......... done
Fetching kernel-21.1-amd64.txz: ..... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Extracting packages-21.1-OpenSSL-amd64.tar...pkg-static: Error accessing the package database
***DONE***
I would be grateful for any advice in solving the problem