Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ned@kelly.org.au
n00b
n00b


Joined: 16 Mar 2004
Posts: 3
Location: Mosquito Flat, Australia

PostPosted: Thu Mar 18, 2004 8:50 am    Post subject: emerge problems Reply with quote

hi all

after many attempts i finally managed to install gentoo 2004.0 on my G4 PowerMac from the live CDs, but i now have the problem of when i attempt to emerge any application Gentoo always tries to download it from the internet (even though i have not setup internet yet),

i have followed the install handbook the entire way but when i get to the installing KDE section (section 11b) with

#USE="bindist" emerge --usepkg kde

even though i have used the command

#export PKGDIR="/mnt/cdrom", and all the other steps in the guide

this happens with all attempts to emerge even

#USE="-X" emerge rp-pppoe

the only successful emerges where: ppc-sources, vixie-cron, syslog-ng, and yaboot

how can i get Gentoo to install from the portage and CD2 dir?

Am i missing any steps along the way??

Any help would be greatly appreciated,

Cheers

Ned
Back to top
View user's profile Send private message
cottonmouth
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2004
Posts: 105

PostPosted: Thu Mar 18, 2004 3:14 pm    Post subject: Re: emerge problems Reply with quote

Greetings Ned

It seems like you are asking emerge to use prebuilt packages. Can you use sources and compile?

Your situation is quite the same as mine was when I installed gentoo from a magazine CD and only 64kbps dialup. What I needed to do was to copy all the sourcefiles from the CD to my local /usr/portage/distfiles/ catalog and compile from there.

BTW. If I understand this correctly, it seems that using
Code:
#USE="bindist" emerge --usepkg kde
is kind of an overkill, just using
Code:
 emerge --usepkg
or
Code:
emegre -k
should do the trick. -k first looks for a binary, then compiles if a bin is not there.

You can check if a source is available locally using
Code:
emerge -pv <package>
. It tells you how much it needs to download, and of course 0kb is your target.

Another option is to check what versions you have of your source. Since this is a installation from a CD, it would probably be a mistake if the portage-tree specified a package that is not on the CD, but when in doubt, check. Just look on the CD and compare the filenames to the output of
Code:
emegre -p <package>


If indeed the source for an older package is there, you could use it like this
Code:
emerge =package-old.version.number


Hope this can help some
_________________
Answer an unanswered post


Last edited by cottonmouth on Thu Mar 18, 2004 3:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Thu Mar 18, 2004 3:20 pm    Post subject: Re: emerge problems Reply with quote

cottonmouth wrote:

Your situation is quite the same as mine was when I installed gentoo from a magazine CD and only 64kbps dialup. What I needed to do was to copy all the sourcefiles from the CD to my local /usr/portage/distfiles/ catalog and compile from there.


The export command makes Portage look for the packages on the CD instead of /usr/portage/distfiles.

Double-check that, once /mnt/cdrom is mounted, you have a number of directories in it, including one called /mnt/cdrom/All in which all source code tarballs reside.

cottonmouth wrote:

BTW. If I understand this correctly, it seems that using
Code:
#USE="bindist" emerge --usepkg kde
is kind of an overkill, just using
Code:
 emerge --usepkg
or
Code:
emegre -k
should do the trick.


Not really. The USE="bindist" is required so that the XFree installation doesn't search for the truetype fonts (which we - for legal reasons - cannot distribute) on the Internet.
Back to top
View user's profile Send private message
cottonmouth
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2004
Posts: 105

PostPosted: Thu Mar 18, 2004 3:24 pm    Post subject: Re: emerge problems Reply with quote

Sven Vermeulen wrote:

The export command makes Portage look for the packages on the CD instead of /usr/portage/distfiles.

Nifty - nice to know, thanks.

Quote:

Not really ...

Aha...

Thans for clarifying this Sven.
_________________
Answer an unanswered post
Back to top
View user's profile Send private message
ned@kelly.org.au
n00b
n00b


Joined: 16 Mar 2004
Posts: 3
Location: Mosquito Flat, Australia

PostPosted: Wed Mar 24, 2004 4:01 am    Post subject: emerge still not happy Reply with quote

hi

thanks for all the help, but i stil got the same problem,

i decided to reinstall gentoo 2004.0 again to see if that fixes it, but after i emerge the ppc-sources and attempt to emerge genkernel (for the slacker install) , i have the same issue

Code:
emerge genkernel

or
Code:
emerge -k genkernel


emerge still attempts to download the file from the internet

even when i do
Code:
emerge /usr/portage/sys-kernel/genkernel/genkernel-3.0.1.ebuild

emerge still chucks a spastic (and yes /usr/portage/sys-kernel/genkernel/genkernel-3.0.1.ebuild is actually there)

Is there a way to verify that the files from the extraction of the portage file are valid, I think this might have something to do with the emerge problem, when i follow the install handbook and
Code:
# tar -xvjf /mnt/cdrom/snapshots/portage-20042203.tar.bz2 -C /mnt/gentoo/usr
it is performed quite quickly and the resulted files in /mnt/gentoo/usr/portage look smaller than i would expect

Sorry for the essay

Thanks again

Ned (dazed and confused)
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Wed Mar 24, 2004 7:50 am    Post subject: Reply with quote

I believe there is an issue with the LiveCDs that genkernel isn't provided. You'll need to manually setup your kernel instead of using genkernel. Or have an internet connection to download the genkernel sources :)
Back to top
View user's profile Send private message
drahz
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2004
Posts: 80

PostPosted: Wed Mar 24, 2004 6:55 pm    Post subject: Reply with quote

I found out what is, I had the same problem. and let me just say it was annoying as F#$% :evil: !
Code:
reboot

then do
Code:
emerge -k <your package> or <sources>

BEFORE you
Code:
export PKGDIR=/mnt/cdrom


it must be a BUG in the 2004.0 Livecd that is looks for the wrong download.
_________________
meh!
cyber crimes Department of Justice website
http://www.usdoj.gov/criminal/cybercrime/cccases.html
Back to top
View user's profile Send private message
ned@kelly.org.au
n00b
n00b


Joined: 16 Mar 2004
Posts: 3
Location: Mosquito Flat, Australia

PostPosted: Wed Mar 24, 2004 10:53 pm    Post subject: thanks Reply with quote

Hi All

Thanks for all your help, Gentoo is now up and running fine on my PPC

Cheers

Ned
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum