profile is deprecated

久しぶりにemergeしたら先頭にプロファイルがサポートしていないものですよ、との文言。

# emerge -puDN world

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default/linux/x86/10.0

To upgrade do the following steps:
# Check 'eselect profile list'.
# Find the number that corresponds with the default/linux/x86/10.0 profile.
# Use 'eselect profile set <number>' to set a new /etc/make.profile symlink.
#
# Reference: http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# See: "General instructions" in Section 3. "Profile updating instructions"



These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/eventlog-0.2.10 [0.2.9]
[ebuild     U ] dev-libs/gmp-4.3.1 [4.2.4]
[ebuild     U ] sys-process/procps-3.2.8 [3.2.7]
[ebuild   R   ] net-misc/rsync-3.0.6  USE="(-xinetd%)"
[ebuild     U ] dev-libs/openssl-0.9.8k-r1 [0.9.8k]
[ebuild     U ] app-admin/syslog-ng-3.0.4 [2.1.4] USE="pcre%* ssl%* -caps%"
[ebuild     U ] sys-apps/coreutils-7.5-r1 [7.5]
[ebuild     U ] sys-process/psmisc-22.7 [22.6]
[ebuild     U ] app-admin/sysstat-9.0.5 [9.0.4]
[ebuild     U ] sys-apps/baselayout-1.12.13 [1.12.11.1]
[ebuild     U ] net-fs/samba-3.0.37 [3.0.36]
[ebuild   R   ] app-editors/vim-7.2.182  USE="-debug%"


メッセージ通りにハンドブックを参照してみる。

3. Profile updating instructions

General instructions
Important: Make sure your Portage is updated before performing any profile changes.

http://www.gentoo.org/doc/en/gentoo-upgrading.xml

このImportantっていうのは何を指すんだろう?
プロファイルを変更する前にemerge --syncをやっておけということだろうか。
それとも、emerge portageをしておけということだろうか。

# ls -FGg /etc/make.profile
lrwxrwxrwx 1 48 Feb 16  2009 /etc/make.profile -> ../usr/portage/profiles/default/linux/x86/2008.0/


eselectを使ったのは、gentooをインストールしたときに、
emergeのrsyncサーバを選んで以来かな。

# eselect profile list
Available profile symlink targets:
  [1]   default/linux/x86/10.0
  [2]   default/linux/x86/10.0/desktop
  [3]   default/linux/x86/10.0/developer
  [4]   default/linux/x86/10.0/server
  [5]   hardened/linux/x86/10.0
  [6]   selinux/2007.0/x86
  [7]   selinux/2007.0/x86/hardened
  [8]   selinux/v2refpolicy/x86
  [9]   selinux/v2refpolicy/x86/desktop
  [10]  selinux/v2refpolicy/x86/developer
  [11]  selinux/v2refpolicy/x86/hardened
  [12]  selinux/v2refpolicy/x86/server

プロファイルをスイッチ。

# eselect profile set 1
# ls -FGg /etc/make.profile
lrwxrwxrwx 1 46 Nov  5 23:52 /etc/make.profile -> ../usr/portage/profiles/default/linux/x86/10.0/
# emerge --sync

           (snip)

>>>
>>> Timestamps on the server and in the local repository are the same.
>>> Cancelling all further sync action. You are already up to date.
>>>
>>> In order to force sync, remove '/usr/portage/metadata/timestamp.chk'.
>>>

無理やりemerge syncするのも悪いので、次回にしよう。


ここでemerge worldするとどうなるかな。

# emerge -puDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/eventlog-0.2.10 [0.2.9]
[ebuild     U ] dev-libs/gmp-4.3.1 [4.2.4]
[ebuild     U ] sys-process/procps-3.2.8 [3.2.7]
[ebuild   R   ] net-misc/rsync-3.0.6  USE="(-xinetd%)"
[ebuild     U ] dev-libs/openssl-0.9.8k-r1 [0.9.8k]
[ebuild     U ] app-admin/syslog-ng-3.0.4 [2.1.4] USE="pcre%* ssl%* -caps%"
[ebuild     U ] sys-apps/coreutils-7.5-r1 [7.5]
[ebuild     U ] sys-process/psmisc-22.7 [22.6]
[ebuild     U ] app-admin/sysstat-9.0.5 [9.0.4]
[ebuild     U ] sys-apps/baselayout-1.12.13 [1.12.11.1]
[ebuild     U ] net-fs/samba-3.0.37 [3.0.36]
[ebuild   R   ] app-editors/vim-7.2.182  USE="-debug%"

最初と同じみたい。


よく分からないから、次回emerge --syncしてから再度emerge -uDN worldしてみよ。


2chのスレにsyslog-ngの文法が変わったみたいなことが書かれていたけど、
# マスクしておいた方がいいかな?
# メジャーバージョンが変わってるようだ。