Проект

Общее

Профиль

Hplip » История » Версия 2

Андрей Волков, 2015-04-29 17:30

1 1 Андрей Волков
h1. Hplip
2
3
Ubuntu 15.04 Vivid 
4
5
HP print
6
7 2 Андрей Волков
8
h2. Проблема
9
10
<pre>
11
sudo hp-plugin
12
13
HP Linux Imaging and Printing System (ver. 3.15.2)
14
Plugin Download and Install Utility ver. 2.1
15
16
Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
17
This software comes with ABSOLUTELY NO WARRANTY.
18
This is free software, and you are welcome to distribute it
19
under certain conditions. See COPYING file for more details.
20
21
Checking for network connection...                                                                                                                                                 Downloading plug-in from:                                                                                                                                                        Receiving digital keys: /usr/bin/gpg --homedir /home/xiff/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0xA59047B9                                        Creating directory plugin_tmp
22
Verifying archive integrity... All good.
23
Uncompressing HPLIP 3.15.2 Plugin Self Extracting Archive...............................
24
Error importing HPLIP modules.  Is HPLIP installed?
25
error: Python gobject/dbus may be not installed
26
error: Plug-in install failed.
27
28
Done.
29
</pre>
30
31
h2. Решение
32
33 1 Андрей Волков
<pre>
34
cat /var/lib/hp/hplip.state
35
dpkg --list |grep hplip
36
wget http://hplip.sf.net/plugin.conf
37
wget http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.15.2-plugin.run
38
sh hplip-3.15.2-plugin.run --info
39
sh hplip-3.15.2-plugin.run --check
40
sh hplip-3.15.2-plugin.run --noexec --keep
41
cd plugin_tmp
42
sudo python3 ./plugin_install.py
43
cat /var/lib/hp/hplip.state
44
</pre>