Upgrading from FC6 to Fedora 7
#!/bin/bash
# a script to illustrate the steps required to upgrade using yum.
# Note that this is FC6 to F7.
# this should require a locally mounted repository for extra speed.
yum clean all
yum update
/usr/bin/pg_dumpall -U postgres >/storage/postgresql/all_data.backup
rm -rf /var/lib/pgsql/*
chown -R postgres.postres /var/lib/pgsql
#(/storage/linux... is my local repository)
rpm -Uvh /storage/linux/fedora/core/7/i386/mount/Fedora/fedora-release-*
#
# There's a missing dependency: libgcj.so.8rh
#
yum remove libglade-java libvte-java libgnome-java glib-java kdemultimedia
yum upgrade
#yum install libglade-java libvte-java libgnome-java glib-java kdemultimedia
service postgresql initdb
/etc/init.d/postgresql start
su - postgres
psql -f /storage/postgresql/all_data.backup
# you may need to check the ident config in pg_hba.conf, and that it's
# set to trust, not ident. Also there may be more than one file!
About Me
Contact
- Unsolicited Bulk Email (spam), commercial solicitations, SEO related items, link exchange requests, and abuse are not welcome here and will result in complaints to your ISP.
- Any email to the above address may be made public at the sole discretion of the recipient.