'When trying to run sudo apt upgrade on my terminal in zorin 16 os, I get an error code (2). How can I solve this?

Preconfiguring packages ... dpkg: unrecoverable fatal error, aborting: files list file for package 'sublime-text' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source