Arch LinuxでZoomをアップグレードできない

Arch LinuxでZoomをアップグレードできない

私のボックスにZoomがインストールされていますArch。実行すると、下部にあるウィンドウが表示されますVersion: 3.5.374815.0324。問題は、このオリジナルバージョンをインストールした方法を覚えていないことです。私はsudo pacman -R zoomこれを試み、これが私にerror: target not found: zoom同じことを与えましたyay -R zoom。内部にも表示されませんzoom -Q

最新バージョンを以下からダウンロードしました。https://support.zoom.us/hc/en-us/articles/204206269-Installing-or-updating-Zoom-on-Linux#h_c0913442-0832-428d-aa15-b004b80cfafesudo 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

あなたができることの1つは、以下を実行することです:

sudo pacman -U --overwrite '*' zoom_x86_64.pkg.tar.xz

これにより、pacmanは既存のファイルを上書きします。ただし、--overwrite '*'これは危険な可能性があるためお勧めできません。したがって、既存のファイル/フォルダがあまりないため、手動で移動または削除する方が安全なオプションかもしれません。

おすすめ記事