Forum
[PROBLEM] apt-get update Errors while processing udev - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: [PROBLEM] apt-get update Errors while processing udev (/thread-3502.html)



apt-get update Errors while processing udev - Szurgent Gábor - 5th Apr, 2016 04:58 AM

Hi!

Sorry, my english... I have a rapberry pi 3 with the preliminary image. I updated if updates was available.
Now the upgrade is broken with error:

Version after SSH login:
Linux xbian 4.4.6+ #1 SMP PREEMPT Wed Mar 23 18:05:49 CET 2016
58 packages can be updated
XBian 20160212-1 - Bleeding Edge, 2012 - 2015

apt-get update ok. And here my problem (sorry for the big 'log'), can somebody help me?

root@xbian /home/xbian # apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bind9-host cpio fuse gnupg gpgv initramfs-tools libbind9-90 libdns-export100 libdns100 libfuse2 libgcrypt20 libglib2.0-0 libgraphite2-3 libgssapi-krb5-2 libgudev-1.0-0 libhogweed2 libirs-export91 libisc-export95 libisc95
libisccc90 libisccfg-export90 libisccfg90 libjasper1 libk5crypto3 libkrb5-3 libkrb5support0 liblwres90 libmysqlclient18 libnettle4 libpam-modules libpam-modules-bin libpam-systemd libpam0g libpcre3 libpcrecpp0 libsmbclient
libsndfile1 libssh-4 libssh2-1 libsystemd0 libtiff5 libwbclient0 locales multiarch-support mysql-common openssl python-imaging python-pil python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs
systemd tzdata
The following packages will be DOWNGRADED:
libcurl3 libcurl3-gnutls
56 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/24.3 MB of archives.
After this operation, 325 kB disk space will be freed.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up udev (215-17+deb8u4) ...
Adding group `input' (GID 101) ...
Done.
udev stop/waiting
udev start/running, process 31546
update-initramfs: deferring update (trigger activated)
initctl: Unknown job: K01nfs-common
insserv: warning: script 'K01nfs-common' missing LSB tags and overrides
initctl: Unknown job: K01nfs-common
initctl: Unknown job: S02dbus
insserv: warning: script 'S02dbus' missing LSB tags and overrides
initctl: Unknown job: S02dbus
initctl: Unknown job: S02dbus
initctl: Unknown job: S02dbus
initctl: Unknown job: K01nfs-common
initctl: Unknown job: S05nfs-common
initctl: Unknown job: S05checkroot-bootclean.sh
insserv: warning: script 'S05checkroot-bootclean.sh' missing LSB tags and overrides
initctl: Unknown job: S05mountnfs-bootclean.sh
insserv: warning: script 'S05mountnfs-bootclean.sh' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `udev'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `udev'
initctl: Unknown job: nfs-common
insserv: warning: script 'nfs-common' missing LSB tags and overrides
initctl: Unknown job: bootmisc.sh
insserv: warning: script 'bootmisc.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `bootmisc.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `bootmisc.sh'
initctl: Unknown job: checkroot-bootclean.sh
insserv: warning: script 'checkroot-bootclean.sh' missing LSB tags and overrides
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `checkroot-bootclean.sh'
initctl: Unknown job: mountall-bootclean.sh
insserv: warning: script 'mountall-bootclean.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountall-bootclean.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mountall-bootclean.sh'
initctl: Unknown job: mountall.sh
insserv: warning: script 'mountall.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountall.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mountall.sh'
initctl: Unknown job: mountnfs-bootclean.sh
insserv: warning: script 'mountnfs-bootclean.sh' missing LSB tags and overrides
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mountnfs-bootclean.sh'
initctl: Unknown job: mountnfs.sh
insserv: warning: script 'mountnfs.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountnfs.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mountnfs.sh'
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `dbus'
initctl: Unknown job: mtab.sh
insserv: warning: script 'mtab.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mtab.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mtab.sh'
insserv: warning: script 'hostname.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `hostname.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `hostname.sh'
initctl: Unknown job: mountkernfs.sh
insserv: warning: script 'mountkernfs.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountkernfs.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mountkernfs.sh'
initctl: Unknown job: mountdevsubfs.sh
insserv: warning: script 'mountdevsubfs.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountdevsubfs.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mountdevsubfs.sh'
initctl: Unknown job: checkroot.sh
insserv: warning: script 'checkroot.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `checkroot.sh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `checkroot.sh'
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `avahi-daemon'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `avahi-daemon'
initctl: Unknown job: rmnologin
insserv: warning: script 'rmnologin' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `rmnologin'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `rmnologin'
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cron'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `cron'
initctl: Unknown job: ssh
insserv: warning: script 'ssh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `ssh'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `ssh'
initctl: Unknown job: kmod
insserv: warning: script 'kmod' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `kmod'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `kmod'
insserv: warning: script 'lirc' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lirc'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lirc'
initctl: Unknown job: motd
insserv: warning: script 'motd' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `motd'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `motd'
insserv: warning: script 'openbsd-inetd' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `openbsd-inetd'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `openbsd-inetd'
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `procps'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `procps'
initctl: Unknown job: fake-hwclock
insserv: warning: script 'fake-hwclock' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `fake-hwclock'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `fake-hwclock'
initctl: Unknown job: udev-mtab
insserv: warning: script 'udev-mtab' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `udev-mtab'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `udev-mtab'
insserv: warning: script 'autofs' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `autofs'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `autofs'
initctl: Unknown job: urandom
insserv: warning: script 'urandom' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `urandom'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `urandom'
initctl: Unknown job: K01nfs-common
insserv: warning: script 'K01nfs-common' missing LSB tags and overrides
initctl: Unknown job: K01nfs-common
initctl: Unknown job: S02dbus
insserv: warning: script 'S02dbus' missing LSB tags and overrides
initctl: Unknown job: S02dbus
initctl: Unknown job: S02dbus
initctl: Unknown job: S02dbus
initctl: Unknown job: K01nfs-common
initctl: Unknown job: S05nfs-common
initctl: Unknown job: S05checkroot-bootclean.sh
insserv: warning: script 'S05checkroot-bootclean.sh' missing LSB tags and overrides
initctl: Unknown job: S05mountnfs-bootclean.sh
insserv: warning: script 'S05mountnfs-bootclean.sh' missing LSB tags and overrides
insserv: Service udev has to be enabled to start service udev-finish
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
udev

E: Sub-process /usr/bin/dpkg returned an error code (1)


RE: apt-get update Errors while processing udev - Nachteule - 5th Apr, 2016 06:15 AM

(5th Apr, 2016 04:58 AM)Szurgent Gábor Wrote:  The following packages will be DOWNGRADED:
libcurl3 libcurl3-gnutls
56 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
What you did before. This line makes me nervous Sad

Quote:Need to get 0 B/24.3 MB of archives.
After this operation, 325 kB disk space will be freed.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up udev (215-17+deb8u4) ...
Adding group `input' (GID 101) ...
Done.
update-rc.d: error: insserv rejected the script header
Filesystem broken?

Just tested an upgrade with an fresh installed RPi3 - had absolutely no problem

Sorry, no idea how I could help you


RE: apt-get update Errors while processing udev - Szurgent Gábor - 6th Apr, 2016 05:11 AM

I received many updateble package, when i realized in the gui (xbian-config) i push the update all. nothing happened. I select 1 random package and select the update. update ran. select packaga again, ok... login with ssh, apt-get update, apt get upgrade... and finally i got this.

How do i check the SD card/ filesystem?
.


RE: apt-get update Errors while processing udev - Nachteule - 6th Apr, 2016 06:08 AM

First of all please try this workaround


RE: apt-get update Errors while processing udev - Szurgent Gábor - 6th Apr, 2016 06:40 AM

Very-very thank you, the workaround works. apt-get update ran successfully (with many warnings). It looks all good.


RE: apt-get update Errors while processing udev - Roy Terhaar - 6th Apr, 2016 08:14 PM

I have had the same problem on my RPI3 that I have kept up to date since first install.
Only recently I have had same problem and your fix does work. Thanks.
Software is now updating (with warnings).


RE: apt-get update Errors while processing udev - Nachteule - 6th Apr, 2016 11:54 PM

This issue has been probably fixed by new xbian-update package

But of course, there is a chicken-egg problem. If you already ran into this issue you have to solve it by workaround first Sad