我想更新unstable的chrome,于是在源上动了手脚,不成功
Tofloor
poster avatar
liujy126
deepin
2020-07-14 23:09
Author
本帖最后由 liujy126 于 2020-7-14 15:10 编辑

貌似linux版的谷歌没有屏蔽,直接可以下,我想获取最新版的,不一样就是不一样

stable版的下载地址是这里:https://dl.google.com/linux/dire ... e_current_amd64.deb而它的更新源里是这样的:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main,
每次update,会有:命中:6 http://dl.google.com/linux/chrome/deb stable InRelease  ,如果想更新unstable版的,直接在源里加un肯定没戏。

而unstable版的下载地址跟stable的区别只是文件名里多了个un字样:google-chrome-unstable_current_amd64.deb,地址完全一样。
于是,我把谷歌的源里添加一条,变成了这样:
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64] https://dl.google.com/linux/direct/ unstable main
最后一行是我添加的。


然而,update说:
错误:8 https://dl.google.com/linux/direct unstable Release  
  404  Not Found [IP: 203.208.50.33 443]
E: 仓库 “https://dl.google.com/linux/direct unstable Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。


怎么改才是对路子的?

Reply Favorite View the author
All Replies
avatar
SamLukeYes
deepin
2020-07-14 23:30
#1
我记得好像可以直接 sudo apt install google-chrome-unstable
Reply View the author
avatar
haohu1193
deepin
2020-07-14 23:53
#2
本帖最后由 haohu1193 于 2020-7-14 15:54 编辑

直接下载不行吗?
Reply View the author
avatar
137******33
deepin
2020-07-15 02:44
#3
在源上“动手脚”,就说明LZ你没有认真读过谷歌这个源的说明页面
它的三个版本 google-chrome-stable   google-chrome-unstable   google-chrome-beta
都在同一个源里边,为什么要擅自换源呢?

顺便附一个百度到的安装chrome教程 https://ywnz.com/linuxjc/4574.html  不看谷歌官方的说明,这种教程写的应该也挺清楚了
Reply View the author
avatar
liujy126
deepin
2020-07-15 17:53
#4
https://bbs.deepin.org/post/197172
在源上“动手脚”,就说明LZ你没有认真读过谷歌这个源的说明页面
它的三个版本 google-chrome-stable   goo ...

Reply View the author