How can I install SANE for my scanner PIXMA Cannon 360

Asked by Tyrone Hills

Hi, Team

I was trying to install the proper drives for my SCANNER. I have a PIXMA Cannon 360 Printer.

Please advise!

scanimage -v
scanimage: no SANE devices found
 apt-get install xsane
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
 sudo apt-get install xsane

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gimp gimp-data libbabl-0.0-0 libgegl-0.0-0 libgimp2.0
  libjavascriptcoregtk-1.0-0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common
  xsane-common
Suggested packages:
  gimp-help-en gimp-help gimp-data-extras hylafax-client mgetty-fax gv gocr
The following NEW packages will be installed:
  gimp gimp-data libbabl-0.0-0 libgegl-0.0-0 libgimp2.0
  libjavascriptcoregtk-1.0-0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common xsane
  xsane-common
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 19.4 MB of archives.
After this operation, 60.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://il.archive.ubuntu.com/ubuntu/ precise-updates/main libgimp2.0 i386 2.6.12-1ubuntu1.3 [616 kB]
Get:2 http://il.archive.ubuntu.com/ubuntu/ precise-updates/main gimp-data all 2.6.12-1ubuntu1.3 [1,983 kB]
Get:3 http://il.archive.ubuntu.com/ubuntu/ precise/main libbabl-0.0-0 i386 0.0.22-1.1 [78.3 kB]
Get:4 http://il.archive.ubuntu.com/ubuntu/ precise/main libgegl-0.0-0 i386 0.0.22-2ubuntu3 [350 kB]
Get:5 http://il.archive.ubuntu.com/ubuntu/ precise-updates/main libjavascriptcoregtk-1.0-0 i386 1.8.3-0ubuntu0.12.04.1 [1,427 kB]
Get:6 http://il.archive.ubuntu.com/ubuntu/ precise-updates/main libwebkitgtk-1.0-common all 1.8.3-0ubuntu0.12.04.1 [756 kB]
Get:7 http://il.archive.ubuntu.com/ubuntu/ precise-updates/main libwebkitgtk-1.0-0 i386 1.8.3-0ubuntu0.12.04.1 [7,315 kB]
Get:8 http://il.archive.ubuntu.com/ubuntu/ precise-updates/main gimp i386 2.6.12-1ubuntu1.3 [4,755 kB]
Get:9 http://il.archive.ubuntu.com/ubuntu/ precise/universe xsane-common all 0.998-3ubuntu2 [1,815 kB]
Get:10 http://il.archive.ubuntu.com/ubuntu/ precise/universe xsane i386 0.998-3ubuntu2 [271 kB]
Fetched 19.4 MB in 31s (620 kB/s)
Selecting previously unselected package libgimp2.0.
(Reading database ... 289215 files and directories currently installed.)
Unpacking libgimp2.0 (from .../libgimp2.0_2.6.12-1ubuntu1.3_i386.deb) ...
Selecting previously unselected package gimp-data.
Unpacking gimp-data (from .../gimp-data_2.6.12-1ubuntu1.3_all.deb) ...
Selecting previously unselected package libbabl-0.0-0.
Unpacking libbabl-0.0-0 (from .../libbabl-0.0-0_0.0.22-1.1_i386.deb) ...
Selecting previously unselected package libgegl-0.0-0.
Unpacking libgegl-0.0-0 (from .../libgegl-0.0-0_0.0.22-2ubuntu3_i386.deb) ...
Selecting previously unselected package libjavascriptcoregtk-1.0-0.
Unpacking libjavascriptcoregtk-1.0-0 (from .../libjavascriptcoregtk-1.0-0_1.8.3-0ubuntu0.12.04.1_i386.deb) ...
Selecting previously unselected package libwebkitgtk-1.0-common.
Unpacking libwebkitgtk-1.0-common (from .../libwebkitgtk-1.0-common_1.8.3-0ubuntu0.12.04.1_all.deb) ...
Selecting previously unselected package libwebkitgtk-1.0-0.
Unpacking libwebkitgtk-1.0-0 (from .../libwebkitgtk-1.0-0_1.8.3-0ubuntu0.12.04.1_i386.deb) ...
Selecting previously unselected package gimp.
Unpacking gimp (from .../gimp_2.6.12-1ubuntu1.3_i386.deb) ...
Selecting previously unselected package xsane-common.
Unpacking xsane-common (from .../xsane-common_0.998-3ubuntu2_all.deb) ...
Selecting previously unselected package xsane.
Unpacking xsane (from .../xsane_0.998-3ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Setting up qmail (1.06-4) ...

The hostname -f command returned: $1

Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.

Installation aborted.

dpkg: error processing qmail (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Setting up libgimp2.0 (2.6.12-1ubuntu1.3) ...
Setting up gimp-data (2.6.12-1ubuntu1.3) ...
Setting up libbabl-0.0-0 (0.0.22-1.1) ...
Setting up libgegl-0.0-0 (0.0.22-2ubuntu3) ...
Setting up libjavascriptcoregtk-1.0-0 (1.8.3-0ubuntu0.12.04.1) ...
Setting up libwebkitgtk-1.0-common (1.8.3-0ubuntu0.12.04.1) ...
Setting up libwebkitgtk-1.0-0 (1.8.3-0ubuntu0.12.04.1) ...
Setting up gimp (2.6.12-1ubuntu1.3) ...
Setting up xsane-common (0.998-3ubuntu2) ...
Setting up xsane (0.998-3ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
Errors were encountered while processing:
 qmail
E: Sub-process /usr/bin/dpkg returned an error code (1)
thadmin@thadmin-HP-Compaq-dx6120-MT-PW279ES:~$ clear

thadmin@thadmin-HP-Compaq-dx6120-MT-PW279ES:~$ sudo gedit /ect/sane.d/dll.conf
[sudo] password for thadmin:
thadmin@thadmin-HP-Compaq-dx6120-MT-PW279ES:~$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a9, product=0x174d) at libusb:001:008
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
 sudo sane-fine-scanner
sudo: sane-fine-scanner: command not found
sudo apt-get install scanimage -lE: Command line option 'l' [from -l] is not known.
scanimage -l
scanimage: no SANE devices found
 sudo apt-get install sane
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  sane
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 111 kB of archives.
After this operation, 340 kB of additional disk space will be used.
Get:1 http://il.archive.ubuntu.com/ubuntu/ precise/universe sane i386 1.0.14-9 [111 kB]
Fetched 111 kB in 0s (176 kB/s)
Selecting previously unselected package sane.
(Reading database ... 290778 files and directories currently installed.)
Unpacking sane (from .../sane_1.0.14-9_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up qmail (1.06-4) ...

The hostname -f command returned: $1

Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.

Installation aborted.

dpkg: error processing qmail (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up sane (1.0.14-9) ...
Processing triggers for menu ...
Errors were encountered while processing:
 qmail
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu netqmail Edit question
Assignee:
No assignee Edit question
Solved by:
Tyrone Hills
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

what is the output of:

cat /etc/hosts; echo; echo "hostname="; hostname

Thanks

Revision history for this message
Tyrone Hills (thmoabw) said :
#2

Thank's for your assistance!