the change from libsane to libsane1 broke many (all?) 3rd party plug-ins for sane
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| sane-backends (Debian) |
Invalid
|
Undecided
|
Unassigned | |
| sane-backends (Ubuntu) |
Medium
|
Unassigned | ||
| Artful |
Medium
|
Unassigned |
Bug Description
Note to SRU Team
================
The first proposed fix (1.0.27-
Impact
======
1) The Debian maintainer renamed libsane to libsane1-
2) The soname change might be justified by the new version breaking (several? most?) 3rd party plug-ins even if the library version number doesn't indicate any bigger change than any ordinary new version of the library - which might indicate that this phenomenon might be an upstream bug.
libsane 1.0.25 in zesty includes libsane.so.1.25
libsane1 1.0.27 in artful includes libsane.so.1.27
It is to note that depending on the manufacturer for many old scanners there won't be new versions of the plug-ins that are recompiled like this.
Test Case
=========
Visit http://
Download the amd64 deb .tar.gz
Unzip it.
Install the iscan .deb from the core folder.
It won't install before this SRU because it Depends: libsane
Regression Potential
=======
The fix here was proposed to the Debian maintainer in July but there's been virtually zero response on it. In the meantime the workaround that was proposed initially has started to result in automatically uninstalling gtk - which makes the system basically useless.
It doesn't seem like adding the Provides will make things any worse for third-party drivers but it has a goodme chance of making things better for some.
Original Bug Report
===================
I don't know if that can be prevented in the long run. But both brscan (for my brother scanner) and iscan (for my epson scanners) have been broken by the change from libsane to libsane1. For iscan I have unpackaged the debian package, changed the dependency it contains from libsane to libsane1 and installed the changed package. But even then my epson scanners no more work leaving me without any scanner => Reporting a bug.
Impossibility of workarounds
-------
Just installing an old version of libsane is impossible as it uninstalls libgtk (which depends on libsane1 which conflicts with libsane) making the system basically useless.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libsane1 1.0.27-
Uname: Linux 4.13.0-
ApportVersion: 2.20.6-0ubuntu4
Architecture: amd64
Date: Sat Jul 29 08:38:15 2017
EcryptfsInUse: Yes
SourcePackage: sane-backends
UpgradeStatus: No upgrade log present (probably fresh install)
PeterPall (peterpall) wrote : | #1 |
summary: |
- the change from libsane to libsane1 broke many (all?) 2rd party plug-ins + the change from libsane to libsane1 broke many (all?) 3rd party plug-ins + for sane |
Jörg Frings-Fürst (jff-de) wrote : | #2 |
PeterPall (peterpall) wrote : Re: [Bug 1707352] Re: the change from libsane to libsane1 broke many (all?) 3rd party plug-ins for sane | #3 |
On 29.07.2017 11:32, Jörg Frings-Fürst wrote:
> Hello Peter,
>
> I really don't understand why Ubuntu use packages from the Debian
> experimental branch.
>
> The experimental version is very buggy and the requested transition from libsane to libsane1 isn't
> ready to start.
>
Debian unstable sometimes lacks behind the real development by years.
Testing often is much more stable, which means that ubuntu on a regular
basis pulls packages from debian-testing. Unfortunately this way broken
packages tend to enter ubuntu, as well...
affects: | debian → sane-backends (Debian) |
Changed in sane-backends (Debian): | |
status: | Unknown → New |
Changed in sane-backends (Debian): | |
status: | New → Fix Released |
Jeremy Bicha (jbicha) wrote : | #4 |
Jörg, I pushed 1.0.27 from experimental to Ubuntu 17.10 because Ubuntu had been using an old git snapshot before which wasn't good at all.
Jörg, does it make sense to add 'Provides: libsane' to libsane1?
PeterPall, please report this issue to the providers of those third-party plugins.
PeterPall (peterpall) wrote : | #5 |
I don't know all makers of scanners that aren't supported by a stock sane. Also if I wrote a mail to <email address hidden> or <email address hidden> telling them that their driver doesn't work with the newest experimental package from debian, but that I don't know any details what has changed I don't expect them to panick and to do something.
The "provides" looks like being a first step, though, if the two libraries are in fact compatible to each other: This would at least allow to install scanner drivers from 3rd party manufacturers.
marco ghidinelli (marcogh) wrote : | #6 |
Hello,
force (dpkg install --force-all) the installation doesn't solve the problem, so I think that the "provides" will not solve anything.
Let me know if i can help testing things.
I have been using (x)sane with my 17.02 without a problem.
After upgrade to 17.10:
- my Xerox WorkCentre 3525 doesn't get detected (editing /etc/sane.
- the XSane GUI closes after preview or scan with the following message "Not a JPEG file: starts with 0x00 0x00"
If this can't be fixed, a roll-back to 1.0.25 should probably be considered?
Looks like other distributions suffer from the same:
https:/
Jörg Frings-Fürst (jff-de) wrote : | #9 |
Hi Mariusz,
as already written in the post 2 it is irresponsible to use a package from the Experimental branch in a production system.
CU
Jörg
PeterPall (peterpall) wrote : | #10 |
Same question from me: We cannot possibly want to break a big percentage of all scanners and MFC devices out in the wild.
Jeremy Bicha (jbicha) wrote : | #11 |
Jörg, thanks for your feedback but could you respond to comment 4?
dino99 (9d9) wrote : | #12 |
@Jeremy
only a comment : why not renaming libsane1 to libsane ?
and from the debian report above:
" Renaming the package to libsane1 without adding a "provides" breaks that dependency and it seems
like merely adding the "provides" does not get them into a working order again."
Launchpad Janitor (janitor) wrote : | #13 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in sane-backends (Ubuntu): | |
status: | New → Confirmed |
Jeremy Bicha (jbicha) wrote : | #14 |
@dino99, because I'm trying to coordinate that kind of thing with the Debian maintainer… See comment 4.
Linking libsane.so.1.0.27 as libsane.so or copying doesn't seem to solve the problem.
Anyone checked if Debian works with that?
luca.mg (luca-mg) wrote : | #16 |
Hi all, as a workaround on ubuntu artful I got rolled back to libsane libsane-common from zesty, that is 1.0.25+
# Epson Perfection 4490
ATTRS{idVendor}
to the file /lib/udev/
LABEL="
and the scanner is now working as it always did.
Would be great if this libsane1 thing would be fixed though.
Neil Gunther (neil-gunther) wrote : | #17 |
Another workaround is to install this ppa:
https:/
And launch Iscan with sudo iscan.
guascoe (guascoe) wrote : | #18 |
Hi all, none of the suggested workaround works for me: change of libsane and libsane-common to older or different version leads to uninstall of gnome-control-
Bye
PeterPall (peterpall) wrote : | #19 |
On my system uninstalling libsane1 uninstalls colord - which uninstalls gnome - which means that this isn't an option.
Vuescan (costly!) and manually extracting and placing the contents of the .deb packages with the scanner plug-ins seems to currently work. But - I still wonder if there is a better way...
We had a working set of software.
Now we have a non-working set of software without a feasible workaround (maybe except for phone camera).
May I kindly ask why don't "we" revert the "improvement" to the previous state and happily use our scanners for everyday work and fun?
dino99 (9d9) wrote : | #21 |
You still can try the zesty version: download the required package(s), then install via 'dpkg -i' over the installed one(s)
https:/
description: | updated |
Changed in sane-backends (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
description: | updated |
PeterPall (peterpall) wrote : | #22 |
@dino99: You cannot sqitch the zesty version any more. At least if you want your computer have a working graphical user interface: lib colord depends in libsane1 - and colord on libcolord. And gnome on colord:
gunter@Marius:~$ sudo apt-get remove libcolord2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
emacs25-lucid xaw3dg
Suggested packages:
emacs25-
The following packages will be REMOVED:
apport-gtk apturl bamfdaemon baobab brasero brasero-cdrkit cairo-dock
cairo-dock-core cairo-dock-plug-ins
cairo-
caribou cheese chrome-gnome-shell classicmenu-
compiz-gnome dconf-editor easytag emacs24 emacs25 evince
evolution-
firefox frei0r-plugins gcr gedit gir1.2-
gir1.
gir1.
gir1.
gir1.2-nmgtk-1.0 gir1.2-peas-1.0 gir1.2-rb-3.0 gir1.2-totem-1.0
gir1.2-vte-2.91 gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gjs gkbd-capplet
gnome-bluetooth gnome-control-
gnome-
gnome-
gnome-session gnome-session-bin gnome-session-
gnome-shell gnome-software gnome-software-
gnome-
gnome-user-docs gnome-user-guide gnome-user-share gstreamer1.
gstreamer1.
ibus-gtk3 indicator-
libappindicat
libcanberra-
libclutter-1.0-0 libclutter-
libcolord2 libcolorhug2 libevdocument3-4 libevview3-3 libgail-3-0
libgcr-ui-3-1 libgdl-3-5 libgdl-3-dev libgjs0g libgldi3 libgnome-
libgnome-
libgspell-1-dev libgtk-3-0 libgtk-3-bin libgtk-3-dev libgtkmm-3.0-1v5
libgtkmm-3.0-dev libgtksourcevie
libgtkspell3-3-0 libgtkspell3-3-dev libgtkspellmm-
libgtkspellmm
libindicator3-7 libmetacity1 libmutter-1-0 libnautilus-
libnm-gtk0 libnma0 libopencv-
libopencv-
libopencv-
libreoffice-
librhythmbox-
libunity-
PeterPall (peterpall) wrote : | #23 |
In the above I didn't copy-and-paste the additional info that about 100 packages can be autoremoved after removing libsane1 because after removing all applications that depend on gtk many libraries are unused.
description: | updated |
Changed in sane-backends (Debian): | |
status: | Fix Released → New |
Hello PeterPall, or anyone else affected,
Accepted sane-backends into artful-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
Changed in sane-backends (Ubuntu Artful): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed verification-needed-artful |
Im sorry but https:/
This is what I get when I want to install my Epson V300 (sorry comments are in german, but I'm sure you understand what goes wrong: libsane is missing):
Hinweis: »libsane1« wird an Stelle von »libsane« gewählt.
libsane1 ist schon die neueste Version (1.0.27-
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Vormals nicht ausgewähltes Paket iscan wird gewählt.
(Lese Datenbank ... 154273 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../core/
»Umleitung von /usr/share/
Entpacken von iscan (2.30.2-2) ...
Vorbereitung zum Entpacken von .../iscan-
Entpacken von iscan-data (1.36.0-1) über (1.36.0-1) ...
Vormals nicht ausgewähltes Paket esci-interprete
Vorbereitung zum Entpacken von .../esci-
Entpacken von esci-interprete
dpkg: Abhängigkeitspr
iscan hängt ab von libsane (>= 1.0.11-3); aber:
Paket libsane ist nicht installiert.
Version von libsane auf dem System, bereitgestellt von libsane1:amd64, ist <keine>.
dpkg: Fehler beim Bearbeiten des Paketes iscan (--install):
Abhängigkeitsp
iscan-data (1.36.0-1) wird eingerichtet ...
dpkg: Abhängigkeitspr
esci-interpret
Paket iscan ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes esci-interprete
Abhängigkeitsp
Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
Trigger für gnome-menus (3.13.3-6ubuntu5) werden verarbeitet ...
Trigger für desktop-file-utils (0.23-1ubuntu3) werden verarbeitet ...
Trigger für mime-support (3.60ubuntu1) werden verarbeitet ...
Trigger für udev (234-2ubuntu12) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
iscan
esci-interpret
PeterPall (peterpall) wrote : | #26 |
The next question would be if things would now work if libsane1 would contain a "provides libsane".
Would it be possible for you to install esci-interprete
I think the command that does do this would be:
sudo dpkg -i --force-depends esci-interprete
Thanks a lot in advance! Will try if the new sane-backends would make my brother scanner work again if the "provides libsane" were present in "libsane1" as soon as I get home.
Jeremy Bicha (jbicha) wrote : | #27 |
staedtler-
Try prefixing your terminal command with LANGUAGE=C.UTF-8 to get English translations.
PeterPall (peterpall) wrote : | #28 |
The same happens here: Cannot install any plug-ins as they depend on libsane the default way: What I have installed is libsane1 1.0.27-
Forcing the install still means that neither my Brother nor my Epson scanner is detected even with the new version of sane-backends.
description: | updated |
Installed the prereleased libsane-common, libsane1, sane-utils:
- libsane-common is already the newest version (1.0.27-
- libsane1 is already the newest version (1.0.27-
- libsane1 set to manually installed.
- sane-utils is already the newest version (1.0.27-
My Xerox Workcentre 3225 still does not work.
No change in comparison to the previous experimental version whatsoever.
tags: |
added: verification-failed-artful removed: verification-needed-artful |
Just for the record. When installing iscan and esci-interprete
When I start 'scanimage -L' only my Epson XP-540 networkscanner is found, not my local attached Epson V300
scanimage -L
device `imagescan:
And yes 'libsane1 1.0.27-
To be exact, when specified in xerox_mfp.conf with tcp <address>, the device gets detected.
The problem is that an attempt to scan or acquire a preview results in an error and the Workcentre remains in "scanning" forever - kind of hang. I wouldn't call it "being functional".
Above means that despite your Epson XP-540 gets detected, doesn't mean it will work.
My Epson XP-540 works.
Curiously with simple-scan and with xsane, but not with Imagescan provided by Epson.
But thats another problem, image-scan scans but can't save the scanned image ... With Ubuntu 17.04 (using Sane 1.0.25) behaviour of imagescan was identical. I already reported this months ago Epson at https:/
Seems time that I should try what happens when I attach the XP 540 locally, then it needs another plugin than networkscan. Hopefully I find the time this weekend to test.
Epson XP-540 attached locally also works (tested with simple-scan)
scanimage -L
device `imagescan:
device `imagescan:
It uses the imagescan-
In the meanwhile I discovered:
The Epson XP-540 Scanner-part is identical to the Standalone Epson V39 Scanner. For the V39 the plugin-gt-s650 comes in two flavours: As fully functional imagescan plugin, which doesn't have libsane as dependency and as non-functional iscan plugin which relys on libsane.
Hopefully this bug will be fixed eventually, but for now I found an ugly workaround which made my Brother scanner (brscan3 driver) work again.
- Installed the equivs package.
- Purged libsane1 by 'sudo dpkg --purge --ignore-
- Installed the zesty versions of libsane, libsane-common and sane-utils by 'sudo dpkg -i' and marked them not to be upgraded by 'sudo apt-mark hold libsane libsane-common sane-utils'.
- Created a controlfile 'libsane1' by 'equivs-control libsane1' and edited it so that it looks like this:
------------
### Commented entries have reasonable defaults.
### Uncomment to edit them.
# Source: <source package name; defaults to package name>
Section: misc
Priority: optional
# Homepage: <enter URL here; no default>
Standards-Version: 3.9.2
Package: libsane1
Version: 4:99
# Maintainer: Your Name <email address hidden>
# Pre-Depends: <comma-separated list of packages>
# Depends: <comma-separated list of packages>
# Recommends: <comma-separated list of packages>
# Suggests: <comma-separated list of packages>
# Provides: <comma-separated list of packages>
# Replaces: <comma-separated list of packages>
# Architecture: all
# Multi-Arch: <one of: foreign|
# Copyright: <copyright file; defaults to GPL2>
# Changelog: <changelog file; defaults to a generic changelog>
# Readme: <README.Debian file; defaults to a generic one>
# Extra-Files: <comma-separated list of additional files for the doc directory>
# Files: <pair of space-separated paths; First is file to include, second is destination>
# <more pairs, if there's more than one file to include. Notice the starting space>
Description: dummy package
dummy package for libsane1
------------
- Built a dummy package libsane1_99_all.deb by 'equivs-build libsane1' and installed it by 'sudo dpkg -i' to satisfy dependencies.
Unbekannte Person (dm60) wrote : | #36 |
How can ubuntu make such mistakes? I hope a patch comes immediately, because for a new release is very shameful!
guascoe (guascoe) wrote : | #37 |
Hans Schwimmbeck "ugly" workaround works for me.
Epson xp-312 is now working also with ISCAN on lan
TNX Hans!
Daniel Eckl (daniel-eckl) wrote : | #38 |
The status for Artful is "fix committed". I think that's a mistake. With the committed sane version in artful-proposed, the iscan package does not install like described above, and when installed forcefully, it does not recognize the scanner.
Neil Gunther (neil-gunther) wrote : | #39 |
Still no joy:
Hit:1 http://
Hit:2 http://
Hit:3 http://
Get:4 http://
Hit:5 http://
Fetched 65.4 kB in 0s (71.4 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsane is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libsane1:i386 libsane1
E: Package 'libsane' has no installation candidate
Jeremy Bicha (jbicha) wrote : | #40 |
I think we can fix this instead by adding a transitional package libsane which will depend on libsane1.
description: | updated |
description: | updated |
tags: | added: verification-failed |
description: | updated |
Changed in sane-backends (Ubuntu): | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-needed-artful removed: verification-failed verification-failed-artful |
tags: | added: verification-failed |
tags: |
added: verification-done verification-done-artful removed: verification-failed verification-needed verification-needed-artful |
Rolf Bensch (rolfbensch) wrote : | #88 |
@Peter:
Alternatively you could use the sources from SANE's daily git snapshots instead of using Debian experimental branch.
This also breaks my ppa, which provides builds from SANE's daily git snapshots.
Do you have really copied the content of /usr/lib64/sane/ to /usr/lib/
Whats with 79-udev-epson.rules in /etc/udev/rules.d ?
I verified that my Epson V300 works with a fresh Ubuntu 17.10 installation by doing the following steps
1. Install libsane1 1.0.27-
If you don't want to enable the proposed repository the easiest way is to download the files and install them from local
2. Install iscan-gt-
3. Copy (or move) the files from /usr/lib/sane (libsane-epkowa.la, libsane-
4. generate a file /etc/udev/
# chmod device EPSON group
ATTRS{manufactu
No reboot needed
After these steps you can attach your scanner and turn it on. It will start to download the firmware (you can see some blinking lights and hear some noise). As soon downloading of firmware has finished you can use the scanner by either Simple-scan, iScan or Xsane (if installed). No root needed (except for installation).
As other Epson scanners using Iscan differ 'only' by the scanner specific plugin I expect them to work too.
floriankeim (floriankeim) wrote : | #91 |
I'm sorry, it still does not work for me with my Perfection V33 Scanner, even though everything is similar.
Martin (martin3000) wrote : | #92 |
The funny thing is: scanimage -L does not work.
Then I do something on the system and change things and after 1 hour of changing scanimage -L works fine. The next day same again: not work. So my experience is: if you run scanimage many times, it becomes better and better and at the end it works. No matter what you changed. So it may happen that it does not work without sudo and then work with sudo. But its not the "sudo". It's because you tried 5 times.
Here is the command for debugging:
user@ubuntu1:home$ SANE_DEBUG_
guascoe (guascoe) wrote : | #93 |
Coping the content of /usr/lib64/sane/ to /usr/lib/
I've tested the procedure on a clean install an also on my production machine.
After installing libsane1 1.0.27-
Then i copied the files /usr/lib64/sane/ to /usr/lib/
Now I can run ISCAN as user with no problem and simple-scan works too.
I don't have a /usr/lib64/sane/, but I do have those files in /usr/lib/sane - should I copy those?
I also don't have a /usr/lib/
@Michael Barraclough
Are you on 32 bit ?
Martin (martin3000) wrote : | #96 |
Yes it is /usr/lib/sane
No - I am as 64-bit as they come!!
Kubuntu 17.10 reports:
OS Type - 64 bit
Processors: 4 x AMD A10-7870K Radeon R7
Success!
Copied the 3 files from /usr/lib/sane to /usr/lib/
Created /etc/udev/
# chmod device EPSON group
ATTRS{manufactu
Didn't reboot - didn't work. However, after rebooting, Vuescan and ScanLite both found the scanner . Yay!
Thanks for the great support.
@Michael Barraclough
Is it a fresh install ?
If yes, I'm sorry I'm not familiar with Kubuntu
If no, please consider a fresh installation of Kubuntu 17.10 (too many things have changed since 16.04)
Warren (wseverin) wrote : | #100 |
@staedtler-
Good work!
I'm guessing there's a lot of old driver install debs out in the world that are putting their stuff into /usr/lib/sane instead of into /usr/lib/
derlybyn (derlybyn) wrote : | #101 |
@staedtler-
Thanks a lot. This worked for my Epson Perfection V10 on Ubuntu Mate 17.10, upgraded from 17.04.
Please use the workaround for Epson Iscan, Brother brscan,brscan2 and brscan3 Scanners from here
https:/
brscan4 no luck until now
Warren (wseverin) wrote : | #103 |
Here is an update to my simple and "unnecessary" script to fix .deb packages so they install correctly. This version adds moving the installation of the libraries from /usr/lib/sane to /usr/lib/
In attachment.
Paul Nickerson (pgn674) wrote : | #104 |
Thank you, staedtler-
Launchpad Janitor (janitor) wrote : | #105 |
This bug was fixed in the package sane-backends - 1.0.27-
---------------
sane-backends (1.0.27-
* Add version to Provides. Use Conflicts instead of Breaks (LP: #1707352)
sane-backends (1.0.27-
* Add "Provides: libsane" to libsane1 (LP: #1707352)
-- Jeremy Bicha <email address hidden> Tue, 24 Oct 2017 21:43:06 -0400
Changed in sane-backends (Ubuntu Artful): | |
status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for sane-backends has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
SteveSong (stephen-song) wrote : | #107 |
Likewise thank you @staedtler-
Matthew Frost (epeleutheria) wrote : | #108 |
Epson Perfection V30 didn't work, and I've gotten it working now.
Had these problems on 17.10, almost b0rked my system with some of the proposed solutions re downgrading. Here's what worked today (Dec 13, 2017) on a fresh install:
*Before* installing iscan-data, iscan, and esci-interprete
Then I installed the software from the Epson package.
Then I followed the instructions on <a href="https:/
Of course, I don't want to run this software as root every time. So then I created the 79-udev-epson.rules file per <a href="https:/
Thank you all for your suggestions and fixes!
PeterPall (peterpall) wrote : | #109 |
That is the only thing I would ask: We now have found out to make the package work out-of-the-box. Is there any chance that the maintainer picks up the changes - which greatly would improve the usability of Linux?
As im in contact with Olaf Meeuwissen (Sane developer and former Epson developer, responsible for iscan, imagescan, and now utsushi) ...
He told between the lines that he's quite sure that no manufacturer will correct his packages.
PeterPall (peterpall) wrote : | #111 |
The manufacturers won't. And if each manufacturer would try to create all the symlinks needed in order to make the drivers work on all the linux distries that tend to be broken in different ways that would clearly be prone to create conflicts.
But if Ubuntu has broken things by starting to expect them in unexpected places Ubuntu could automatically provide all the symlinks that are needed to make the drivers appear in all the places they could or should be - and nearly all drivers by nearly all manufacturers would restart working out-of-the box without requiring intervention of the manufacturers and applying fixes to every single driver.
And please don't omit the permissions problem which occurs IMHO with all iscan, brscan4 and some smfb* based scanners.
PeterPall (peterpall) wrote : | #113 |
That is right:
- make libsane1's install script execute a few "ln" commands. Or add a debian/
- add a few udev scripts to libsane1's debian directory and a debian/
- and somehow make ubuntu ship the resulting package instead of the old one. I've never found any documentation on how to actually do this. But I've always read that everyone is invited in fixing bugs in ubuntu packages... ...that means: http://
If we change the things that are needed and submit the change to debian - that might fix many upcoming releases of many linux flavours. If the changes are backported to ubuntu afterwards, that is.
David Stewart (dlpastewart-5) wrote : | #114 |
Thanks to #99 staedtler_przlorski
Your patch worked for the Epson V370 scanner.
PeterPall (peterpall) wrote : | #115 |
I hope this patch might make things work out-of-the-box on new installs.
I didn't find out how to prevent the link from /usr/lib64/ to /usr/lib/
And I didn't find any good way to handle the case that libsane is updated when /usr/lib64 already exists: I can move all the 3rd-party sane drivers over to the new directory. But what happens if there are other libraries from the system that is upgraded and that still lie in this directory?
An alternative would be finding out the names of all packages epson and brother provide and symlink every file individually. Is it feasible to create such a list?
Robert Rohm (robert.rohm) wrote : | #116 |
In order to make a Brother MFC-5490CN work, I additionally had to do this
cd /usr/lib
sudo ln -s /usr/lib64/
sudo ln -s /usr/lib64/
sudo ln -s /usr/lib64/
Scanning with MFC-5490CN now works with simple-scan.
xsane recognizes the scanner, does a preview, but fails scanning.
scanimage now fails with:
scanimage: symbol lookup error: scanimage: undefined symbol: md5_buffer
jj.giopa (jj.giopa) wrote : | #117 |
# EPSON V500 ####
https:/
sudo cp /usr/lib/
edit /etc/udev/
sudo nano /etc/udev/
Add the following:
# chmod device EPSON group
ATTRS{
Thanks to tanstaafl on https:/
Neil Gunther (neil-gunther) wrote : | #118 |
The above workaround at post 117 also works for the Epson V300.
luca.mg (luca-mg) wrote : | #119 |
Clean Ubuntu bionic install, the Brother4 worked out or the box, while the Epson iscan needed the well known workaround.
Henry Goldstein (henryg) wrote : | #120 |
I confirm that the workaround worked for my Bionic with an Epson V300, having finally found this thread after a week's agony.
Changed in sane-backends (Ubuntu): | |
assignee: | nobody → Franz Engel (frangelo) |
Thanks everybody.
This solves my 'non-working' V350-Photo scanner issue !
* Fresh Ubuntu-Mate insall (64 bits)
* All updates done
* Install the Epson package from Epson website
* Check libsane1 is installed
* Copy (or move) the files from /usr/lib/sane (libsane-epkowa.la, libsane-
* generate a file /etc/udev/
# chmod device EPSON group
ATTRS{manufactu
=> Working without rebooting !
Thanks guys !
Changed in sane-backends (Ubuntu): | |
assignee: | Franz Engel (frangelo) → nobody |
dino99 (9d9) wrote : | #122 |
Debian is not concerned, as said into their report (devs desagree about naming best practice)
Changed in sane-backends (Debian): | |
importance: | Unknown → Undecided |
status: | New → Invalid |
mario (marava1) wrote : | #123 |
Thank you!
Fresh install of Bionic and my V600 now works. I have used the way in post n.117. You, all, are very great!
Franz Engel (frangelo) wrote : | #124 |
Fresh install Bionic Beaver,
then installed the driver for my Brother MFC-J470DW from the Brother Site.
Then the routine from "ubuntuusers.de"
https:/
Scroll down to "Scannen über Netzwerk ab Ubuntu 17.04 (64-bit)"
And tadaaa, it works.
thanks a lot
Franz Engel (frangelo) wrote : | #125 |
Once again fresh installed Bionic for test.
And now it works immediately after installing the brother driver.
Wladimir Mutel (mwg) wrote : | #126 |
I am not sure everyone needs to install Brother driver to make Epson scanner work (that's in Ubuntu 18.04)
I am going to set up samples of Ubuntu LTS from Bionic down to Trusty and probably Precise, and report on their compatibility with the extensive zoo of printers, scanners and MFUs I have on my new job.
Having regressions in modern Ubuntu releases where past releases worked well is unacceptable, their causes should be investigated and eliminated.
Selmi (selmi) wrote : | #127 |
I have problem with scanner from Samsung multifunction device M2070
it worked with installed drivers from samsung site in ubuntu 16.04
after upgrade to 18.04 scanner is not recognized anymore. I reinstalled newer drivers from HP site (hp took over samsung printers and scanners) but still doesn't work
so 'out of a box' experience in 18.04 from comment #43 is not exactly true
Hello Peter,
I really don't understand why Ubuntu use packages from the Debian experimental branch.
The experimental version is very buggy and the requested transition from libsane to libsane1 isn't
ready to start.
CU
Jörg Frings-Fürst
Maintainer of sane-backends at Debian