Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485152 - app-portage/eix-0.29.4: eix-update called each time running eix-sync
Summary: app-portage/eix-0.29.4: eix-update called each time running eix-sync
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 01:42 UTC by yegle
Modified: 2013-11-07 21:51 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yegle 2013-09-17 01:42:38 UTC
Each time I run eix-sync, eix-update will be called. That's annoying.

$ eix-sync
 * eix-cache format has changed.
 * Running eix-update
Reading Portage settings ..
Building database (/Users/yegle/.gentoo/var/cache/eix/portage.eix) ..
[0] "gentoo_prefix" /Users/yegle/.gentoo/usr/portage/ (cache: metadata-md5-or-flat)
     Reading category 159|159 (100%) Finished             
Applying masks ..
Calculating hash tables ..
Writing database file /Users/yegle/.gentoo/var/cache/eix/portage.eix ..
Database contains 16768 packages in 159 categories.
 * Running emerge --sync

Reproducible: Always




emerge --info
http://bpaste.net/show/133040/
Comment 1 Franz Trischberger 2013-09-17 06:44:47 UTC
eix-sync DOES update the DB, as long as you don't pass -U to eix-sync. Probably you only want to run eix --sync?
Comment 2 yegle 2013-09-17 06:58:28 UTC
Hi Franz,

Yes eix-sync should call eix-update, at the end of syncing, but not at the beginning of syncing EVERY time. Note the output:

 * eix-cache format has changed

I think the format change only happens when eix has version bump.

And yes I mean eix-sync, not eix --sync. It seems to me that eix doesn't have a --sync option?


(In reply to Franz Fellner from comment #1)
> eix-sync DOES update the DB, as long as you don't pass -U to eix-sync.
> Probably you only want to run eix --sync?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-17 13:56:08 UTC
AFAIK that is a feature, not a bug. When the portage tree has been updated, the eix database contains outdated information.
Comment 4 Martin Väth 2013-09-17 19:23:21 UTC
It *is* a bug: eix-sync calls eix-header -qc, and this in turn checks the
hardcoded EIX_CACHEFILE instead of your path with the prefix...
Comment 5 Martin Väth 2013-09-17 19:53:03 UTC
Fixed in git master on BerliOS (>=eix-0.29.5)
Comment 6 Martin Väth 2013-11-07 21:51:14 UTC
Closing since eix-0.29.6 is in the tree