Forum

Full Version: upgrading packages through apt-get failed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Lately I've been running into problems updating the XBian platform. In this case it doesn't matter if I am upgrading through xbian-config or running it manually with sudo apt-get upgrade.

Well here's the log:
I am sure somebody can help :) Thanks in advance
Terminal

insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service smbd at depth 1

seems to be the issue.

Can you deinstall xvfb temporarily
(13th Jun, 2016 11:45 PM)Nachteule Wrote: [ -> ]
Terminal

insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service smbd at depth 1

seems to be the issue.

Can you deinstall xvfb temporarily

sounds like the right thing to do, however there's a similar error:

Terminal
xbian@xbian ~ $ sudo apt-get remove --auto-remove xvfb
[sudo] password for xbian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libfontenc1 libxaw7 libxfont1 libxkbfile1 libxmu6 libxpm4 x11-xkb-utils
xserver-common xvfb
0 upgraded, 0 newly installed, 9 to remove and 46 not upgraded.
2 not fully installed or removed.
After this operation, 6,752 kB disk space will be freed.
Do you want to continue? [Y/n] y
WARNING: Less than 30% of free space. Keeping only one single snapshot...
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-06-13-1618'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-06-13-1618' in '/run/btrfs-snap/root/@last_good_known'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-06-13-1248'
@btrfs-auto-snap_apt-run-2016-06-13-1618, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
Setting up openssh-server (1:6.7p1-5+deb8u2) ...
initctl: Unknown job: K01nfs-common
insserv: warning: script 'K01nfs-common' missing LSB tags and overrides
insserv: warning: script 'K01xvfb' missing LSB tags and overrides
initctl: Unknown job: K01nfs-common
initctl: Unknown job: S01dbus
insserv: warning: script 'S01dbus' missing LSB tags and overrides
initctl: Unknown job: S01dbus
initctl: Unknown job: S01dbus
initctl: Unknown job: S01dbus
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: S05udev-finish
insserv: warning: script 'S05udev-finish' missing LSB tags and overrides
initctl: Unknown job: S05mountnfs-bootclean.sh
insserv: warning: script 'S05mountnfs-bootclean.sh' missing LSB tags and overrides
initctl: Unknown job: S01mountdevsubfs
insserv: warning: script 'S01mountdevsubfs' missing LSB tags and overrides
initctl: Unknown job: S01udev
insserv: warning: script 'S01udev' missing LSB tags and overrides
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'
insserv: warning: script 'xvfb' missing LSB tags and overrides
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: 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'
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `udev'
initctl: Unknown job: udev-finish
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `udev-finish'
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'
insserv: There is a loop at service rc.local if started
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service smbd at depth 1
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop at service xvfb if started
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting xvfb depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

:(
Hmmm, wired Dodgy

are there still any xvfb related files in /etc

Terminal

cd /etc
sudo find -name "*xvfb*"

and, if there are any, please remove them
(14th Jun, 2016 12:37 AM)Nachteule Wrote: [ -> ]Hmmm, wired :dodgy:

are there still any xvfb related files in /etc

Terminal

cd /etc
sudo find -name "*xvfb*"

and, if there are any, please remove them

Terminal
xbian@xbian /etc $ sudo find -name "*xvfb*"
./init.d/xvfb
./rc5.d/S99xvfb
./rc4.d/S99xvfb
./rc3.d/S99xvfb
./rc2.d/S99xvfb
./rc6.d/K01xvfb
./rc1.d/K01xvfb
./rc0.d/K01xvfb
xbian@xbian /etc $ sudo find -name "*xvfb*" -delete

thanks, this worked. but I don't wanna uninstall xvfb every time before upgrading some packages...... :/
(14th Jun, 2016 01:16 AM)freem@n Wrote: [ -> ]thanks, this worked. but I don't wanna uninstall xvfb every time before upgrading some packages...... :/

Hmmm, so seems that culprit is xvfb package, Debian is responsible for that issue Tongue
@freem@n Please remember not to post long messages inline. Use attachment or http://www.pastebin.com for really large files.
(14th Jun, 2016 03:53 AM)IriDium Wrote: [ -> ]@freem@n Please remember not to post long messages inline. Use attachment or http://www.pastebin.com for really large files.

ah sorry about that and thanks for the reminder.
Reference URL's