ubuntu17.04安装teamviewer 和用apt-get update遇到的一些问题

在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!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值