安装openCl运行时:Avahi配置问题

时间:2019-03-07 17:48:23

标签: opencl avahi

我正在尝试使用hashcat,但它表示我需要opencl运行时用于intel cpu和Nvidia驱动程序以用于gpu。 我有nvidia驱动程序,所以我尝试通过这种方式安装opencl运行时:

sudo apt-get install beignet-opencl-icd

似乎有很多包含opencl的软件包,不知道我应该使用哪个软件包。这个被写为“用于Intel GPU的OpenCL库”,因此看起来不错。

但是,我收到此错误:

Paramétrage de avahi-daemon (0.7-3.1ubuntu1.2) ...
Job for avahi-daemon.service failed because a timeout was exceeded.
See "systemctl status avahi-daemon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript avahi-daemon, action "restart" failed.
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Thu 2019-03-07 18:03:15 CET; 12ms ago
Process: 4662 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=0/SUCCESS)
Main PID: 4662 (code=exited, status=0/SUCCESS)
Status: "avahi-daemon 0.7 starting up."

mars 07 18:01:46 sarah-pc avahi-daemon[4662]: Server startup complete. Host name is sarah-pc.local. Local service cookie is 576013434.
mars 07 18:03:15 sarah-pc systemd[1]: avahi-daemon.service: Start operation timed out. Terminating.
mars 07 18:03:15 sarah-pc avahi-daemon[4662]: Got SIGTERM, quitting.
mars 07 18:03:15 sarah-pc avahi-daemon[4662]: Leaving mDNS multicast group on interface wlo1.IPv6 with address fe80::d935:9763:6ede:fcbd.
mars 07 18:03:15 sarah-pc avahi-daemon[4662]: Leaving mDNS multicast group on interface wlo1.IPv4 with address 192.168.0.22.
mars 07 18:03:15 sarah-pc avahi-daemon[4662]: Leaving mDNS multicast group on interface lo.IPv6 with address ::1.
mars 07 18:03:15 sarah-pc avahi-daemon[4662]: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
mars 07 18:03:15 sarah-pc avahi-daemon[4662]: avahi-daemon 0.7 exiting.
mars 07 18:03:15 sarah-pc systemd[1]: avahi-daemon.service: Failed with result 'timeout'.
mars 07 18:03:15 sarah-pc systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
dpkg: erreur de traitement du paquet avahi-daemon (--configure) :
installed avahi-daemon package post-installation script subprocess returned error exit status 1
dpkg: des problèmes de dépendances empêchent la configuration de avahi-utils :
avahi-utils dépend de avahi-daemon ; cependant :
Le paquet avahi-daemon n'est pas encore configuré.

dpkg: erreur de traitement du paquet avahi-utils (--configure) :
problèmes de dépendances - laissé non configuré
Aucun rapport « apport » n'a été créé car le message d'erreur indique une  erreur consécutive à un échec précédent.

Des erreurs ont été rencontrées pendant l'exécution :
avahi-daemon
avahi-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)

因此从根本上说,它无法以超时方式启动avahi-daemon,然后说依赖性问题阻止了avahi-utils的建立,avahi-utils依赖于avahi-daemon,但avahi-daemon没有设置。

我不知道avahi是什么,所以我在互联网上看了一眼。我没有安装它,所以我不知道为什么要拥有它或如何配置它,而我却找不到相关的帮助。

但是,安装似乎可以正常进行。或类似的。如果我再次尝试安装opencl,它会显示:

donut-opencl-icd is already the most recent version (1.3.2-2).
 0 updated, 0 newly installed, 0 to remove and 22 not updated.
 2 partially installed or removed.

现在,当我启动hashcat时,它不再要求安装opencl,而只是要求进行更新:

* Device #1: Intel's OpenCL runtime (GPU only) is currently broken.
         We are waiting for updated OpenCL drivers from Intel.

然后我可以使用hashcat,因为它仍然可以将我的Nvidia GPU用作设备#2,但是我想了解这个有用的东西

欢迎任何帮助:)

0 个答案:

没有答案
相关问题