Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How to manually complete an aborted emerge?
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
fberger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 89
Location: Germany

PostPosted: Fri Jun 22, 2018 9:31 am    Post subject: [SOLVED] How to manually complete an aborted emerge? Reply with quote

I tried to emerge a large package (libreoffice, took a couple of hours), and it aborted inbetween because of a library mismatch.

Since /var/tmp/portage/app-office/libreoffice-6.0.3.2/work was still in place and largely compiled, I fixed the library, and run
Code:

$ ebuild /usr/portage/app-office/libreoffice/libreoffice-6.0.3.2.ebuild compile
$ ebuild /usr/portage/app-office/libreoffice/libreoffice-6.0.3.2.ebuild test
$ ebuild /usr/portage/app-office/libreoffice/libreoffice-6.0.3.2.ebuild install

which all completed fine.

Now I have the compiled package in /var/tmp/portage/app-office/libreoffice-6.0.3.2/image. How can I install it to the live system from the command line?

Apparently I want to run portage/dbapi/vartree.py's treewalk() function. Is there any way to complete the halfway-done emerge from the command line?


Last edited by fberger on Fri Jun 22, 2018 9:39 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Fri Jun 22, 2018 9:34 am    Post subject: Reply with quote

Code:
# ebuild /usr/portage/app-office/libreoffice/libreoffice-6.0.3.2.ebuild merge

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fberger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2006
Posts: 89
Location: Germany

PostPosted: Fri Jun 22, 2018 9:38 am    Post subject: Reply with quote

... or ebuild qmerge, just found in post 8232290.

Reading manuals thoroughly helps most of the time. Thanks. :)
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 11:50 am    Post subject: Reply with quote

Only if you really want to perform each step manually.

If you just want to complete the process, use 'merge' instead of 'qmerge'.
_________________
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