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的解决方案.
您有多种选择:
>看来你可以download the source of the driver and compile it yourself.
>一个更简单的解决方案是下载& manally安装libtiff4,either from Ubuntu或Debian的软件包.软件包的两个版本都应该可以在你的系统上安装(没有不可满足的依赖性).这就是我对我(也是薄荷,也有这些Cancon驱动程序)系统所做的.
>您可以修改包中的依赖关系,以便认为一切都很好.当然,包依赖于libtiff4的应用程序将被破坏,但实际的驱动程序(/usr/lib / cups / backend / cnijusb)不是其中之一.修补它很容易:
# 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卸载已安装的版本,使其不再抱怨,然后安装新创建的软件包.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。