I hate to resurrect a thread, but I just wanted to say thank you for this answer. One of the laptops in my house was having this exact issue where it just refused to see any package updates; leaving it stuck on 12.5 and only reporting those package versions as the ones available from apt. Renaming /var/lib/apt/lists fixed it for me,I think that the issue sounds similar to this recent thread.
The TLDR is that the file times got out of whack somehow, which stopped the updates from happening and used these commands to fix them:Code:
#mv /var/lib/apt/lists/ /var/lib/apt/lists-SAVE/#apt update

Statistics: Posted by Gerowen — 2024-08-24 22:11