OPNsense Forum
Archive => 18.7 Legacy Series => Topic started by: angel2040 on October 23, 2018, 05:19:50 pm
-
So it seems I can no longer upgrade via the gui. I always have to remote login and do it by hand. Anyone know how I can fix this recurring error?
Fetching base-18.7.4-amd64.obsolete: ... done
Fetching base-18.7.4-amd64.txz: .................... done
Fetching kernel-18.7.4-amd64.txz: ............ done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing kernel-18.7.4-amd64.txz... done
Installing base-18.7.4-amd64.txz..../usr/lib/libmagic.a: Lzma library error: Corrupted input data
tar: Error exit delayed from previous errors.
failed
-
Extract fails. I've seen this too a few times while testing 19.1-BETA internally.
The thing is that the update sets are signed and verified, which means there's no corruption happening other than maybe:
* being out of memory
* being out of disk space
* hardware dying
* overheating causing data corruption
* some other reasonable explanation we have not yet found
Cheers,
Franco
-
I'm using
Ram: 1.8 gigs / 16 gigs
Disk: 1% out of / 445 gigs
So that's not it.
Hardware is relatively new, but I'll check system log for any hardware issue.
Overheating? Would see system logs about cpu temps and such?
What pkg is that file in? Should I reinstall it and try again?
-
Thanks for the additional input. Seems to be a more weird case indeed. :/
You can re-trigger as many times as it fails from the GUI I think. Does it always fail there?
Cheers,
Franco
-
I had to powercycle it as I couldn't even log into remotely. It came up and it was working fine. It's displaying 18.7.5. I ran
pkg upgrade -f
on cmdline to be sure. No errors. But how do I know if I got the latest kernel?
root@XXX:/var/log # uname -a
FreeBSD XXX.com 11.1-RELEASE-p14 FreeBSD 11.1-RELEASE-p14 93e30e927e5(stable/18.7) amd64
-
kernel / base are not part of the packages.
# opnsense-update -k
... updates kernel if needed
# opnsense-update -b
.... updates base if needed
Requires a reboot to finish.
-
Looks ok:
root@XXX:/var/log # opnsense-update -k
Your system is up to date.
root@XXX:/var/log # opnsense-update -b
Fetching base-18.7.4-amd64.obsolete: ... done
Fetching base-18.7.4-amd64.txz: ................... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing base-18.7.4-amd64.txz... done
Installing base-18.7.4-amd64.obsolete... done
Please reboot.
-
Yes, that's what I meant. There's nothing wrong with the base set unpack except that it may fail with the lzma error for no apparent reason.