OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
« previous next »
  • Print
Pages: [1]

Author Topic: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf  (Read 11455 times)

MartB

  • Newbie
  • *
  • Posts: 48
  • Karma: 6
    • View Profile
Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
« 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.
« Last Edit: November 11, 2021, 07:12:45 pm by MartB »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
« Reply #1 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
« Reply #2 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).
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
« Reply #3 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***
Logged
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....

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
« Reply #4 on: November 12, 2021, 07:44:07 am »
@chemlud: LibreSSL?
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
« Reply #5 on: November 12, 2021, 08:52:09 am »
yeesssss

PS: 21.7.5._2 loaded without problems...
« Last Edit: November 12, 2021, 08:58:40 am by chemlud »
Logged
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....

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Possible 21.7.5 to 22.1 issue, error in /usr/local/etc/pkg/repos//OPNsense.conf
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2