2

I am getting the following error in the top menu bar:

An error occurred.
Please run the Package Manager from the right-click menu or apt-get in a terminal to see what is wrong.
The error message was:'Error:BrokenCount>0'.
This usually means that your installed packages have unmet dependencies.

enter image description here

How do I solve this problem?

karel
  • 122,292
  • 133
  • 301
  • 332
Jimakoch
  • 231

1 Answers1

-1

In the Terminal, type:

sudo su
mv  /var/lib/dpkg/status  /var/lib/dpkg/status-bad
cp /var/lib/dpkg/status-old  /var/lib/dpkg/status
mv /var/lib/dpkg/available  /var/lib/dpkg/available-bad
cp /var/lib/dpkg/available-old  /var/lib/dpkg/available
rm -rf /var/lib/dpkg/updates/*
rm -rf /var/lib/apt/lists/*
mkdir /var/lib/apt/lists/partial
rm /var/cache/apt/*.bin
apt-get clean
apt-get autoremove
apt-get update
dpkg --configure -a
apt-get install -f
Eliah Kagan
  • 119,640
Fidel
  • 1