- Install the Synaptic Package Manager, either through the Software Center or by running this command in the Terminal:
sudo apt-get install synaptic
or
"apt://synaptic" run in brouser
- Open it by typing
synaptic
in the Unity dash and then hitting Enter. - Then follow this procedure:
- Select the "Status" Catagory. This shows packages organized by status.
- Select "Broken dependencies" catagory from upper left pane.
- Select the broken packages. If the packages are more than one, select them all by pressing Ctrl+A.
- Then right-click on a selected package, and select the option "Mark for Complete Removal" in the menu.
=============================
Some Helpfull commonds for error in terminal.
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo rm -f /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get --fix-broken install
sudo dpkg --configure -a
sudo apt-get autoclean $$ apt-get clear cache
sudo apt-get update
sudo rm /var/lib/apt/lists/partial/*
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
sudo -i gedit /var/lib/dpkg/status
sudo rm /var/lib/apt/lists/lock
sudo fuser -cuk /var/lib/dpkg/lock
sudo fuser -cuk /var/cache/apt/archives/lock
Remove Terminal History
cat /dev/null > ~/.bash_history && history -c && exit
=================================
0 comments:
Post a Comment