我无法在 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 版本,如您在此处所见:
答案2
在 11.10 上这是正确的,使用 hplip 3.11.10:
去http://hplipopensource.com 选择它们:Ubuntu 11.04 激光打印机 惠普激光打印机 1000
下载并在终端中运行:sh hplip-3.11.10.run