Jump to content

Error installing or removing 3.0.7100


Recommended Posts

Posted

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)

 

 

Posted

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.

  • Like 4
Posted

Had that error today trying to upgrade as well, and that fixed it. Thanks, kjp4756.

Posted

Thank you much, you guys rock best support ever, now if I could only get this kind of support out of HP 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...