Page 1 of 1

upgrade interrupted

PostPosted: Aug 17th, '12, 17:56
by Garthhh
in the middle of upgrading from M1 to M2 we had a power outage
I can't open MCC any more
Where do I go from here?

Re: upgrade interrupted

PostPosted: Aug 17th, '12, 19:26
by marja
Garthhh wrote:in the middle of upgrading from M1 to M2 we had a power outage


Do you have a back up of your important files?
If so, I'd do a fresh install, format the root partition and keep /home.
If you don't have a back up yet, I'd make one first (for instance using the LiveCD or another install on the same computer, if available)

Then install, but not with the LiveCD, because that one has issues with keeping /home https://bugs.mageia.org/show_bug.cgi?id=6022
The DVD, boot.iso or dual CD are better to use if you want to keep /home

Re: upgrade interrupted

PostPosted: Aug 17th, '12, 19:52
by tom_
open a terminal as root and type

Code: Select all
urpmi --auto-update


if there are problem post what you see

Re: upgrade interrupted

PostPosted: Aug 17th, '12, 20:15
by Garthhh
marja wrote:
Garthhh wrote:in the middle of upgrading from M1 to M2 we had a power outage


Do you have a back up of your important files?
If so, I'd do a fresh install, format the root partition and keep /home.
If you don't have a back up yet, I'd make one first (for instance using the LiveCD or another install on the same computer, if available)

Then install, but not with the LiveCD, because that one has issues with keeping /home https://bugs.mageia.org/show_bug.cgi?id=6022
The DVD, boot.iso or dual CD are better to use if you want to keep /home


What's a dual CD?
https://www.mageia.org/en/downloads/
the difference isn't clear :?:
[just fussing about the details]
some of the ambiguity of the docs is from them being thought about in a language other than english [french probably]
sometimes things read funny to my american eyes
& many times the docs assume knowledge that anyone needing to read them may not possess
the built in paradox of OSS documentation

I have a couple of copies of the music & image files I treasure as backup
I usually use grsync to move them around

I haven't really seen a noob friendly explanation of how to migrate home
there is something to be said for cleaning house when doing a clean install, purging all the hidden & configuration files

Re: upgrade interrupted

PostPosted: Aug 17th, '12, 22:22
by fraterlinux
By caution use the below command which makes first download all packages to upgrade, this option is more secure.

Code: Select all
urpmi --wget --download-all --auto-update

Re: upgrade interrupted

PostPosted: Aug 17th, '12, 23:17
by Garthhh
tom_ wrote:open a terminal as root and type

Code: Select all
urpmi --auto-update


if there are problem post what you see


it worked but broke the sound
you knew that though
viewtopic.php?f=26&t=3306

Re: upgrade interrupted

PostPosted: Aug 17th, '12, 23:26
by Garthhh
Code: Select all
urpmi --auto-update


this is one of those emergency commands, that's good to have handy
I'll try to add an entry to the wiki

Re: upgrade interrupted

PostPosted: Aug 18th, '12, 15:51
by doktor5000
--auto-update is no emergency command, and it does not magically fix any problems, that would be a false assumption.

Re: upgrade interrupted

PostPosted: Aug 18th, '12, 16:22
by Garthhh
doktor5000 wrote:--auto-update is no emergency command, and it does not magically fix any problems, that would be a false assumption.

sure
it will complete an upgrade interrupted
having a box stuck in the middle of an upgrade, sure seemed like an emergency to me
as usual see my signature