Azure Fundamentals: Describe Azure architecture and services Describe Azure compute and networking services

hamed r 0 Reputation points
2023-04-10T22:51:30.7066667+00:00

In the learning sandbox, I can't create a Linux virtual machine and install Nginx. Ive tried it on multiple occasions, copy pasting the default commands but always receiving the error below: (VMExtensionProvisioningError) VM has reported a failure when processing extension 'customScript'. Error message: "Enable failed: failed to execute command: command terminated with exit status=1 [stdout] Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 http://azure.archive.ubuntu.com/ubuntu bionic-security InRelease Reading package lists... <h2>Welcome to Azure! My name is my-vm.</h2> [stderr] E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? tee: /var/www/html/index.html: No such file or directory " More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot Code: VMExtensionProvisioningError Message: VM has reported a failure when processing extension 'customScript'. Error message: "Enable failed: failed to execute command: command terminated with exit status=1 [stdout] Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 http://azure.archive.ubuntu.com/ubuntu bionic-security InRelease Reading package lists... <h2>Welcome to Azure! My name is my-vm.</h2> [stderr] E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? tee: /var/www/html/index.html: No such file or directory " Thanks for your help

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,096 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 25,046 Reputation points MVP
    2023-04-11T01:11:40.1633333+00:00

    Hi Thanks for reaching out to Microsoft Q&A. See a resolved answer for similar issue, hope this helps. https://learn.microsoft.com/en-us/azure/architecture/example-scenario/analytics/pipelines-disaster-recovery#disable-triggers Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.