On Wednesday 19 November 2003 15:48, Andreas Schmitzer wrote:
> hello,
>
> i installed my gentoo system from the two Live-CD´s .  while installing,
> all packages where copied to my hard disc.
> now i try to install a package  with " emerge -k  package"  and
> nevertheless emerge tries to connect to web sites.
> how can i stop this and force emerge to look only on my hard disc. as far
> as i know the directories are set correctly.

Once you've done "emerge sync" the game's pretty much over. The problem is 
that half the packages you copied are now more than likely outdated and 
portage always tries to install the latest available that matches your 
stability requirements. You should be able to jump a through hoops to get it 
to use your packages though. Look at the following example.

bash-2.05b# emerge -p abiword

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-python/pyxml-0.8.3
[ebuild  N    ] gnome-base/libglade-2.0.1
[ebuild  N    ] app-text/aspell-0.50.4.1
[ebuild  N    ] app-dicts/aspell-en-0.51.0
[ebuild  N    ] app-text/enchant-1.1.1
[ebuild  N    ] app-text/wv-1.0.0
[ebuild  N    ] dev-libs/fribidi-0.10.4
[ebuild  N    ] app-office/abiword-2.0.1

bash-2.05b# ls /usr/portage/packages/All/pyxml-*
/usr/portage/packages/All/pyxml-0.8.2.tbz2
bash-2.05b# emerge --oneshot -k =dev-python/pyxml-0.8.2
[...]
bash-2.05b# ls /usr/portage/packages/All/libglade-*
/usr/portage/packages/All/libglade-2.0.1.tbz2
bash-2.05b# emerge --oneshot -k libglade
[...]
bash-2.05b# ls /usr/portage/packages/All/aspell-*
/usr/portage/packages/All/aspell-0.50.4.tbz2
bash-2.05b# emerge --oneshot -k =app-text/aspell-0.50.4
[...]
[...]
bash-2.05b# ls /usr/portage/packages/All/abiword-*
/usr/portage/packages/All/abiword-2.0.1.tbz2
bash-2.05b# emerge -k abiword

Sounds like a nightmare right? If you really don't want to update any 
packages, you could "rm -rf /usr/portage" and then extract the snapshot from 
your installation CD again. Just remember, the longer you wait to update the 
system the more updates there will be.

Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to