I'm trying to install nginx, but I get the error message:
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main nginx-common all 1.6.2-5+deb8u2 [86.7 kB]
Fetched 86.7 kB in 10s (8,617 B/s)
(Reading database ... 191089 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.6.2-5+deb8u2_all.deb ...
Unpacking nginx-common (1.6.2-5+deb8u2) over (1.6.2-5) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.6.2-5+deb8u2_all.deb (--unpack):
unable to install new version of `/usr/share/man/man1/nginx.1.gz': Input/output error
I've tried to uninstall everyting to start all over, but it fails:
The following packages have unmet dependencies:
nginx-full : Depends: nginx-common (= 1.6.2-5+deb8u2) but 1.6.2-5 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I've tried to run the "apt-get -f install" as suggested, but that fails because of the "Input/output error" described above.
apt-get update
before runningapt-get install nginx
. Can you tell us the command(s) you've used? – earthmeLon Sep 18 '16 at 21:56