Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Whats wrong with the GRP install?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Baker
n00b
n00b


Joined: 13 Oct 2003
Posts: 49

PostPosted: Thu Jan 15, 2004 4:10 pm    Post subject: Whats wrong with the GRP install? Reply with quote

I'm installing gentoo on a dell laptop I have using the liveCD's. As of right now it has no net connection, until I get one I'll just have to go with whats on the CD's.
The system is installed fine now its time to use the second CD. Almost everytime I go to emerge something it wants to check the net and tires to download the packages. So I changed the PKGDIR by using
Code:
export PKGDIR="/mnt/cdroms/packages/All"

Now I do an emerge xmms, it spins up the drive gets a few of the packages from the cd then wants to download the rest. It does this for everything I try to emerge.
Then I tried copying the contents of the CD to my hard drive and change the PKGDIR to
Code:
export PKGDIR="${PORTDIR}/packages/All"

Then when I would try to emerge it would sitll spin up the cd and give me the same problems as last time.
Ive been reading the forum and have seen alot of problems with the GRP install, particularly with emerging the files from the second cd.


Do you have to emerge each package individually? Or is it just useless installing without the net?

Its very likely that I am doing something wrong, not sure what it is. any help would be appreciated.
Back to top
View user's profile Send private message
floffe
Guru
Guru


Joined: 24 Nov 2003
Posts: 414
Location: Linköping, Sweden

PostPosted: Thu Jan 15, 2004 4:46 pm    Post subject: Reply with quote

Are you sure you did
Code:
emerge -k package
and not just emerge package? Also, if you have synced, it will try to download newer stuff from the net. Try
Code:
emerge -K package
which will only use binary packages.

And I don't think you should set too many USE flags, because that might recquire additional packages that are not on the CD. Hope this helps!
Back to top
View user's profile Send private message
Baker
n00b
n00b


Joined: 13 Oct 2003
Posts: 49

PostPosted: Thu Jan 15, 2004 6:50 pm    Post subject: Reply with quote

yes I am using the -k perameter to seach in the specified directory.
As an example, if I try "emerge -k xmms" it tries to download the necessary files.
If I try "emerge -K xmms" i get
Code:
!!! There are no packages available to satisfy: "xmms"

I have not adjusted the USE flags, so that it could screw up the instilation of packages.
Shouldn't emerge first look on /mnt/cdrom/packages/All first before it tries to download? Since I set the PKGDIR
Back to top
View user's profile Send private message
floffe
Guru
Guru


Joined: 24 Nov 2003
Posts: 414
Location: Linköping, Sweden

PostPosted: Thu Jan 15, 2004 7:32 pm    Post subject: Reply with quote

Yes it should. Are you sure xmms is on the CD2? What if you do
Code:
ls -l xmms* /usr/portage/packages/All

Are you sure that the CD is mounted at /mnt/cdroms and not at /mnt/cdrom (no s)? Use bash tab-completion to get deeper into the hierarchy like
Code:
ls -l /u(tab)
ls -l /usr/p(tab)
ls -l /usr/portage/pa(tab)
ls -l /usr/portage/packages/(tab)

That will show you what is in /usr/portage/packages. If there is no All-directory there, then that is the problem. Also remember that linux is Shift sensitive, so All != all.
Back to top
View user's profile Send private message
Baker
n00b
n00b


Joined: 13 Oct 2003
Posts: 49

PostPosted: Thu Jan 15, 2004 8:47 pm    Post subject: Reply with quote

floffe wrote:
Are you sure xmms is on the CD2?

Its on CD2 -> /packages/All/xmms-1.2.7-r20.tbz2
And the hard disk -> /usr/portage/packages/xmms-1.2.7-r20.tbz2

floffe wrote:
Are you sure that the CD is mounted at /mnt/cdroms and not at /mnt/cdrom (no s)? Use bash tab-completion to get deeper into the hierarchy like

Yes I'm positive its mounted under /mnt/cdrom/. I copied the CD's entire contents to /usr/portage/packages/
I placed all the packages from CD2 in /usr/portage/packages/
Not in the "All" directory.

Finally I looked in /etc/make.conf and made sure
Code:
PKGDIR="/usr/portage/packages/"


So if I try a "emerge -k xmms" it should work.
No, its still trying to download the files.

Just to see what would happen, I tried "emerge -k kde"
Same thing..

I have no idea what I'm doing wrong here... :evil:
Back to top
View user's profile Send private message
floffe
Guru
Guru


Joined: 24 Nov 2003
Posts: 414
Location: Linköping, Sweden

PostPosted: Fri Jan 16, 2004 1:00 am    Post subject: Reply with quote

You could try copying over the portage overlay from the CD again. Then try again.Otherwise, I have no idea what you can do.
Back to top
View user's profile Send private message
Baker
n00b
n00b


Joined: 13 Oct 2003
Posts: 49

PostPosted: Fri Jan 16, 2004 4:14 am    Post subject: Reply with quote

Just copied the files over again, still getting the same responses.
Puzzles me why its not working. Guess I'll just have to see if I can figure it out, but thanks for the help!
Back to top
View user's profile Send private message
Neje
n00b
n00b


Joined: 04 May 2003
Posts: 71
Location: Netherlands

PostPosted: Fri Jan 16, 2004 3:12 pm    Post subject: Reply with quote

Baker wrote:
I copied the CD's entire contents to /usr/portage/packages/
I placed all the packages from CD2 in /usr/portage/packages/
Not in the "All" directory.


I think you should place them in All. I believe that portage looks in PKGDIR/All. You could change the PKGDIR variable to /mnt/cdrom/packages (not /mnt/cdrom/packages/All as you did before), too.
I might be wrong though, it's been a while since I used binary packages.

Good luck anyway,

Neje
_________________
"It's some kind of electronic computer."
- Tin Tin, Thunderbirds
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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