View previous topic :: View next topic |
Author |
Message |
padoor Advocate


Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sat May 22, 2010 3:41 am Post subject: eix-update -a kde-sunset gets stuck at 48% |
|
|
Code: | tux local # eix-update -a kde-sunset
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
Reading category 154|154 (100%) Finished
[1] "kde-sunset" /var/lib/layman/kde-sunset (cache: parse|ebuild*#metadata-flat#assign)
Reading category 75|154 ( 48%): kde-base .. |
Code: | * Running command "cd "/var/lib/layman/php" && /usr/bin/git pull"...
Already up-to-date.
*
* Success:
* ------
*
* Successfully synchronized overlay "kde".
* Successfully synchronized overlay "kde-sunset".
* Successfully synchronized overlay "php".
tux ~ # |
what happens?? _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
 |
mv Watchman


Joined: 20 Apr 2005 Posts: 6781
|
Posted: Sat May 22, 2010 7:37 am Post subject: |
|
|
How long did you wait? On a fast machine it takes about 3 minutes: It is not surprising that almost all ebuild of kde-sunset are stored in one category, namely in kde-base (which is at 48% of the categories). If you want to speed up (but have e.g. wrong slot information) you can use e.g. OVERLAY_CACHE_METHOD=parse or, to use this only for kde-sunset, CACHE_METHOD='/PATH_TO_THE_KDE_SUNSET_OVERLAY parse %{ADD_CACHE_METHOD}'. |
|
Back to top |
|
 |
padoor Advocate


Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sat May 22, 2010 11:21 am Post subject: |
|
|
this time i waited for half an hour. it is tecra M2 laptop. it is not so slow machine.
after 48% i dont see any disk activity also.
but kde-meta-3.5.10 emerges correctly [going on79/254 pkgs] _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
 |
mv Watchman


Joined: 20 Apr 2005 Posts: 6781
|
Posted: Sat May 22, 2010 4:21 pm Post subject: |
|
|
I cannot reproduce it here.
(BTW: The -a option as you use it is rather useless; you probably mean something like -a /var/lib/layman/kde-sunset, but it seems that it is not necessary since PORTDIR_OVERLAY already contains that path.)
What you can try is something like Code: | strace eix-update 2>/tmp/somefile | and then check in another shell with Code: | watch tail -n20 /tmp/somefile | whether it stucks on a particular ebuild or whether it proceeds just very slowly (also watch the length of /tmp/somefile whether the output is perhaps in a loop). |
|
Back to top |
|
 |
johanson n00b

Joined: 27 Jul 2006 Posts: 30
|
Posted: Wed Nov 03, 2010 6:39 pm Post subject: |
|
|
Hello,
because there was no answer if the post from "mv" solve the problem,...
I had the same problem. When i updated the eix db, eix waits at 48% from the kde overlay for a long long time,.... (~5mins)
i added
OVERLAY_CACHE_METHOD=parse
to the /etc/eixrc, and this was the solution.
Thank you "mv" - you helped me to save a lot of time ;o)
Johanson |
|
Back to top |
|
 |
albright Advocate


Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Wed Nov 03, 2010 7:40 pm Post subject: |
|
|
Code: | OVERLAY_CACHE_METHOD=parse |
that fixed it for me too ... many thanks _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Wed Jan 02, 2013 7:44 pm Post subject: |
|
|
same here - eix-update ran 1/2 an hour before I decided to look around for a solution |
|
Back to top |
|
 |
|