前提是已经正确设置好更新源,我的源是cn99的:
#cn99 deb sources
deb http://ubuntu.cn99.com/ubuntu gutsy main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu gutsy main restricted multiverse universe
deb http://ubuntu.cn99.com/ubuntu gutsy-security main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu gutsy-security main restricted multiverse universe
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates restricted main multiverse universe
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed restricted main multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed restricted main multiverse universe
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multivers
deb http://ubuntu.cn99.com/ubuntu-cn gutsy main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu-cn gutsy main restricted multiverse universe
然后依次输入以下命令
sudo apt-get update
sudo apt-get remove totem-gstreamer
sudo apt-get install totem-xine libxine1-ffmpeg libxine1-gnome libxine1-plugins libxine1 libstdc++5
sudo apt-get install w32codecs
#cn99 deb sources
deb http://ubuntu.cn99.com/ubuntu gutsy main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu gutsy main restricted multiverse universe
deb http://ubuntu.cn99.com/ubuntu gutsy-security main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu gutsy-security main restricted multiverse universe
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates restricted main multiverse universe
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed restricted main multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed restricted main multiverse universe
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multivers
deb http://ubuntu.cn99.com/ubuntu-cn gutsy main restricted multiverse universe
deb-src http://ubuntu.cn99.com/ubuntu-cn gutsy main restricted multiverse universe
然后依次输入以下命令
sudo apt-get update
sudo apt-get remove totem-gstreamer
sudo apt-get install totem-xine libxine1-ffmpeg libxine1-gnome libxine1-plugins libxine1 libstdc++5
sudo apt-get install w32codecs