I have the same problem (I don’t know how to solve it (please help, because the commands above did not help me …
I already tried reinstalling dietpi several times and then over time I got an error with apt-show-versions
Do you require apt-show-versions? It was once installed as dependency with Webmin, but is not required anymore, the alternative native apt command is even faster and provides more details in the Webmin GUI.
So if you don’t use it for something specific, I suggest to purge it:
This was meant as an addition to the steps provided by Joulinar above. However, since there are no package lists created (it seems), you need to addituonally do this first, so the apt update can succeed once:
Could this have something to do with updating webmin or the dietpi system itself?
It’s just that I haven’t had such errors over the past 4 years, but only after I updated it, and then reinstalled it several times from scratch, this error pops up over time (
I already think that this may be a problem in the sdcard itself which I have on 16gb, although this is unlikely, I did not have errors when writing the dietpi image…
I don’t even know what the problem is…
*p.s. I want to note that I could not install webmin itself with dietpi-software, it immediately gave an error, I had to manually install it, I think it’s all to blame for updating dietpi or webmin