Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Cannot upgrade pkg from OPNsense 20.7.4-amd64
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cannot upgrade pkg from OPNsense 20.7.4-amd64 (Read 1361 times)
movielover76
Newbie
Posts: 6
Karma: 0
Cannot upgrade pkg from OPNsense 20.7.4-amd64
«
on:
November 28, 2020, 01:56:19 am »
I've been having a problem with updating.
At first it said there was a mandatory update to the pkg app, but it never would install it you say it was but it would never complete.
I don't know if it's related but the machine was acting weirdly, like I setup snmp and tested it fine only to find it disabled later.
So I factory reset the router and now when I try to update I just get
Timeout while connecting to the selected mirror.
I've tried the NY and DC mirrors, same result.
Any ideas on what I should do to fix this, or should I just wipe the drive and reinstall OPNSense?
Thanks,
John
Logged
movielover76
Newbie
Posts: 6
Karma: 0
Re: Cannot upgrade pkg from OPNsense 20.7.4-amd64
«
Reply #1 on:
November 28, 2020, 05:01:32 am »
So I decided to do a fresh install of 20.7, and I've done nothing but run the install script and change the root password.
I login to the WebUI to do all the upgrades needed and this is what I get, same issue still, just a different version of the output of the upgrade of the pkg package failing
***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_1
Number of packages to be upgraded: 1
4 MiB to be downloaded.
[1/1] Fetching pkg-1.15.10_1.txz: .......... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.12.0_1 to 1.15.10_1...
[1/1] Extracting pkg-1.15.10_1: .......... 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***
Someone please help.
Thanks,
Logged
movielover76
Newbie
Posts: 6
Karma: 0
Re: Cannot upgrade pkg from OPNsense 20.7.4-amd64
«
Reply #2 on:
November 28, 2020, 05:13:36 am »
I finnally got it fixed on my fresh install
I had to login via ssh and run pkg upgrade.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Cannot upgrade pkg from OPNsense 20.7.4-amd64