鈴木です。
On Thu, 16 Apr 2009 00:12:24 +0900
HARADA Kazutaka <kazutaka@xxxxxxxxxxxxxxxx> wrote:
> 今日 gnome-utils を synaptic でアップデートしたところ、
> 以下のエラーが出力されました。
2.26.0-2 以前で %preun が間違っていた(doneが抜けていた)ために
upgrade でエラーがでています。-3 では修正してありますが、-2 の
の %preun の問題なので、エラーは1度はでてしまうと思います。
> --<ここから>--
> パッケージ gnome-utils-2.26.0-3vl5 をインストール中に:
>
> /var/tmp/rpm-tmp.36150: line 11: syntax error near unexpected token `fi'
> /var/tmp/rpm-tmp.36150: line 11: `fi'
> エラー: %preun(gnome-utils-2.26.0-2vl5.i386) スクリプトの実行に失敗しました。終
> 了ステータス 2
> W: Some errors occurred while running transaction
> --<ここまで>--
>
> $ rpm -q --scripts gnome-utils
> <中略>
> preuninstall scriptlet (using /bin/sh):
> if [ "$1" -eq 0 ]; then
> export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
> SCHEMAS="gnome-dictionary.schemas gfloppy.schemas \
> gnome-search-tool.schemas gnome-screenshot.schemas \
> logview.schemas baobab.schemas"
> for S in $SCHEMAS; do
> if [ -f /etc/gconf/schemas/$f ]; then
> gconftool-2 --makefile-uninstall-rule \
> /etc/gconf/schemas/$S >& /dev/null ||:
> fi
> fi
>
> ↑となっているので、done が抜けてるのが原因かな⁇
>
--
Daisuke SUZUKI | daisuke@{linux.or.jp,dicey.org,vinecaves.com}
GnuPG Fingerprint = 7DE6 9AC6 5E5B 1AF8 B38E 0992 90BF 4C09 7432 2CB0
Founder & President, Project Vine. http://vinelinux.org/
Founder & President, Vine Caves, Ltd. http://vinecaves.com/
Founder & Trustee, Japan Linux Association. http://jla.linux.or.jp/