Could not find the repository on the selected mirror

Started by mihak, February 03, 2021, 06:04:51 PM

Previous topic - Next topic
Quote from: LuLe on July 30, 2021, 08:32:08 PM
Hi - could you tell me the exact command how to delete that config file? I have exact the same error message on two of our client Firewalls. Thank you.

I ran in to that problem exactly now when I wanted to update from 21.1
What I did was:

edit OPNsense.conf
nano /usr/local/etc/pkg/repos/OPNsense.conf

Change one line
url: "pkg+https://pkg.opnsense.org/${ABI}/21.1/latest",
to
url: "pkg+https://pkg.opnsense.org/${ABI}/21.7/latest",

Then I did
pkg update
pkg upgrade
reboot


After that I went in to the GUI and updated, there were a few packages that wanted to be reinstalled and few updrades.
Now it seems updated.

credits goes to a older thread here:
https://forum.opnsense.org/index.php?topic=18361.0

Hello I was following along with a tutorial on VB setting up OPNsense. overall Im a novice when it comes to this stuff. But I got my OPNsense set up and signed in through my windows VM and when I go to update I get a notice of "Could not find the repository on the selected mirror"

I changed the mirror in system > firmware > settings > mirror but none of them change my result

I ticked the box for "prefer to use IPv4 in system > settings > general

So Im a little at a loos on what I can do from here with my novice knowledge.

When I did an audit I got "no route to host " when I looked that up someone mentioned to check the wan and I saw I needed to  "apply changes" when I did that it updated no problems.

Go to system firmware settings and change the mirror, that worked for me.