/ linux

Ubuntu (15.04) and Epson SX130 printer

I'm not sure what Ubuntu add printer feature wants to do when installing drivers but when I tried to add my Epson printer it didn't work. Most probably it tries to install the same driver as I tried above and it stuck on error: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Let's install driver using dpkg. Download epson-printer-utility_1.0.0-1lsb3.2_amd64.deb from http://download.ebz.epson.net/dsc/search/01/search/searchModule (just search sx130).

Install driver.

sudo dpkg -i epson-printer-utility_1.0.0-1lsb3.2_amd64.deb

It should print something like this:

Selecting previously unselected package epson-printer-utility.
(Reading database ... 213638 files and directories currently installed.)
Preparing to unpack epson-printer-utility_1.0.0-1lsb3.2_amd64.deb ...
Unpacking epson-printer-utility (1.0.0-1lsb3.2) ...
dpkg: dependency problems prevent configuration of epson-printer-utility:
 epson-printer-utility depends on lsb (>= 3.2); however:
  Package lsb is not installed.

dpkg: error processing package epson-printer-utility (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:

apt-get -f install should help but in my instance it didn't, most possible because I tried to install drivers from system settings and after failure some processes locked apt database or something. I could restart system and try to apt-get -f install again but this helped without restart:

sudo dpkg --configure -a
sudo dpkg --audit
sudo apt-get install --reinstall at -f

Then I just added a printer through system settings and everything works correctly. An interesting thing is that printer works better than about year ago. When I last checked it, it worked better on Windows, now I don't see the difference ;-)