Cudo 安装错误 1

Cudo 安装错误 1

当我尝试按照其网站上的说明安装 cudo 时 -https://www.cudominer.com/miner-installation-on-ubuntu-18-04/,我收到以下错误消息,尽管尝试遵循此处的建议:https://phoenixnap.com/kb/fix-sub-process-usr-bin-dpkg-returned-error-code-1,我一直无法修复它。

错误信息:

Unpacking cudo-miner-desktop (1.0.5) ...
Setting up cudo-miner-core (1.1.4) ...
Setting up cudo-miner-service (1.1.4) ...
dpkg: error processing package cudo-miner-service (--configure):
 installed cudo-miner-service package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of cudo-miner-desktop:
 cudo-miner-desktop depends on cudo-miner-service (= 1.1.4); however:
  Package cudo-miner-service is not configured yet.

dpkg: error processing package cudo-miner-desktop (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                            Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 cudo-miner-service
 cudo-miner-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我遇到了同样的问题,找不到专门针对 cudo-miner 的解决方案。然而,经过一番尝试,以下步骤对我来说很有效,没有任何进一步的麻烦。

  1. 使用 cudo miner 网站上的安装命令开始安装。回答问题并继续安装。它将完成执行并抛出上述错误。

  2. 现在运行以下命令集。

sudo rm /var/lib/dpkg/info/cudo-*
sudo dpkg --configure -D 777 cudo-miner-service
sudo apt -f install

现在所有cudo-miner*软件包都应该正确安装。

相关内容