Shell/Bash: nginx e: sub-process /usr/bin/dpkg returned an error code (1) Example

By

Shell/Bash Example: This is the "nginx e: sub-process /usr/bin/dpkg returned an error code (1)" Example. compiled from many sources on the internet by SimpleTutorials.org

nginx E: Sub-process /usr/bin/dpkg returned an error code (1)

#remove nginx
$ sudo apt-get remove nginx* --purge after that I installed nginx-common

# install following
$ sudo apt-get install nginx-common
$ sudo apt-get install nginx

#Then it will work well


* Summary: This "nginx e: sub-process /usr/bin/dpkg returned an error code (1)" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others