Skip to content

Ubuntu dotnet install fails with "File has unexpected size"  #3221

Closed
@russau

Description

@russau

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

There is something unhappy about the supplied packages-microsoft-prod.deb. I'm sure it was working a few hours ago. I can reproduce it in a docker container. Maybe I just need to wait for a CDN somewhere to update.

$ docker run -it --rm ubuntu:18.04
# apt update ; apt install wget
# wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
# md5sum packages-microsoft-prod.deb
a743911ec6ef33668b61c51947d87ecb  packages-microsoft-prod.deb
# dpkg -i packages-microsoft-prod.deb
# apt update
Get:1 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [3226 B]
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages [72.5 kB]
Err:4 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages
  File has unexpected size (72463 != 72485). Mirror sync in progress? [IP: 13.91.48.226 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions