OpenVPNをインストールしようとすると、「E:子プロセス/usr/bin/dpkgがエラーコード(1)を返しました。」これは何ですか?

OpenVPNをインストールしようとすると、「E:子プロセス/usr/bin/dpkgがエラーコード(1)を返しました。」これは何ですか?

Debian x86 Minimal VPS に OpenVPN をインストールしようとするたびに、このエラーが発生します。役に立つなら、コード全体は次のようになります。

root@fadvps:/# sudo apt-get install openvpn
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openvpn is already the newest version.
The following packages were automatically installed and are no longer required:
  gconf-service gconf2 gconf2-common libasound2-dev libavahi-client-dev libavahi-common-dev libcaca-dev libdbus-1-dev libdbus-glib-1-2
  libdirectfb-extra libelfg0 libevent-2.0-5 libgconf-2-4 libgd2-xpm libglib2.0-bin libglib2.0-dev libicu48 libjbig-dev libjpeg8-dev libnatpmp1
  libpcre3-dev libpcrecpp0 libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libslang2-dev
  libtiff4-dev libtiffxx0c2 libts-dev libva-egl1 libva-glx1 libva-tpi1 libva-x11-1 libvdpau1 libwebp-dev libx11-doc libxau-dev libxcb1-dev
  libxdmcp-dev postgresql-common ssl-cert transmission-common transmission-gtk x11proto-core-dev x11proto-fixes-dev x11proto-input-dev
  x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 368 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up fuse (2.9.3-15) ...
Creating fuse device...
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
chmod: cannot access `/dev/fuse': No such file or directory
dpkg: error processing fuse (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 fuse
E: Sub-process /usr/bin/dpkg returned an error code (1)

これらのエラーの原因は何ですか?

ベストアンサー1

あなたのVPSは、おそらくホストとカーネルを共有し、FUSEを許可しない仮想化されたコンテナ内で実行されています。これはfuseモジュールが存在しないことを意味し、これはモジュールを再udev生成できない理由です/dev/fusemodinfo fuseまたはlsmod。ホストが管理するモジュールがないことを願っています。

したがって、本当にFUSEが必要な場合は、(ベンダーに連絡して)コンテナに対してFUSEを有効にする必要があります。

しかし、OpenVPNがFUSEをどのような用途に使用しているのか分からないので、openvpn正しくインストールされてほしいです。

すべてのパッケージに表示されるエラーを削除するには、依存関係apt-get remove fuseとしてインストールする必要がある原因が何でも有効になるまで機能しません。

ハ、ダック

おすすめ記事