Re: DPKG install fails with read only filesystem on non read-only filesystem

2017-03-26 Thread Felix Winterhalter
Hello again, this is a wonderful case where rubberduck-debugging might have made sense. Right after submitting this mail I found the error. The webserver that runs the install script has a systemd unit with ProtectSystem=full set. This prevents writes to /usr even though its not specifically rea

DPKG install fails with read only filesystem on non read-only filesystem

2017-03-26 Thread Felix Winterhalter
Hello, for various reasons I am currently writing a script to install packages by calling dpkg -i package.deb. This mechanism has worked fine for a while. Now I need to call said script using sudo noninteractively from a webserver. This leads me to my error: Mar 26 11:36:42 debbuilder package-u