Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-09-2017, 12:01 PM
|
#1
|
LQ Newbie
Registered: May 2017
Posts: 3
Rep:
|
Errors were encountered while processing: /var/cache/apt/archives/sane-utils_1.0.24-8+deb8u2_amd64.deb
I am getting error while installing the sane-utils package. I was unable to use scanner on the network , so I messed things up.
Code:
(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)
|
|
|
05-09-2017, 02:00 PM
|
#2
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,892
|
Hi anmol26s and welcome to LQ.
I feel you should add some more information here to have others be able to help you.
What distribution and version are you trying to install this on?
What are the system specifications you are trying to perform this with?
|
|
|
05-09-2017, 02:28 PM
|
#3
|
LQ Newbie
Registered: May 2017
Posts: 3
Original Poster
Rep:
|
Hi rtmistler
Thanks for you reply.
I have Debian Jessie and this error comes when I try to update with apt-get update or try to install this package manually with apt-get install sane-utils. On 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)
|
|
|
05-09-2017, 08:16 PM
|
#4
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
OK, that's a problem with the package itself. /var/cache/apt/archives is where Debian stores downloaded package files before installing them. It looks like sysv-init and systemd are kind of duking it out.
I would use the reportbug program to report the situation. You run it from the command line. Then, after a few days it should work. For now, you can remove the offending package.
|
|
|
All times are GMT -5. The time now is 01:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|