vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I've got 2 questions about emerging system: 1. what does '>>> Updating Portage cache...' after emerge sync mean? does gentoo upgrade some file then? if so, where's that file? 2. how does emerge decide which version of program should install? it dooesn't always install the newest one (even if i have '~x86' in 'accepted keywords') pozdr. Aye -- "Life's a bitch and so am I. The world owes me, so fuck you" XMMS off |
| ||||
| > 1. what does '>>> Updating Portage cache...' after emerge sync > mean? does gentoo upgrade some file then? if so, where's that file? It updates the /var/cache/edb directory, this is where all your dependencies for everything are mapped out. > 2. how does emerge decide which version of program should install? > it dooesn't always install the newest one (even if i have '~x86' in > 'accepted keywords') It's done using the portage class (portage.py), you can surf the code to see the particulars. In addition, portage factors in the SLOT of a package into it's decision of which package is the newest (see http://www.gentoo.org/doc/en/portage-manual.xml for details on SLOTs). You might also like to checkout qpkg and etcat which are part of app-admin/gentoolkit, they can be helpful in increasing you understanding of portage. Stu |