vi /etc/yum.repos.d/google-chrome.repo
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
修改为
baseurl=https://dl.google.com/linux/chrome/rpm/stable/x86_64
保存后yum update即可正常更新chrome。
curl https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
<revision>1629824673</revision>
<data type="filelists">
<checksum type="sha256">50de5e13d0b72d5bfa0662652e77ae06483d36f75a62fb65543f33d803b0c0f8</checksum>
<open-checksum type="sha256">8862b9a58c069719b4b417744f264a8d155d6027ceb05416c7778800c21ac550</open-checksum>
<location href="repodata/filelists.xml.gz"/>
<timestamp>1629824674</timestamp>
<size>1822</size>
<open-size>19341</open-size>
</data>
<data type="other">
<checksum type="sha256">31a77f378917b5ef66033f0a506a93e4aa14b5de245c50df8a98a12c8a9fff6d</checksum>
<open-checksum type="sha256">564ba63c4d23524f3d998fe9262a02148e37d8a7d3d910f6894ff2e79fef3dcc</open-checksum>
<location href="repodata/other.xml.gz"/>
<timestamp>1629824674</timestamp>
<size>372</size>
<open-size>692</open-size>
</data>
<data type="primary">
<checksum type="sha256">1ae38ec869edbc1d8f95a49e5fc1df3d45dec57bba1bf413a8f7a8eeaea961fb</checksum>
<open-checksum type="sha256">c29383c5d209f7008bdc91e8f0edf2d20e2913ac0743756b40f0c86ee48fec96</open-checksum>
<location href="repodata/primary.xml.gz"/>
<timestamp>1629824674</timestamp>
<size>1808</size>
<open-size>17383</open-size>
</data>
</repomd>