Upgrade to Fedora 17 from 16.

As usual time in couple of days to upgrade to Fedora 17. Release schedule is for 05/22 and so its just around the corner. So, if you are looking at upgrading using yum, then make sure that you visit this page.

There are some changes in latest version that will not allow you to upgrade without executing few commands manually and that page lists them. And if you are too brave and just want the steps and the command then here it is:

# sudo yum update dracut
# dracut --force --add convertfs
Change the following kernel commandline parameter directly in the bootloader menu, which is sh:own during bootup, or edit the line in /etc/grub*.cfg to remove ro and rhgb and append rw rd.in:fo rd.convertfs enforcing=0
# revert after reboot.
# dmesg | grep dracut
# yum --releasever=17 update rpm
# rm -f /var/lib/rpm/__*
# rpm --rebuilddb
# yum --releasever=17 --disableplugin=presto --skip-broken distro-sync
# fixfiles onboot
Enhanced by Zemanta

rpmorphan – deborphan for the rpm based distros.

Lets first install the rpmorphan package:
1
 sudo yum install rpmorphan
and here is the description of the package:
rpmorphan finds "orphaned"[1] packages on your system. It determines
which packages have no other packages depending on their installation,
and shows you a list of these packages.  It intends to be clone of
deborphan Debian tools for rpm packages.

It will try to help you to remove unused packages, for example:
* after a distribution upgrade
* when you want to suppress packages after some tests

Several tools are also provided :
* rpmusage - display rpm packages last use date
* rpmdep - display the full dependency of an installed rpm package
* rpmduplicates - find programs with several version installed

Yum offers a program called 'package-cleanup' which you can use to
carry out similar tasks.

[1] Note that orphan is used in the sense of Debian's deborphan, and
is NOT the same as Fedora orphaned packages which are packages that
have no current maintainer.

Now, you can simply run the command

1
rpmorphan

to see a list of the orphaned packages on the system 🙂

 

And once you have verified that you want to remove all the listed application, then you can run the following command:

1
sudo yum remove $(rpmorphan |tr '\n' ' ')
Enhanced by Zemanta