This is the homepage of upgrade-advisor.
Introduction to upgrade-advisor
Running upgrade-advisor pre-upgrade will:
- Report post-upgrade recommendations from a previous upgrade (from previous release to current release).
- Test the system prior to the upgrade, then display some hints to ensure seamless upgrade.
Running upgrade-advisor post-upgrade will:
Test the system after the upgrade, then display hints for emulating a freshly installed system. See section "Preparing for the next release" of the Release-Notes (like lenny/i386 notes).
This tool is complementary to the Releases-Notes, not a replacement. Also, the output should reviewed with care as it may contain false-negative and/or false-positive warning.
Contributing a plug-in
You can contribute a plug-in, that warns users before they upgrade their systems.
Here's a sample plugin :
[ $CURRENT_OS -lt $ETCH ] && return 0
title "Checking update-grub path in /etc/kernel-img.conf"
if grep -E "[[:blank:]=]+/sbin/update-grub" \
/etc/kernel-img.conf > /dev/null 2>&1; then
gecho "The path to update-grub in /etc/kernel-img.conf is wrong." | alert
gecho "$RELNOTES/ch-upgrading.en.html#s-for_next" | extra
- If you are the maintainer of a package, you can commit your plug-in directly to the git repository.
- Otherwise, it is best to discuss before commiting it (send a mail to the maintainer).
Get the source
sudo apt-get install git-core git clone git://git.debian.org/git/collab-maint/upgrade-advisor.git #You don't have to build the package to test it: ./upgrade-advisor/upgrade-advisor pre-upgrade
Bugs and feedback
Feedback for false positive and false negative is especially welcome.
Upgrade advisor is currently in development. You are welcome to test it and report bugs and wishlist (with patch?).