Argomento: Ubuntu Error

Post Ubuntu Error
di Gaaed su mercoledì 6 giugno 2018


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

URL=''; 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?


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

ExecStart=/usr/bin/dynuiuc --conf_file /etc/dynuiuc/dynuiuc.conf --log_file /var/log/dynuiuc.log --pid_file /var/run/ --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
martedì 21 maggio 2024 09:35