Azure Batch : error "debconf: unable to initialize frontend: Dialog" in stderr.txt file

J. Kibassa Maliba 1 Reputation point
2021-09-09T17:19:39.7+00:00

Hello,

I was inspired by this https://github.com/Azure-Samples/azure-batch-samples/tree/master/JavaScript example to test Azure Batch.
Then, to make the package installation part work, I added this in JobPreparationTask and also in the Task (TaskAddParameter):

userIdentity: {
                autoUser: {
                    elevationLevel: "admin",
                    scope: "pool"
                }
              }

But I get another error indicated in the file workitems/processcsvjob/job-1/installprereq/stderr.txt

debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
sudo: pip: command not found

I don't know what this error means and I have no idea how to solve it.

Does anyone have an idea?
Thanks

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
303 questions
{count} votes