[Foo2zjs-maintainer] Bug#517162: Bug#517162: foo2zjs: Completed print jobs not deleted from queue on P1007

Luca Capello luca at pca.it
Tue Mar 24 10:36:34 UTC 2009


Hi Raj!

On Tue, 24 Mar 2009 05:09:24 +0100, Raj Mathur wrote:
> On Monday 23 Mar 2009, Luca Capello wrote:
>> Have you ever manually installed foo2zjs from upstream sources?
>
> Yes, I did.  When I first got the printer I installed foo2zjs from 
> source (last entry from ChangeLog: 2008-12-07      Rick Richardson 
> <rick.richardson at comcast.net>).  However I'd subsequently replaced with 
> the Debian packaged version.  Looks like all the files from the source 
> compiled package didn't get overwritten, sorry about that.  Had also 
> made changes manually to 11-hplj10xx.rules AFAIR.

I guess the mixture could be the cause of your problem.

> I'll have to spend time and track down each file the source packaged 
> installed and remove it manually if it's not there in the Debian 
> package.

Well, there are two problems:

- the Debian package is not the same version of the upstream sources you
  have installed, thus you can still have some compiled files from
  upstream sources around.  In this case, it is difficult to know which
  one is taken into account at runtime :-(

- the Debian package installs upstream files in different locations,
  since Debian is more strict WRT the file system hierarchy and every
  packages must be compliant to the Debian Policy, too.  One example of
  this situation are the helper programs, which Debian installs in
  /usr/sbin/ while upstream in /etc/hotplug/usb/, now deprecated...

>> However, the real problem is actually another one: the udev rules
>> file expects various program in /usr/sbin:
[...]
>> However, the Debian package ships only the first fourth of them, thus
>> the firmware for any P* model cannot be loaded because the helper
>> program is missing.  Can you please try the udev rules file included
>> in the Debian package, after having launched the following commands
>> as root?
>>
>>   # cd /usr/sbin/
>>   # ln -s hplj1000 hpljP1007
>
> Done that and the printer prints again with the new 11-hplj10xx.rules 
> from the Debian package, with the same problem (print job persists).

Thank you for the test, at least we are now in a situation where you do
not need any modification to the Debian package to reproduce your bug.

> Could this be because of some files still lying around from the manual 
> installation?

This is my first guess, yes.

> If that is a possibility, then give me a couple of days to clean those
> up, reinstall the Debian package from scratch and test.

Since upstream Makefile provides an uninstall target, I think you can
try to use that to clean everything, but only after you have purged the
Debian package.  If you still have upstream sources around, something
like the following can work, as root:

  # aptitude purge foo2zjs
  # cd /path/to/upstream/sources
  # make uninstall
  # aptitude install foo2zjs
  # cd /usr/sbin/
  # ln -s hplj1000 hpljP1007

If everything will work as expected, I will retitle this bug to
"foo2zjs: firwmare is not loaded on HP LaserJet P1007" and upload a new
version fixing it (ATM sitting on my hard disk).

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/foo2zjs-maintainer/attachments/20090324/5b8276ce/attachment-0001.pgp 


More information about the Foo2zjs-maintainer mailing list