diff --git a/synapse/rest/media/v1/__init__.py b/synapse/rest/media/v1/__init__.py index 8de2cf9599fd..007b65e65e87 100644 --- a/synapse/rest/media/v1/__init__.py +++ b/synapse/rest/media/v1/__init__.py @@ -28,7 +28,7 @@ if not check_codec("zlib"): raise Exception( "FATAL: zip codec not supported. Install pillow correctly! " - " 'sudo apt-get install libjpeg-dev' then 'pip uninstall pillow &&" + " 'sudo apt-get install zlib1g-dev' then 'pip uninstall pillow &&" " pip install pillow --user'" )