web-dev-qa-db-ja.com

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

Archボックスにズームをインストールしました。起動すると、下にVersion: 3.5.374815.0324というウィンドウが表示されます。問題は、元のバージョンをどのようにインストールしたか覚えていないことです。 Sudo pacman -R zoomを試してみたところ、error: target not found: zoomと同じyay -R zoomが得られました。また、inderzoom -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
stdcerr

実行できることの1つは、実行することです。

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

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

2
Time4Tea

さて、以前に名前を変更したディレクトリとファイルを削除してから、yay -S zoomを使用してズームをインストールし、バージョンを取得しました5.0.933860.0429

0
stdcerr