無法安裝 HP 印表機驅動程式

無法安裝 HP 印表機驅動程式

我無法在 Oneiric Beta 中使用我的 HP 印表機

~$ cd Downloads
~/Downloads$ sh hplip-3.11.7.run
Creating directory hplip-3.11.7
Verifying archive integrity... All good.
Uncompressing HPLIP 3.11.7 Self Extracting Archive..............................................................................................
HP Linux Imaging and Printing System (ver. 3.11.7)
HPLIP Installer ver. 5.1

Copyright (c) 2001-9 Hewlett-Packard 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_Mon-26-Sep-2011_09:46:00.log

/
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.


INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

Initializing. Please wait...
\
(install.py:2428): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(install.py:2428): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(install.py:2428): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(install.py:2428): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",


INTRODUCTION
------------
This installer will install HPLIP version 3.11.7 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 11.10.

Is "Ubuntu 11.10" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y


ENTER USER PASSWORD
-------------------
Please enter the user (vet)'s password: 
Password accepted


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 7 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: This installer cannot install 'gcc' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

答案1

我認為這裡的問題是你錯過了 gcc 包..所以確保你有互聯網連接,然後執行以下操作:

sudo apt-get install gcc

請注意,Ubuntu 軟體中心已經有一個適用於 Ubuntu 11.10 的 HPLIP 版本,如下所示:

https://launchpad.net/ubuntu/oneiric/+source/hplip

答案2

這在 11.10 上是正確的,使用 hplip 3.11.10:

http://hplipopensource.com 選擇它們:Ubuntu 11.04 雷射噴射 惠普 Laserjet 1000

下載並在終端機中運行:sh hplip-3.11.10.run

相關內容