Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-10-2005, 08:16 AM   #1
LQ Newbie
Registered: Apr 2005
Location: London, UK
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
How to update SANE for Canoscan LiDE 25 (Ubuntu)

I'm running Ubuntu breezy (RC) which comes with Sane 1.0.15 installed as a deb package. My Canoscan LiDE 25 is apparently supported by the CVS version of SANE (which will eventually be 1.0.17) but obviously I'd quite like to try and make it work now.

Since I assumed you couldn't have two versions of libsane installed (is this right?), I removed the old libsane using apt-get. Unfortunately this also removes xsane since it is a dependency.

I then:

- Downloaded the latest nightly source code for sane-backends
- Installed it
- Ran sane-find-scanner and scanimage -L

My scanner seems to be picked up after this which is great. Unfortunately I can't re-install XSane to actually scan! The reason is that it would re-install the old libsane deb package dependency which I thought would wipe out the version I compiled myself?

My initial thought was to try and install xsane manually as well, but after compiling and trying to run it, all I got was a seg fault.

I'm now officially out of my depth! Does anybody here know how to install the latest SANE from cvs without upsetting Ubuntu's package manager and keeping xsane installed?

Thanks in advance
Old 10-11-2005, 05:22 PM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I take it then, you can scan from commandline OK?

The easiest thing to do is to reinstall xsane (yes, with the old driverlists) and then recompile the new ones over the top.

Keeping the old version is only a problem if the backends are stored in a different place. When you compile the sane-project backends, they overwrite the old installation.

You can copy the backend you need, with it's .conf file, no another directory - reinstall xsane, then move the saved backend back.

You can reinstall xsane and then follow the instructions in the sane-project FAQ to only install the one backend you need updated.

You can install xsane from source.

... and many more.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Canoscan LiDE 35 riseringseeker Linux - Hardware 1 10-05-2008 10:39 AM
Canoscan LIDE 20 scanning in pink Zoko Linux - Hardware 3 05-03-2007 04:26 AM
Canon CanoScan LiDE 20 adarsh Linux - Hardware 3 05-03-2007 01:11 AM
Ubuntu problems after update! Nego Linux - Newbie 1 03-25-2005 08:10 AM
Canoscan LiDE 50 - future support? natcatchpole Linux - Hardware 2 12-11-2004 11:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration