[sane-devel] Upgrading sane-backend on Mandrake 10.0

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 10 Oct 2004 15:34:45 +0200


On Fri, Nov 22, 2002 at 08:03:23AM -0800, Lloyd Sumpter wrote:

Strange date.

> This is what bugs me about Linux packages! In order to upgrade one 
> simple program, you end up upgrading your entire OS!!

You don't need to do that. At least I haven't ever needed to do that.
Just get the latest package and install it. Well it's mandrake so ...

> What the H*LL does sane-backends have to do with harddrake, anyway?

sane-backends doesn't know anything about harddrake and couldn't care
less :-)

> So, apparently libsane1-1.0.13 is required by kdegraphics, and 
> sane-backends-1.0.13 is required by harddrake. I looked at kdegraphics 
> and decide I don't need it, so erase it. Then I go ahead and upgrade to 
> libsane1-1.0.14-3mdk and sane-backends-1.0.14-3mdk.

I don't know these details but I'm surprised that they need a specific
version of sane-backends.

> Next thing I know, my CPU meter is pinned and performance is fast 
> disappearing. I manage to reboot before it goes away altogether. Next 
> boot, same thing starts, but I manage to find out it's "scannerdrake", 
> along with sane-find-scanner and several usb utilities (*I* didn't run 
> these programs!) are using all the resources. I manage to erase the 
> sane-backends, which stops the bleeding. I re-install 1.0.13 and all is 
> well again.

I have never heard that anything from sane-backends does this. So I
think it's one of the Mandrake tools.

> No man pages for harddrake or scannerdrake.
> So...How do I upgrade sane-backends on Mandrake 10.0 without sending 
> harddrake (I assume that's what's launching scannerdrake?) into a 
> tailspin? Also, what is "libsane"? It seems to be required in Mandrake, 
> but I don't see it in the source code packages - is it normally just 
> included in the sane-backend package?

The package "libsane" seems to be an invention of distributors. I know
that debian has the source package "sane-backends" and binary package
"libsane" (the SANE libraries) and "sane-utils" (e.g. scanimage).
Maybe it's similar with Mandrake?

Most of your questions are better suited in a Mandrake forum as they
aren't really related to SANE itsself but the packages created by

> BTW: The reason I have to upgrade is that apparently the sane-backends 
> included with Mandrake 10.0 do NOT support libusb (but since the kernel 
> is 2.6.x, there's no scanner.o to use instead...)

sane-backends supports libusb since quite some time. And it was needed
before kernel 2.6 at least for some scanners. So I'd be surprised if
the Mandrake version had no libusb support.

You can check by running "sane-find-scanner -v -v". It should print
messages about using libusb.