public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Portage Sneakernet
@ 2007-08-01  1:53 Richard Marz
  2007-08-01  6:12 ` Abraham Marín Pérez
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Richard Marz @ 2007-08-01  1:53 UTC (permalink / raw
  To: gentoo-user

I have a networkless box that I've gentoo installed on. I grabbed the
latest portage snapshot from one of the mirrors. I ran emerge -DNeF
world and system on my networked machine to try and fetch every possible
file needed to install my world and system programs. Then I tarred the
distfiles directory which was about 2.5GB and dumped it
into /usr/portage/ on my networkless box. When installing certain
programs on my networkless pc; It complains about not being able to
fetch some package dependencies. Is there an emerge option/switch that I
can use to make sure I fetch every possible depedency/package for every
package in my world and system set. The portage snapshots and distfiles
are in sync. Thanks.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Portage Sneakernet
  2007-08-01  1:53 [gentoo-user] Portage Sneakernet Richard Marz
@ 2007-08-01  6:12 ` Abraham Marín Pérez
  2007-08-01  7:07 ` Mick
  2007-08-01  8:31 ` Stroller
  2 siblings, 0 replies; 6+ messages in thread
From: Abraham Marín Pérez @ 2007-08-01  6:12 UTC (permalink / raw
  To: gentoo-user

Richard Marz escribió:
> I have a networkless box that I've gentoo installed on. I grabbed the
> latest portage snapshot from one of the mirrors. I ran emerge -DNeF
> world and system on my networked machine to try and fetch every possible
> file needed to install my world and system programs. Then I tarred the
> distfiles directory which was about 2.5GB and dumped it
> into /usr/portage/ on my networkless box. When installing certain
> programs on my networkless pc; It complains about not being able to
> fetch some package dependencies. Is there an emerge option/switch that I
> can use to make sure I fetch every possible depedency/package for every
> package in my world and system set. The portage snapshots and distfiles
> are in sync. Thanks.
>
>   
Here you should have everything you need:
http://www.gentoo.org/doc/en/handbook/2007.0/index.xml

Have you checked that out?

Abraham
-- 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Portage Sneakernet
  2007-08-01  1:53 [gentoo-user] Portage Sneakernet Richard Marz
  2007-08-01  6:12 ` Abraham Marín Pérez
@ 2007-08-01  7:07 ` Mick
  2007-08-01  8:31 ` Stroller
  2 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2007-08-01  7:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

On Wednesday 01 August 2007 02:53, Richard Marz wrote:
> I have a networkless box that I've gentoo installed on. I grabbed the
> latest portage snapshot from one of the mirrors. I ran emerge -DNeF
> world and system on my networked machine to try and fetch every possible
> file needed to install my world and system programs. Then I tarred the
> distfiles directory which was about 2.5GB and dumped it
> into /usr/portage/ on my networkless box. When installing certain
> programs on my networkless pc; It complains about not being able to
> fetch some package dependencies. Is there an emerge option/switch that I
> can use to make sure I fetch every possible depedency/package for every
> package in my world and system set. The portage snapshots and distfiles
> are in sync. Thanks.

I have noticed that certain packages will always try to download the latest 
sources.  The only way out that I know of is to modify the ebuild file.
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Portage Sneakernet
  2007-08-01  1:53 [gentoo-user] Portage Sneakernet Richard Marz
  2007-08-01  6:12 ` Abraham Marín Pérez
  2007-08-01  7:07 ` Mick
@ 2007-08-01  8:31 ` Stroller
  2007-08-03 23:12   ` Richard Marz
  2 siblings, 1 reply; 6+ messages in thread
From: Stroller @ 2007-08-01  8:31 UTC (permalink / raw
  To: gentoo-user


On 1 Aug 2007, at 02:53, Richard Marz wrote:

> I have a networkless box that I've gentoo installed on. I grabbed the
> latest portage snapshot from one of the mirrors. I ran emerge -DNeF
> world and system on my networked machine to try and fetch every  
> possible
> file needed to install my world and system programs. Then I tarred the
> distfiles directory which was about 2.5GB and dumped it
> into /usr/portage/ on my networkless box. When installing certain
> programs on my networkless pc; It complains about not being able to
> fetch some package dependencies. Is there an emerge option/switch  
> that I
> can use to make sure I fetch every possible depedency/package for  
> every
> package in my world and system set.

Networkless box:
    $ emerge -fpv world > foo.txt

Sneaker foo.txt to networked box and:
    $ for foo in foo.txt ; do wget -c -nc -P /usr/portage/distfiles/  
$foo ; done

Should approximately do the trick.

Stroller.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Portage Sneakernet
  2007-08-01  8:31 ` Stroller
@ 2007-08-03 23:12   ` Richard Marz
  2007-08-04 14:43     ` Stroller
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Marz @ 2007-08-03 23:12 UTC (permalink / raw
  To: gentoo-user

On Wed, 2007-08-01 at 09:31 +0100, Stroller wrote:
> On 1 Aug 2007, at 02:53, Richard Marz wrote:
> 
> > I have a networkless box that I've gentoo installed on. I grabbed the
> > latest portage snapshot from one of the mirrors. I ran emerge -DNeF
> > world and system on my networked machine to try and fetch every  
> > possible
> > file needed to install my world and system programs. Then I tarred the
> > distfiles directory which was about 2.5GB and dumped it
> > into /usr/portage/ on my networkless box. When installing certain
> > programs on my networkless pc; It complains about not being able to
> > fetch some package dependencies. Is there an emerge option/switch  
> > that I
> > can use to make sure I fetch every possible depedency/package for  
> > every
> > package in my world and system set.
> 
> Networkless box:
>     $ emerge -fpv world > foo.txt
> 
> Sneaker foo.txt to networked box and:
>     $ for foo in foo.txt ; do wget -c -nc -P /usr/portage/distfiles/  
> $foo ; done
> 
> Should approximately do the trick.
> 
> Stroller.

Thanks for the help, Stroller. But that command did not work so well.
wget translated $foo to foo.txt instead of reading line line in foo.txt.
I managed to get wget to fetch the files in foo.txt by running:

cat foo.txt |xargs -- wget -c -nc -P /usr/portage/distfiles/ -


also it would be a good idea to run 

# emerge -fpveDN world && emerge -fpvDN <packagename1>
<packagename2> ...and so on because emerge -fpve{DN} world didn't quite
world as thorough as I would have liked it to.

Thank you all.

Marz

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Portage Sneakernet
  2007-08-03 23:12   ` Richard Marz
@ 2007-08-04 14:43     ` Stroller
  0 siblings, 0 replies; 6+ messages in thread
From: Stroller @ 2007-08-04 14:43 UTC (permalink / raw
  To: gentoo-user


On 4 Aug 2007, at 00:12, Richard Marz wrote:
> ...
>> Networkless box:
>>     $ emerge -fpv world > foo.txt
>>
>> Sneaker foo.txt to networked box and:
>>     $ for foo in foo.txt ; do wget -c -nc -P /usr/portage/distfiles/
>> $foo ; done
>>
>> Should approximately do the trick.
>>
>> Stroller.
>
> Thanks for the help, Stroller. But that command did not work so well.
> wget translated $foo to foo.txt instead of reading line line in  
> foo.txt.
> I managed to get wget to fetch the files in foo.txt by running:
>
> cat foo.txt |xargs -- wget -c -nc -P /usr/portage/distfiles/ -

I think that was a copy & paste error on my part.

I think the command I ended up using was:
   $ for foo in `cat foo.txt` ; do wget -c -nc -P /usr/portage/ 
distfiles/

But I'm glad you got it sorted in the end.

Stroller.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-04 14:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-01  1:53 [gentoo-user] Portage Sneakernet Richard Marz
2007-08-01  6:12 ` Abraham Marín Pérez
2007-08-01  7:07 ` Mick
2007-08-01  8:31 ` Stroller
2007-08-03 23:12   ` Richard Marz
2007-08-04 14:43     ` Stroller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox