Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[fix] Get rid of annoying 'unable to initialize frontend' messages #643
In some situation, e.g. installing an app from the webadmin, the install dump some warnings :
Those are pretty annoying and technical, would be nice to get rid of them ...
My guess is that it's related to the use of dpkg inside
How to test
Pull the branch, try to install an app from the webadmin (e.g. Nextcloud). (Don't forget to restart yunohost-api)
referenced this pull request
Feb 9, 2019
So turns out my intention was wrong and it's much worse than that ... It's about the use of
@maniackcrudelis : do you think it's okay to remove this sudo ?
sudo start another shell dedicated to its usage. In this command line, DEBIAN_FRONTEND is defined before sudo, so sudo doesn't have it.
Anyway, for apps, to not have sudo shouldn't be a problem.