I encountered a package management failure, and I don't know how to troubleshoot it. I have tried sudo apt -f install
many times, but this errors remains. I have also tried sudo apt autoremove
; sudo apt update
, sudo apt-get clean
; yet the error persists. Is there any way to fix this error?
Here is the error message for sudo apt-get -f install
:
Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies: chromium-browser : Depends: chromium-codecs-ffmpeg-extra (=56.0.2924.76-0ubuntu0.16.04.1268) but 57.0.2987.98-0ubuntu0.16.04.1276 is installed or chromium-codecs-ffmpeg (= 56.0.2924.76-0ubuntu0.16.04.1268) but it is not installed chromium-browser-l10n : Depends: chromium-browser (>=57.0.2987.98-0ubuntu0.16.04.1276) but 56.0.2924.76-0ubuntu0.16.04.1268 is installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. E: Unable to correct dependencies
Output of apt policy chromium-browser
:
chromium-browser: Installed: 56.0.2924.76-0ubuntu0.16.04.1268 Candidate: 57.0.2987.98-0ubuntu0.16.04.1276 Version table: 57.0.2987.98-0ubuntu0.16.04.1276 500 500 http: //us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 500 http: //security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages ***56.0.2924.76-0ubuntu0.16.04.1268 100 100 /var/lib/dpkg/status 49.0.2623.108-0ubuntu1.1233 500 500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Results of sudo apt install chromium-browser=57.0.2987.98-0ubuntu0.16.04.1276
Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: update-manager : Depends: update-manager-core (= 1:16.04.5) but 1:16.04.6 is to be installed update-manager-core : Depends: python3-update-manager (= 1:16.04.6) but 1:16.04.5 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
apt-cache policy chromium-browser
.chromium-browser
is not the latest one; trysudo apt upgrade
, and if that doesn't work dosudo apt install chromium-browser=57.0.2987.98-0ubuntu0.16.04.1276
to get a clue as to why the package can't be upgraded.sudo apt install chromium-browser=57.0.2987.98-0ubuntu0.16.04.1276
to the questions. i have another broken packageupdate-manager-core
sudo apt install package1=version1 package2=version2 ...
.