Categories
Linux Mastering Development Ubuntu

dpkg: unrecoverable fatal error, aborting: files list file for package ‘libvisual-0.4-0:i386’ is missing final newline [duplicate]

I ran the command sudo apt install snapd but encountered below error: Reading package lists… Done Building dependency tree Reading state information… Done The following packages will be upgraded: snapd 1 upgraded, 0 newly installed, 0 to remove and 420 not upgraded. Need to get 0 B/13.7 MB of archives. After this operation, 2,265 kB […]

Categories
Mastering Development System & Network

apt-get update: Temporary failure resolving ‘*.debian.org’ In Docker Container

I am on CentOS 8. The second step in my Dockerfile tries to update the system, but for some reason, it keeps saying that it is having trouble resolving deb.debian.org and security.debian.org, so the update fails. Step 2/13 : RUN apt-get update && apt-get -y install —> Running in fa042e27e301 Err:1 http://security.debian.org/debian-security buster/updates InRelease Temporary […]

Categories
Linux Mastering Development Ubuntu

How to fix this dpkg issue?

So how can I fix this problem. It always occurs while installing any packages. I tried restarting Ubuntu, reinstalling ure but failed. I’m using Ubuntu 20.04 Log while installing Wireguard: Reading package lists… Done Building dependency tree Reading state information… Done wireguard is already the newest version (1.0.20200319-1ubuntu1). The following packages were automatically installed and […]

Categories
Linux Mastering Development Ubuntu

Can’t Install MySQL after stupid clash with mariaDB

It completely slipped my mind that MySQL was already installed on this particular computer and I installed MariaDB, I was also unaware of the consequences of having both packages on the same computer, I’ve been trying to uninstall completely both installations and remove dependencies for both of them. I’ve looked online for several tutorials on […]

Categories
Linux Mastering Development Ubuntu

E: Sub-process /usr/bin/dpkg returned an error code (1), ubuntu 16.04

How to fix this issue. I will show you every command and output that I tried to use them. sudo apt-get update Hit:1 http://packages.ros.org/ros/ubuntu xenial InRelease Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Hit:3 http://kr.archive.ubuntu.com/ubuntu xenial InRelease Get:4 http://kr.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Get:5 http://kr.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Fetched 325 kB in 2s (141 kB/s) […]

Categories
User Help

Removing old DKMS files fails due to new kernel

I am running Ubuntu 19.10 and due to some problems with the linux kernel 5.3 i switched to 5.4. Now if i want to remove old virtualbox dkms files (virtualbox-6.0.14), dpkg exits with error code 10. Can someone help me? I attached the output of apt autoremove here: $ sudo apt autoremove Reading package lists… […]

Categories
Linux Mastering Development Ubuntu

Upgrade failure to 20.4

I have been trying to upgrade my Ubuntu 19.10 to 20.4 for a few weeks now. Several times I’ve gotten the prompt asking me if I want to upgrade. I say yes and nothing happens. I’m now starting to look into this. I have checked syslog, but didn’t see anything in it that looked like […]

Categories
Linux Mastering Development Ubuntu

Ubuntu 20.04 Software Installation Issue

On Ubuntu 20.04 I installed Bluemail. Then I tried to use the Software app to install an app called “Info Center” and got “Error while installing package: installed bluemail package post-installation script subprocess returned error exit status 1”. When I ran “sudo apt-get install -f”, I got: sudo apt-get install -f Reading package lists… Done […]

Categories
Linux Mastering Development Ubuntu

“apt full-upgrade” returns “1 not fully installed or removed.”

I tried to uninstall two earlier versions of Java by merely removing the files, but now got this error and don’t know how to solve. What’s the issue/solution? $ sudo apt full-upgrade Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done 0 upgraded, 0 newly installed, 0 to remove and […]

Categories
Linux Mastering Development

How can i remove the old linux-image after upgrading to kali-linux 2020.2?

I have recently upgraded my kai-linux(live) to kali 2020.2 and since then i am having problem in removing linux-image-5.5.0-kali2-amd64 whenever i run apt-get autoremove I get this error, Reading package lists… Done Building dependency tree Reading state information… Done The following packages will be REMOVED: linux-image-5.5.0-kali2-amd64 0 upgraded, 0 newly installed, 1 to remove and […]