From Fedora Project Wiki

Revision as of 09:20, 22 June 2011 by Fosfor (talk | contribs) (Troubleshooting - "characters: ordinal not in range(128)": new section)

Why quaid put the needs_love tag on the page

If a PreUpgrade stand alone page is needed, that can be created separately with feature content, then have this page linked. However, most features use their Features/PreUpgrade-style page as the main reference point, so there is no reason to create a PreUpgrade page.

quaid 04:55, 24 November 2008 (UTC)

Another method to free space: Convert /boot to ext2

If /boot is an ext3 filesystem it's possible to free about 4 MB by converting it to an ext2 filesystem. It goes something like this:

umount /boot
tune2fs -O ^has_journal /dev/sda1 - where /dev/sda1 is the /boot partition
$EDITOR /etc/fstab - change ext3 to ext2 for /boot
mount /boot

-- Abo

Troubleshooting - "characters: ordinal not in range(128)"

I would suggested to add one more item into troubleshooting section. When using multibyte environment with local language, PreUpgrade can end with the message like this:

Traceback (most recent call last):
  File "/usr/share/preupgrade/", line 329, in <module>
  File "/usr/share/preupgrade/", line 267, in main
    if not self.userconfirm():
  File "/usr/share/yum-cli/", line 687, in userconfirm
    choice = raw_input(_('Is this ok [y/N]: '))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 4-5: ordinal not in range(128)

Solution is to prepend LANG=C to the preupgrade-cli:

LANG=C;preupgrade-cli "Fedora 15 (Lovelock)"

This bug is still present in the actual repo version of yum (3.2.28-6.fc14) or PreUpgrade (1.1.9-1.fc14). Regarding ticket is 635432.