cygwin の setup.exe の仕様変更
cygwin の setup.exe の新しいバージョン (手元では version 2.573.2.3) ではバイナリパッケージのリポジトリにある setup.ini や setup.bz2 ファイルの署名を検証するようになりました.
これにより署名ファイル(setup.ini.sig や setup.bz2.sig)の置かれていない野良リポジトリからのパッケージのインストールができなくなったようです. 上のリポジトリも当然署名を用意していません.
対策としては以下の3つが考えられます.
- パッケージリポジトリ側で署名を用意した上で公開鍵を配ってもらう
- 古いバージョンの setup.exe を使い続ける
- setup.exe に-X というオプションを付けて起動する
1. が一番望ましい対応な気がしますが面倒ですね. 2. は楽ですけど古い setup.exe ってどこから入手すればいいんでしょうか? 3. の -X オプションは新しいオプションで setup.ini の署名の検証を無視するようになるものです.暫定的な対応としては 3. が無難なんでしょうねぇ…
詳細は以下のURLをどうぞ.
あとおまけで cygwin の setup.exe のコマンドラインオプション一覧です.
Command Line Options: -D --download Download from internet -L --local-install Install from local directory -s --site Download site -R --root Root installation directory -q --quiet-mode Unattended setup mode -h --help print help -l --local-package-dir Local package directory -r --no-replaceonreboot Disable replacing in-use files on next reboot. -X --no-verify Don't verify setup.ini signatures -n --no-shortcuts Disable creation of desktop and start menu shortcuts -N --no-startmenu Disable creation of start menu shortcut -d --no-desktop Disable creation of desktop shortcut -K --pubkey Path to extra public key file (gpg format) -S --sexpr-pubkey Extra public key in s-expr format -u --untrusted-keys Use untrusted keys from last-extrakeys -U --keep-untrusted-keys Use untrusted keys and retain all -A --disable-buggy-antivirus Disable known or suspected buggy anti virus software packages during execution.
署名の検証関連のオプションがいくつか追加されていますね.
しかしこんなにオプションあるんですねぇ….まったく使ったことないですが….