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

1

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
Posted by: Guest on November-29-2020

Code answers related to "nginx E: Sub-process /usr/bin/dpkg returned an error code (1)"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language