The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,655β€…    Votes:  4β€…
Tags: apt   20.04   kernel   xubuntu   dpkg  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

Title: Unmet dependencies. Try 'apt --fix-broken install'- Conflict in linux-image
ID: /2021/11/08/Unmet-dependencies.-Try-_apt-fix-broken-install_-Conflict-in-linux-image
Created: November 8, 2021
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

From this tutorial:

Method 1: Reconfigure Package Database

The first method you can try is to reconfigure the package database. Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.

sudo dpkg --configure -a

Method 2: Use force install

If a package installation was interrupted previously, you may try to do a force install.

sudo apt-get install -f

Method 3: Try removing the troublesome package

If it’s not an issue for you, you may try to remove the package manually. Please don’t do it for Linux Kernels (packages starting with linux-).

sudo apt remove package_name

Method 4: Remove post info files of the troublesome package

This should be your last resort. You can try removing the files associated to the package in question from /var/lib/dpkg/info.

⇧ Ubuntu 20.04 on WSL2: Folder owner & group are being reset after each start HDMI monitor stops working when lap top lid is closed  β‡©