没有编写 apport 报告,因为错误消息表明这是上次故障的后续错误

没有编写 apport 报告,因为错误消息表明这是上次故障的后续错误

我尝试在 ubuntu 14.04 中安装 PDF Acrobat。我使用了以下命令:

sudo add-apt-repository "deb http://archive.canonical.com/ precise partner"
sudo apt-get update
sudo apt-get install acroread

之后我遇到了这个错误:

dpkg: error processing package libapache2-mpm-itk (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-itk:
 apache2-mpm-itk depends on libapache2-mpm-itk; however:
  Package libapache2-mpm-itk is not configured yet.

dpkg: error processing package apache2-mpm-itk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of koha-common:
 koha-common depends on apache2-mpm-itk; however:
  Package apache2-mpm-itk is not configured yet.

dpkg: error processing package koha-common (--configure):
 dependency problems - leaving unconfigured
Setting up acroread-bin (9.5.5-1precise1) ...
Setting up acroread (9.5.5-1precise1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No LSB modules are available.
No LSB modules are available.
Errors were encountered while processing:
 libapache2-mpm-itk
 apache2-mpm-itk
 koha-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

这不是安装的问题。使用以下命令acroread检查您的文件*.list

grep -Pr '^deb(\-src)*.+debian\.koha-community\.org\/koha' /etc/apt/ | awk -F: '{print $1}'

示例输出

/etc/apt/sources.list.d/koha.list
  1. 通过以下方式删除显示的文件,例如

    sudo rm /etc/apt/sources.list.d/koha.list
    
  2. 一些家务

    sudo apt-get clear
    
  3. 消除koha-common

    sudo apt-get remove koha-common
    sudo apt-get autoremove
    
  4. 安装acroread

    sudo apt-get update
    sudo apt-get install --reinstall acroread
    
  5. 如果你仍然需要 kohakoha再次添加存储库并安装

    echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list
    sudo apt-get update
    sudo apt-get install koha-common
    

相关内容