getting error while trying to setup dynu in ubuntu 17.04 getting error while tryin...

Topic: getting error while trying to setup dynu in ubuntu 17.04

Post getting error while trying to setup dynu in ubuntu 17.04
by Danish Bawany on 2017年9月17日

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

but instead of installing its shows this error;

Selecting previously unselected package dynuiuc.
(Reading database ... 203194 files and directories currently installed.)
Preparing to unpack /tmp/tmp.mWPY90SSl2 ...
Failed to stop dynuiuc.service: Unit dynuiuc.service not loaded.
dpkg: error processing archive /tmp/tmp.mWPY90SSl2 (--install):
subprocess new pre-installation script returned error exit status 5
Errors were encountered while processing:
/tmp/tmp.mWPY90SSl2

note;
also tryed this with root

Reply with quote | Report
Post Re: getting error while trying to setup dynu in ubuntu 17.04
by nodetransit on 2018年3月9日

got the same error.

still no solution?

Reply with quote | Report
Post Re: getting error while trying to setup dynu in ubuntu 17.04
by nodetransit on 2018年3月9日

I unpacked the package, modified the preinst script, rebuilt the package, and reinstalled it.


dpkg-deb --extract 31.deb mydynuiuc
dpkg-deb --control 31.deb mydynuiuc/DEBIAN


modify mydynuiuc/DEBIAN/preinst


chmod 755 mydynuiuc/DEBIAN/*
dpkg-deb --build mydynuiuc
dpkg -i mydynuiuc.deb


Reply with quote | Report
2024年5月1日 14:55
Loading...