Skip to content

packages.microsoft.com issue #6371

Closed
Closed

Description

@aukesj

I know this is the .NET team, but since there seems to be no public contact for the packages.microsoft.com repo I don't know where to address this. Please forward this issue for me.

Description

I'm using CentOS with Foreman / Katello to offer patches to our servers. The Ubuntu patches are served as well. Now for Ubuntu Focal (20.04) the repo seems fine, but for Bionic (18.04), I get checksum errors:

DEBSYNC002: Unable to sync 42044737-20ba-4567-89b1-ab531887e734 from https://packages.microsoft.com/ubuntu/18.04/prod: mismatching checksums for adutil-preview_0.7.022_amd64.deb: expected f657b73dd8d6c1486a0862f53010a4562e287cb5, actual 89283b83f411664e29b3dffc649d63b4c9f0596c

Configuration

Foreman 2.3.5, but since this seems to be a problem with the package checksums, I guess the issue is on the packages.microsoft.com site.

Thank you in advance for looking in to this!

Activity

  1. michaelgsharp commented on Jun 14, 2021

    @michaelgsharp
    Contributor

    So this happened last week to a different linux distro. Turns out that after some packages were updated on our end, took about 4 - 6 hours or so for this error to go away. Has to do with mirror syncing, or something like that.

    I just checked and we updated the packages for Bionic about 2.5 hours ago, so this should be the same issue as last week and should clear up on its own in another couple of hours. I'll keep the issue open for now, but in a couple of hours can you check again and then close if it working?

  2. dagood commented on Jun 14, 2021

    @dagood
    Member

    It looks like you've hit the same issue as #5860. (January!) The https://packages.microsoft.com maintainers weren't able to reproduce the problem at the time. 😕

    Turns out that after some packages were updated on our end, took about 4 - 6 hours or so for this error to go away. Has to do with mirror syncing, or something like that.

    The time limit for .NET packages before escalation is only 30 minutes: https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#failed-to-fetch. IIRC it's actually not expected to happen at all after some improvements the packages.microsoft.com team made to their publishing process.

  3. michaelgsharp commented on Jun 14, 2021

    @michaelgsharp
    Contributor

    And here is the similar one that just happened last week. #6356 on Debian.

  4. dagood commented on Jun 14, 2021

    @dagood
    Member

    That's unfortunate. It's definitely possible that things regressed. I don't actively work in this area anymore (the issue just caught my eye) so I'm not necessarily up to date.

  5. mairaw commented on Jun 15, 2021

    @mairaw
    Contributor

    Do you know who does @dagood?

  6. dagood commented on Jun 15, 2021

    @dagood
    Member

    @rbhanda may be able to help with this.

  7. aukesj commented on Jun 15, 2021

    @aukesj
    Author

    I checked again just now, but unfortunately the mismatching checksum still exists.

  8. dagood commented on Jun 15, 2021

    @dagood
    Member

    @aukesj for some diag info, could you try the commands in #5860 (comment) to get the IP of the mirror you're using?

  9. rbhanda commented on Jun 15, 2021

    @rbhanda
    Contributor

    I am following up on this with the packages.microsoft.com team. I will keep the thread updated once I hear back from them.

  10. aukesj commented on Jun 15, 2021

    @aukesj
    Author

    $ ping packages.microsoft.com
    PING csd-apt-weu-d-4.westeurope.cloudapp.azure.com (13.81.215.193): 56 data bytes
    Request timeout for icmp_seq 0
    Request timeout for icmp_seq 1
    ^C
    --- csd-apt-weu-d-4.westeurope.cloudapp.azure.com ping statistics ---
    3 packets transmitted, 0 packets received, 100.0% packet loss
    $ wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
    --2021-06-15 17:13:04-- https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
    Resolving packages.microsoft.com (packages.microsoft.com)... 13.81.215.193
    Connecting to packages.microsoft.com (packages.microsoft.com)|13.81.215.193|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 3132 (3.1K) [application/octet-stream]
    Saving to: ‘packages-microsoft-prod.deb’

    packages-microsoft-prod.deb 100%[=================================================================>] 3.06K --.-KB/s in 0s

    2021-06-15 17:13:04 (597 MB/s) - ‘packages-microsoft-prod.deb’ saved [3132/3132]

    $ sum packages-microsoft-prod.deb
    35135 4 packages-microsoft-prod.deb
    $ md5 packages-microsoft-prod.deb
    MD5 (packages-microsoft-prod.deb) = a743911ec6ef33668b61c51947d87ecb

  11. aukesj commented on Jun 15, 2021

    @aukesj
    Author

    Furthermore, my Foreman (repo) server which tries to mirror the Microsoft packages for Ubuntu says:

    DEBSYNC002: Unable to sync 42044737-20ba-4567-89b1-ab531887e734 from https://packages.microsoft.com/ubuntu/18.04/prod: mismatching checksums for adutil-preview_0.7.022_amd64.deb: expected f657b73dd8d6c1486a0862f53010a4562e287cb5, actual 89283b83f411664e29b3dffc649d63b4c9f0596c

    When I browse to https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/a/adutil-preview/ I see a different version of the adutil-preview package; adutil-preview_0.7.029_amd64.deb

    Maybe this is just my lack of knowledge regarding Debian/Ubuntu packages.

  12. aukesj commented on Jun 15, 2021

    @aukesj
    Author

    Because I thought the version difference was quite suspicious, I decided to remove the Ubuntu Bionic repo from the Foreman product "Microsoft Packages", recreated it and synced it succesfully! So, this was a Foreman issue and is now solved.

  13. michaelgsharp commented on Jun 15, 2021

    @michaelgsharp
    Contributor

    Awesome. Thanks everyone for your help. I'll go ahead and close the issue since its been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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