Execute o seguinte comando para instalar esse driver (swrast_dri.so):
sudo apt-get update
sudo apt-get install libgl1-mesa-dri libgl1-mesa-dri:i386
Por favor poste qualquer erro, obrigado!
Geralmente, quando vejo esse erro, estou executando:
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
resolveu o problema.
No entanto, às vezes você pode precisar tentar instalar (ou desinstalar) aplicativos teimosos individualmente para fazer as coisas.
Para entender a mensagem, instale as dependências necessárias individualmente para ver qual é o problema (ou isso pode corrigir o problema):
sudo apt-get install --reinstall libcheese-gtk23 libcheese7
Se a próxima mensagem de erro diz blá blá blá depende de blá blá blá , tente instalar blá blá blá e vá de lá.