kjp4756 41 Posted September 10, 2016 Posted September 10, 2016 Ubuntu 16.04 I get this when trying to upgrade from .7000 to .7100. I'm also unable to uninstall emby-server/ Preparing to unpack .../emby-server_3.0.7100-71.1_all.deb ... /var/lib/dpkg/info/emby-server.prerm: line 26: syntax error near unexpected token `2' dpkg: warning: subprocess old pre-removal script returned error exit status 2 dpkg: trying script from the new package instead ... /var/lib/dpkg/tmp.ci/prerm: line 26: syntax error near unexpected token `2' dpkg: error processing archive /var/cache/apt/archives/emby-server_3.0.7100-71.1_all.deb (--unpack): subprocess new pre-removal script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/emby-server_3.0.7100-71.1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
kjp4756 41 Posted September 10, 2016 Author Posted September 10, 2016 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. 4
Sek0n 7 Posted September 11, 2016 Posted September 11, 2016 Had that error today trying to upgrade as well, and that fixed it. Thanks, kjp4756.
Azreal 0 Posted September 14, 2016 Posted September 14, 2016 Thank you much, you guys rock best support ever, now if I could only get this kind of support out of HP
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