ROCm / rocm-install-on-linux

https://rocm.docs.amd.com/projects/install-on-linux/en/latest/
MIT License
12 stars 10 forks source link

[Issue]: Failed to fetch: File has unexpected size (12454 != 13414) #351

Open tommyvct opened 2 hours ago

tommyvct commented 2 hours ago

Problem Description

OS: NAME="Ubuntu" VERSION="24.04.1 LTS (Noble Numbat)" CPU: model name : AMD Ryzen 7 5700X 8-Core Processor GPU: Radeon 6600XT

Operating System

Ubuntu 24.04.1 LTS (Noble Numbat)

CPU

AMD Ryzen 7 5700X

GPU

AMD Radeon 6600XT

ROCm Version

ROCm 6.2.3

ROCm Component

No response

Steps to Reproduce

follow the instructions at https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/native-install/ubuntu.html

After adding the repo of ROCm 6.2.4, apt update complained this:

tommyvct@RYZEN-TOMMYVCT-Ubuntu:~$ sudo apt update
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Get:2 https://repo.radeon.com/amdgpu/6.2.4/ubuntu noble InRelease [5,465 B]                                        
Get:3 https://repo.radeon.com/amdgpu/6.2.4/ubuntu noble/main amd64 Packages [13.4 kB]                              
Err:3 https://repo.radeon.com/amdgpu/6.2.4/ubuntu noble/main amd64 Packages                              
  File has unexpected size (12454 != 13414). Mirror sync in progress? [IP: 184.30.150.14 443]
  Hashes of expected file:
   - Filesize:13414 [weak]
   - SHA256:5c998933359cfbc99f9857b06ceb35fbbcb79bbea70b87215b93dc7199b9562a
   - SHA1:5807fa3b713e7637e46e6677a89c9625982bd358 [weak]
   - MD5Sum:326a53c71d4632ac570e475481680365 [weak]
  Release file created at: Wed, 06 Nov 2024 19:35:03 +0000
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease                                         
Hit:5 http://ca.archive.ubuntu.com/ubuntu noble InRelease                    
Hit:6 http://ca.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:7 http://ca.archive.ubuntu.com/ubuntu noble-backports InRelease
Fetched 5,465 B in 1s (8,591 B/s)
Reading package lists... Done
E: Failed to fetch https://repo.radeon.com/amdgpu/6.2.4/ubuntu/dists/noble/main/binary-amd64/Packages.gz  File has unexpected size (12454 != 13414). Mirror sync in progress? [IP: 184.30.150.14 443]
   Hashes of expected file:
    - Filesize:13414 [weak]
    - SHA256:5c998933359cfbc99f9857b06ceb35fbbcb79bbea70b87215b93dc7199b9562a
    - SHA1:5807fa3b713e7637e46e6677a89c9625982bd358 [weak]
    - MD5Sum:326a53c71d4632ac570e475481680365 [weak]
   Release file created at: Wed, 06 Nov 2024 19:35:03 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

tommyvct commented 2 hours ago

Update: the 6.2.2 version works fine