ubuntu19.04 安装hp p1108打印机,提示for Qt version 4.x))' is still missing.

CPU/显卡/打印机/USB设备等硬件问题
回复
slush
帖子: 61
注册时间: 2009-01-03 17:09

ubuntu19.04 安装hp p1108打印机,提示for Qt version 4.x))' is still missing.

#1

帖子 slush » 2019-12-16 12:46

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.


哪位大神帮忙解决一下?
头像
astolia
论坛版主
帖子: 6539
注册时间: 2008-09-18 13:11

Re: ubuntu19.04 安装hp p1108打印机,提示for Qt version 4.x))' is still missing.

#2

帖子 astolia » 2019-12-16 16:25

这个安装程序是什么?下载地址?
slush
帖子: 61
注册时间: 2009-01-03 17:09

Re: ubuntu19.04 安装hp p1108打印机,提示for Qt version 4.x))' is still missing.

#3

帖子 slush » 2019-12-17 10:13

hplip-3.19.5.run
头像
astolia
论坛版主
帖子: 6539
注册时间: 2008-09-18 13:11

Re: ubuntu19.04 安装hp p1108打印机,提示for Qt version 4.x))' is still missing.

#4

帖子 astolia » 2019-12-17 15:31

HP自己的发布日志,在hplip 3.12.2版时就支持了P1108型号。而19.04桌面版里自带的hplip版本已经到了3.19.1,应该不需要再手动安装更新版本的软件。
如果你用的是服务器版没有预装hplip,手动sudo apt install hplip就行了
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: ubuntu19.04 安装hp p1108打印机,提示for Qt version 4.x))' is still missing.

#5

帖子 Ping-Wu » 2019-12-18 3:09

我们的经验,在 Ubuntu 18.04/19.04 里,如果 hplip 的版本太新常常会出现依赖的问题。我们从 19.10 开机后,直接由 Ubuntu repository 装就可以了:

代码: 全选

sudo apt update && sudo install hplip hplip-gui
之后,执行 hp-setup 就可以自动装设 hp-plugin。

https://forum.ubuntu.com.cn/viewtopic.p ... 45&start=2
回复