View previous topic :: View next topic |
Author |
Message |
gotyaoi Tux's lil' helper
Joined: 01 Apr 2013 Posts: 137
|
Posted: Sat Oct 12, 2013 7:33 am Post subject: [Solved]Strange eix-sync behavior |
|
|
I have two different gentoo boxes, one being a virtualbox vm with the default/linux/x86/13.0/desktop profile and the other physical with the default/linux/x86/13.0. As far as I can tell, they both have the same version of eix, 0.29.3, the same use flags, and identical eix options set(both via config file and environment variable). However on the physical machine, eix-sync never seems to call eix-remote add1, like it mentions in the man page, while on the vm, it calls it every time.
Anyone else run into something like this, or have some pointers abuot where to look? I'm a bit stumped at this point.
Last edited by gotyaoi on Fri Oct 25, 2013 10:49 pm; edited 1 time in total |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Sat Oct 12, 2013 7:46 am Post subject: |
|
|
Perhaps you have never fetched a remote flie: If you have no such file, there is no reason to add it. |
|
Back to top |
|
|
gotyaoi Tux's lil' helper
Joined: 01 Apr 2013 Posts: 137
|
Posted: Thu Oct 17, 2013 5:26 pm Post subject: |
|
|
I'm... not sure I follow. I'm using layman on both of these boxes to include the rust overlay. Is fetching a remote file different from that? Also, the docs seemed to imply that "eix-remote add1" or "eix-remote add2" was done no matter what... or am I misunderstanding what it means?
Quote: | eix-remote can sync an eix database from an external server and add/remove it to the current database. By default it uses a separate cachefile. With this default you should regularly call eix-remote add1 and/or eix-remote add2 after eix-update so that the separate cachefile is synchronized with your main database. (If you use eix-sync this is done by default.) |
|
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Thu Oct 17, 2013 6:55 pm Post subject: |
|
|
gotyaoi wrote: | Is fetching a remote file different from that? |
Yes, it is something completely different: You need eix-remote add{1,2} only for remote databases (i.e. for overlay data which you do not have locally).
You can fetch such a remote file with eix-remote update{1,2} (which also calls eix-remote add{1,2} automatically after fetching).
Edit: Removed suggestion concerning choice of remote data - meanwhile both are working well, again. |
|
Back to top |
|
|
gotyaoi Tux's lil' helper
Joined: 01 Apr 2013 Posts: 137
|
Posted: Fri Oct 25, 2013 5:51 pm Post subject: |
|
|
Ah, thank you for the explanation. As I wasn't particularly interested in searching remote repositories most of the time, I deleted /var/cache/eix/remote.{eix,tar.bz2}, and now it no longer runs eix-remote add1. I must have run it at one point in the past and completely forgotten. |
|
Back to top |
|
|
|