LoginSignup
2
1

More than 5 years have passed since last update.

Raspbian Wheezyでapt-get upgradeできない

Posted at

まだメンテナンスされているかわからないRaspian Wheezyで久しぶりにupgradeしようとしたらハマった。

sudo apt-get upgrade
色々
insserv: warning: script 'supervisord' missing LSB tags and overrides
色々

RaspbianというかDebianのupdate-rc.dとinsserv間での起動スクリプトの書き方際によるものっぽい。

今回の場合は、supervisordがおかしいので、起動スクリプトの書き換えで対応する。/etc/init.d/supervisordの冒頭に下記を追加することで、insservに対応可能のはず。

#!/bin/sh
### BEGIN INIT INFO
# Provides:          supervisord
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Example initscript
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.
### END INIT INFO

Raspbisnのパッケージはupdate-rc.dとinsservどっちつかずな起動スクリプトが混合しているようなので、コケたら疑ってみる。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1