Help me figure out the libsane issue for my Epson 4990 scanner

sofasurfer

Active Member
Joined
May 24, 2022
Messages
345
Reaction score
121
Credits
3,041
My scanner driver iscan-bundle-2.30.4.x64.deb.tar.gz . When I try installation I get error "E: Unable to locate package libsane".
I found that I need to use libsane1 instead, which I do have installed. Next I need to go into the softwares core package and find the dependancies and edit it so it points to libsane1 instead if libsane. Problem is that I can not open the core file because is fails for "dependency libsabe not available.
Any ideas?
 


presumably you're using a debian distro with a tarball name like that, so:
- Epson linux drivers/documentation: https://epson.com/Support/wa00821

assuming that's not a typo in the error "dependency libsabe not available" (should be libsane), then there's always the switch --fix-broken install - as in:
Code:
sudo apt --fix-broken install

alternately, there's the equivs/equivs-build package, https://manpages.debian.org/testing/equivs/equivs-build.1.en.html - if I understand it correctly, you can use that package to correct dependency issues with the package manager.

AI slop link: https://www.google.com/search?clien...o96RAxV5IDQIHaYbJ4EQ0NsOegQIAxAB&aep=10&ntc=1

disclosure: I dont really use debian much except for a single, specialized instance. one of the debian gurus here may want to chime in on this.

good luck!
 
When I install my Printer/Scanner drivers...I convert the tar.gz file to a .deb file and double click to install.
1766871624511.png

You need to install alien.
1. sudo apt-get install alien
2. sudo alien -d filename.tar.gz
This creates a deb file...click on it to install.

Example...tar.gz file is in the Downloads Folder...
1766872626373.png


Hope this helps.
1766872707876.gif
 
My scanner driver iscan-bundle-2.30.4.x64.deb.tar.gz . When I try installation I get error "E: Unable to locate package libsane".
I found that I need to use libsane1 instead, which I do have installed. Next I need to go into the softwares core package and find the dependancies and edit it so it points to libsane1 instead if libsane. Problem is that I can not open the core file because is fails for "dependency libsabe not available.
Any ideas?
What distribution are you running?
Ubuntu? What kernel?

Where did you download the ./install.sh from? Epson?

There is libsane-common which is the application program interface that provides the standard's for the scanner's (different types of scanners) to function. Sane-devel and Sane-epson2 are 2 very important library's to have.

You should be able to go into the core file (configuration file) (devices that the backend will use) using the terminal and look at this file:
Code:
/etc/sane.d/epson2.conf

I used the cat command to see it on my system.
Code:
# SCSI
scsi EPSON
# for the GT-6500:
#scsi "EPSON SC"

# Parallel port
#pio 0x278
#pio 0x378
#pio 0x3BC

# USB
usb

# For libusb support for unknown scanners use the following command
# usb <vendor ID> <product ID>
# e.g.:
# usb 0x4b8 0x110

The other dependencies that are engines tied to the above API play a role in functionality and performance for your printer to print. IF dependencies are missing, installed twice (meaning more than one instance or similar) this can cause the device not to work. In other words, the wrong driver could be loading first.

Also, libsane1 has 12 plus dependencies.

There is something called 'dependency hell' and it's undesirable to say the least.
Installing new packages when other dependencies have not be met will not be a good experience.

I'm sure our member's @osprey and @CaffeineAddict would agree.:)
 
Last edited:
You won't be able to open the "core package(s)" (as you refer to it) because

Code:
sane-find-scanner

...and

Code:
scanimage

...are both compiled binaries. And it's next to impossible to de-compile a binary after being compiled.....not unless you install several fairly esoteric tools, along with a full 'development environment'.

But this is not required.

You don't try to point the package at different dependencies from within its compiled state. You add a line (or a clause) to your launcher, telling it to use this different dependency immediately BEFORE launching it. This is achieved via the use of LD_LIBRARY_PATH.

~~~~~~~~~~~~~~~~​

See if you can locate the .desktop file for SANE - this will usually be found within /usr/share/applications. This is what generates the Menu entry for your application.

If you can find it, open it with your favourite text editor, then copy the contents & paste them into your next reply.....between 'code tags', please (the '</>' function in the post editor; this makes them more easily readable). We should then be able to tell you just where to add the modification you need.

You may also like to try the KDE Project's 'Skanlite'. I've run Epsons since, like, FOREVER. I found out quite some time ago that Skanlite works way better than Epson's own scanner software ever did!

You can find the AppImage here:-




Mike. ;)
 
Last edited:
If it's as old as the hills...better to buy a new Printer/Scanner.
1766969016928.gif
 
I think this scanner is from around 2008, you may need the vintersoft package
Good read Brian! If this were my kettle of fish I would try those instructions, only convert the .rpm to a .deb and see how it fairs.
 
I didn't know it was that old either.
When trying to solve problems, I find it essential to garner the approximate age of equipment as we know modern updated drivers do not always work on legacy kit
 
When I install my Printer/Scanner drivers...I convert the tar.gz file to a .deb file and double click to install.
View attachment 29519
You need to install alien.
1. sudo apt-get install alien
2. sudo alien -d filename.tar.gz
This creates a deb file...click on it to install.

Example...tar.gz file is in the Downloads Folder...
View attachment 29520

Hope this helps. View attachment 29521
This little tidbit will go into my Zim notebook for future reference. Never heard of this before. Thanks.
 


Follow Linux.org

Staff online

Members online


Top