# cat /etc/apt/sources.list
deb http://deb.debian.org/debian/ stretch main contrib non-free
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
deb http://deb.debian.org/debian-security/ stretch-updates main contrib non-free
deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
The reason I am asking is I keep getting this error
E: Unable to parse package file /var/lib/dpkg/status (1)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
deb https://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://ftp.debian.org/debian/ stretch-backports main contrib non-free
Issue with with the corrupt cache, try purging it:
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Mine is a custom build of Dietpi from armbian stretch image for Orange Pi Zero...I ran the upgrade from 6.6 to 6.7...
No worries on helping/troubleshooting (I know non-standard build problems and trying to troubleshoot are almost impossible)...if worse comes to worse I will just rebuild from scratch with the 6.7 as default DIEPI_PREP build
@WarHawk
Please try to comment the armbian repo, as your Debian repos look fine. The related file should be located within /etc/apt/sources.list.d/. Comment out the deb line(s) inside and try if apt update runs through then, in case after doing the clean steps provided by Fourdee.
If it doesn't help, I see you switched from default repo mirrordirector (deb.debian.org) to ftp.debian.org already. The security repo is not affected by this, as different mirrors have it available via different URL scheme or not at all. Please try to adjust the remaining deb.debian.org line within /etc/apt/sources.list and replace by: