apt-get install 由于依赖性问题而失败,但 apt-get -f install 无法修复它

apt-get install 由于依赖性问题而失败,但 apt-get -f install 无法修复它

我刚刚安装了 Ubuntu 12.04 并且准备使用来自 SourceForge repo 的软件包手动安装 Rawstudio,但是我遇到了依赖性问题并且缺少 apt 命令行来解决这个问题。

这是我收到的报告:

    installArchives() failed: dpkg: dependency problems prevent configuration of     libgphoto2-2:
     libgphoto2-2 depends on libjpeg62; however:
     Package libjpeg62 is not installed.
     libgphoto2-l10n (2.4.13-1ubuntu1) breaks libgphoto2-2 (<= 2.4.10.1-4) and is installed.
      Version of libgphoto2-2 to be configured is 2.4.10.1-0ubuntu3~maverick.
      dpkg: error processing libgphoto2-2 (--configure):
      dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    dpkg: dependency problems prevent configuration of libgphoto2-2-dev:
    libgphoto2-2-dev depends on libgphoto2-2 (= 2.4.10.1-0ubuntu3~maverick); however:
      Package libgphoto2-2 is not configured yet.
    dpkg: error processing libgphoto2-2-dev (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
     libgphoto2-2
     libgphoto2-2-dev
    Error in function: 
    SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
    dpkg: dependency problems prevent configuration of libgphoto2-2:
     libgphoto2-2 depends on libjpeg62; however:
      Package libjpeg62 is not installed.
     libgphoto2-l10n (2.4.13-1ubuntu1) breaks libgphoto2-2 (<= 2.4.10.1-4) and is installed.
      Version of libgphoto2-2 to be configured is 2.4.10.1-0ubuntu3~maverick.
    dpkg: error processing libgphoto2-2 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libgphoto2-2-dev:
    libgphoto2-2-dev depends on libgphoto2-2 (= 2.4.10.1-0ubuntu3~maverick); however:
      Package libgphoto2-2 is not configured yet.
    dpkg: error processing libgphoto2-2-dev (--configure):
     dependency problems - leaving unconfigured

我尝试过“apt-get -f install”,但没有成功。mahick 命令行是什么可以解决这种情况?

谢谢

塞布

答案1

您可以使用 rawstudio 的 ppa:

sudo apt-add-repository ppa:rawstudio/ppa  
sudo apt-get update
sudo apt-get purge --remove rawstudio
sudo apt-get install rawstudio-daily

之后您可以使用rawstudio-daily命令运行它。

请注意,此 ppa 中的版本与你在以下位置找到的版本相同http://rawstudio.org/files/daily/

相关内容