Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485488 - app-portage/eix - remote not working - Can't open the database file
Summary: app-portage/eix - remote not working - Can't open the database file
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-20 13:29 UTC by no.bicycle.subscriptions
Modified: 2013-09-20 18:17 UTC (History)
3 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 no.bicycle.subscriptions 2013-09-20 13:29:57 UTC
The Problem
===========
user@tower ~ $ eix eix -R
Can't open the database file /var/cache/eix/remote.eix for reading (mode = 'rb')
Did you forget to create it with 'eix-update'?
user@tower ~ $ sudo eix-update
Password: 
Reading Portage settings ..
Building database (/var/cache/eix/portage.eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-md5-or-flat)
     Reading category 159|159 (100%) Finished             
[1] "user_defined" /usr/local/portage (cache: parse|ebuild*#metadata-md5#metadata-flat#assign)
     Reading category 159|159 (100%) EMPTY!
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix/portage.eix ..
Database contains 16842 packages in 159 categories.
user@tower ~ $ ls -l /var/cache/eix/portage.eix
-rw-rw-r-- 1 portage portage 6694132 Sep 20 21:12 /var/cache/eix/portage.eix
user@tower ~ $ eix eix -R
Can't open the database file /var/cache/eix/remote.eix for reading (mode = 'rb')
Did you forget to create it with 'eix-update'?

System Info
===========
user@tower ~ $ uname -a
Linux tower 3.11.0-sabayon #1 SMP Fri Sep 6 08:58:12 UTC 2013 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
user@tower ~ $ eix -V
eix 0.29.4 (gcc-4.7.3, x86_64-pc-linux-gnu)


Reproducible: Always

Steps to Reproduce:
1.eix eix -R
2.sudo eix-update
3. ls -l /var/cache/eix/portage.eix
4.eix eix -R

Actual Results:  
Can't open the database file /var/cache/eix/remote.eix for reading (mode = 'rb')
Did you forget to create it with 'eix-update'?

Expected Results:  
Data returned from "eix -R"
Comment 1 Martin Väth 2013-09-20 15:56:25 UTC
eix-update does not generate remote.eix by default.
Use eix-remote to update that file
(due to bug 480686 you will probably want to use the zugaine database, currently).
Comment 2 no.bicycle.subscriptions 2013-09-20 16:10:40 UTC
Thanks for the resol.
Suggest the error message from eix -R be changed to mention eix-remote instead of eix-update
Comment 3 Martin Väth 2013-09-20 18:17:34 UTC
The error message is improved in git master on BerliOS (>=eix-0.29.5)