opnsense / update

OPNsense update tools
https://opnsense.org/
BSD 2-Clause "Simplified" License
124 stars 74 forks source link

update: pkg+ remnants prevent changing the mirror location #87

Closed computeralex92 closed 10 months ago

computeralex92 commented 10 months ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

The overview page of "Firmware" is not showing correctly the used mirror:

SCR-20231025-mmxu

The mirror is set correctly; a restart or change in the settings do not reflect on the overview page: SCR-20231025-mnex

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'System/Firmware'
  2. Click on 'Settings'
  3. Change to a different mirror
  4. Click on Save
  5. Click on Status
  6. Check for updates

Expected behavior

The used mirror is shown in the status page.

Describe alternatives you considered

I tried to switch to a different mirror and restarted the opnsense, but this status page is still showing the default mirror.

Screenshots

See above

Relevant log files

Additional context

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 23.7.7-amd64 FreeBSD 13.2-RELEASE-p3 OpenSSL 1.1.1w 11 Sep 2023 Intel(R) Core(TM) i3-5005U

fichtner commented 10 months ago

Hi Alex,

It reads the effective mirror from the repository file using:

# opnsense-update -M

Cheers, Franco

Evgeniy-Sinyak commented 10 months ago

The same issue after updating on 23.7.7.

opnsense-update -M
https://pkg.opnsense.org/FreeBSD:13:amd64/23.7

Which is incorrect since I set it to http://mirror.sfo12.us.leaseweb.net/opnsense via Web-UI.

fichtner commented 10 months ago

Yeah I think we already established it's incorrect.

fichtner commented 10 months ago

Hotfixed this now. Thanks for the report.