我的盒子上安装了 Zoom Arch
。当我启动它时,它会向我显示一个窗口,该窗口位于底部Version: 3.5.374815.0324
。问题是,我不记得我是如何安装这个原始版本的。我尝试了sudo pacman -R zoom
这给了我error: target not found: zoom
,与 相同yay -R zoom
。它也不会显示inder zoom -Q
。
我从以下位置下载了最新版本https://support.zoom.us/hc/en-us/articles/204206269-Installing-or-updating-Zoom-on-Linux#h_c0913442-0832-428d-aa15-b004b80cfafe并尝试使用 和 来安装它sudo pacman -U zoom_x86_64.pkg.tar.xz
,同时它首先说:
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) zoom-5.0.399860.0429-1
Total Installed Size: 150.29 MiB
:: Proceed with installation? [Y/n]
,经确认后Y
我得到:
...
zoom: /opt/zoom/zoom.sh exists in filesystem
zoom: /opt/zoom/zoomlinux exists in filesystem
zoom: /opt/zoom/zopen exists in filesystem
zoom: /usr/bin/zoom exists in filesystem
zoom: /usr/share/applications/Zoom.desktop exists in filesystem
zoom: /usr/share/mime/packages/zoom.xml exists in filesystem
zoom: /usr/share/pixmaps/Zoom.png exists in filesystem
zoom: /usr/share/pixmaps/application-x-zoom.png exists in filesystem
Errors occurred, no packages were upgraded.
我如何覆盖这些文件并zoom
升级到新版本?
更新
我搬家/opt/zoom/ to /opt/zoom~/
并重试,但得到:
$ sudo pacman -U zoom_x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) zoom-5.0.399860.0429-1
Total Installed Size: 150.29 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##########################################################################################] 100%
(1/1) checking package integrity [##########################################################################################] 100%
(1/1) loading package files [##########################################################################################] 100%
(1/1) checking for file conflicts [##########################################################################################] 100%
error: failed to commit transaction (conflicting files)
zoom: /usr/bin/zoom exists in filesystem
zoom: /usr/share/applications/Zoom.desktop exists in filesystem
zoom: /usr/share/mime/packages/zoom.xml exists in filesystem
zoom: /usr/share/pixmaps/Zoom.png exists in filesystem
zoom: /usr/share/pixmaps/application-x-zoom.png exists in filesystem
Errors occurred, no packages were upgraded.
我按如下方式移动这些文件:
$ sudo mv /usr/bin/zoom /usr/bin/zoom~
$ sudo mv /usr/share/applications/Zoom.desktop /usr/share/applications/Zoom.desktop~
$ sudo mv /usr/share/mime/packages/zoom.xml /usr/share/mime/packages/zoom.xml~
$ sudo mv /usr/share/pixmaps/Zoom.png /usr/share/pixmaps/Zoom.png~
$ sudo mv /usr/share/pixmaps/application-x-zoom.png /usr/share/pixmaps/application-x-zoom.png~
$ sudo pacman -U zoom_x86_64.pkg.tar.xz
然后我重新安装,它似乎完成了:
...
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##########################################################################################] 100%
(1/1) checking package integrity [##########################################################################################] 100%
(1/1) loading package files [##########################################################################################] 100%
(1/1) checking for file conflicts [##########################################################################################] 100%
(1/1) checking available disk space [##########################################################################################] 100%
:: Processing package changes...
(1/1) installing zoom [##########################################################################################] 100%
run post install script, action is 5.0.399860.0429-1...
Error in file "/usr/share/applications/org.kde.kdeconnect_open.desktop": "*/*" is an invalid MIME type ("*" is an unregistered media type)
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating the desktop file MIME type cache...
(3/3) Updating the MIME type database...
但是当我启动缩放时,我仍然看到一个对话框,上面写着版本:3.5.374815.0324
所以实际上并没有升级......
或者该软件包实际上并不包含更新的版本......
答案1
你可以做的一件事就是运行:
sudo pacman -U --overwrite '*' zoom_x86_64.pkg.tar.xz
这应该会导致 pacman 覆盖现有文件。但是,--overwrite '*'
不建议这样做,因为它可能很危险。因此,手动移动或删除现有文件/文件夹可能是一个更安全的选择(因为没有太多)。
答案2
好的,我删除了之前重命名的目录和文件,然后安装了 Zoom 并yay -S zoom
获得了我的版本5.0.933860.0429