1 |
After today's world update, the eix-update command, run under root, |
2 |
failed to "open the database file '/var/cache/eix/portage.eix' for writing." |
3 |
|
4 |
Nevertheless, the same command, run with ordinary user privileges, completed without error. |
5 |
|
6 |
Why? |
7 |
|
8 |
# eix-update |
9 |
Reading Portage settings .. |
10 |
Building database (/var/cache/eix/portage.eix) .. |
11 |
[0] 'gentoo' /usr/portage/ (cache: metadata-md5-or-flat) |
12 |
Reading category 163|163 (100%) Finished |
13 |
Applying masks .. |
14 |
Calculating hash tables .. |
15 |
Writing database file /var/cache/eix/portage.eix .. |
16 |
Can't open the database file '/var/cache/eix/portage.eix' for writing (mode = 'wb') |
17 |
|
18 |
# echo $? |
19 |
1 |
20 |
|
21 |
# ls -al /var/cache/eix/portage.eix |
22 |
-rw-rw-r-- 1 gevis gevis 6336237 Dec 20 14:01 /var/cache/eix/portage.eix |
23 |
|
24 |
$ eix-update |
25 |
Reading Portage settings .. |
26 |
Building database (/var/cache/eix/portage.eix) .. |
27 |
[0] 'gentoo' /usr/portage/ (cache: metadata-md5-or-flat) |
28 |
Reading category 163|163 (100%) Finished |
29 |
Applying masks .. |
30 |
Calculating hash tables .. |
31 |
Writing database file /var/cache/eix/portage.eix .. |
32 |
Database contains 17931 packages in 163 categories. |
33 |
|
34 |
$ echo $? |
35 |
0 |