依赖: gimagereader-gtk 但是它将不会被安装

依赖: gimagereader-gtk 但是它将不会被安装

我想安装图像读取器我尝试过

:~$ sudo apt-get install gimagereader 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gimagereader : Depends: gimagereader-gtk but it is not going to be installed                                                                                                                             
E: Unable to correct problems, you have held broken packages.

:~$ sudo apt-get install gimagereader-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gimagereader-gtk is already the newest version.

以及https://askubuntu.com/a/944282/402358什么也没发生。

还:

:~$ sudo apt-mark showhold
W: Duplicate sources.list entry http://linux-packages.resilio.com/resilio-sync/deb/ resilio-sync/non-free armhf Packages (/var/lib/apt/lists/linux-packages.resilio.com_resilio-sync_deb_dists_resilio-sync_non-free_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems

另外,我的 source.list 是

# deb cdrom:[Kubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.1)]/ trusty main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security main restricted
deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security universe
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security universe
deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb [arch=amd64] http://archive.canonical.com/ubuntu trusty partner
deb-src [arch=amd64] http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb [arch=amd64] http://extras.ubuntu.com/ubuntu trusty main
deb-src [arch=amd64] http://extras.ubuntu.com/ubuntu trusty main

### For R:
# deb [arch=amd64] http://cran.r-mirror.de/bin/linux/ubuntu trusty/
# deb-src [arch=amd64] http://cran.r-mirror.de/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://ftp5.gwdg.de/pub/misc/cran/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://cran.es.r-project.org/bin/linux/ubuntu trusty
# deb [arch=amd64] http://www.stats.bris.ac.uk/R/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://cran.stat.ucla.edu/bin/linux/ubuntu trusty/
deb [arch=amd64] http://cran.rstudio.com/bin/linux/ubuntu trusty/

### For R-Extras:
# deb [arch=amd64] http://orange.biolab.si/debian squeeze main
# deb-src [arch=amd64] http://orange.biolab.si/debian squeeze main

### For the KDE Widget "Concise":
deb [arch=amd64] http://ppa.launchpad.net/bytr/concise/ubuntu trusty main
deb-src [arch=amd64] http://ppa.launchpad.net/bytr/concise/ubuntu trusty main
# Run: $ sudo add-apt-repository ppa:bytr/concise; sudo apt-get install concise

### For Virtualbox:
# deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian trusty contrib
# deb-src [arch=amd64] http://download.virtualbox.org/virtualbox/debian trusty contrib

### For Dropbox:
# deb [arch=amd64] http://linux.dropbox.com/ubuntu trusty main
# deb-src [arch=amd64] http://linux.dropbox.com/ubuntu trusty main

### For Resilio:
deb [arch=armhf] http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

还:

:~$ sudo apt-cache policy gimagereader
gimagereader:
  Installed: (none)
  Candidate: 3.1.2-1~trustyppa1
  Version table:
     3.1.2-1~trustyppa1 0
        500 http://ppa.launchpad.net/sandromani/gimagereader/ubuntu/ trusty/main amd64 Packages

我该怎么办?我正在使用 Kubuntu 14.4。

答案1

apt-get 加载正确版本的进程gimagereader似乎无法正常工作启动板上的 ppa- 您正在加载新版本gimagereader-gtk(3.2.3) 并尝试加载旧版本gimagereader(3.1.2)

我鼓励您将此问题报告为 PPA 的一个错误,但是作为一种解决方法您可以直接下载所需的 deb 文件并手动安装:

gimagereader-common_3.2.3-1~trustyppa1_all.deb

gimagereader-dbg_3.2.3-1~trustyppa1_amd64.deb

gimagereader-gtk_3.2.3-1~trustyppa1_amd64.deb

gimagereader-qt_3.2.3-1~trustyppa1_amd64.deb

将这 4 个文件移动到一个目录中,然后sudo dpkg -i *.deb安装它们。您可能需要tesseract-ocr单独加载

相关内容