Falta dependência ao instalar drivers Canon Pixma MX330 do michael-gruz PPA [duplicado]

4

Eu estou tentando instalar um canon pixma mx330 (multi-função) all-in-one no Ubuntu 14.04.

Eu encontrei uma página com instruções para instalação de impressoras Canon , e eu segui as instruções para o ponto de instalar o driver real sem erros.

Quando tento instalar o driver mx330series, recebo a seguinte mensagem de erro:

charles@charles-GN689AA-ABA-m8277c:~$ sudo apt-get install cnijfilter-mx330series
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:
   cnijfilter-mx330series:i386 : Depends: libtiff4:i386 (> 3.9.5-3~) but it is not installable
E: Unable to correct problems, you have held broken packages

Eu fiz o download e tentei instalar o libtiff4, mas meu sistema me diz que ele já está instalado.

Que etapas preciso fazer para instalar o driver mmx330? Obrigado.

    
por user279036 07.05.2014 / 16:10

1 resposta

0

O problema é que a solução é boggus e o gerenciador de pacotes esqueceu como definir dependências diretamente, construindo o pacote com a ordem correta nas dependências de construção. Eu corrigi-lo no meu repositório ppa:braiampe/ppaofme mas se você quiser, você pode baixar as fontes e corrigir o problema, aqui está o diff:

=== modified file 'debian/control'
--- debian/control  2013-03-17 11:00:10 +0000
+++ debian/control  2014-06-06 00:52:18 +0000
@@ -9,7 +9,7 @@
                libtool,
                libcupsys2-dev | libcups2-dev,
                libxml2-dev,
-               libtiff4-dev | libtiff5-dev,
+               libtiff5-dev | libtiff4-dev,
                libglib2.0-dev,
                libgtk2.0-dev,
                libpopt-dev

=== modified file 'debian/rules'
--- debian/rules    2013-03-17 11:00:10 +0000
+++ debian/rules    2014-06-06 01:37:52 +0000
@@ -262,7 +262,8 @@

    touch configure-stamp

-
+build-arch: build
+build-indep: build
 build: build-stamp
 build-stamp: configure-stamp 
    dh_testdir

=== modified file 'debian/skel/control.common.i386.skel'
--- debian/skel/control.common.i386.skel    2013-03-17 00:45:19 +0000
+++ debian/skel/control.common.i386.skel    2014-06-06 00:55:49 +0000
@@ -2,7 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Canon Inc. <[email protected]>
-Build-Depends: debhelper (>= 4.0.0), libcupsys2-dev | libcups2-dev, libxml2-dev, libtiff4-dev, automake, autoconf, autotools-dev, libtool, libglib2.0-dev, libgtk2.0-dev, libpopt-dev, ia32-libs [amd64], libc6-dev-i386 [amd64], gcc-multilib [amd64], lib32stdc++6 [amd64], lib32z1-dev [amd64]
+Build-Depends: debhelper (>= 4.0.0), libcupsys2-dev | libcups2-dev, libxml2-dev, libtiff5-dev | libtiff4-dev, automake, autoconf, autotools-dev, libtool, libglib2.0-dev, libgtk2.0-dev, libpopt-dev, ia32-libs [amd64], libc6-dev-i386 [amd64], gcc-multilib [amd64], lib32stdc++6 [amd64], lib32z1-dev [amd64]
 Standards-Version: 3.7.2

 Package: cnijfilter-common

=== modified file 'debian/skel/control.common.ia32.skel'
--- debian/skel/control.common.ia32.skel    2013-03-17 00:45:19 +0000
+++ debian/skel/control.common.ia32.skel    2014-06-06 00:56:12 +0000
@@ -9,7 +9,7 @@
                libtool,
                libcupsys2-dev | libcups2-dev,
                libxml2-dev,
-               libtiff4-dev | libtiff5-dev,
+               libtiff5-dev | libtiff4-dev,
                libglib2.0-dev,
                libgtk2.0-dev,
                libpopt-dev

=== modified file 'debian/skel/control.common.skel'
--- debian/skel/control.common.skel 2013-03-17 00:45:19 +0000
+++ debian/skel/control.common.skel 2014-06-06 00:56:56 +0000
@@ -2,7 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Canon Inc. <[email protected]>
-Build-Depends: debhelper (>= 4.0.0), libcupsys2-dev | libcups2-dev, libxml2-dev, libtiff4-dev, automake, autoconf, autotools-dev, libtool, libglib2.0-dev, libgtk2.0-dev, libpopt-dev
+Build-Depends: debhelper (>= 4.0.0), libcupsys2-dev | libcups2-dev, libxml2-dev, libtiff5-dev | libtiff4-dev, automake, autoconf, autotools-dev, libtool, libglib2.0-dev, libgtk2.0-dev, libpopt-dev
 Standards-Version: 3.7.2

 Package: cnijfilter-common

Como você pode notar, as únicas linhas modificadas estão adicionando o libtiff5-dev às dependências de compilação ou invertendo a ordem dos pacotes para fazer a versão 5 aparecer primeiro do que as 4.

    
por Braiam 06.06.2014 / 15:00