When attempting to install ea-nginx using the instructions outlined in our How to install ea-nginx article you may encounter an error similar to the following:
error: unpacking of archive failed on file /etc/nginx/modules: cpio: rename
This error is returned as a result of an nginx path already existing and having invalid permissions, or having attributes set that disallow renaming/moving the file. This most often occurs after you've previously had another version of nginx installed.
Move the /etc/nginx path to some other location and then re-attempt the installation.