Ubuntu Error Ubuntu Error

Topic: Ubuntu Error

Post Ubuntu Error
by Gaaed on mercredi 6 juin 2018


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

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?


Reply with quote | Report
Post Re: Ubuntu Error
by micadam27 on dimanche 24 juin 2018


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 \

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
lundi 27 mai 2019 00:55