OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Patrick M. Hausen on January 19, 2021, 07:01:46 PM

Title: Curious error message at first update after fresh install
Post by: Patrick M. Hausen on January 19, 2021, 07:01:46 PM
Hi all,

does anyone know what to make of this?
***GOT REQUEST TO UPGRADE: pkg***
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
pkg: 1.12.0_1 -> 1.15.10_2

Number of packages to be upgraded: 1

4 MiB to be downloaded.
[1/1] Fetching pkg-1.15.10_2.txz: .......... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.12.0_1 to 1.15.10_2...
[1/1] Extracting pkg-1.15.10_2: .......... done
pkg: Failed to execute lua script: [string "args = {}..."]:11: attempt to call a nil value (field 'stat')
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***


Specifically the "pkg: Failed to execute lua script:" part.
I've been doing a couple of fresh installations in the last couple of days and that one struck me.

Thanks,
Patrick