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:
BTW: there is no need to do screen prints, you simply could copy the whole output from SSH terminal. If the output is to long, you could create a log.txt file and attached it to your post.
While this workaround allow the purge to finish, all files will be left in place so that related errors remain. So the package needs to be reinstalled and purged once again to have it fully removed:
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
Yes, now do the steps provided by Joulinar above, followed by the steps I provided below those. Then you should be fine to update and install whatever you like .
Yes you do. The file list of the package was corrupted (dedicated issue) so to be able to cleanly uninstall it, it needs to be reinstall first to not have loose files on your system.