question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with ubuntu apt repo on Azure Pipelines hosted ubuntu-latest (xenial)

See original GitHub issue

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug As of today I am receiving:

Get:37 https://packages.microsoft.com/repos/azure-cli xenial/main amd64 Packages [39.5 kB]
Err:37 https://packages.microsoft.com/repos/azure-cli xenial/main amd64 Packages
  Writing more data than expected (40278 > 39457)

When trying to install a random package on an “ubuntu-latest” Microsoft hosted Azure pipeline host (e.g. “sudo apt update && sudo apt install qemu”). Not sure if this is an issue with the repo or with the Azure pipeline host itself.

To Reproduce sudo apt update && sudo apt install qemu (also after apt-get clean)

Expected behavior Installing a package

Environment summary apt using the official microsoft ubuntu repo (see above)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
fengzhou-msftcommented, Jan 7, 2020

The repo gets updated correctly and it should work now.

Still failed:

https://github.com/baruchiro/israeli-bank-scrapers-desktop/runs/377185914#step:4:43

bionic is also fixed. Please try again.

3reactions
baruchirocommented, Jan 7, 2020

The repo gets updated correctly and it should work now.

Still failed:

https://github.com/baruchiro/israeli-bank-scrapers-desktop/runs/377185914#step:4:43

Read more comments on GitHub >

github_iconTop Results From Across the Web

ubuntu packages problem - Azure DevOps pipeline
Hi, I have dockerfile for building sql server image on ubuntu 20 agent in hosted Azure DevOps pipeline, using command: RUN apt-get update...
Read more >
apt-get install in azure-pipelines fails randomly - Stack Overflow
pool: vmImage: ubuntu-latest steps: - script: | sudo apt-get update sudo ... When I run the pipeline on linux Microsoft-hosted agent, ...
Read more >
Microsoft-hosted agents for Azure Pipelines
If your pipelines are in Azure Pipelines, then you've got a convenient option to run your jobs using a Microsoft-hosted agent.
Read more >
A simple node app with Azure Pipelines and App Service
First, install the Azure Pipelines app on the GitHub marketplace (it's free!) ... vmImage: 'ubuntu-latest' steps: - task: NodeTool@0 inputs: versionSpec: ...
Read more >
SOLVED: Docker build “Could not resolve 'archive.ubuntu ...
I was configuring Apache server using an ubuntu:latest image and during the process, i encountered an unusual error where i couldn't apt-get anything...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found