Hi a saver version would be:
BAD_LIBS=`dpkg -l "*:i386" | grep 'ii' | awk '{ print $2 }' | tr '\n' ' '` echo $BAD_LIBS > BAD.bck AUTO=$(apt-mark showauto $BAD_LIBS) echo $AUTO >auto 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 sudo apt-mark auto $AUTO
in case the terminal crashes you have backup information about packages and status
Hi a saver version would be:
BAD_LIBS=`dpkg -l "*:i386" | grep 'ii' | awk '{ print $2 }' | tr '\n' ' '`
echo $BAD_LIBS > BAD.bck
AUTO=$(apt-mark showauto $BAD_LIBS)
echo $AUTO >auto
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
sudo apt-mark auto $AUTO
in case the terminal crashes you have backup information about packages and status