Cannot install Plesk updates or any feature using Plesk installer: files list file for package XXX is missing final newline

Created:

2017-04-17 21:52:09 UTC

Modified:

2017-08-08 13:45:22 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot install Plesk updates or any feature using Plesk installer: files list file for package XXX is missing final newline

Applicable to:

  • Plesk for Linux

Symptoms

Cannot install Plesk updates or any feature using Plesk installer:

dpkg: unrecoverable fatal error, aborting:
    files list file for package '<package_name>' is missing final newline

Cause

Inconsistency of dpkg package management system

Resolution

Warning: Make sure that you have enough experience to perform the following actions. Otherwise, contact the server administrator.

  1. Create backup of /var/lib/dpkg/status file:

    # cp /var/lib/dpkg/status /root/status.saved
    
  2. Remove the Package section from status file that contains information about the package from the error

    Package: <package_name>
    
    Status: install ok installed
    Priority: standard
    ...
  3. Re-install the package:

    # apt-get download <package_name>
    
    # dpkg -i <package_name>
Have more questions? Submit a request
Please sign in to leave a comment.