由于“spacenavd”无法安装任何东西

由于“spacenavd”无法安装任何东西

不久前,我尝试安装一个叫做 spacenav 的东西,想在我的电脑上使用花哨的鼠标,但没有成功。下面是我刚才尝试安装 ntfs-config 时发生的情况

$ sudo apt install ntfs-config

我得到了

Need to get 0 B/74.0 kB of archives.
After this operation, 776 kB of additional disk space will be used.
Setting up util-linux (2.27.1-6ubuntu3.6) ...
insserv: warning: script 'S99spacenavd' missing LSB tags and overrides
insserv: warning: script 'spacenavd' missing LSB tags and overrides
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 spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service spacenavd and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv: There is a loop at service plymouth if started
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop at service spacenavd if started
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service plymouth and urandom if started
insserv:  loop involving service urandom at depth 4
insserv:  loop involving service mountdevsubfs at depth 2
insserv: There is a loop between service spacenavd and udev if started
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting spacenavd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service spacenavd 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 util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

我不在乎修复鼠标问题

答案1

我想您可以尝试“卸载”spacenavd。目前 aptitude 仍在尝试完成该安装。运行以下命令应将其从要尝试安装的应用程序列表中删除:

sudo apt-get remove spacenavd 

一旦完成,我想你的命令( sudo apt install ntfs-config)就会完成。

答案2

我按照该帖子中的评论解决了这个问题。https://answers.launchpad.net/ubuntu/+source/apt/+question/284708

命令是

$ sudo rm -v /etc/rc*/*spacenavd

输出为

removed '/etc/rc2.d/S99spacenavd'

请注意,链接线程中的问题是所谓的runmbbservice,而我的问题是spacenavd。链接线程说文件是空的,但我的不是。

输出

$ cat -n /etc/init.d/spacenavd

在我的电脑上

 1  #!/bin/sh
 2  #
 3  # spacenavd      free driver for 3Dconnexion 6dof devices
 4  #
 5  # chkconfig: 2345 99 99
 6  # description: A free user space driver for 3Dconnexion input devices,\
 7  #              compatible with the proprietary 3dxsrv daemon.
 8  
 9  DAEMON=/usr/local/bin/spacenavd
10  
11  [ -x "$DAEMON" ] || exit 0
12  
13  case "$1" in
14  start)
15      echo 'Starting spacenavd daemon'
16      $DAEMON -v
17      ;;
18  
19  stop)
20      echo 'Stopping spacenavd daemon'
21      # detect daemon's process id
22      pid=`cat /var/run/spnavd.pid 2>/dev/null`
23      if [ $? != 0 ]; then
24          pid=`ps -e | grep spacenavd | awk '{ print $1 }'`
25          if [ -z "$pid" ]; then
26              echo 'spacenavd daemon is not running, nothing to do.'
27              exit 1
28          fi
29      fi
30      kill $pid
31      ;;
32  
33  reload|restart|force-reload)
34      $0 stop && sleep 1 && $0 start
35      ;;
36  esac

我按照链接线程中的说明,使用命令$ locate spacenavd查找需要删除的文件。

相关内容