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-depends=libsane1
libsane1'.

- 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 <yourn...@example.com>
# 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|same|allowed>
# 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707352

Title:
  the change from libsane to libsane1 broke many (all?) 3rd party plug-
  ins for sane

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1707352/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to