Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost power in middle of emerge..what to do?
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
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Wed Jul 02, 2003 9:27 pm    Post subject: Lost power in middle of emerge..what to do? Reply with quote

Hello all,
Just finishing install of fresh system..to the part of emerging kde.
In the middle of this that had been running since morning...power dipped out...had to boot up again.

How bad is this? Is there a special command to start up again? Do I have to start over? If so..how do I get rid of all it has done so far. Or...is emerge smart enough to start up where it left off?

TIA,

cayenne
Back to top
View user's profile Send private message
Timm
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2002
Posts: 138
Location: Earth

PostPosted: Wed Jul 02, 2003 9:37 pm    Post subject: Reply with quote

Everything that was compiled and installed prior to your power outage are there. There is no need to recompile.

What did you did the last time? I would restart with something like
Code:
emerge -up --deep world
to check, and then without the -p flag.

I suggest that you do a full file system check before restart.
_________________
Timm
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Wed Jul 02, 2003 9:48 pm    Post subject: Reply with quote

Timm wrote:
Everything that was compiled and installed prior to your power outage are there. There is no need to recompile.

What did you did the last time? I would restart with something like
Code:
emerge -up --deep world
to check, and then without the -p flag.

I suggest that you do a full file system check before restart.


Thanks for the reply...a little more info please...
What does the --deep flag do?

Do I need to do world or just continue with kde?

I did the command you suggested and it said:

[ebuild UD] sys-apps/miscfiles-1.3-r1 [1.3-r2]
[ebuild U] sys-devel/gcc-config-1.3.3-r1 [1.3.1-r1]

Would this be downgrading something?

Thanks in advance for more clarification...

cayenne
Back to top
View user's profile Send private message
Timm
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2002
Posts: 138
Location: Earth

PostPosted: Wed Jul 02, 2003 10:10 pm    Post subject: Reply with quote

The --deep flag does a more deeper look into dependancies. Just to ensure that everything that needs or should be build will be
build.

If you did an emerge kde before the power outage, I would start just there.

Quote:
Would this be downgrading something?

Yes and no. It would downgrade miscfiles and upgrade
gcc-config.
_________________
Timm
Back to top
View user's profile Send private message
Edweirdo
Guru
Guru


Joined: 28 Jan 2003
Posts: 353
Location: Boston, Mass, USA

PostPosted: Thu Jul 03, 2003 1:07 am    Post subject: Reply with quote

If you do an

Code:

emerge -p kde


Generally, the first package on the list is the last package that was being compiled when your power went out. If this is a large package (like kdebase or qt) you may not want to just do another emerge as it will start that package over. There is a way to continue a "canceled" package compile.

For example, if you find that it died on kdegraphics you could go to /var/tmp/portage/kdegraphics-3.1.2/work/kdegraphics-3.1.2 and type "make". This will start the make process but continue where it last left off. When this is completed, however, there are still a number of things you will have to do.

In /var/tmp/portage/kdegraphics-3.1.2/work make sure there is a directory called "build-info". If not, create it.

Then type:
Code:

touch .compiled


Then execute:
Code:

ebuild /usr/portage/kde-base/kdegraphics/kdegraphics-3.1.2.ebuild install
ebuild /usr/portage/kde-base/kdegraphics/kdegraphics-3.1.2.ebuild qmerge
ebuild /usr/portage/kde-base/kdegraphics/kdegraphics-3.1.2.ebuild clean


That finishes up the install of that package (of course, insert your package name instaed of kdegraphics). Now you can continue with your regular emerge process

Code:

emerge kde


If you don't care that a package was canceled in the middle, you can just do the regular emerge and that package will be cleaned and compiled from the start again.
_________________
Life is too short and too important to { take seriously | use Windows }.
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