Gtk

關於為 HP Laserjet Pro M15a 安裝驅動程序

  • July 9, 2019

有誰知道如何為 Ubuntu 19.04 安裝 HP Laserjet Pro M15a 驅動程序?我試過

./hplip-3.19.6.run 
Creating directory hplip-3.19.6
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.6 Self Extracting Archive./hplip-3.19.6.run: 369: cd: can't cd to hplip-3.19.6
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................/hplip-3.19.6.run: 371: cd: can't cd to hplip-3.19.6
chown: cannot read directory './hplip-3.19.6': Permission denied
chgrp: cannot read directory './hplip-3.19.6': Permission denied

./hplip-3.19.6.run: 382: cd: can't cd to hplip-3.19.6

HP Linux Imaging and Printing System (ver. 3.19.6)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Tue-09-Jul-2019_14:52:59.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
-Gtk-Message: 14:53:00.708: Failed to load module "canberra-gtk-module"
error: debian-buster/sid version is not supported, so all dependencies may not be installed. However trying to install using debian-9.8 version packages.

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): 

但是為什麼它抱怨 canberra-gtk-module 呢?

您應該安裝打包版本:

sudo apt install hplip

Ubuntu 19.04 中可用的版本包括對 M15a 的完全支持。

canberra-gtk-module是與 Gtk 事件聲音相關的警告;它是無害的,可以忽略。

引用自:https://unix.stackexchange.com/questions/529166