markofealing 0 Posted December 30, 2016 Share Posted December 30, 2016 I'm running Emby 3.0.7000.0 on Ubuntu 16.10 and it's telling me there is a new version 3.1.2 available. Using the stable release channel information for XUbuntu 16.10 I've tried to update but it is not picking up any updates! As suggested elsewhere I've tried a apt update & upgrade followed by a dist-upgrade but this has made no difference. At present neither my iPod Touch or iPad will access Emby as the Emby App complains the server needs updating as it is too old. Any suggestions? Thanks Mark Link to comment Share on other sites More sharing options...
hurricanehrndz 149 Posted December 30, 2016 Share Posted December 30, 2016 I'm running Emby 3.0.7000.0 on Ubuntu 16.10 and it's telling me there is a new version 3.1.2 available. Using the stable release channel information for XUbuntu 16.10 I've tried to update but it is not picking up any updates! As suggested elsewhere I've tried a apt update & upgrade followed by a dist-upgrade but this has made no difference. At present neither my iPod Touch or iPad will access Emby as the Emby App complains the server needs updating as it is too old. Any suggestions? Thanks Mark Check your sources. The latest deb has already been published in our repos. http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.10/all/ Link to comment Share on other sites More sharing options...
markofealing 0 Posted December 31, 2016 Author Share Posted December 31, 2016 In my sources I've got If I download the deb file and do a sudo dpkg -i emby-server_3.1.2-12.1_all.deb I get Presumably this is why it's not installing. My Kubuntu 16.10 install is fully up to date, any idea why this is happening and how to fix it? Many thanks Link to comment Share on other sites More sharing options...
Solution markofealing 0 Posted January 2, 2017 Author Solution Share Posted January 2, 2017 Searching on "error processing archive emby-server archive prerm: line 26" https://www.google.co.uk/search?client=ubuntu&channel=fs&q=error+processing+archive+emby-server+archive+prerm%3A+line+26&ie=utf-8&oe=utf-8&gfe_rd=cr&ei=AhRqWMH_O83U8gfw-Y2oAw this appears to be a a bug. Forum post https://emby.media/community/index.php?/topic/38949-error-installing-or-removing-307100/ explains what needs to be done to fix it: In /var/lib/dpkg/info/emby-server.prerm, line 26 reads: deb-systemd-invoke stop ${NAME}.service > 2>&1 /dev/null when it should be: deb-systemd-invoke stop ${NAME}.service 2>&1 /dev/null After making these changes I am able to upgrade. This is what I had to do to fix the issue: 1. Make the above change to /var/lib/dpkg/info/emby-server.prerm 2. I then ran sudo dpkg -i emby-server_3.1.2-12.1_all.deb but ran into a dependency issue: reparing to unpack emby-server_3.1.2-12.1_all.deb ...Stopping Emby Server!Unpacking emby-server (3.1.2-12.1) over (3.1.144~beta-70.1) ...dpkg: dependency problems prevent configuration of emby-server: emby-server depends on libembysqlite3-0; however: Package libembysqlite3-0 is not installed. emby-server depends on embymagick; however: Package embymagick is not installed.dpkg: error processing package emby-server (--install): dependency problems - leaving unconfiguredProcessing triggers for ureadahead (0.100.0-19) ...ureadahead will be reprofiled on next rebootProcessing triggers for systemd (231-9ubuntu2) ...Errors were encountered while processing: emby-server 3. Running sudo apt install -f straight after the failed install fixed the dependency issues and allowed the current version of Emby to install. As a foot note I did notice that dpkg did throw out a downgrading warning "dpkg: warning: downgrading emby-server from 3.1.144~beta-70.1 to 3.1.2-12.1", not sure why it though I was downgrading from a beta! Doing another update and a dist-upgrade didn't pull down any further updates and I'm now on Version 3.1.2.0. It's a bit disappointing that this bug in /var/lib/dpkg/info/emby-server.prerm has not been fixed since September 2016. 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