Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with filesize on apt-get update in ubuntu:18.04 docker container #3224

Closed
ghost opened this issue Aug 21, 2019 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Aug 21, 2019

Problem encountered on https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current
Operating System: Linux Ubuntu 18.04 - x64

Hi guys, we started to get an error regarding file size on apt-get update in latest ubuntu:18.04 docker contrainer:

root@d9f354bbd478:/# wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
root@d9f354bbd478:/# dpkg -i packages-microsoft-prod.deb
Selecting previously unselected package packages-microsoft-prod.
(Reading database ... 4392 files and directories currently installed.)
Preparing to unpack packages-microsoft-prod.deb ...
Unpacking packages-microsoft-prod (1.0-ubuntu18.04.2) ...
Setting up packages-microsoft-prod (1.0-ubuntu18.04.2) ...
root@d9f354bbd478:/# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:5 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [3226 B]
Get:6 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages [72.5 kB]
Err:6 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages
  File has unexpected size (72463 != 72485). Mirror sync in progress? [IP: 13.80.10.205 443]
  Hashes of expected file:
   - Filesize:72485 [weak]
   - SHA512:c26c6c86803325466bd742789acc9e54a745d045a6b3af1ce26d34e98c9a4904c6873db0cc9b2be7f99385ef6e6237f6e5cd6776fe6c0a1737cae2a67f8566f9
   - SHA256:3fe8d8513549a43d26d917287a5a832d0c577ee62ac37b1daae5aade614dff54
   - SHA1:e2a5cc1ecb44c77caa98eebac08b9d9f4b1e8215 [weak]
   - MD5Sum:30a55059e4b9ef8d02cca7e7acc01cdb [weak]
  Release file created at: Tue, 20 Aug 2019 22:43:21 +0000
Fetched 3226 B in 1s (5718 B/s)
Reading package lists... Done
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/dists/bionic/main/binary-amd64/Packages.gz  File has unexpected size (72463 != 72485). Mirror sync in progress? [IP: 13.80.10.205 443]
   Hashes of expected file:
    - Filesize:72485 [weak]
    - SHA512:c26c6c86803325466bd742789acc9e54a745d045a6b3af1ce26d34e98c9a4904c6873db0cc9b2be7f99385ef6e6237f6e5cd6776fe6c0a1737cae2a67f8566f9
    - SHA256:3fe8d8513549a43d26d917287a5a832d0c577ee62ac37b1daae5aade614dff54
    - SHA1:e2a5cc1ecb44c77caa98eebac08b9d9f4b1e8215 [weak]
    - MD5Sum:30a55059e4b9ef8d02cca7e7acc01cdb [weak]
   Release file created at: Tue, 20 Aug 2019 22:43:21 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@d9f354bbd478:/# cat /etc/apt/sources.list
sources.list    sources.list.d/
root@d9f354bbd478:/# cat /etc/apt/sources.list.d/microsoft-prod.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main
@ghost
Copy link
Author

ghost commented Aug 21, 2019

Duplicate of #3221

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants