Upgrades via apt returning 404 ONLY on upgrade

I am trying to bring my L5 back up to date after it was offline for an extended period. When I issue

sudo apt update && sudo apt-get upgrade

I get the following results:

sudo apt update && sudo apt-get upgrade
Hit:1 https://updates.signal.org/desktop/apt xenial InRelease
Get:2 https://repo.pureos.net/pureos byzantium InRelease [8,733 B]
Get:3 https://repo.pureos.net/pureos byzantium-updates InRelease [4,745 B]
Get:4 https://repo.pureos.net/pureos byzantium-security InRelease [4,746 B]
Fetched 18.2 kB in 2s (9,084 B/s)
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
11 packages can be upgraded. Run ā€˜apt list --upgradableā€™ to see them.
y
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/linux-librem5/linux-image-6.2.0-1-librem5_6.2.13pureos2_arm64.deb 404 Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/linux-librem5/linux-image-librem5_6.2.13pureos2_arm64.deb 404 Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/linux-librem5/linux-libc-dev_6.2.13pureos2_arm64.deb 404 Not Found [IP: 138.201.228.45 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

This is confusing, because the update command was issued immediately prior to the upgrade and didnā€™t return any errors. What am I missing here?

Thanks in advance for any assistance.

1 Like
sudo rm /var/lib/apt/lists/*

Then retry.

2 Likes

Ahoy @dos a bugless PP Purism Programmer for L5 :grinning:

1 Like

Should I ignore subdirectories, given the flagless rm?

1 Like

Yes, no need to remove anything else.

1 Like

That certainly made a difference. Thank you!

2 Likes