每次尝试安装 SteadyFlow 包时都会返回错误代码 (1)

每次尝试安装 SteadyFlow 包时都会返回错误代码 (1)

每次尝试安装该steadyflow包都会返回以下内容:

$ sudo apt-get install steadyflow
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libunique-1.0-0
The following NEW packages will be installed:
  libunique-1.0-0 steadyflow
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 184 kB of archives.
After this operation, 1,373 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://in.archive.ubuntu.com/ubuntu/ precise/main libunique-1.0-0 i386 1.1.6-4 [25.2 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ precise/universe steadyflow i386 0.1.7-2ubuntu1 [159 kB]
Fetched 184 kB in 13s (13.9 kB/s)                                                                                                                            
Selecting previously unselected package libunique-1.0-0.
(Reading database ... 214840 files and directories currently installed.)
Unpacking libunique-1.0-0 (from .../libunique-1.0-0_1.1.6-4_i386.deb) ...
Selecting previously unselected package steadyflow.
Unpacking steadyflow (from .../steadyflow_0.1.7-2ubuntu1_i386.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for libglib2.0-0 ...
Processing triggers for man-db ...
Setting up capiutils (1:3.12.20071127-0ubuntu11) ...
Note: running MAKEDEV to create CAPI devices in /dev...
mount: unknown filesystem type 'capifs'
invoke-rc.d: initscript capiutils, action "start" failed.
dpkg: error processing capiutils (--configure):
 subprocess installed post-installation script returned error exit status 32
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of drdsl:
 drdsl depends on capiutils; however:
  Package capiutils is not configured yet.
dpkg: error processing drdsl (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Setting up libunique-1.0-0 (1.1.6-4) ...
Setting up steadyflow (0.1.7-2ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 capiutils
 drdsl
E: Sub-process /usr/bin/dpkg returned an error code (1)
mihirm3m@mihirm3m-HP-Pavilion-dv5-Notebook-PC:~$ 

答案1

首先启用所有存储库,例如主要的宇宙还有更新安全更新。 看一眼这些问题

尝试执行以下命令:

sudo apt-get purge capiutils drdsl
sudo apt-get autoremove

进而

sudo apt-get -f install
sudo dpkg --configure --pending
sudo apt-get update
sudo apt-get upgrade

功劳归于这一页

我引用了其中的一句重要的话

如果您以前使用过 Windows,那么了解软件包管理器的作用就很重要了。软件包管理器管理所有安装、更新、升级和卸载。这样,您就有一个集中的位置来管理您的程序及其依赖项。如果您坚持使用官方(默认)存储库,您可以确保您安装的每个程序都经过测试、没有病毒(目前还不知道有任何 Linux 病毒在野外传播),并且与您的系统兼容。

答案2

要解决此问题,您可以:

  1. 使用突触并彻底删除损坏的软件包然后重新安装它们。

  2. 尝试命令

    sudo dpkg --configure -a
    

    然后尝试

    sudo apt-get install -f
    

相关内容