|
|
Re: fedora 16 to 17upgrade fails again |
On 2012-08-05 10:44, Patrick Dupre wrote:
On 2012-08-05 02:00, Ed Greshko wrote:On 08/05/2012 07:24 AM, Patrick Dupre wrote:This is the second time that it happens: The uograde from fedora 16 to 17 fails with the message:The /usr merge script failed. THis is required for Fedora 17 to work. The upgrade cannot continue.Then, it is impossible to boor on the previous installation. This is a real serious bug (x86_64)I may be a serious problem. But it won't get addressed if you don'tfile a *detailed* bugzilla. On your F16 system, did you have /usr ona separate partition?Yes, I have / /usr /usr/lib /usr/local /home (Old fashion, like it was recommanded a while ago).An upgrade failure is annoying. But, should never be fatal. In thatdoing a backup before hand simply results in one doing a fresh install.Yes I have a backup, but it would better to undertsand before reinstalling again because this failure is reproducible. In fact probably very little need to repaired. I have other machines to update.
This were the issue is: in update.pyWhy anaconda tries to make symbolic link when it is just regular partition?
So, how can I go back to the previous configuration?
How, can I anticipate the issue?
def upgradeUsr(anaconda):
"""
Handle the upgrade of /bin, /sbin, /lib, /lib64 to symlinks into
/usr/
This uses dracut's convertfs module
"""
dirs = ["/bin", "/sbin", "/lib", "/lib64"]
dirs = [ROOT_PATH+d for d in dirs]
if all(map(os.path.islink, dirs)):
log.info("upgradeusr dirs are already symlinks")
return
if anaconda.intf is not None:
w = anaconda.intf.waitWindow(_("Upgrade /usr symlinks"),
_("Running /usr merge script"))
if
iutil.execWithRedirect("/usr/lib/dracut/modules.d/30convertfs/convertfs.sh",
[ROOT_PATH],
stdout="/dev/tty5", stderr="/dev/tty5"):
log.error("convertfs failed")
if anaconda.intf is not None:
w.pop()
rc = anaconda.intf.messageWindow(_("/usr merge failed"),
_("The /usr merge script failed. This is
required"
" for Fedora 17 to work. The upgrade
cannot continue."
"\n\n"))
sys.exit(0)
log.info("convertfs was successful")
if anaconda.intf is not None:
w.pop()
-- Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.-- Rick Cook, The Wizardry Compiled-- ====================================================================== Patrick DUPRÉ | | email: pdupre@xxxxxxxxxx ======================================================================
-- ====================================================================== Patrick DUPRÉ | | email: pdupre@xxxxxxxxxx ====================================================================== -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [Fedora Cloud] [Fedora Advisory Board] [Fedora Education] [Fedora Security] [Fedora Scitech] [Fedora Robotics] [Fedora Maintainers] [Fedora Infrastructure] [Fedora Websites] [Anaconda Devel] [Fedora Devel Java] [Fedora Legacy] [Fedora Desktop] [Fedora Fonts] [ATA RAID] [Fedora Marketing] [Fedora Management Tools] [Fedora Mentors] [SSH] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Libvirt Users] [Fedora ARM]
![]() |
![]() |