Ubuntu Version:Ubuntu 24.04.3 LTS
I installed VueScan for flatbed scanners, but it requires the device specific driver. I downloaded the appropriate driver as tarball and extracted it to the following:
(directories)
core
data
plugins
(files)
60-iscan.rules
install.sh
README.rst
The Readme file basically just said run the sh so
./install.sh
otherwise it just listed some possible error conditions and resolutions.
I ran the sh file. The only error was
E: Unable to locate package libsane
My understanding is that libsane is automatically part of the basic Ubuntu distribution.
The program continues to say I have no driver for my device.
Since at the very least 22.04 âlibsaneâ is a transitional package that pulls in âlibsane1â through dependency. It is not installed by default (libsane1 is).
Is VueScan going to build a driver or install a precompiled one? Because if itâs going to build a driver, itâs probably looking for the libsane-dev package because itâs not installed by default.
Also examine the shell script and look to see where itâs checking for the presence of libsane or for a particular version.
OK, itâs the iscan_2.30.4-2_amd64.deb package that has a dependency on libsane, which is not in the Ubuntu 24.04 package archives.
One fairly easy solution to that is to change the iscan deb packageâs control file so that the dependency is libsane1 instead of libsane. Iâll list the steps here:
Change to the core directory where the iscan deb resides.
edit the control file and change libsane to libsane1 in the Depends: section. Take care not add/substract any spaces or other characters to the fields, otherwise the package wonât build.
cd back to core and move the original iscan deb package out the directory.
$ dpkg-deb -b iscan_2.30.4-2_amd64 this rebuilds the package with the updated control file
$ rm -r iscan_2.30.4-2_amd64 Itâs important that only the deb file is in the core directory.
$ cd .. Now run the install.sh script.
$ ./install.sh âdry-run Hopefully there wonât be any errors. If there arenât any, run it for real.
This will solve the issue of getting the iscan packages to install, but whether the programs are too old to run with newer libraries, youâll just have try them out.
If a post answers a question, please check the âsolvedâ box. It means that the poster is recognised for their help and it makes it easier for others to find the solution.