Sudo: sorry, you are not allowed to set the following environment variables: ACCEPT_EULA

Failed to reboot the app which was already working and I haven’t changed any requirements just some minor code changes.

sudo: sorry, you are not allowed to set the following environment variables: ACCEPT_EULA
[13:43:24] :red_exclamation_mark: installer returned a non-zero exit code
[13:43:24] :red_exclamation_mark: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

5 Likes

I also encountered this situation. How can I solve it?

I got this too and nothing was changed to my code at all. Really hope that someone can help with this.

+1
I’ve just deleted my app and re-deployed because of thi s error before realized that I’m not alone :smiley:

Same issue on my side… Any idea ?

same here…

I don’t know if it has to do with the error, but only my apps that uses selenium got this. They have a file “packages.txt” containing:

chromium
chromium-driver
locales
locales-all

I’ve tried to remove “locales” and “locales-all” but it didn’t work either.

Same issue on my side

same error here, no change made in requirements or packages,

[17:07:33] :package: Apt dependencies were installed from /mount/src/ai_document_qa_system/packages.txt using apt-get.
Hit:1 Index of /debian bullseye InRelease
Hit:2 Index of /debian-security bullseye-security InRelease
Get:3 Index of /debian bullseye-updates InRelease [44.1 kB]
Get:4 Index of /debian/11/prod/ bullseye InRelease [3650 B]
Fetched 47.7 kB in 1s (55.5 kB/s)
sudo: sorry, you are not allowed to set the following environment variables: ACCEPT_EULA

[17:07:36] ❗️ installer returned a non-zero exit code
[17:07:36] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

same issue its my first time deploying with streamlit i was soo confused too

Same error using Playwright dependencies.

libnss3
libnspr4
libatk1.0-0
libatk-bridge2.0-0
libcups2
libxcomposite1
...

Removing packages.txt from the repo will skip the step and the error. (But Playwright will not work, of course)

Anyone tried the below command? I did some commands and the issue has gone after I re-deployed. But I’m not sure this command resolved the issue. I made no change to the packages.txt.

pip freeze > requirements.txt

Seems it has been solved. Now the App is working.

请问已经解决了吗?