I had to work with some kali packages, so i added the last kali repository to my file /etc/apt/sources.list . Everything went fine, and I installed some packages and worked with some.
But during the installation of some packages, I have noticed that some already install packages in my Ubuntu were updated to the one who are in the kali repositories. That was fine at the moment, but now when I try to install some packages for Ubuntu, I get the error
Unable to correct problems , defective packets are in mode " keep state ".
I guess that he problem came from the fact that some Ubuntu packages were update the versions that were in kali repository.
So, how can I kinda unupgrade all my installed packets to the version which are in the Ubuntu repository.
PS : I have already removed kali repository. And I'm using Ubuntu 15.10 with Linux version > 4.