hp-plugin fails to detect already installed plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Amarnath Chitumalla |
Bug Description
On my SLED11-SP1 32-bit/i586 workstation I run HPLIP 3.12.6 from
http://
I have a HP LaserJet 1020 connected via USB.
hp-setup downloads and installs the plugin but
directly afterwards it aborts with an error message
that my printer requires a plugin - same as in
https:/
I got those files installed:
-------
# ls -lh /tmp/hplip*plugin*
-rw-r--r-- 1 root root 1.8M Jun 21 00:52 /tmp/hplip-
-rw-r--r-- 1 root root 198 Jun 21 00:52 /tmp/hplip-
# for f in $( find /usr/share/hplip/ | grep plugins/ ) ; do ls -lh $f ; done
-rwxr-xr-- 1 root root 4.6K Jun 27 11:03 /usr/share/
-rwxr-xr-- 1 root root 6.9K Jun 27 11:03 /usr/share/
lrwxrwxrwx 1 root root 50 Jun 27 11:03 /usr/share/
-> /usr/share/
-rwxr-xr-- 1 root root 48K Jun 27 11:03 /usr/share/
lrwxrwxrwx 1 root root 45 Jun 27 11:03 /usr/share/
-> /usr/share/
-rwxr-xr-- 1 root root 53K Jun 27 11:03 /usr/share/
lrwxrwxrwx 1 root root 42 Jun 27 11:03 /usr/share/
-> /usr/share/
-rwxr-xr-- 1 root root 34K Jun 27 11:03 /usr/share/
lrwxrwxrwx 1 root root 50 Jun 27 11:03 /usr/share/
-> /usr/share/
-rwxr-xr-- 1 root root 18K Jun 27 11:03 /usr/share/
lrwxrwxrwx 1 root root 47 Jun 27 11:03 /usr/share/
-> /usr/share/
-rwxr-xr-- 1 root root 53K Jun 27 11:03 /usr/share/
lrwxrwxrwx 1 root root 49 Jun 27 11:03 /usr/share/
-> /usr/share/
-------
I removed those files and run hp-plugin which also
downloads and installs the plugin again.
But a subsequent second run of hp-plugin fails to
detect that the plugin is alredy installed:
=======
# hp-plugin -i -g
HP Linux Imaging and Printing System (ver. 3.12.6)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-14 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.
hp-plugin[11700]: debug: Locking: /var/hp-plugin.lock
.
.
.
hp-plugin[11700]: debug: Plug-in version=3.12.6
hp-plugin[11700]: debug: Plug-in=
-------
| PLUG-IN INSTALLATION FOR HPLIP 3.12.6 |
-------
hp-plugin[11700]: debug: Unable to open file /var/lib/
hp-plugin[11700]: debug: Plugin is not installed
Option Description
---------- -------
d Download plug-in from HP (recomended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)
Enter option (d=download*, p=specify path, q=quit) ? q
hp-plugin[11700]: debug: Unlocking: /var/hp-plugin.lock
# ls -l /var/lib/
ls: cannot access /var/lib/
=======
Because of this I cannot set up my HP LaserJet 1020 with hp-setup.
As a woraround I set up the printer using YaST (YaST does not know
about plugins and such stuff - as long as a PPD file exists YaST can
create a print queue) using those two PPD files:
"HP LaserJet 1020 hpijs, 3.12.6, requires proprietary plugin"
and
"HP LaserJet 1020, hpcups 3.12.6, requires proprietary plugin"
Both queues work well which means that the plugin is actually
correctly installed so that all what goes wrong here is the test
whether or not the plugin is installed but this results in the end
that one cannot use hp-setup to set up such printers.
Changed in hplip: | |
status: | New → Invalid |
Changed in hplip: | |
status: | New → Fix Released |
assignee: | nobody → Amarnath Chitumalla (amarnath-chitumalla) |
Hi Johannes Meixner,
I think, if /var/lib/hp folder is doesn't exist, then this issue will happen.
Please create "/var/lib/hp" folder using root. and re-install plugin using hp-plugin command.
If you are still facing problem, please install hplip-3.12.6 from http:// hplipopensource .com/hplip- web/install/ install/ index.html site instead of repo.
Thanks & Regards,
Amarnath