OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: MartB on November 11, 2021, 07:05:56 pm

Title: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
Post by: MartB on November 11, 2021, 07:05:56 pm
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.

Code: [Select]
pkg-static: Error parsing: '/usr/local/etc/pkg/repos//OPNsense.conf': error while parsing <unknown>: line: 3, column: 55 - 'unexpected newline', character: '0x0a'
Code: [Select]
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
Code: [Select]
", but im not sure if that happened bcs i searched for updates and then switched to Development before installing 21.7.5.
Title: Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
Post by: franco on November 11, 2021, 07:49:26 pm
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
Title: Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
Post by: franco on November 11, 2021, 08:30:30 pm
PS: This only affects the development version and the issue was hotfixed already (opnsense-update 21.7.5_1).
Title: Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
Post by: chemlud on November 11, 2021, 09:31:39 pm
mildly OT, but updating to 21.7.5_1 complains

Code: [Select]
***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***
Title: Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
Post by: franco on November 12, 2021, 07:44:07 am
@chemlud: LibreSSL?
Title: Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
Post by: chemlud on November 12, 2021, 08:52:09 am
yeesssss

PS: 21.7.5._2 loaded without problems...