Created
August 9, 2012 13:23
-
-
Save zipizap/3304160 to your computer and use it in GitHub Desktop.
Fix to setup Lexmark X1170 scanner on Ubuntu 11.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The fix is based on installing an older version of libsane and libsane-extras | |
# For more info, see [1] and [2] | |
# [1] http://angel-de-vicente.blogspot.com.es/2012/07/lexmark-x1190-with-ubuntu-1110-64-bits.html | |
# [2] https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/774475 | |
# [3] http://ubuntuforums.org/showpost.php?p=12159929&postcount=36 | |
# | |
# To apply the fix, copy/paste the following in a terminal: | |
# . Uninstall libsane + libsane-extras | |
sudo apt-get remove libsane libsane-extras | |
# . Manually download and install the older version 1.0.21-9 of libsane and libsane-extras | |
cd | |
mkdir -p lexmark | |
cd lexmark | |
wget http://ftp.us.debian.org/debian/pool/main/s/sane-backends/libsane_1.0.21-9_i386.deb | |
wget http://ftp.us.debian.org/debian/pool/main/s/sane-backends-extras/libsane-extras_1.0.21.2_i386.deb | |
sudo dpkg -i libsane-extras_1.0.21.2_i386.deb | |
sudo dpkg -i libsane_1.0.21-9_i386.deb | |
# . Tell APT to pin the libsane and libsane-extras to the 1.0.21-9 version, so that they do not get updated and stay fixed with this specific version | |
cat <<EOT | sudo tee -a /etc/apt/preferences.d/libsane | |
Package: libsane | |
Pin: version 1.0.21-9 | |
Pin-Priority: 900 | |
EOT | |
# . Reinstall simple-scan (not in the blog, but I had to do it) | |
sudo apt-get install -y simple-scan | |
# . Test and enjoy your scanner :) | |
simple-scan | |
# NOTE: I had to go to Documents/Preferences | |
# Scan Source = LexmarkX110/rev.2C | |
# Close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment