Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge from packages disk problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
pen8wen
n00b
n00b


Joined: 23 Sep 2005
Posts: 7

PostPosted: Fri Sep 23, 2005 9:43 pm    Post subject: emerge from packages disk problem Reply with quote

successfully installed everything up to getting gui (some wifi issues, but we'll figure that out :)
export'd PKGDIR as /mnt/cdrom (no packages directory)
attempted to emerge --usepkg x11-base/xorg-x11

result was no ebuilds avail... altho it is infact on the cd. re-export'd PKGDIR as "/mnt/cdrom/All", succeded to some degree, but it complained tht it could not d/l x11r6 source (???). re-exported PKGDIR as /mnt/cdrom, but emerge complains that x11-base/xorg-x11 is blocking x11-base/xorg-x11.6.8.2-r2 (which is on the cd at All/xorg-x11...tbz2 and as a symlink at x11-base/xorg-x11...

1- how do i back out of this (seeming) paradox?
2- why wouldn't emerge xorg-x11 just work using PKGDIR=/mnt/cdrom ?

USE has X kde, etc, no gnome. details avail if reqd.

tnx
Back to top
View user's profile Send private message
pen8wen
n00b
n00b


Joined: 23 Sep 2005
Posts: 7

PostPosted: Fri Sep 23, 2005 9:47 pm    Post subject: Reply with quote

can i simply put the xorg-x11-6.8.2-r2.tbz2 file directly into /usr/portage/distfiles? does this solve anything?

tnx
Back to top
View user's profile Send private message
pen8wen
n00b
n00b


Joined: 23 Sep 2005
Posts: 7

PostPosted: Fri Sep 23, 2005 9:57 pm    Post subject: Reply with quote

as they say, yes you can do that. but it doesn't work.

copied the xorg-x11 file directly to distfiles. file SEEMS to be intact.

emerge --usepkgonly xorg-x11 results in error: the x11-base/xorg-x11 package conflicts with another pkg. using --pretend tells us that the same problem exists.

using --usepkg (instead of --usepkgonly) results in attempting to d/l the src tar.bz.
also removing the usepkg option (wifi is disabled), results in attempting to d/l the src.tar file.

could it be we're completly hosed?
Back to top
View user's profile Send private message
pen8wen
n00b
n00b


Joined: 23 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 12:14 am    Post subject: Reply with quote

another post sez you can copy a xxx-pkg.bz2 to /usr/portage/distfiles, then just use emerge xxx-pkg, and it will skip the download, and just install it.

doesn't work for me - am i missing something? it results in trying to d/l the tar.gz file rather than just using the xxx-pkg in distfiles. same for using --usepkg. --usepkgonly results in "there are no packages available..."

of course, ntwk access is disabled here so it can't d/l anything.

tnx
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Sat Sep 24, 2005 12:57 am    Post subject: Reply with quote

You're confusing the use of the /usr/portage/distfiles directory.

distfiles directory is ONLY for non-compiled source code files, which have either .tar.bz2 or .tar.gz extension. Pre-compiled binary packages will go into /usr/portage/packages. Create the directory if it does not exist.

Also, when installing binary packages, always use the --pretend option of emerge and check the "Size of files to download", which is the last line. That line must say "0 KB" or similar. Any other number will mean it is unsafe to continue.

By the way, you do know you can edit your posts in this forum, right? 4 posts in a row is overkill.
_________________
Murphy's Law of Gentoo installation: If a compile can fail, it will.

MacGillicuddy's Corollary: At the most inopportune time.

Please search and read the FAQs before posting.
Back to top
View user's profile Send private message
pen8wen
n00b
n00b


Joined: 23 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 7:10 pm    Post subject: Reply with quote

i seem to have shaken out the "x11-base/xorg-x11 is blocking x11-base/xorg-x11.6.8.2-r2" issue.

i created portage/packages, put the binary.bz2 in it, emerge still wants to d/l the src.tar. same results with or without using --usepkg.
using --usepkgonly results in "there are no packages available to satisfy: "x11-base/xorg-x11"
i tried unrelated sudo package, same results.

i noted sudo exists in ambiguous forms, app-admin/sudo and app-vim/sudo. so i moved ...packages/xorg-xxx-bz2 to ...packages/x11-base/xorg-xxx.bz2. no help. same for sudo.

does the packages dir need these subdirs to distinguish? i notice they exist in /usr/portage as /usr/portage/app-vim/, etc.

if you have further thoughts, i would appreciate them. thanks for the help.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Dec 05, 2005 8:06 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
See here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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