The Cookie Machine - Click here to drag window

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

If you can read me, I'm broken!

Views: 11,807β€…    Votes:  7β€…
Tags: apt   20.04   kernel   xubuntu   dpkg  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1374281
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    Edited:  June 29, 2023
Upload: September 15, 2024    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 fix broken

If a package installation was interrupted previously, you may use the install -f options to automatically attempt to correct a system with broken dependencies in place.

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 Modifying existing SEDE query to output the post's URL  β‡©