Error in upgrading

Asked by Rishi Chauhan

I am trying to upgrade my system but following problems always occur. Below is the result from the terminal after the command "sudo apt-get upgrade".

rishi@rishi:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  liboxideqt-qmlplugin liboxideqtcore0 liboxideqtquick0 linux-generic
  linux-headers-generic linux-image-generic linux-signed-generic
  linux-signed-image-generic oxideqt-codecs-extra
The following packages will be upgraded:
  chromium-codecs-ffmpeg-extra compiz compiz-core compiz-gnome
  compiz-plugins-default curl firefox firefox-locale-en libavcodec-ffmpeg56
  libavformat-ffmpeg56 libavutil-ffmpeg54 libcompizconfig0 libcurl3 libcurl3-gnutls
  libdecoration0 liblightdm-gobject-1-0 libmysqlclient18 libperl5.20 libssl1.0.0
  libswresample-ffmpeg1 libswscale-ffmpeg3 libunity-core-6.0-9 lightdm
  linux-libc-dev mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server
  mysql-server-5.6 mysql-server-core-5.6 openssl perl perl-base perl-modules
  python3-distupgrade rsync ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk
  unattended-upgrades unity unity-schemas unity-services
42 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
9 not fully installed or removed.
Need to get 0 B/83.3 MB of archives.
After this operation, 242 kB disk space will be freed.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up initscripts (2.88dsf-59.2ubuntu2.1) ...
insserv: warning: script 'K10runmbbservice' missing LSB tags and overrides
insserv: warning: script 'runmbbservice' missing LSB tags and overrides
insserv: There is a loop at service ondemand if started
insserv: There is a loop between service ondemand and urandom if started
insserv: loop involving service urandom at depth 4
insserv: loop involving service hwclock at depth 3
insserv: There is a loop between service runmbbservice and udev if started
insserv: loop involving service udev at depth 1
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service cups-browsed at depth 2
insserv: There is a loop at service runmbbservice if started
insserv: loop involving service networking at depth 6
insserv: loop involving service mountdevsubfs at depth 3
insserv: loop involving service mountkernfs at depth 1
insserv: loop involving service runmbbservice at depth 1
insserv: There is a loop between service runmbbservice and dns-clean if started
insserv: loop involving service dns-clean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initscripts
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Rishi Chauhan
Solved:
Last query:
Last reply:
Revision history for this message
Rishi Chauhan (rishi-darkknight-chauhan) said :
#1

Forgot to mention in the query: I am using Ubuntu 15.10

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

What is the output of the commands

uname -a
lsb_release -crid
sudo dpkg --audit
sudo updatedb
locate runmbbservice

Revision history for this message
Rishi Chauhan (rishi-darkknight-chauhan) said :
#3

@Manfred Hampl (m-hampl)

Results:

uname -a : Linux rishi 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:31:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -crid: Distributor ID: Ubuntu
                                Description: Ubuntu 15.10
                                Release: 15.10
                                Codename: wily

sudo dpkg --audit: The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 grub-efi-amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
 grub-efi-amd64-bin GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
 grub-efi-amd64-signed GRand Unified Bootloader, version 2 (EFI-AMD64 version,
 grub2-common GRand Unified Bootloader (common files for version 2)
 mysql-server MySQL database server (metapackage depending on the lates

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 grub-common GRand Unified Bootloader (common files)
 ifupdown high level tools to configure network interfaces
 initscripts scripts for initializing and shutting down the system
 mysql-server-5.6 MySQL database server binaries and system database setup

sudo updatedb: updatedb: `/var/lib/mlocate/mlocate.db' is locked (probably by an earlier updatedb)

locate runmbbservice: /etc/init.d/runmbbservice
/etc/rc2.d/K10runmbbservice
/etc/rc2.d/S99runmbbservice
/etc/rc3.d/K10runmbbservice
/etc/rc3.d/S99runmbbservice
/etc/rc4.d/K10runmbbservice
/etc/rc4.d/S99runmbbservice
/etc/rc5.d/K10runmbbservice
/etc/rc5.d/S99runmbbservice
/usr/local/MobileBrServ/runmbbservice

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

I assume that the runmbbservice software is not correctly cooperating with Ubuntu.
From which source did you get this software?

What is the output of the commands

cat -n /etc/rc2.d/K10runmbbservice
cat -n /etc/rc2.d/S99runmbbservice

Revision history for this message
Rishi Chauhan (rishi-darkknight-chauhan) said :
#5

@Manfred Hampl (m-hampl)

I got Ubuntu from a friend who downloaded it from the Ubuntu website (that what he says).

Result: I wrote the commands in the terminal
I got no result

rishi@rishi:~$ cat -n /etc/rc2.d/S99runmbbservice
rishi@rishi:~$ cat -n /etc/rc2.d/K10runmbbservice
rishi@rishi:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Sorry that my question was not clear enough.
Where did you get the mbb service software? This is not part of standard Ubuntu.

Please provide the output of the command

ls -l /etc/rc*/*runmbbservice

Revision history for this message
Rishi Chauhan (rishi-darkknight-chauhan) said :
#7

@Manfred Hampl (m-hampl) I exactly don't remember the source of the mmb software.

Result of the command:

rishi@rishi:~$ ls -l /etc/rc*/*runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc2.d/K10runmbbservice -> /etc/init.d/runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc2.d/S99runmbbservice -> /etc/init.d/runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc3.d/K10runmbbservice -> /etc/init.d/runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc3.d/S99runmbbservice -> /etc/init.d/runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc4.d/K10runmbbservice -> /etc/init.d/runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc4.d/S99runmbbservice -> /etc/init.d/runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc5.d/K10runmbbservice -> /etc/init.d/runmbbservice
lrwxrwxrwx 1 root root 25 Dec 29 18:52 /etc/rc5.d/S99runmbbservice -> /etc/init.d/runmbbservice

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Ok, and what is the output of

cat -n /etc/init.d/runmbbservice

I am quite sure that this mbb software is causing your problems. This is definitely no Ubuntu software, but something foreign.

Revision history for this message
Rishi Chauhan (rishi-darkknight-chauhan) said :
#9

@Manfred Hampl (m-hampl) the command : cat -n /etc/init.d/runmbbservice gives no output.

If you could suggest something else that I can do to cure this problem.
Thanks for help.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Empty files in the /etc/rcX.d directory do not make sense (nor links to an empty file).
I suggest you delete these files.

sudo rm -v /etc/rc*/*runmbbservice

and then re-try

sudo dpkg --configure -a

and copy/paste all output into this document.

Revision history for this message
Rishi Chauhan (rishi-darkknight-chauhan) said :
#11

@Manfred Hampl (m-hampl)

Problem Solved
Thanks for help.

Revision history for this message
Adam Parker (boddingtonbaby) said :
#12

Just to add that the mbbservice is possibly related to software installed by a Huawei 4G Dongle or similar equipment.

The same issue occured as described in this post and the above fix in post #10 resolved it.

Revision history for this message
N N (carpenteering) said :
#13

I was also helped by comment #10.

I can also confirm that mbbservice is a part of Huawei 4G dongle.

There is a folder on the dongle called linux_mbb_install, containing among others a file named mbbservice.bin

(For me the installation started, some things went ok, some things errored.)

mbbservice can also create a problem at enabling of ClamAV:

sudo systemctl enable clamav-daemon
Synchronizing state of clamav-daemon.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable clamav-daemon
insserv: warning: script 'runmbbservice' missing LSB tags and overrides
insserv: warning: script 'runmbbservice' missing LSB tags and overrides

Solution was to remove this empty file:

sudo rm -f /etc/init.d/runmbbservice

Revision history for this message
oblong (bob-oblong) said :
#14

Linux Mint 18.3 64 bit MATE.

Doing updates:

insserv: warning: script 'S99runmbbservice' missing LSB tags and overrides
insserv: warning: script 'runmbbservice' missing LSB tags and overrides
insserv: There is a loop at service plymouth if started
insserv: There is a loop between service plymouth and procps if started
insserv: loop involving service procps at depth 2
insserv: loop involving service udev at depth 1
insserv: Starting runmbbservice depends on plymouth and therefore on system facility `$all' which can not be true!
[ last line repeated often]

The computer is using a wireless broadband dongle, not sure if Huawei.

Thanks to previous posts, I deleted the empty file /etc/init.d/runmbbservice and then the updates worked.

Time will tell if that file reappears in the future.

Revision history for this message
K. Ezzine (kais-ezzine) said :
#15

i just had the same problem. Comment 10 solved the problem thanks to @m-hampl