FreeBSD: lang/tcl-modules 削除

FreeBSD の ports を portsnap で管理するようになって約2ヶ月が経過。
先日から、tcl-modules の更新チェック出来ない状態が発生していました。

t1utils-1.32 = up-to-date with port
tcl-8.5.13 = up-to-date with port 
tcl-modules-8.5.13 ! Comparison failed 
teTeX-base-3.0_24 = up-to-date with port

portsnap に切り替えたせいかと思っていたのでしばらく放置していたが、あまりにも長い間状況に変化がないので、本日/usr/ports/UPDATINGファイル調べてみました。なんのことはない、廃止になっていただけでした。

20130206:
 AFFECTS: users of Tcl/Tk
 AUTHOR: gahr@FreeBSD.org
 he following ports have been removed, as threads and modules are
 now included in the main ports:
 - lang/tcl84-thread
 - lang/tcl85-thread
 - lang/tcl86-thread
 - lang/tcl-modules
 - x11-toolkits/tk84-thread
 - x11-toolkits/tk85-thread
 - x11-toolkits/tk86-thread 
 Please remove them ...
略
If you use portupgrade:
portupgrade -Ofr <origin/port>

tcl-modules 機能は、本体に組み込まれたのでいらなくなったとのこと。
早速UPDATINGドキュメントの指示通り作業すると、

# portupgrade -Ofr lang/tcl-modules
** Port deleted on 2013-02-06: lang/tcl-modules
 Modules are now part of the base Tcl distributions
---> Skipping 'lang/tcl85' (tcl-8.5.13) because a requisite package 'tcl-modules-8.5.13' (lang/tcl-modules) failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
 - lang/tcl-modules (port deleted)
 * lang/tcl85 (tcl-8.5.13)

ということで、無事削除出来たみたいです。
本日の ports メンテナンス、終了。

Comments

  1. パッケージ削除は出来ていたはずなのに、pkg_info をとってみると、相変わらず tcl-modules が表示される状況。

    tcl-8.5.13 = up-to-date with port
    tcl-modules-8.5.13 ! Comparison failed
    teTeX-base-3.0_24 = up-to-date with port

    面倒なので、さらに pkg_delete で削除しました。

    # pkg_delete -f tcl-modules-8.5.13
    pkg_delete: package ‘tcl-modules-8.5.13’ is required by these other packages
    and may not be deinstalled (but I’ll delete it anyway):
    tcl-8.5.13

    これで本当に大丈夫なはず。

  2. 大丈夫なはずがエラーが発生。
    portsnap で /usr/ports を更新した後、portversion で更新状況を確認したら、依存関係が壊れているとエラーが発生する。

    # portversion -vL=
    Stale dependency: tcl-8.5.13 –> tcl-modules-8.5.13 — manually run ‘pkgdb -F’ to fix, or specify -O to force.

    # pkgdb -F

    Stale dependency: tcl-8.5.13 -> tcl-modules-8.5.13 (lang/tcl-modules):
    -> Deleted. (irrelevant)

    このあとで、 portversion を再度発行してみると、こんな感じでうまく動いた。
    # portversion -vL=
    dbus-1.4.14_4 < needs updating (port has 1.6.8) dbus-glib-0.94 < needs updating (port has 0.100.1)

コメントを残す