依赖项 – 安装Canon打印机驱动程序后,Mint updater失败
我正在使用
linux Mint 17.2“Rafaela”.今天我安装了Canon iP2700系列的驱动程序.驱动程序的deb包依赖于“libtiff4”包,但系统使用“libtiff5”,所以我强制安装
sudo dpkg --force-depends -i cnijfilter-* 它运作良好:打印机工作得很好,但薄荷更新器无法更新,它说“cnijfilter-ip2700series包将被删除”.当然我不想删除它.我该怎么办? 还有一件事:如果我这样做的话 sudo apt-get dist-upgrade 我得到的东西(我正在翻译西班牙语)“cnijfilter-ip2700series有未解决的依赖项:取决于:libtiff4但无法安装.尝试使用-f选项” 如果我这样做 sudo apt-get -f dist-upgrade 它说“cnijfilter-ip2700series将被删除” 无论如何,我更喜欢使用mint updater,因为apt-get似乎破坏了系统设置,所以我更喜欢依赖于mint updater的解决方案.
系统认为你的cnijfilter安装被破坏了,因为它缺少依赖性.由于它不可满足,建议卸载软件包实际上是一个非常好的解决方案.
您有多种选择: >看来你可以download the source of the driver and compile it yourself. # Unpack the deb package: $ar x cnijfilter-..._amd64.deb # This will create 3 files: data.tar.gz,control.tar.gz and debian-binary # Unpack control.tar.gz: $mkdir DEBIAN $cd DEBIAN $tar xzf ../control.tar.gz # Edit the newly created control file: $your_favorite_editor control # now,in the editor,remove the libtiff4 dependency from the Depends line # Repack everything into a new deb file: $rm ../control.tar.gz $tar czf ../control.tar.gz * $cd .. $ar r cnijfilter-..._amd64.deb contol.tar.gz 之后,您更新的deb文件不再具有libtiff4作为依赖项.让apt卸载已安装的版本,使其不再抱怨,然后安装新创建的软件包. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |