invoke-rc.d: 未知 initscript,/etc/init.d/modemmanager 未找到

use*_*489 2 apt dpkg ubuntu-touch

我在我的 Android 平板电脑中启动了 Ubuntu 13.10 并且运行良好,但是在安装了一些程序后出现了这个错误

u0_a206@Android:/ $
u0_a206@Android:/ $ su
root@Android:/ # /data/data/com. Zpwebsites. Linuxonandroid/files/busybox chroot /data/local/mnt /root/init.sh
Config file loaded

New 'X' desktop is localhost: 0

Starting applications specified in /home/ubuntu/.vnc/xstartup
Log file is /home/ubuntu/.vnc/localhost:0.log


If you see the message 'New 'X' Desktop is localhost: 0' then you are ready to VNC into your Ubuntu OS.

If connection from a different machine on the same network as the Android device use the address below:
wlan0: error fetching interface information: Device not found

If using androidVNC, change the 'Color Format' setting to 24-bit colour, and once you've VNC'd in, change the 'input mode' to touchpad (in settings)
 * Starting OpenBSD Secure Shell server sshd                                                                                                             [ OK ] 
To shut down the Linux environment, just enter 'exit' at this terminal - and WAIT for all shutdown routines to finish!

Root@localhost:/#
root@localhost:/# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up modemmanager (0.6.0.0.really-0ubuntu7) ...
invoke-rc.d: unknown initscript,/etc/init.d/modemmanager not found.
dpkg: error processing modemmanager (--configure):
 subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
 modemmanager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:/#'
Run Code Online (Sandbox Code Playgroud)

我无法安装任何更新和升级我尝试了这里和其他论坛的一些答案,但不起作用

mjz*_*910 7

这很容易修复。

invoke-rc.d(Invoke an init script) 找不到initscript /etc/init.d/modemmanager

invoke-rc.d: unknown initscript,/etc/init.d/modemmanager not found.

简单touch /etc/init.d/modemmanager地创造它。