Argomento: Ubuntu Error

Post Ubuntu Error
di Gaaed su mercoledì 6 giugno 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

Rispondi con citazione | Segnalare
Post Re: Ubuntu Error
di micadam27 su domenica 24 giugno 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.

Rispondi con citazione | Segnalare
giovedì 19 dicembre 2024 11:25
Loading...