unit icon indicating copy to clipboard operation
unit copied to clipboard

Installing UNIT - go1.9 errors

Open N1GHTR4NG3R opened this issue 5 years ago • 3 comments

Installed Unit and got the following error: Errors were encountered while processing: /tmp/apt-dpkg-install-foRb5m/48-unit-go1.9_1.9.0-1~bionic_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Otherwise installation complete

N1GHTR4NG3R avatar Jul 18 '19 04:07 N1GHTR4NG3R

After having issues with WP and Unit, I uninstalled Nginx and Unit again, Using purge and then deleting any corresponding directories and files left over - I rebooted my server and re-installed nginx and unit again. Again I got another error with this:

Unpacking unit-ruby (1.9.0-1~bionic) ... Errors were encountered while processing: /tmp/apt-dpkg-install-hEW2SF/45-unit-go1.9_1.9.0-1~bionic_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Unit continued to install and is running, Not sure what these errors are about

N1GHTR4NG3R avatar Jul 20 '19 13:07 N1GHTR4NG3R

@defanator @thresheek Over the weekend I uninstalled nginx and unit - Came across this a couple of times...

It seems that nginx and unit was still running in the background somehow after: sudo apt remove --purge Some files and directories were still left - I had to manually go through and delete each folder, and also remove the daemon process to start after reboot.

Once the directories and daemon were removed - Only then did Unit and Nginx install again without any errors.

So possible bug in the uninstall?

N1GHTR4NG3R avatar Jul 22 '19 05:07 N1GHTR4NG3R

We're routinely checking install, uninstall, and upgrades on all supported distros but we've never seen that happening.

If that is still relevant and latest packages exhibit the issue you're seeing:

  • what OS is that?
  • is it virtualized / bare-metal / containerized?
  • anything that might make your setup different from a typical cloud environemtn or bare metal server? e.g. lack of specific directories or something similar?
  • which directories are left over when you're purging unit and its modules?

So in sum, I would need a way to reproduce this behaviour.

thresheek avatar Dec 22 '21 11:12 thresheek

Closing due to a feedback timeout.

thresheek avatar Oct 27 '22 11:10 thresheek