Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge from CD
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
chicconico
n00b
n00b


Joined: 11 Oct 2004
Posts: 21

PostPosted: Thu Feb 24, 2005 9:05 am    Post subject: emerge from CD Reply with quote

This seems to be an old story but I have not yet found a general solution.

I do not have access to the internet, so I tried to install the packages from the CD2.

Emerge <package> results in a useless attempt to fetch the package from the internet.
I did of course export the PKDIR="mnt/cdrom" before. I looked at

emerge --info

which confirms that setting.

I copied a ".tbz2" file to the distfile directory, but again emerge this file does not take it from there, just looks in the internet.

Can anybody help?

I have an iMac 233. Installed Gentoo 2004.2 but exchanged the portage tree with the version from 2004.1 (because the package CD is from that version). The make.profile symlink was changed accordingly.
Back to top
View user's profile Send private message
joefish
Guru
Guru


Joined: 27 Jan 2004
Posts: 316
Location: New Zealand

PostPosted: Thu Feb 24, 2005 9:35 am    Post subject: Reply with quote

Try "/mnt/cdrom" - make sure the slash is on the front of the path. If you've done that, have you tried setting PKDIR to the actual folder on the CD where the packages are? (Are they in the root '/' folder, or are they in something like "/mnt/cdrom/packages"? I can't remember since it was a while ago that I used a package CD). They're the only things I can think of right now.
Back to top
View user's profile Send private message
chicconico
n00b
n00b


Joined: 11 Oct 2004
Posts: 21

PostPosted: Thu Feb 24, 2005 10:29 am    Post subject: Reply with quote

[quote="joefish"][i]Try "/mnt/cdrom" - make sure the slash is on the front of the path[/i][/quote].

Sorry, the preceeding slash was used of course.

[quote] [i]If u've done that, have you tried setting PKDIR to the actual folder on the CD where the packages are? (Are they in the root '/' folder, or are they in something like "/mnt/cdrom/packages"? I can't remember since it was a while ago that I used a package CD). They're the only things I can think of right now.[/i][/quote]


They are in the root folder of the CD. I have also tried the exact subset folder for emerging <freetype> which requires only that particular bz2 file. No change.
Back to top
View user's profile Send private message
chicconico
n00b
n00b


Joined: 11 Oct 2004
Posts: 21

PostPosted: Fri Mar 04, 2005 10:43 am    Post subject: For those having the same trouble Reply with quote

[quote] [i]If u've done that, have you tried setting PKDIR to the actual folder on the CD where the packages are? (Are they in the root '/' folder, or are they in something like "/mnt/cdrom/packages"? I can't remember since it was a while ago that I used a package CD). They're the only things I can think of right now.[/i][/quote]

I have re-installed everything and it works now. The problem was probably that I should have run "env-update && source /etc/profile".
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