-->

2013-07-26

memo: eix-remote

http://www.gossamer-threads.com/lists/gentoo/user/251984

$ sudo eix-remote add
 * Unpacking data
/tmp/eix-remote.V9ZKHAyR/_var_lib_layman_Armageddon.eix was created with an incompatible eix-update:
It uses database format 32 (current is 31).
Please run 'eix-update' and try again.
problems occurred with cachefile _var_lib_layman_Armageddon.eix
...

アップデートする場合は/etc/eixrcの名前が変わることに注意する。
バージョン戻しても元には戻らない。
$ sudo ACCEPT_KEYWORDS="~*" emerge --oneshot -avt eix

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

Calculating dependencies... done!
[ebuild     U  ] app-portage/eix-0.29.1 [0.25.5] USE="dep nls -clang% -debug -doc -optimization -security -sqlite -strong-optimization -strong-security% -swap-remote% -tools -zsh-completion" LINGUAS="-de% -ru%" 0 kB
...
 * Messages for package app-portage/eix-0.29.1:

 *
 * Installation of a directory is blocked by a file:
 *   '/etc/eixrc'
 * This file will be renamed to a different name:
 *   '/etc/eixrc.backup.0000'
 *
...

$ find /etc/eixrc* -ls
1048706    4 drwxr-xr-x   2 root     root         4096  7月 26 00:04 /etc/eixrc
281462    4 -rw-r--r--   1 root     root         1232  7月 26 00:04 /etc/eixrc/00-eixrc
280672    4 -rw-r--r--   1 root     root         1304  7月 25 23:30 /etc/eixrc.backup.0000

$ sudo eix-update
$ sudo eix-remote add

$ eix --cache-file /var/cache/eix/portage.eix -* -c -C php | wc -l
250
$ eix --cache-file /var/cache/eix/remote.eix -* -c -C php | wc -l
317
$ eix --cache-file /var/cache/eix/portage.eix -* -c -C php -O | wc -l
0
$ eix --cache-file /var/cache/eix/remote.eix -* -c -C php -O | wc -l
84

$ man eix
...
       --cache-file FILE
              Use FILE instead of /var/cache/eix/portage.eix.
...

puttyの色付き文字が濃くなったように見える。
環境によるが今まで使っていない設定が使われているように見える。
$ eix --cache-file /var/cache/eix/remote.eix "^(paco|x?stow)$"
* app-admin/stow
     Available versions:  ~2.1.1 ~2.1.2 ~2.2.0 {test}
     Homepage:            http://www.gnu.org/software/stow/
     Description:         Manage installation of software in /var/lib/

* app-admin/xstow
     Available versions:  ~0.5.1 ~1.0.0 1.0.0-r1 {ncurses static}
     Homepage:            http://xstow.sourceforge.net/
     Description:         replacement for GNU stow with extensions

* app-admin/paco [1]
     Available versions:  2.0.9-r1 {gtk +tools}
     Homepage:            http://paco.sourceforge.net/
     Description:         Source code package organizer

[1] "foo-overlay" layman/foo-overlay

Found 3 matches.

0 件のコメント: