I am trying to figure out how to delete the current package list that apt uses and generate a new one. So far, I cannot find this information in the “Debian Administrator’s Guide” or by searching.
‘apt update’ and ‘apt clean’ do not help with my problem.
Background:
I want to install a package that still uses python-libxml2. Unfortunately, the python-libxml2 version shown by apt and the one in the amber repository have different version numbers. apt shows ‘2.9.4+dfsg1-7+b3’; the repository has ‘2.9.4+dfsg1-7+deb10u1’. The actual version numbers, 2.9.4, match, but ‘apt update’ does not synchronize the version “suffixes.”
When I try ‘apt install python-libxml2’, I get the following error:
Err:1 https://repo.puri.sm/pureos amber/main amd64 python-libxml2 amd64 2.9.4+dfsg1-7+b3
404 Not Found [IP: 138.201.228.45 443]
My thought is that ‘apt update’ is not doing what I expect, so I want to start with a fresh list of packages. I have not found a command to do this. I think that this information is in /var/apt/cache/pkgcache.bin, but I really do not want to go around mv-ing files without being certain I am not going to cause myself more problems.
FYI, my bug on what I thought was simply a missing file is here.
My sources.list is:
deb https://repo.puri.sm/pureos/ amber main
deb-src https://repo.puri.sm/pureos/ amber main #Added by software-properties
deb https://repo.pureos.net/pureos/ amber-security main
deb https://repo.pureos.net/pureos/ amber-updates main
Thanks for suggestions.