* [gentoo-user] howto update portage/packages without an internet connection
@ 2006-08-15 4:31 Jed R. Mallen
2006-08-15 5:14 ` Ryan Tandy
0 siblings, 1 reply; 9+ messages in thread
From: Jed R. Mallen @ 2006-08-15 4:31 UTC (permalink / raw
To: gentoo-user
hello,
i've got a gentoo box with no internet connection at home.
i have broadband at the office, but running WinXP.
can i download the portage tree updates at the office, copy it to my
gentoo box, install packages i want but make it output links of the
needed packages instead of trying to download the pkgs, bring the list
of links at work, then download the pkgs there?
is this possible?
thanks much
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-15 4:31 [gentoo-user] howto update portage/packages without an internet connection Jed R. Mallen
@ 2006-08-15 5:14 ` Ryan Tandy
2006-08-15 8:07 ` Matthias Guede
0 siblings, 1 reply; 9+ messages in thread
From: Ryan Tandy @ 2006-08-15 5:14 UTC (permalink / raw
To: gentoo-user
Jed R. Mallen wrote:
> hello,
>
> i've got a gentoo box with no internet connection at home.
> i have broadband at the office, but running WinXP.
>
> can i download the portage tree updates at the office, copy it to my
> gentoo box, install packages i want but make it output links of the
> needed packages instead of trying to download the pkgs, bring the list
> of links at work, then download the pkgs there?
>
> is this possible?
>
> thanks much
Try 'emerge -fpuDN world'. WARNING: The list will likely be VERY long.
It'll output multiple possible sources for each file - any one will do
although the first one listed is likely to be the fastest.
As for the portage tree update, simply download
snapshots/portage-latest.tbz2' from your favorite mirror, untar it to
/usr/portage, and run emerge --metadata (<-- important!) to update your
tree.
HTH.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-15 5:14 ` Ryan Tandy
@ 2006-08-15 8:07 ` Matthias Guede
2006-08-15 14:55 ` Daniel da Veiga
0 siblings, 1 reply; 9+ messages in thread
From: Matthias Guede @ 2006-08-15 8:07 UTC (permalink / raw
To: gentoo-user
Ryan Tandy wrote:
> Jed R. Mallen wrote:
>> hello,
>>
>> i've got a gentoo box with no internet connection at home.
>> i have broadband at the office, but running WinXP.
>>
>> can i download the portage tree updates at the office, copy it to my
>> gentoo box, install packages i want but make it output links of the
>> needed packages instead of trying to download the pkgs, bring the list
>> of links at work, then download the pkgs there?
>>
>> is this possible?
>>
>> thanks much
>
> Try 'emerge -fpuDN world'. WARNING: The list will likely be VERY long.
> It'll output multiple possible sources for each file - any one will do
> although the first one listed is likely to be the fastest.
>
> As for the portage tree update, simply download
> snapshots/portage-latest.tbz2' from your favorite mirror, untar it to
> /usr/portage, and run emerge --metadata (<-- important!) to update your
> tree.
>
> HTH.
There is also an article about this on gentoo-wiki:
http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine
But I never tried it myself.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-15 8:07 ` Matthias Guede
@ 2006-08-15 14:55 ` Daniel da Veiga
2006-08-18 0:52 ` Jed R. Mallen
0 siblings, 1 reply; 9+ messages in thread
From: Daniel da Veiga @ 2006-08-15 14:55 UTC (permalink / raw
To: gentoo-user
On 8/15/06, Matthias Guede <matthias.guede@web.de> wrote:
> Ryan Tandy wrote:
> > Jed R. Mallen wrote:
> >> hello,
> >>
> >> i've got a gentoo box with no internet connection at home.
> >> i have broadband at the office, but running WinXP.
> >>
> >> can i download the portage tree updates at the office, copy it to my
> >> gentoo box, install packages i want but make it output links of the
> >> needed packages instead of trying to download the pkgs, bring the list
> >> of links at work, then download the pkgs there?
> >>
> >> is this possible?
> >>
> >> thanks much
> >
> > Try 'emerge -fpuDN world'. WARNING: The list will likely be VERY long.
> > It'll output multiple possible sources for each file - any one will do
> > although the first one listed is likely to be the fastest.
> >
> > As for the portage tree update, simply download
> > snapshots/portage-latest.tbz2' from your favorite mirror, untar it to
> > /usr/portage, and run emerge --metadata (<-- important!) to update your
> > tree.
> >
> > HTH.
>
> There is also an article about this on gentoo-wiki:
>
> http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine
>
> But I never tried it myself.
>
I did, worked like a charm... Simply download the portage snapshot,
uncompress it, emerge metadata (there are easier ways, check the list
archives for a thread of my own about "update portage"), and follow
the guide, pretty simple.
--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-15 14:55 ` Daniel da Veiga
@ 2006-08-18 0:52 ` Jed R. Mallen
2006-08-18 1:48 ` Bira
0 siblings, 1 reply; 9+ messages in thread
From: Jed R. Mallen @ 2006-08-18 0:52 UTC (permalink / raw
To: gentoo-user
thank you all. thank you very much. this is what i really need. thanks.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-18 0:52 ` Jed R. Mallen
@ 2006-08-18 1:48 ` Bira
2006-08-18 1:52 ` Justin Findlay
2006-08-18 7:51 ` Neil Bothwick
0 siblings, 2 replies; 9+ messages in thread
From: Bira @ 2006-08-18 1:48 UTC (permalink / raw
To: gentoo-user
On 8/17/06, Jed R. Mallen <jedmallen@gmail.com> wrote:
> thank you all. thank you very much. this is what i really need. thanks.
> --
> gentoo-user@gentoo.org mailing list
Get a friend with a Gentoo machine and an internet connection to do an
"emerge --fetchonly" in the packages you want and burn you a CD with
the zipped files Portage will download. Then copy the files over to
your /usr/portage/distfiles directory and emerge normally.
You can probably do the same thing with the ebuilds (i.e., "emerge
--sync", burn the ebuild directories to a CD, copy to your machine),
but I don't know how "healthy" that is.
--
Bira
http://compexplicita.blogspot.com
http://sinfoniaferida.blogspot.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-18 1:48 ` Bira
@ 2006-08-18 1:52 ` Justin Findlay
2006-08-18 7:51 ` Neil Bothwick
1 sibling, 0 replies; 9+ messages in thread
From: Justin Findlay @ 2006-08-18 1:52 UTC (permalink / raw
To: gentoo-user
On Thu, Aug 17, 2006 at 10:48:04PM -0300, Bira wrote:
> You can probably do the same thing with the ebuilds (i.e., "emerge
> --sync", burn the ebuild directories to a CD, copy to your machine),
> but I don't know how "healthy" that is.
I would just grab a portage snapshot with all those distfiles. There
may be some script for this on gentooexperimental.org or somewhere in
the forums or wiki.
Justin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-18 1:48 ` Bira
2006-08-18 1:52 ` Justin Findlay
@ 2006-08-18 7:51 ` Neil Bothwick
2006-08-18 9:28 ` Alan McKinnon
1 sibling, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2006-08-18 7:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
On Thu, 17 Aug 2006 22:48:04 -0300, Bira wrote:
> Get a friend with a Gentoo machine and an internet connection to do an
> "emerge --fetchonly" in the packages you want and burn you a CD with
> the zipped files Portage will download. Then copy the files over to
> your /usr/portage/distfiles directory and emerge normally.
That will only work for certain if your friend has an identical setup,
both in terms of USE flags and packages installed.
--
Neil Bothwick
Do I BELIEVE in the Bible?! HELL man, I've SEEN one!!!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] howto update portage/packages without an internet connection
2006-08-18 7:51 ` Neil Bothwick
@ 2006-08-18 9:28 ` Alan McKinnon
0 siblings, 0 replies; 9+ messages in thread
From: Alan McKinnon @ 2006-08-18 9:28 UTC (permalink / raw
To: gentoo-user
On Fri, 2006-08-18 at 08:51 +0100, Neil Bothwick wrote:
> On Thu, 17 Aug 2006 22:48:04 -0300, Bira wrote:
>
> > Get a friend with a Gentoo machine and an internet connection to do an
> > "emerge --fetchonly" in the packages you want and burn you a CD with
> > the zipped files Portage will download. Then copy the files over to
> > your /usr/portage/distfiles directory and emerge normally.
>
> That will only work for certain if your friend has an identical setup,
> both in terms of USE flags and packages installed.
The best way to do this is to use emerge to tell you exactly what
sources it wants to download, get this info into a file then use wget on
a different machine to read this file and download the sources:
emerge -pvf world 2>&1 > emerge.txt
gives a list of files to be downloaded. Bash this file into shape with
something like
cat emerge.txt | cut -f1 -d' ' | grep -e '^http://' | sort | \
uniq > emerge1.txt
Use wget on the other machine to do the downloads:
wget -c -i emerge1.txt
copy these downloads to /usr/portage/distfiles on the gentoo machine and
run
emerge -avuND world
It might even succeed! I do this, as the company pipe is only 512k and
it's maxed out during office hours. To be polite to everyone else I
download after hours using the above and a neat cron job. It's more work
for me, but hey, at least I get to keep my friends at work :-)
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-08-18 9:33 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-15 4:31 [gentoo-user] howto update portage/packages without an internet connection Jed R. Mallen
2006-08-15 5:14 ` Ryan Tandy
2006-08-15 8:07 ` Matthias Guede
2006-08-15 14:55 ` Daniel da Veiga
2006-08-18 0:52 ` Jed R. Mallen
2006-08-18 1:48 ` Bira
2006-08-18 1:52 ` Justin Findlay
2006-08-18 7:51 ` Neil Bothwick
2006-08-18 9:28 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox