[Bug 1024658] Re: problems during update: Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
MF
mforcada at gmail.com
Fri Jul 20 17:54:47 UTC 2012
Hi,
Thank you for taking care of this issue.
Did the sudo apt-get install --reinstall insserv sysv-rc. As there were many error messages before the two lines :
Setting up insserv (1.12.0-14ubuntu0.2) ...
Setting up sysv-rc (2.87dsf-4ubuntu17.5) ...
I tried an update with the Update manager that produced seamingly the
same errors as before. Tried a second time with sudo apt-get install
--reinstall insserv sysv-rc. The output in terminal below.
Is it right that insserv and sysv-rc to be reinstalled should come from
the lucid package ?
Best regards,
MF
formig at localhost:~$ sudo apt-get install --reinstall insserv sysv-rc
[sudo] password for formig:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaccess-bridge-java nspluginwrapper libx264-118 libavutil-dev
libavcodec-dev libtsmux0 libaccess-bridge-java-jni
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 3 not upgraded.
16 not fully installed or removed.
Need to get 150kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
insserv sysv-rc
Install these packages without verification [y/N]? y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid-updates/main sysv-rc 2.87dsf-4ubuntu17.5 [79.8kB]
Get:2 http://security.ubuntu.com/ubuntu/ lucid-proposed/main insserv 1.12.0-14ubuntu0.2 [70.5kB]
Fetched 150kB in 0s (398kB/s)
Preconfiguring packages ...
(Reading database ... 369428 files and directories currently installed.)
Preparing to replace insserv 1.12.0-14ubuntu0.2 (using .../insserv_1.12.0-14ubuntu0.2_amd64.deb) ...
Unpacking replacement insserv ...
Preparing to replace sysv-rc 2.87dsf-4ubuntu17.5 (using .../sysv-rc_2.87dsf-4ubuntu17.5_all.deb) ...
Unpacking replacement sysv-rc ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-server-5.1 (5.1.63-0ubuntu0.10.04.1) ...
mysql stop/waiting
mysql start/running, process 23483
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 380.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 255
Setting up cron (3.0pl1-106ubuntu6) ...
start: Job is already running: cron
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 380.
dpkg: error processing cron (--configure):
subprocess installed post-installation script returned error exit status 255
Setting up apparmor (2.5.1-0ubuntu0.10.04.4) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
dpkg: error processing apparmor (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of apparmor-utils:
apparmor-utils depends on apparmor; however:
Package apparmor is not configured yet.
dpkg: error processing apparmor-utils (--configure):
dependency problems - leaving unconfigured
Setting up apache2.2-common (2.2.14-5ubuntu8.9) ...
No apport report written because MaxReports is reached already
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.14-5ubuntu8.9); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
Setting up clamav-freshclam (0.97.5+dfsg-1ubuntu0.11.04.2~10.04.1) ...
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Warning: found usr.bin.freshclam in /etc/apparmor.d/force-complain, forcing complain mode
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
dpkg: error processing clamav-freshclam (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of clamav:
clamav depends on clamav-freshclam | clamav-data; however:
Package clamav-freshclam is not configured yet.
Package clamav-data is not installed.
Package clamav-freshclam which provides clamav-data is not configured yet.
dpkg: error processing clamav (--configure):
dependency problems - leaving unconfigured
Setting up cups (1.4.3-1ubuntu1.6) ...
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
dpkg: error processing cups (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.3.2-1ubuntu4.17) | libapache2-mod-php5filter (>= 5.3.No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
2-1ubuntu4.17) | php5-cgi (>= 5.3.2-1ubuntu4.17); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-curl:
php5-curl depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-curl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-gd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-mysql:
php5-mysql depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-mysql (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-odbc:
php5-odbc depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-odbc (--configure):
dependency problems - leaving unconfigured
Setting up insserv (1.12.0-14ubuntu0.2) ...
Setting up sysv-rc (2.87dsf-4ubuntu17.5) ...
Errors were encountered while processing:
mysql-server-5.1
cron
apparmor
apparmor-utils
apache2.2-common
apache2-mpm-prefork
clamav-freshclam
clamav
cups
libapache2-mod-php5
mysql-server
php5
php5-curl
php5-gd
php5-mysql
php5-odbc
E: Sub-process /usr/bin/dpkg returned an error code (1)
formig at localhost:~$ sudo apt-get install --reinstall insserv sysv-rc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaccess-bridge-java nspluginwrapper libx264-118 libavutil-dev
libavcodec-dev libtsmux0 libaccess-bridge-java-jni
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
17 not fully installed or removed.
Need to get 0B/150kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
insserv sysv-rc
Install these packages without verification [y/N]? Y
Preconfiguring packages ...
(Reading database ... 369428 files and directories currently installed.)
Preparing to replace insserv 1.12.0-14ubuntu0.2 (using .../insserv_1.12.0-14ubuntu0.2_amd64.deb) ...
Unpacking replacement insserv ...
Preparing to replace sysv-rc 2.87dsf-4ubuntu17.5 (using .../sysv-rc_2.87dsf-4ubuntu17.5_all.deb) ...
Unpacking replacement sysv-rc ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-server-5.1 (5.1.63-0ubuntu0.10.04.1) ...
mysql stop/waiting
mysql start/running, process 26208
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 380.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 255
Setting up cron (3.0pl1-106ubuntu7) ...
start: Job is already running: cron
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 380.
dpkg: error processing cron (--configure):
subprocess installed post-installation script returned error exit status 255
Setting up procps (1:3.2.8-1ubuntu4.3) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 380.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 255
Setting up apparmor (2.5.1-0ubuntu0.10.04.4) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
dpkg: error processing apparmor (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of apparmor-utils:
apparmor-utils depends on apparmor; however:
Package apparmor is not configured yet.
dpkg: error processing apparmor-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2.2-common:
apache2.2-common depends on procps; however:
Package procps is not configured yet.
dpkg: error processing apache2.2-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.14-5ubuntu8.9); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already4.1) ...
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Warning: found usr.bin.freshclam in /etc/apparmor.d/force-complain, forcing complain mode
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
dpkg: error processing clamav-freshclam (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of clamav:
clamav depends on clamav-freshclam | clamav-data; however:
Package clamav-freshclam is not configured yet.
Package clamav-data is not installed.
Package clamav-freshclam which provides clamav-data is not configured yet.
dpkg: error processing clamav (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups:
cups depends on procps; however:
Package procps is not configured yet.
dpkg: error processing cups (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-phpNo apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.3.2-1ubuntu4.17) | libapache2-mod-php5filter (>= 5.3.2-1ubuntu4.17) | php5-cgi (>= 5.3.2-1ubuntu4.17); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-curl:
php5-curl depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-curl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-gd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-mysql:
php5-mysql depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-mysql (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-odbc:
php5-odbc depends on phpapi-20090626; however:
Package phpapi-20090626 is not installed.
Package libapache2-mod-php5 which provides phpapi-20090626 is not configured yet.
dpkg: error processing php5-odbc (--configure):
dependency problems - leaving unconfigured
Setting up insserv (1.12.0-14ubuntu0.2) ...
Setting up sysv-rc (2.87dsf-4ubuntu17.5) ...
Processing triggers for menu ...
Errors were encountered while processing:
mysql-server-5.1
cron
procps
apparmor
apparmor-utils
apache2.2-common
apache2-mpm-prefork
clamav-freshclam
clamav
cups
libapache2-mod-php5
mysql-server
php5
php5-curl
php5-gd
php5-mysql
php5-odbc
E: Sub-process /usr/bin/dpkg returned an error code (1)
formig at localhost:~$
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1024658
Title:
problems during update: Can't exec "insserv": No such file or
directory at /usr/sbin/update-rc.d line 402.
Status in “sysvinit” package in Ubuntu:
New
Bug description:
during partial upgrade
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: clamav-freshclam 0.97.5+dfsg-1ubuntu0.11.04.2~10.04.1
ProcVersionSignature: Ubuntu 2.6.32-41.90-generic 2.6.32.59+drm33.24
Uname: Linux 2.6.32-41-generic x86_64
Architecture: amd64
Date: Sat Jul 14 11:05:49 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 255
SourcePackage: clamav
Title: package clamav-freshclam 0.97.5+dfsg-1ubuntu0.11.04.2~10.04.1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 255
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1024658/+subscriptions
More information about the foundations-bugs
mailing list