> Contents of libofx6.amd64.list file shows this:
> ^@^@^@^@^@^WL|ٴ���*~^�*~^�*~^^@^@^@^@
> @^@^@^@^@^@^@^@^@^@^@^@^@^@^@]��

I see. The script I linked to is intended for otherwise valid files which are just missing a newline character. All it does is check for files missing a newline and adding one if it's not there, so it won't help in your situation.

I wonder if *any* or your *.list files are valid. Take a look at `python3.list` and see whether it looks okay. Also run

$ cat /var/lib/dpkg/info/*.list

Is it all junk, or do you see some actual file paths in there? If most files are valid and it's just some that are corrupted, you might be able to keep removing .list files until they are all gone, and then reinstall all of those packages after. If all or most of the .list files are corrupted, and you already have your data backed up, then reinstalling might be easier.

Reply via email to