Ubuntu Error Ubuntu Error

Topic: Ubuntu Error

Post Ubuntu Error
by Gaaed on Wednesday, June 6, 2018

Hi,

When trying to run the following installation command on Ubuntu 18 LTS I get an error message.

Command:
URL='https://www.dynu.com/support/downloadfile/31'; FILE=`mktemp`; wget "$URL" -qO $FILE && sudo dpkg -i $FILE; rm $FILE

Error message:
Failed to stop dynuiuc.service: Unit dynuiuc.service not loaded.
dpkg: error processing archive /tmp/tmp.Z79OnkyRmb (--install):
new dynuiuc package pre-installation script subprocess returned error exit status 5

It used to work on Ubuntu 16 LTS.

How can I fix this?

Regards

Reply with quote | Report
Post Re: Ubuntu Error
by micadam27 on Sunday, June 24, 2018

Hi,

Has the same error.
I restarted then opened the file /usr/lib/systemd/system/dynuiuc.service
And changed the config from:
ExecStart=/usr/bin/dynuiuc \
--conf_file /etc/dynuiuc/dynuiuc.conf \
--log_file /var/log/dynuiuc.log \
--pid_file /var/run/dynuiuc.pid \
--daemon


to:
ExecStart=/usr/bin/dynuiuc --conf_file /etc/dynuiuc/dynuiuc.conf --log_file /var/log/dynuiuc.log --pid_file /var/run/dynuiuc.pid --daemon

Basically, I removed the "\" , the tabulations and put everything in one line instead of 4.

It did the trick.

Hope it helps.

Reply with quote | Report
Tuesday, April 23, 2019 3:18 AM