It’s been 1 month now, every time I run
sudo apt-get update
I get the following error:
astro@pop-os:~$ sudo apt-get update
Err:12 http://apt.pop-os.org/ubuntu jammy/universe Sources
File has unexpected size (17832892 != 9572). Mirror sync in progress? [IP: 18.239.18.60 80]
Hashes of expected file:
- Filesize:9572 [weak]
- SHA256:c62197e49b647297b459d6495eaa1c650684c195b2f91b24f07c99af17d86816
- SHA1:93e53bf64bf340209e3e7d547bd764f010d1caff [weak]
- MD5Sum:2a9956765a382e605d9f8ad6dea6dbee [weak]
Release file created at: Fri, 09 Feb 2024 15:22:47 +0000
Get:14 http://apt.pop-os.org/ubuntu jammy/main Translation-en [10.5 kB]
Err:14 http://apt.pop-os.org/ubuntu jammy/main Translation-en
Get:15 http://apt.pop-os.org/ubuntu jammy/main amd64 c-n-f Metadata [388 B]
Err:15 http://apt.pop-os.org/ubuntu jammy/main amd64 c-n-f Metadata
Get:16 http://apt.pop-os.org/ubuntu jammy/restricted amd64 c-n-f Metadata [116 B]
Err:16 http://apt.pop-os.org/ubuntu jammy/restricted amd64 c-n-f Metadata
Get:17 http://apt.pop-os.org/ubuntu jammy/universe i386 Packages [13.4 kB]
Err:17 http://apt.pop-os.org/ubuntu jammy/universe i386 Packages
Fetched 270 kB in 12s (22.6 kB/s)
Reading package lists... Done
W: https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/universe/source/Sources.xz File has unexpected size (17832892 != 9572). Mirror sync in progress? [IP: 18.239.18.60 80]
Hashes of expected file:
- Filesize:9572 [weak]
- SHA256:c62197e49b647297b459d6495eaa1c650684c195b2f91b24f07c99af17d86816
- SHA1:93e53bf64bf340209e3e7d547bd764f010d1caff [weak]
- MD5Sum:2a9956765a382e605d9f8ad6dea6dbee [weak]
Release file created at: Fri, 09 Feb 2024 15:22:47 +0000
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/main/i18n/Translation-en.xz
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/main/cnf/Commands-amd64.xz
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/restricted/cnf/Commands-amd64.xz
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/universe/binary-i386/Packages.xz
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/universe/binary-amd64/Packages.xz
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/universe/i18n/Translation-en.xz
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/universe/cnf/Commands-amd64.xz
E: Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/multiverse/cnf/Commands-amd64.xz
E: Some index files failed to download. They have been ignored, or old ones used instead.
I tried using the following commands to solve:
sudo apt-get clean
And the error still persists, I can’t even install anything because I always come across this error, kindly help me solve.
Errors:
- Failed to fetch http://apt.pop-os.org/ubuntu/dists/jammy/universe/source/Sources.xz – This is the main error. The file seems to have an unexpected size, which might be due to a temporary inconsistency on the Pop!_OS server.
- Failed to fetch (multiple lines) – These errors are consequences of the main issue and indicate that other files related to package information couldn’t be downloaded.