"apt upgrade" tells me that pve-docs is missing after shutdown

the_admin

Member
Jul 24, 2022
1
0
6
Im really confused here...
When i apt upgrade, i get the following error:
dpkg: unrecoverable fatal error, aborting:
files list file for package 'pve-docs' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

What is "pve-docs" considered to be? Has this something to do with a dpkg source list?

Following packages should be upgraded according to the output:
dpkg: warning: files list file for package 'ebtables' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'pve-edk2-firmware' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfaketime:arm64' missing; assuming package has no files currently installed


I found this error when i saw that all the Proxmox services didnt come buck up after a system shutdown... :D

Can anybody help me with this one?
 
When i apt upgrade, i get the following error:
Never do an apt upgrade. That can screw up your PVE installation, as it won't check for dependencies. Only use apt dist-upgrade or apt full-upgrade.

Not sure about the actual error messages. Just wanted to give an idea what may caused it.
 
Last edited:
those errors sound like somehow your package state files got corrupted. this usually means either
- a disk dying
- something truncating/removing files that should not be removed (admin accident, buggy script, malware)

in either case after checking the disk is still okay the only safe way to get out of that is backup data you need and start from scratch - there is no telling what is damaged.