331
Error in Alert Log
└─# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
nodejs : Depends: libnode72 (= 12.21.0~dfsg-5) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Solution
Very rarely does this happen, but you may need to bring out the big guns for this one:
Open Terminal (if it’s not already open)
Force an overwrite for the Node package:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/nodejs_16.9.0-deb-1nodesource1_amd64.deb
Fix the rest of the broken install:
sudo apt -f install
Make sure the rest of your system is properly up to date:
sudo apt update
sudo apt dist-upgrade
Try not to let things get crazy enough to see messages like:
1 upgraded, 0 newly installed, 0 to remove and 1133 not upgraded.