thyrf 0 Posted August 13, 2015 Posted August 13, 2015 (edited) Hi, I'm running Debian 8 Jessie x64 and hit some bizzare problems. Following the install guide for Debian, everything went ok. In debconf, I set the user as my logon user, mostly for convenience (I'm planning to scrap this VM in a few weeks and am playing around with a few different setups). When starting the server, there were no issues, but I noticed that there was no process running for emby. First thing I tried was to set the default user back to "emby" via /etc/default/emby-server - but this file did not exist. I created the file and set the EB_USER entry as stated in another thread anyway, but this had no effect. My next course of action was to try "dpkg-reconfigure emby-server", which brought up the wizard, but upon changing the user I got the following message: /var/lib/dpkg/info/emby-server.prerm: 23: [: missing ] Figuring the easiest way forward would be a fresh install, I tried a purge "apt-get purge emby-server", but I got the following message: Removing emby-server (3.0.5675.1) ... /var/lib/dpkg/info/emby-server.prerm: 23: [: missing ] /var/lib/dpkg/info/emby-server.prerm: 23: [: missing ] Purging configuration files for emby-server (3.0.5675.1) ... /var/lib/dpkg/info/emby-server.postrm: 41: [: missing ] dpkg: error processing package emby-server (--purge): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: emby-server E: Sub-process /usr/bin/dpkg returned an error code (1) So, as it stands, I appear to have a broken/irreperable install. Can anyone assist with where to go next? Thanks. Edited August 13, 2015 by thyrf
Solution curtisghanson 5 Posted August 13, 2015 Solution Posted August 13, 2015 I had the same problem removing it as well. I edited the post and pre remove scripts which removed emby but I'm still having problems with the install. I think I need to update the post install script too. Regardless, this is how I fixed the uninstall: http://emby.media/community/index.php?/topic/24278-new-emby-initd-script-not-working/&do=findComment&comment=237655 1
thyrf 0 Posted August 14, 2015 Author Posted August 14, 2015 Thanks - that helped purge it. I noticed that the file is 3 months old on github - any idea why this hasn't been updated in the deb build? Unfortunately, don't think I'll be using emby until things are a bit more stable. One of my aims is full automation of maintanence (i.e. no manually pulling down files and tweaking stuff when it breaks), and if the installer is broken then it's an instant deal breaker.
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