在ubuntu17.04上装teamviewer 参考这篇教程https://www.cnblogs.com/wmr95/p/7574615.html
但是用
sudo apt-get install -f 修复安装依赖包时出错,W: 仓库 “http://mirrors.163.com/ubuntu zesty Release” 没有 Release 文件。
一查,是源的问题,所以用这里http://wiki.ubuntu.org.cn/%E6%A8%A1%E6%9D%BF:17.10source 的源地址替换/etc/apt/sources.list下的地址。具体做法是:sudo gedit /etc/apt/sources.list 然后用#注释掉原来的源链接,再把按照上面文章的指示把17.10source里的内容
deb http://cn.archive.ubuntu.com/ubuntu/ artful main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ artful-security main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ artful-updates main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse ##測試版源 deb http://cn.archive.ubuntu.com/ubuntu/ artful-proposed main restricted universe multiverse # 源碼 deb-src http://cn.archive.ubuntu.com/ubuntu/ artful main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ artful-security main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ artful-updates main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse ##測試版源 deb-src http://cn.archive.ubuntu.com/ubuntu/ artful-proposed main restricted universe multiverse # Canonical 合作夥伴和附加 deb http://archive.canonical.com/ubuntu/ artful partner
deb http://extras.ubuntu.com/ubuntu/ artful main
复制到sources.list中,再把里面所有的服务器链接 http://cn.archive.ubuntu.com/ubuntu/替换成网易的http://mirrors.163.com/ubuntu/
嘿嘿,运行sudo apt-get update出错
W: 仓库 “http://extras.ubuntu.com/ubuntu artful Release” 没有 Release 文件。
分析,可能是这个源的有点问题,现在还没用到这个,先将其注释掉
#deb http://extras.ubuntu.com/ubuntu/ artful main
再运行sudo apt-get update
和sudo apt-get upgrade
最后安装sudo dpkg -i /home/kevien/下载/teamviewer_13.1.8286_amd64.deb
done!