安装 fbreader 时未满足的依赖关系

安装 fbreader 时未满足的依赖关系

我正在安装韓國Ubuntu 12.04但它显示有些包裹已经破损,未满足的依赖关系,所以 fbreader 没有安装。此外,软件中心开始显示维修包目录对话,但当我尝试修复时,什么也没发生。由于错误,我无法安装任何东西。我试过了sudo apt-get 自动删除进而sudo apt-get -f 安装,但没有帮助。当我运行 sudo apt-get autoremove 时,终端中显示以下内容:

The following packages have unmet dependencies:
 fbreader : Depends: libzlcore0.12 but it is not installed
 libzltext0.12 : Depends: libzlcore0.12 (= 0.12.10dfsg-6) but it is not installed
 libzlui-qt4 : Depends: libzlcore0.12 (= 0.12.10dfsg-6) but it is not installed

请帮忙。

当我尝试通过软件中心进行修复时,出现了以下错误报告:

installArchives() failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    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
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 228249 files and directories currently installed.)
Unpacking libzlcore0.12 (from .../libzlcore0.12_0.12.10dfsg-6_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libzlcore0.12_0.12.10dfsg-6_i386.deb (--unpack):
 trying to overwrite '/usr/lib/libzlcore.so.0.12.10', which is also in package libzlcore 0.12.10-1
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libzlcore0.12_0.12.10dfsg-6_i386.deb
Error in function: 
dpkg: dependency problems prevent configuration of libzltext0.12:
 libzltext0.12 depends on libzlcore0.12 (= 0.12.10dfsg-6); however:
  Package libzlcore0.12 is not installed.
dpkg: error processing libzltext0.12 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libzlui-qt4:
 libzlui-qt4 depends on libzlcore0.12 (= 0.12.10dfsg-6); however:
  Package libzlcore0.12 is not installed.
dpkg: error processing libzlui-qt4 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fbreader:
 fbreader depends on libzlcore0.12; however:
  Package libzlcore0.12 is not installed.
 fbreader depends on libzltext0.12; however:
  Package libzltext0.12 is not configured yet.
 fbreader depends on libzlui-qt4 (>= 0.12.10dfsg-6) | libzlui-gtk (>= 0.12.10dfsg-6); however:
  Package libzlui-qt4 is not configured yet.
  Package libzlui-gtk is not installed.
dpkg: error processing fbreader (--configure):
 dependency problems - leaving unconfigured

答案1

注释中的链接中的说明从 Debian 安装 fbreader。由于 fbreader 在 Ubuntu 中,因此您只需使用 Ubuntu 软件中心应用程序即可找到并安装它以及所有依赖项。

它显示您已经libzlcore0.12安装并且尝试再次安装时安装失败。

您有两个选择:

  1. 尝试逐个安装依赖项

  2. 首先libzlcore0.12使用删除

    sudo apt-get remove libzlcore0.12
    

    然后删除您从 Ubuntu Geek 网站添加的行,然后运行 ​​Ubuntu 软件中心应用程序并从那里安装。

顺便说一下,fbreader 在我最新的 Ubuntu 12.04 32 位安装上安装时没有任何错误。

相关内容