当我运行时sudo apt-get upgrade
,出现以下错误,
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 331810 files and directories currently installed.)
Removing python-jasmin (0.9.27) ...
jasmind.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install disable jasmind
insserv: warning: script 'S02jasmind' missing LSB tags and overrides
insserv: warning: script 'jasmind' missing LSB tags and overrides
insserv: warning: current stop runlevel(s) (empty) of script `jasmind' overrides LSB defaults (0 1 6).
update-rc.d: error: cannot find a LSB script for jasmind
dpkg: error processing package python-jasmin (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
python-jasmin
我该如何解决?
编辑:添加输出apt-cache policy python-jasmin
python-jasmin:
Installed: 0.9.27
Candidate: 0.9.27
Version table:
*** 0.9.27 500
500 https://packagecloud.io/jookies/python-jasmin/ubuntu xenial/main amd64 Packages
500 https://packagecloud.io/jookies/python-jasmin/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
0.9.26 500
500 https://packagecloud.io/jookies/python-jasmin/ubuntu xenial/main amd64 Packages
500 https://packagecloud.io/jookies/python-jasmin/ubuntu xenial/main i386 Packages
文件 /etc/init.d/jasmind 是空的。