Skip to content

Conversation

@isFakeAccount
Copy link

I was helping a user who would kept getting these errors.

Err:1 http://apt.pop-os.org/release jammy/main amd64 libudev1 amd64 249.11-0ubuntu3.16pop0~1749652895~22.04~34f0ce1
  404  Not Found [IP: 2600:9000:200b:4000:19:684d:e900:93a1 80]
Err:2 http://apt.pop-os.org/release jammy/main amd64 udev amd64 249.11-0ubuntu3.16pop0~1749652895~22.04~34f0ce1
  404  Not Found [IP: 2600:9000:200b:4000:19:684d:e900:93a1 80]
E: Failed to fetch http://apt.pop-os.org/release/pool/jammy/systemd/34f0ce17fd88296f9191dd4310f7c60c3086e943/libudev1_249.11-0ubuntu3.16pop0%7e1749652895%7e22.04%7e34f0ce1_amd64.deb  404  Not Found [IP: 2600:9000:200b:4000:19:684d:e900:93a1 80]
E: Failed to fetch http://apt.pop-os.org/release/pool/jammy/systemd/34f0ce17fd88296f9191dd4310f7c60c3086e943/udev_249.11-0ubuntu3.16pop0%7e1749652895%7e22.04%7e34f0ce1_amd64.deb  404  Not Found [IP: 2600:9000:200b:4000:19:684d:e900:93a1 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

He ran all the commands in the document but none of them fixed the issue except the .

sudo rm -rf /var/lib/apt/lists/*

I thought it might be helpful to mention this command here in case anyone faces similar issue.

Added command to clean APT repository metadata.
@jacobgkau jacobgkau requested a review from a team December 26, 2025 19:29
@jacobgkau jacobgkau self-assigned this Dec 26, 2025
@jacobgkau
Copy link
Member

Thank you for the contribution.

This is a very highly used article (especially the block of commands at the top), so I'm hesitant to add a new command, especially when it's an entirely different command from the apt and dpkg commands otherwise listed, and when the need for its usage seems to be less than that of some of the other commands. However, it does logically fit in where you placed it in the block of commands.

I tested myself, and while -r is helpful in this instance since there are some directories within /var/lib/apt/lists/, -f is not needed when running with sudo. So I'm going to remove the f flag just to keep this as minimal and safe as possible.

@jacobgkau jacobgkau requested a review from a team December 26, 2025 19:59
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

Successfully merging this pull request may close these issues.

2 participants