ubuntu 22.04。我正在更新所有 snap(snap refresh
),但它仍然显示 chromium 需要更新(snap refresh--list),而实际上 snap 并未更新:
jojo@work:~$ sudo snap refresh
All snaps up to date.
jojo@work:~$ snap refresh --list
Name Version Rev Size Publisher Notes
chromium 108.0.5359.124 2254 154MB canonical✓ -
jojo@work:~$ snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: Canonical✓
store-url: https://snapcraft.io/chromium
contact: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license: unset
description: |
An open-source browser project that aims to build a safer, faster, and more
stable way for all Internet users to experience the web.
commands:
- chromium.chromedriver
- chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: latest/stable
refresh-date: 4 days ago, at 22:02 CET
channels:
latest/stable: 108.0.5359.124 2022-12-14 (2254) 154MB -
latest/candidate: 108.0.5359.124 2022-12-14 (2254) 154MB -
latest/beta: 109.0.5414.36 2022-12-09 (2247) 155MB -
latest/edge: 110.0.5464.2 2022-12-12 (2250) 155MB -
installed: 108.0.5359.94 (2238) 153MB -
因此安装的是 xxx.94,最新/稳定的是 xxx.124
为什么 snap 没有更新以及如何实际更新它?
答案1
尝试以下方法来更新 Chromium:
sudo snap refresh chromium
或者
sudo snap refresh chromium --channel=latest/stable