Skip to content

Fix the apt-get download package disorder issue#8021

Merged
xumia merged 1 commit intosonic-net:masterfrom
xumia:fix-base-image-issue
Jun 30, 2021
Merged

Fix the apt-get download package disorder issue#8021
xumia merged 1 commit intosonic-net:masterfrom
xumia:fix-base-image-issue

Conversation

@xumia
Copy link
Copy Markdown
Collaborator

@xumia xumia commented Jun 30, 2021

Why I did it

Multiple build failed in 202012 branch
It is caused by the disorder of the package urls retrieved from the command "apt-get download --print-urls "

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@qiluo-msft
Copy link
Copy Markdown
Collaborator

Could you provide the "Multiple build failed" error messages so we can understand the bug?

@xumia
Copy link
Copy Markdown
Collaborator Author

xumia commented Jun 30, 2021

@qiluo-msft , one example of the error message:

W: Failure trying to run: chroot "/sonic/fsroot" mount -t proc proc /proc
W: See /sonic/fsroot/debootstrap/debootstrap.log for details
I: Installing core packages...
W: Failure trying to run: chroot "/sonic/fsroot" dpkg --force-depends --install /var/cache/apt/archives/bash_5.0-4_amd64.deb
W: See /sonic/fsroot/debootstrap/debootstrap.log for details (possibly the package bash is at fault)
[  FAIL LOG END  ] [ target/sonic-vs.img.gz ]

https://dev.azure.com/mssonic/build/_build/results?buildId=21774&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=359769c4-8b5e-5976-a793-85da132e0a6f

@xumia xumia merged commit 9d66b61 into sonic-net:master Jun 30, 2021
@xumia xumia deleted the fix-base-image-issue branch June 30, 2021 07:42
qiluo-msft pushed a commit that referenced this pull request Jun 30, 2021
Why I did it
Multiple build failed in 202012 branch
It is caused by the disorder of the package urls retrieved from the command "apt-get download --print-urls "
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
Why I did it
Multiple build failed in 202012 branch
It is caused by the disorder of the package urls retrieved from the command "apt-get download --print-urls "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants