[CALUG] Fedora upgrade unsuccessful

Bryan J Smith b.j.smith at ieee.org
Sat Jun 11 11:45:53 EDT 2011


I just realized something.  Your message about the file system not being 
unmounted cleanly has nothing to do with Preupgrade.  It has to do with the init 
process in Fedora 12 itself.  Did your add-ons to Fedora 12 modify its init, and 
aren't unmounting the file system cleanly?

BTW, there is a directory specific to Preupgrade under /var, separate from yum's 
cache.  And verify the files in /boot/grub/grub.conf for the Preupgrade 
installer are actually all removed from /boot.  You may have a corrupt kernel 
image that is in the normal /boot area.  I'm not entirely sure you're getting 
everything, and would like to inspect the system.

I've been meaning to file an enhancement with Fedora to add a button to "clean 
up" all preupgrade components.  This might be a good reason, as it's not 
straight-forward to find everything.



----- Original Message ----
From: Joe <joe_tseng at hotmail.com>
To: calug at unknownlamer.org
Sent: Sat, June 11, 2011 10:23:44 AM
Subject: Re: [CALUG] Fedora upgrade unsuccessful

I removed the /boot/upgrade and /var/cache/yum/* directories and still no 
dice.  In fact I've not seen any difference in how the computer behaves. 
After preupgrade is done with doing its thing and the computer reboots, I 
still see that "unmounted cleanly" message box.

-----Original Message----- 
From: Bryan J Smith
Sent: Saturday, June 11, 2011 8:56 AM
To: Joe ; calug at unknownlamer.org
Subject: Re: [CALUG] Fedora upgrade unsuccessful

Pre-upgrade does more exhaustive checking in never Fedora versions, I've 
noted
that.  Earlier versions did checking for speed, and would sometimes miss
incomplete boot files or packages, and that would be an issue if you have a 
file
system fill up (it wouldn't fix the partial downloads).

That's why I mentioned that it might be best to blow away all of the 
Preupgrade
/boot and /var files and start over.  A file system (like /boot or /var 
areas)
filling up is the #1 reason why I see Preupgrade fail.  Again, newer Fedora
versions have gotten much better in dealing with all of the exceptions that
people run into, as people have reported such conditionals that need to be
accounted for.

As far as "flipping back," of course, once Preupgrade is done, the default
kernel boot is going to be Anaconda, not your prior distro.  Just remove the
/boot and grub entry, along with the /var areas for Preupgrade and re-try. 
Also
open up a Bugzilla and let them know what you ran into.  Preupgrade is 
actively
tracked for conditionals that have not been accounted for yet, or for 
verifying
it's an issue that is already addressed in newer Fedora versions.

Remember, Fedora 12 went end-of-life (EoL) last year, so it hasn't received 
more
recent Preupgrade logic.

-- Bryan

P.S.  Remember, Preupgrade and DVD are the exact same program, Anaconda (a
series of Python modules, including YUM).  The difference is that Preupgrade
pre-resolves dependencies and pre-downloads all packages specific for your
configured YUM repos to your hard drive, ensuring everything is there that 
is
needed.  As a side bonus, it runs from the hard drive, so it is faster.  If 
you
use the DVD, you're stuck with what's on the DVD by default, although 
Anaconda
will offer to update from the Internet as well for the system's repos.  In 
every
case of a Preupgrade issue (almost always disk space issues), blowing away 
the
/boot and /var files and re-starting always works.



----- Original Message ----
From: Joe <joe_tseng at hotmail.com>
Sent: Fri, June 10, 2011 8:14:41 PM

I'm not having any issues with preupgrade at all.  It's when the computer
reboots after it run preupgrade.  I get a small msg window with the msg I
got initially:

“The following file systems for your system were not unmounted  cleanly.
Please boot your installation, let the file systems be checked  and shut
down cleanly to upgrade.  (/dev/sda1)”

After I click the OK button in that msg window the computer just sits; it
doesn't reboot.  I have to flip the switch for it to boot back into F12. 


_______________________________________________
CALUG mailing list
CALUG at unknownlamer.org
http://lists.unknownlamer.org/listinfo/calug




More information about the CALUG mailing list