public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] emerge --resume question
@ 2008-08-13 19:59 Mark Haney
  2008-08-13 20:56 ` Beso
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mark Haney @ 2008-08-13 19:59 UTC (permalink / raw
  To: gentoo-amd64

Typically when I do a massive upgrade (like to KDE) I fetch the files 
down, then do the emerge later when I don't need internet access 
necessarily.  However, this time I started the upgrade to KDe4.1 without 
doing that.

What I want to know is, is it possible for me to do an emerge -f 
--resume to fetch the packages I need /before/ resuming the emerge, say 
later tonight?


-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support



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

* Re: [gentoo-amd64] emerge --resume question
  2008-08-13 19:59 [gentoo-amd64] emerge --resume question Mark Haney
@ 2008-08-13 20:56 ` Beso
  2008-08-13 21:04 ` Volker Armin Hemmann
  2008-08-13 21:19 ` [gentoo-amd64] " Duncan
  2 siblings, 0 replies; 10+ messages in thread
From: Beso @ 2008-08-13 20:56 UTC (permalink / raw
  To: gentoo-amd64

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

2008/8/13 Mark Haney <mhaney@ercbroadband.org>

> Typically when I do a massive upgrade (like to KDE) I fetch the files down,
> then do the emerge later when I don't need internet access necessarily.
>  However, this time I started the upgrade to KDe4.1 without doing that.
>
> What I want to know is, is it possible for me to do an emerge -f --resume
> to fetch the packages I need /before/ resuming the emerge, say later
> tonight?
>

try doing the emerge of one package in one terminal, then in the other do
the same emerge with fetchonly option after the first one has started
compilation. this will fetch the packages while the other is still building.
the resume also, works only once for what i know. that's why the paludis
hooks that always prints out the packages to install (before actually
installing them and after each time you stop the compile) and the one
installed is a better way to handle the stop and restart of compilation
processes.

-- 
dott. ing. beso

[-- Attachment #2: Type: text/html, Size: 1306 bytes --]

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

* Re: [gentoo-amd64] emerge --resume question
  2008-08-13 19:59 [gentoo-amd64] emerge --resume question Mark Haney
  2008-08-13 20:56 ` Beso
@ 2008-08-13 21:04 ` Volker Armin Hemmann
  2008-08-14  0:11   ` Juan Fco. Giordana
  2008-08-13 21:19 ` [gentoo-amd64] " Duncan
  2 siblings, 1 reply; 10+ messages in thread
From: Volker Armin Hemmann @ 2008-08-13 21:04 UTC (permalink / raw
  To: gentoo-amd64

On Mittwoch, 13. August 2008, Mark Haney wrote:
> Typically when I do a massive upgrade (like to KDE) I fetch the files
> down, then do the emerge later when I don't need internet access
> necessarily.  However, this time I started the upgrade to KDe4.1 without
> doing that.
>
> What I want to know is, is it possible for me to do an emerge -f
> --resume to fetch the packages I need /before/ resuming the emerge, say
> later tonight?

why not just an emerge -f? or just download the packages and copy them to 
/usr/portage/distfiles




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

* [gentoo-amd64]  Re: emerge --resume question
  2008-08-13 19:59 [gentoo-amd64] emerge --resume question Mark Haney
  2008-08-13 20:56 ` Beso
  2008-08-13 21:04 ` Volker Armin Hemmann
@ 2008-08-13 21:19 ` Duncan
  2008-08-13 21:38   ` andrew
  2 siblings, 1 reply; 10+ messages in thread
From: Duncan @ 2008-08-13 21:19 UTC (permalink / raw
  To: gentoo-amd64

"Mark Haney" <mhaney@ercbroadband.org> posted
48A33D3B.9090000@ercbroadband.org, excerpted below, on  Wed, 13 Aug 2008
15:59:55 -0400:

> Typically when I do a massive upgrade (like to KDE) I fetch the files
> down, then do the emerge later when I don't need internet access
> necessarily.  However, this time I started the upgrade to KDe4.1 without
> doing that.
> 
> What I want to know is, is it possible for me to do an emerge -f
> --resume to fetch the packages I need /before/ resuming the emerge, say
> later tonight?

I don't believe so.  Even if it worked, that would cross the packages off 
the resume list as they were fetched, so you'd no longer be able to 
resume the full merge.  

However, if you have FEATURES=parallel-fetch turned on, portage will 
start emerging the first package and while it's going, portage will be 
fetching the other packages in the background.  Depending on how long the 
first merge takes and the speed of your net connection, and assuming 
there's no fetch error, you may well have all the rest fetched by the 
time the first one is finished.

But... I'm not sure you can change FEATURES in the middle of an emerge 
either, and have them picked up for the rest of the session (including 
for a --resume).  If you had the feature turned on at the beginning, you 
may well already have everything downloaded.  =8^)  If you didn't, well...

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




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

* [gentoo-amd64]  Re: emerge --resume question
  2008-08-13 21:19 ` [gentoo-amd64] " Duncan
@ 2008-08-13 21:38   ` andrew
  2008-08-14  8:08     ` Duncan
  0 siblings, 1 reply; 10+ messages in thread
From: andrew @ 2008-08-13 21:38 UTC (permalink / raw
  To: gentoo-amd64

Duncan wrote:
> "Mark Haney" <mhaney@ercbroadband.org> posted
> 48A33D3B.9090000@ercbroadband.org, excerpted below, on  Wed, 13 Aug 2008
> 15:59:55 -0400:
> 
>> Typically when I do a massive upgrade (like to KDE) I fetch the files
>> down, then do the emerge later when I don't need internet access
>> necessarily.  However, this time I started the upgrade to KDe4.1 without
>> doing that.
>>
>> What I want to know is, is it possible for me to do an emerge -f
>> --resume to fetch the packages I need /before/ resuming the emerge, say
>> later tonight?
> 
> I don't believe so.  Even if it worked, that would cross the packages off 
> the resume list as they were fetched, so you'd no longer be able to 
> resume the full merge.  
> 

No, this is incorrect.  emerge -f --resume does not cross packages off
the resume list.

What you want to do should work properly.




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

* Re: [gentoo-amd64] emerge --resume question
  2008-08-13 21:04 ` Volker Armin Hemmann
@ 2008-08-14  0:11   ` Juan Fco. Giordana
  2008-08-14  3:51     ` Volker Armin Hemmann
  0 siblings, 1 reply; 10+ messages in thread
From: Juan Fco. Giordana @ 2008-08-14  0:11 UTC (permalink / raw
  To: gentoo-amd64

Volker Armin Hemmann wrote:
> why not just an emerge -f? or just download the packages and copy them to 
> /usr/portage/distfiles


You're forgetting the patches for the second choise.



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

* Re: [gentoo-amd64] emerge --resume question
  2008-08-14  0:11   ` Juan Fco. Giordana
@ 2008-08-14  3:51     ` Volker Armin Hemmann
  0 siblings, 0 replies; 10+ messages in thread
From: Volker Armin Hemmann @ 2008-08-14  3:51 UTC (permalink / raw
  To: gentoo-amd64

On Donnerstag, 14. August 2008, Juan Fco. Giordana wrote:
> Volker Armin Hemmann wrote:
> > why not just an emerge -f? or just download the packages and copy them to
> > /usr/portage/distfiles
>
> You're forgetting the patches for the second choise.

patches are already downloaded. Look into /usr/portage/category/appname/files/




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

* [gentoo-amd64]  Re: emerge --resume question
  2008-08-13 21:38   ` andrew
@ 2008-08-14  8:08     ` Duncan
  2008-08-14 11:20       ` Mark Haney
  0 siblings, 1 reply; 10+ messages in thread
From: Duncan @ 2008-08-14  8:08 UTC (permalink / raw
  To: gentoo-amd64

andrew <jandrewlong@gmail.com> posted g7vk9c$8qs$1@ger.gmane.org,
excerpted below, on  Wed, 13 Aug 2008 17:38:52 -0400:

> No, this is incorrect.  emerge -f --resume does not cross packages off
> the resume list.
> 
> What you want to do should work properly.

Hmm.  New to me! (Obviously.)  =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




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

* Re: [gentoo-amd64]  Re: emerge --resume question
  2008-08-14  8:08     ` Duncan
@ 2008-08-14 11:20       ` Mark Haney
  2008-08-14 13:23         ` Mark Haney
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Haney @ 2008-08-14 11:20 UTC (permalink / raw
  To: gentoo-amd64

Duncan wrote:
> andrew <jandrewlong@gmail.com> posted g7vk9c$8qs$1@ger.gmane.org,
> excerpted below, on  Wed, 13 Aug 2008 17:38:52 -0400:
> 
>> No, this is incorrect.  emerge -f --resume does not cross packages off
>> the resume list.
>>
>> What you want to do should work properly.
> 
> Hmm.  New to me! (Obviously.)  =8^)
> 

Well I'll give it a shot and let you know what happens.  :)



-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support



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

* Re: [gentoo-amd64]  Re: emerge --resume question
  2008-08-14 11:20       ` Mark Haney
@ 2008-08-14 13:23         ` Mark Haney
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Haney @ 2008-08-14 13:23 UTC (permalink / raw
  To: gentoo-amd64

Mark Haney wrote:

>> Hmm.  New to me! (Obviously.)  =8^)
>>
> 
> Well I'll give it a shot and let you know what happens.  :)
> 
> 
> 

Yep, I could do an 'emerge -f --resume' and have it fetch the files 
without trouble, then an 'emerge --resume' gets me right back where I 
needed to be with the resume.  Well done, gentoo devs.  That's a 
lifesaver.  (Or a Now & Later, or gobstopper....)


-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support



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

end of thread, other threads:[~2008-08-14 13:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 19:59 [gentoo-amd64] emerge --resume question Mark Haney
2008-08-13 20:56 ` Beso
2008-08-13 21:04 ` Volker Armin Hemmann
2008-08-14  0:11   ` Juan Fco. Giordana
2008-08-14  3:51     ` Volker Armin Hemmann
2008-08-13 21:19 ` [gentoo-amd64] " Duncan
2008-08-13 21:38   ` andrew
2008-08-14  8:08     ` Duncan
2008-08-14 11:20       ` Mark Haney
2008-08-14 13:23         ` Mark Haney

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