Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Resuming emerge after interruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Thu Jun 21, 2018 11:07 pm    Post subject: Resuming emerge after interruption Reply with quote

So I'm 375 of 1010 packages into "emerge -e world" on my gcc-7.3 upgrade. I know, I don't have to rebuild everything, but I like having the Spectre fixes. Normally I don't mind letting the computers sit around and rebuild themselves, and it's not that much electricity.

In this case, my wife has been having problems, I believe related to xfce, (more later) and I'm thinking of moving her to something lighter weight. I use icewm, but she needs some sort of toolbar, and I'm thinking about "plank", which doesn't look like it drags in a painful amount of stuff. I'd like to install it for her sooner than waiting for another 600+ packages to build, but I also don't want to start from scratch.

Whenever a package build fails, I can run "emerge --restart" or "emerge --skipfirst --restart" and pick up from where I left off if I've fixed the problem, or skip that package and continue if I want to fix the problem later. However if I emerge anything (like new desktop stuff for my wife) in the meantime, I can't resume the "emerge -e @world" later.

IsThere a way to save the portage state off to the side when I interrupt the "emerge -e @world", then emerge stuff for my wife, then put the portage state back and resume the @world emerge?

FYI, the problem looks like (paraphrased) "Maximum X Clients reached, cannot create new window." So basically, it's hit or miss whether she'll be able to start anything other than her email. Sometimes it works, sometimes it doesn't - it's a race condition. It seems to me that xfce started as a lightweight desktop, and has been getting heavier and more finicky for the past few years. I can probably do more debug, but for the moment I want to get her working.

I'm also open to dock / button-bar suggestions. I've looked at "xdock", but it doesn't seem to have much with it and seems quite stale. Too many dock-type programs are desktop-based and drag something like Gnome or KDE along with them.

Thanks for suggestions or information.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Fri Jun 22, 2018 4:19 am    Post subject: Reply with quote

not that i know of, emerge --resume only works if you don't run another emerge in the meantime.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Jun 22, 2018 6:12 am    Post subject: Reply with quote

See also this mv's command
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Fri Jun 22, 2018 7:55 am    Post subject: Reply with quote

If you think you can fix the issue manually, you can always continue the failed merge with:
Code:
ebuild <path-to-ebuild> merge
See: man 1 ebuild

Note: Sometimes there isn't something to fix, but the build system choked on parallelism or something. So using that command is often a good thing to try out first.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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