Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
« previous
next »
Print
Pages: [
1
]
Author
Topic: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data (Read 7038 times)
angel2040
Newbie
Posts: 22
Karma: 0
8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
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
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
Reply #1 on:
October 23, 2018, 05:51:19 pm »
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
Logged
angel2040
Newbie
Posts: 22
Karma: 0
Re: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
Reply #2 on:
October 23, 2018, 06:32:52 pm »
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?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
Reply #3 on:
October 23, 2018, 07:10:25 pm »
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
Logged
angel2040
Newbie
Posts: 22
Karma: 0
Re: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
Reply #4 on:
October 23, 2018, 08:45:35 pm »
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
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
Reply #5 on:
October 23, 2018, 08:53:00 pm »
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.
Logged
angel2040
Newbie
Posts: 22
Karma: 0
Re: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
Reply #6 on:
October 23, 2018, 10:49:13 pm »
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.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data
«
Reply #7 on:
October 24, 2018, 07:07:44 am »
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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
8.7.2 -> 8.7.4: /usr/lib/libmagic.a: Lzma library error: Corrupted input data