Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf

Started by MartB, November 11, 2021, 07:05:56 PM

Previous topic - Next topic
Edit: Beware, this happens when trying to switch to the development version aka 22.1, it alters the url incorrectly.

Hey there, not sure how and why this happened but i just wanted to report it, in case it happens to someone else.

pkg-static: Error parsing: '/usr/local/etc/pkg/repos//OPNsense.conf': error while parsing <unknown>: line: 3, column: 55 - 'unexpected newline', character: '0x0a'


OPNsense: {
  fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense",
  url: "pkg+https://pkg.opnsense.org/${ABI}/21.7/latest
  signature_type: "fingerprints",
  mirror_type: "srv",
  priority: 11,
  enabled: yes
}


Its obviously missing an ", but im not sure if that happened bcs i searched for updates and then switched to Development before installing 21.7.5.

Thanks, this needs https://github.com/opnsense/update/commit/e1f26312

# opnsense-patch -c update e1f26312
# configctl firmware configure
# opnsense-update -O

Should be correct then?


Thanks,
Franco

PS: This only affects the development version and the issue was hotfixed already (opnsense-update 21.7.5_1).

mildly OT, but updating to 21.7.5_1 complains

***GOT REQUEST TO UPDATE***
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (2 candidates): .. done
Processing candidates (2 candidates): .. done
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
opnsense-update: 21.7.5 -> 21.7.5_1

Number of packages to be upgraded: 1

32 KiB to be downloaded.
[1/1] Fetching opnsense-update-21.7.5_1.txz: ..... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading opnsense-update from 21.7.5 to 21.7.5_1...
[1/1] Extracting opnsense-update-21.7.5_1: .......... done
Checking integrity... done (0 conflicting)
Nothing to do.
Checking all packages: .......... done
opnsense-update is missing a required shared library: libcrypto.so.47
opnsense-update is missing a required shared library: libssl.so.50
The following package files will be deleted:
/var/cache/pkg/opnsense-update-21.7.5_1~557bef613f.txz
/var/cache/pkg/opnsense-update-21.7.5_1.txz
The cleanup will free 32 KiB
Deleting files: .. done
All done
ld-elf.so.1: Shared object "libssl.so.50" not found, required by "opnsense-verify"
Starting web GUI...done.
Generating RRD graphs...done.
***DONE***
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....


yeesssss

PS: 21.7.5._2 loaded without problems...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....