Troubleshooting ubuntu: dpkg: unrecoverable fatal error, aborting: files list file for package ‘linux-generic’ is missing final newline Rumi, September 15, 2023 If you ever encounter with such similar of an error (in my case it occurred on my Ubuntu 20 distro), you may apply the following process to get a fix. The error: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apt apt-transport-https apt-utils dpkg libapt-inst2.0 libapt-pkg5.0 ntpdate oracle-java8-installer oracle-java8-set-default thermald 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,389 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue? [Y/n] Y Preconfiguring packages ... dpkg: unrecoverable fatal error, aborting: files list file for package 'linux-generic' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2) Disclaimer: it worked for me, that doesn’t necessary means that would work same for you! However, you may give it a try. remove or move the missing file sudo rm /var/lib/dpkg/info/linux-generic.list Now you can again reinstall it sudo apt-get install linux-generic --reinstall or sudo dpkg --configure -a sudo apt update sudo apt upgrade (The later one worked, I suppose the first one should work as well) Related Administrations Configurations (Linux) dpkgFatal ErrorUbuntuUbuntu 20Unrecoverable
Enable authentication of Jitsi Meet July 14, 2020July 14, 2020 A basic installation of Jitsi Meet gets you up and running within shortest time, probably in less than 15 minutes. There are hardly any configuration changes necessary. Most important information is a fully qualified domain name (FQDN), and that’s it. However such a default installation of Jitsi Meet is open…. Read More
Install Proxmox VE 7 on Debian 11 (Bullseye) December 16, 2021 In this guide, we will cover a step-by-step installation of Proxmox VE 7 virtualization software on Debian 11 (Bullseye) Linux system. It’s recommended to deploy Proxmox VE server from a Bare-metal_ISO_Installer, but it’s sometimes inevitable to deploy it on a running instance of Debian 11 (Bullseye) server. Setup Pre-requisites For… Read More
Install Docker on Debain 10 December 21, 2021 Installing Docker The Docker installation package available in the official Debian repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure… Read More