BAD_LIBS=`dpkg -l "*:i386" | grep 'ii' | awk '{ print $2 }' | tr '\n' ' '` sudo apt-get remove $BAD_LIBS sudo apt-get purge libgl1-mesa-swx11 # if you get a message about libgl1-mesa-swx11 problem sudo ppa-purge ppa:xorg-edgers/ppa sudo apt-get install $BAD_LIBS
I tried something like this. Looks like working.
BAD_LIBS=`dpkg -l "*:i386" | grep 'ii' | awk '{ print $2 }' | tr '\n' ' '`
sudo apt-get remove $BAD_LIBS
sudo apt-get purge libgl1-mesa-swx11 # if you get a message about libgl1-mesa-swx11 problem
sudo ppa-purge ppa:xorg-edgers/ppa
sudo apt-get install $BAD_LIBS
I tried something like this. Looks like working.