(Migrated) Upgrading Zato 2.0 pre1 to 2.0

(This message has been automatically imported from the retired mailing list)


Doing an upgrade from Zato 2.0.0pre1.rev-ac36f862 to current 2.0 stable

And ran into a bit of a problem. See below

To resolve I had to create an /etc/init.d/zato file and rerun the upgrade, then things went fine.

Just thought I would post a heads up in case anyone else had the same problem.



timh@peresb01:/opt/zato/instances/insphire$ sudo apt-get install zato
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be upgraded:
1 to upgrade, 0 to newly install, 0 to remove and 106 not to upgrade.
Need to get 58.8 MB of archives.
After this operation, 1,987 kB of additional disk space will be used.
Get:1 https://zato.io/repo/stable/2.0/ubuntu/ trusty/main zato amd64 2.0.0-stable-trusty [58.8 MB]
Fetched 58.8 MB in 1min 55s (511 kB/s)
(Reading database … 86989 files and directories currently installed.)
Preparing to unpack …/zato_2.0.0-stable-trusty_amd64.deb …
/var/lib/dpkg/tmp.ci/preinst: 38: /var/lib/dpkg/tmp.ci/preinst: /etc/init.d/zato: not found
dpkg: error processing archive /var/cache/apt/archives/zato_2.0.0-stable-trusty_amd64.deb (–unpack):
subprocess new pre-installation script returned error exit status 127
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
timh@peresb01:/opt/zato/instances/insphire$ ls /etc/init.d/zato
ls: cannot access /etc/init.d/zato: No such file or directory


Tim Hoffman
Team Lead - Relay

276 Treasure Rd Welshpool WA 6106 | PO Box 328 Welshpool DC WA 6986

T. +61 8 6141 6500 | F. +61 8 9258 9804 | D. +61 8 6141 6532 | M. +61 448 414 044 | E. THoffman@rel.com.aumailto:THoffman@rel.com.au


Safety is no accident at RESOURCE EQUIPMENT LTD. Committed to Zero Harm.

http://http://rel.com.au/wp-content/uploads/2013/04/REL-ADM-FORM-005-Email-Disclaimer.pdfClick herehttp://www.rel.com.au/wp-content/uploads/2013/04/REL-ADM-FORM-005-Email-Disclaimer.pdf to access our important electronic communications disclaimer