パックマンエラー:ファイルを開けませんでした:/ etc / mtab:そのファイルまたはディレクトリがありません

パックマンエラー:ファイルを開けませんでした:/ etc / mtab:そのファイルまたはディレクトリがありません

パックマンを使用してパッケージをインストールする際に問題があります。

pacman -Syuまず、問題なくパックマンを正しく更新しました。

ただし、インストールしようとすると、sudo次のような応答が出ますpacman -S sudo

[root@cx-W55xEU /]# pacman -S sudo             
resolving dependencies...
looking for conflicting packages...

Packages (1) sudo-1.8.17.p1-1

Total Download Size:   0.90 MiB
Total Installed Size:  3.73 MiB

:: Proceed with installation? [Y/n] y
error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

filesystempacman -S filesystemこれについて読んだ後、問題を解決するパッケージをインストールしてみましたmtab

[root@cx-W55xEU /]# pacman -S filesystem
warning: filesystem-2015.09-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) filesystem-2015.09-1

Total Installed Size:  0.01 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                             [####################################################] 100%
error: GPGME error: Invalid crypto engine
(1/1) checking package integrity                                                           [####################################################] 100%
error: GPGME error: Invalid crypto engine
error: filesystem: missing required signature
:: File /var/cache/pacman/pkg/filesystem-2015.09-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

pacman -S filesystem削除した後、最新バージョンを再ダウンロードしてインストールしてみました。

[root@cx-W55xEU /]# pacman -S filesystem
warning: filesystem-2015.09-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) filesystem-2015.09-1

Total Download Size:   0.01 MiB
Total Installed Size:  0.01 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

私の/etc/mtabファイルはきれいです。つまり、コンテンツはありません。

アーチウィキに関するページを見つけましたただし、この問題を解決するために指定されたシンボリックリンクを作成する必要があるかどうかはわかりません。

どんな提案がありますか?

ベストアンサー1

おすすめ記事