If you directly upgrade from Warty+Backports to Hoary, you may run into trouble on the way.
If you'd like to upgrade to Hoary, following the following instructions:
- Run the given command:
apt-show-versions -b | grep warty-backports | cut -d ' ' -f 1 | awk -F/ '{print $1;}' |grep -v grepmap | grep -v wine | xargs --replace="{}" apt-get install {}/warty -s
Examine the output of what's being done. It should simulate the downgrade of all installed backports (staging and stable) to Warty packages.
- Run
apt-show-versions -b | grep warty-backports | cut -d ' ' -f 1 | awk -F/ '{print $1;}' |grep -v grepmap | grep -v wine | xargs --replace="{}" apt-get install {}/warty -y --force-yes
This will actually do the downgrade, instead of just simulating.
- Run
apt-show-versions -i; apt-show-versions -b | grep warty-backports
This will show you exactly what backports are left after that ordeal. Deal with them by hand...
- Remove backports from your /etc/apt/sources.list, or disable Backports from Synaptic. Follow the installation directions in reverse, basically.
- Run an apt-get update
- Change from Warty sources to Hoary ones in /etc/apt/sources.list.
- Run apt-get update
- Run apt-get dist-upgrade
- Add Hoary Backports sources.