Snaak 0 Posted November 6, 2020 Share Posted November 6, 2020 (edited) I've been trying to update Emby on my Raspberry Pi, I kept getting the error below. I thought there was an issue caused by "overwriting" but this wasn't the case because after I used apt purge to uninstall Emby I am still getting this error. I tried deleting the libavcodec.so.58.62.100 but it doesn't even exist, there is no '/opt/emby-server' anymore.Could anyone help me out cause I miss Emby already.  pi@EmbyPi:~ $ sudo dpkg -i emby-server-deb_4.5.2.0_armhf.deb (Reading database ... 97537 files and directories currently installed.) Preparing to unpack emby-server-deb_4.5.2.0_armhf.deb ... Unpacking emby-server (4.5.2.0) ... dpkg-deb (subprocess): cannot copy archive member from 'emby-server-deb_4.5.2.0_armhf.deb' to decompressor pipe: unexpected end of file or stream dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input dpkg-deb: error: <decompress> subprocess returned error exit status 2 dpkg: error processing archive emby-server-deb_4.5.2.0_armhf.deb (--install):  cannot copy extracted data for './opt/emby-server/lib/libavcodec.so.58.62.100' to '/opt/emby-server/lib/libavcodec.so.58.62.100.dpkg-new': unexpected end of file or stream Processing triggers for libc-bin (2.28-10+rpi1) ... Errors were encountered while processing:  emby-server-deb_4.5.2.0_armhf.deb  Edited November 6, 2020 by Snaak Link to comment Share on other sites More sharing options...
alucryd 216 Posted November 6, 2020 Share Posted November 6, 2020 Works fine on mine. Your SD card is either full or corrupted. Please check remaining space with df, and/or try repairing your filesystem with fsck. sudo dpkg -i emby-server-deb_4.5.2.0_armhf.deb Selecting previously unselected package emby-server. (Reading database ... 40190 files and directories currently installed.) Preparing to unpack emby-server-deb_4.5.2.0_armhf.deb ... Unpacking emby-server (4.5.2.0) ... Setting up emby-server (4.5.2.0) ... usermod: no changes Created symlink /etc/systemd/system/multi-user.target.wants/emby-server.service → /usr/lib/systemd/system/emby-server.service. Processing triggers for libc-bin (2.28-10+rpi1) ...  Link to comment Share on other sites More sharing options...
alucryd 216 Posted November 6, 2020 Share Posted November 6, 2020 Also please check the deb md5 and verify it matches https://github.com/MediaBrowser/Emby.Releases/releases/download/4.5.2.0/emby-server-deb_4.5.2.0_armhf.deb.md5 Link to comment Share on other sites More sharing options...
Snaak 0 Posted November 6, 2020 Author Share Posted November 6, 2020 9 minutes ago, alucryd said: Also please check the deb md5 and verify it matches https://github.com/MediaBrowser/Emby.Releases/releases/download/4.5.2.0/emby-server-deb_4.5.2.0_armhf.deb.md5 Kind of a Linux noob, what do you mean? Link to comment Share on other sites More sharing options...
Snaak 0 Posted November 6, 2020 Author Share Posted November 6, 2020 2 hours ago, alucryd said: Works fine on mine. Your SD card is either full or corrupted. Please check remaining space with df, and/or try repairing your filesystem with fsck. sudo dpkg -i emby-server-deb_4.5.2.0_armhf.deb Selecting previously unselected package emby-server. (Reading database ... 40190 files and directories currently installed.) Preparing to unpack emby-server-deb_4.5.2.0_armhf.deb ... Unpacking emby-server (4.5.2.0) ... Setting up emby-server (4.5.2.0) ... usermod: no changes Created symlink /etc/systemd/system/multi-user.target.wants/emby-server.service → /usr/lib/systemd/system/emby-server.service. Processing triggers for libc-bin (2.28-10+rpi1) ...  It's not full but it won't let me use sudo fsck. fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) /dev/mmcblk0p2 is mounted. e2fsck: Cannot continue, aborting. Link to comment Share on other sites More sharing options...
alucryd 216 Posted November 6, 2020 Share Posted November 6, 2020 md5sum emby-server-deb_4.5.2.0_armhf.deb If checksum is different, download the file again. Link to comment Share on other sites More sharing options...
alucryd 216 Posted November 6, 2020 Share Posted November 6, 2020 There are cases where online fsck works, shame. You can do the fsck by plugging the sd card in another machine if you have one lying around. Link to comment Share on other sites More sharing options...
Snaak 0 Posted November 6, 2020 Author Share Posted November 6, 2020 Hope I did it the right way, but these aren't the same checksums indeed. pi@EmbyPi:~ $ md5sum emby-server-deb_4.5.2.0_armhf.deb                         9128290860e20d9199bf9efd09bf3716 emby-server-deb_4.5.2.0_armhf.deb pi@EmbyPi:~ $ md5sum emby-server-deb_4.5.2.0_armhf.deb.md5 7ab4f702716d41fa1cdbfed3d74472a0 emby-server-deb_4.5.2.0_armhf.deb.md5 And yeah I'll grab another Pi and let you know. Link to comment Share on other sites More sharing options...
alucryd 216 Posted November 6, 2020 Share Posted November 6, 2020 No need to grab another pi, just redownload the deb, your download was corrupted. Link to comment Share on other sites More sharing options...
Snaak 0 Posted November 6, 2020 Author Share Posted November 6, 2020 Thank you, Emby works again! So all that went wrong was a corrupt download? And normally I can just update Emby with the older version installed, without any issues! Link to comment Share on other sites More sharing options...
Luke 37106 Posted November 6, 2020 Share Posted November 6, 2020 Yes looks like it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now