This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Permission Issue (/var/db/pkg permissions (0777) too lax)

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
Skorm92
NewUser
NewUser
Posts: 2
Joined: 07 May 2014 02:54
Status: Offline

Permission Issue (/var/db/pkg permissions (0777) too lax)

Post by Skorm92 »

So I'm trying to install apache24 in a fresh jail using TheBrig,
I installed the 9,2 release tarball.


After doing portsnap fetch extract update,
I do:

Code: Select all

cd /usr/ports/www/apache24
make install clean
It runs for quite a while but stops at the following:

Code: Select all

====> Compressing man pages (compress-man)
===>  Installing for pkg-1.3.8_3
===>  Checking if pkg already installed
pkg-static: /var/db/pkg permissions (0777) too lax
*** [check-already-installed] Error code 74

Stop in /usr/ports/ports-mgmt/pkg.
*** [/usr/ports/ports-mgmt/pkg/work/.install_done.pkg._usr_local] Error code 1

Stop in /usr/ports/ports-mgmt/pkg.
*** [install] Error code 1

Stop in /usr/ports/ports-mgmt/pkg.
*** [pkg-depends] Error code 1

Stop in /usr/ports/ports-mgmt/dialog4ports.
*** [install] Error code 1

Stop in /usr/ports/ports-mgmt/dialog4ports.
===> Options unchanged
===>   apache24-2.4.10_2 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>  Installing for pkg-1.3.8_3
===>  Checking if pkg already installed
pkg-static: /var/db/pkg permissions (0777) too lax
*** [check-already-installed] Error code 74

Stop in /usr/ports/ports-mgmt/pkg.
*** [/usr/ports/ports-mgmt/pkg/work/.install_done.pkg._usr_local] Error code 1

Stop in /usr/ports/ports-mgmt/pkg.
*** [pkg-depends] Error code 1

Stop in /usr/ports/www/apache24.
*** [install] Error code 1

Stop in /usr/ports/www/apache24.
Tried various things to fix it, cecreated jail, re-installed TheBrig(for no obvious reasons) but I'm really stuck here.

Could someone help me on this? or point me in the right direction?

Thank you in advance!

Post Reply

Return to “Jails”