Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Solved - Trying to upgrade - Error Mirror read failed
« previous
next »
Print
Pages: [
1
]
Author
Topic: Solved - Trying to upgrade - Error Mirror read failed (Read 1019 times)
jackiebrown
Newbie
Posts: 6
Karma: 0
Solved - Trying to upgrade - Error Mirror read failed
«
on:
February 07, 2024, 02:44:21 pm »
I've been trying to upgrade for a few days now. For a while, i was getting "release opnsens not found on mirror" or something very similair.
This would go away if I changed to development but the upgrade would fail with pkg errors.
Now, no matter what mirror or verison I choose, i get
"Mirror Read Failed."
I have tried updating on the gui and shell. Any ideas where to look to fix this?
I have a lot of plug ins that say missing as well which may be the cause of the orginal pkg errors.
«
Last Edit: February 09, 2024, 03:58:20 pm by jackiebrown
»
Logged
jackiebrown
Newbie
Posts: 6
Karma: 0
Re: Trying to upgrade - Error Mirror read failed
«
Reply #1 on:
February 07, 2024, 03:43:33 pm »
I rebooted annd am back to the original error
Currently running OPNsense 23.7.12_5 at Wed Feb 7 08:42:16 CST 2024
Fetching changelog information, please wait... Mirror read failed.
Missing /usr/local/etc/pkg/repos/OPNsense.conf.sample
fetch: /sets/changelog.txz: No such file or directory
self: No packages available to install matching 'opnsense'
Logged
jackiebrown
Newbie
Posts: 6
Karma: 0
Re: Trying to upgrade - Error Mirror read failed
«
Reply #2 on:
February 07, 2024, 03:55:35 pm »
I tried coping the OPNsense.conf to OPNsense.conf.sample
***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 23.7.12_5 at Wed Feb 7 08:52:38 CST 2024
Fetching changelog information, please wait... Mirror read failed.
Mirror read failed.
fetch: /sets/changelog.txz: No such file or directory
self: No packages available to install matching 'opnsense'
Logged
jackiebrown
Newbie
Posts: 6
Karma: 0
Re: Trying to upgrade - Error Mirror read failed
«
Reply #3 on:
February 09, 2024, 03:01:20 pm »
The mirror is blank in the status page under firmware no mater what i change it to.
I am assuming the repo it's using is at /usr/local/etc/pkg/repos/OPNsense.conf
That's from googling. I am used to debians /etc/apt.
In the file, the url shows url://file///var/cache/opnsense-update/.sets.pending/packages-24.1
Changing the mirror using the web gui doesn't seem to change anything here.
Logged
jackiebrown
Newbie
Posts: 6
Karma: 0
Re: Trying to upgrade - Error Mirror read failed
«
Reply #4 on:
February 09, 2024, 03:45:58 pm »
I also tried opnsense-bootstrap
It downlaods but then tells me "pkg already bootstrapped at /usr/local/sbin/pkg" and then does nothing
Logged
jackiebrown
Newbie
Posts: 6
Karma: 0
Re: Trying to upgrade - Error Mirror read failed
«
Reply #5 on:
February 09, 2024, 03:58:00 pm »
Googling that error helped
This fixed it for me
pkg-static install pkg
fetch
https://raw.githubusercontent.com/opnsense/update/master/src/bootstrap/opnsense-bootstrap.sh.in
sh ./opnsense-bootstrap.sh.in -r 24.1
Not sure if I needed the one in git but wanted to make sure I had the newest.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Solved - Trying to upgrade - Error Mirror read failed