Package: sane-utils
Version: 1.0.24-8+deb8u1
Severity: normal

Dear Maintainer,

I am getting error while installing the sane-utils package. I was unable to use 
scanner on the network , so I messed things up.

(Reading database ... 103521 files and directories currently installed.)
Preparing to unpack .../sane-utils_1.0.24-8+deb8u2_amd64.deb ...
Failed to stop saned.service: Unit saned.service not loaded.
Warning: Stopping saned.service, but it can still be activated by:
  saned.socket
invoke-rc.d: initscript saned, action "stop" failed.
/var/lib/dpkg/info/sane-utils.prerm: 5: /var/lib/dpkg/info/sane-utils.prerm: 
saned_eh: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
Failed to stop saned.service: Unit saned.service not loaded.
Warning: Stopping saned.service, but it can still be activated by:
  saned.socket
invoke-rc.d: initscript saned, action "stop" failed.
/var/lib/dpkg/tmp.ci/prerm: 5: /var/lib/dpkg/tmp.ci/prerm: saned_eh: not found
dpkg: error processing archive 
/var/cache/apt/archives/sane-utils_1.0.24-8+deb8u2_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
Deep recursion on subroutine "main::get_link_closure" at 
/usr/bin/deb-systemd-helper line 200, <$fh> line 14.
Segmentation fault
Deep recursion on subroutine "main::get_link_closure" at 
/usr/bin/deb-systemd-helper line 200, <$fh> line 14.
/usr/bin/deb-systemd-helper: error: unable to read 
/etc/systemd/system/saned.socket
Failed to start saned.service: Unit saned.service failed to load: Invalid 
argument.
invoke-rc.d: initscript saned, action "start" failed.
saned couldn't start; check your inetd configuration and README.Debian
Errors were encountered while processing:
 /var/cache/apt/archives/sane-utils_1.0.24-8+deb8u2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I can not update or remove the package. Same error occures on while updating 
and removing the package.

 service saned restart I get:
Failed to restart saned.service: Unit saned.service failed to load: Invalid 
argument.

systemctl status saned show:
● saned.service
Loaded: not-found (Reason: Invalid argument)
Active: inactive (dead)


-- System Information:
Debian Release: 8.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sane-utils depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  init-system-helpers    1.22
ii  libavahi-client3       0.6.31-5
ii  libavahi-common3       0.6.31-5
ii  libc6                  2.19-18+deb8u9
ii  libieee1284-3          0.2.11-12
ii  libsane                1.0.24-8+deb8u2
ii  libsystemd0            215-17+deb8u7
ii  libusb-1.0-0           2:1.0.19-1
ii  update-inetd           4.43

sane-utils recommends no packages.

Versions of packages sane-utils suggests:
ii  avahi-daemon  0.6.31-5
pn  unpaper       <none>

-- Configuration Files:
/etc/default/saned changed:
RUN=yes
RUN_AS_USER=saned

/etc/sane.d/saned.conf changed:
192.168.0.0/24
10.8.0.0/24
localhost
127.0.0.1


-- debconf information:
  sane-utils/saned_run: true
  sane-utils/saned_scanner_group: true

Reply via email to