Error when updating to 9.4
blueyoz2024 opened this issue · comments
Details:
- Date | Mon May 13 21:11:46 AEST 2024
- DietPi version | v9.3.0 (MichaIng/master)
- Image creator |
- Pre-image |
- Hardware | RPi 4 Model B (aarch64) (ID=4)
- Kernel version |
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
- Distro | bullseye (ID=6,RASPBIAN=0)
- Command |
apt-get -y --allow-change-held-packages autopurge proftpd-basic
- Exit code | 100
- Software title | DietPi-Software
Steps to reproduce:
- ...
- ...
Expected behaviour:
- ...
Actual behaviour:
- ...
Extra details:
- ...
Additional logs:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
proftpd-basic*
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
After this operation, 500 kB disk space will be freed.
dpkg: unrecoverable fatal error, aborting:
files list file for package 'proftpd-core' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Forst of all, is it intended that the ProFTP server is removed?
The /var/lib/dpkg/info/proftpd-core.list
file seems to be damaged. Can you check it:
cat /var/lib/dpkg/info/proftpd-core.list
With the version of the package, we could recover the original one:
dpkg -l proftpd-core