2010年2月23日火曜日

Ubuntu 9.10とUbuntu 10.04 alphaの狭間で遊ぶ

synapticやapt-getで使うrepositoryのlistは/etc/apt/sources.listの中にある。
これ(typo確認していないので注意)を
# cp sources.list sources.list.karmic
# mv sources.list sources.list.lucid
# vi sources.list.lucid
karmicをlucidに一括置換
: %s/karmic/lucid/g
: wq
# ln -s sources.list.lucid sources.list
# apt-get update
として、例えば
# apt-get install thunderbird
とするとThunderbird 3.0.1が、あれば依存関係と共に入る。
# apt-get install default-jdk
とすればopenjdkの6b18preいくつが入る。
そして
# ln -sf souces.list.karmic sources.list
# apt-get update
すると一部だけをlucidの最新のものに取り替えてkarmicに戻る事が出来る。karmic用のsecurity patch等が出て、それがlucidよりも古い版であればupgradeで普通に入る。依存関係で根幹部分のlibがごっそりついてきたら大惨事の可能性もあるのでpatchを毎日当てないと精神がおかしくなる系統の人だけどうぞ。

/usr/local/binあたりに
karmic
lucid
などのfileを作り
中に
#!/bin/sh
ln -sf souces.list.karmic sources.list
apt-get update
などと書いてchmod +xで実行権限をつけると
# lucid
# karmic
等でrepositoryをすぐに切り替えられる。


その他
Google Chrome Linuxの最新版の依存関係にmailxやpostfixが含まれており注意が必要。次の版で直るらしい。
gpodderも2.2になり、起動しなかった問題が解消。
Gitも早々に1.7。

Git 1.7.0登場、一部に後方互換性なし
http://journal.mycom.co.jp/news/2010/02/16/031/
Search packages : Lucid (10.04) : Ubuntu
https://launchpad.net/ubuntu/lucid/+search?text=git
Binary package “git-core” in ubuntu lucid
https://launchpad.net/ubuntu/lucid/+package/git-core




今週の予定
2/25 Ubuntu 10.04 alpha 3
2/26 Eclipse 3.5.2
Eclipse 3.5.2ではUbuntu 9.10からのgtk+関連でbuttonが押せない問題が直っていると思われる。直ってなかったらNetBeansを使いましょう。

0 件のコメント:

コメントを投稿