View previous topic :: View next topic |
Author |
Message |
cayenne l33t
Joined: 17 Oct 2002 Posts: 945 Location: New Orleans
|
Posted: Wed Jul 02, 2003 9:27 pm Post subject: Lost power in middle of emerge..what to do? |
|
|
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 |
|
|
Timm Tux's lil' helper
Joined: 01 Nov 2002 Posts: 138 Location: Earth
|
Posted: Wed Jul 02, 2003 9:37 pm Post subject: |
|
|
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 |
|
|
cayenne l33t
Joined: 17 Oct 2002 Posts: 945 Location: New Orleans
|
Posted: Wed Jul 02, 2003 9:48 pm Post subject: |
|
|
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 |
|
|
Timm Tux's lil' helper
Joined: 01 Nov 2002 Posts: 138 Location: Earth
|
Posted: Wed Jul 02, 2003 10:10 pm Post subject: |
|
|
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 |
|
|
Edweirdo Guru
Joined: 28 Jan 2003 Posts: 353 Location: Boston, Mass, USA
|
Posted: Thu Jul 03, 2003 1:07 am Post subject: |
|
|
If you do an
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:
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
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 |
|
|
|