[ubuntu-uk] Downgrading Ubuntu
Tony Travis
ajt at rri.sari.ac.uk
Thu Oct 25 23:05:00 BST 2007
Ian Pascoe wrote:
> All
>
> Having upgraded to Gutsy through Update Manager and established that a
> number of the ATSPI packages are somewhat flakey, I'd like to revert back to
> 7.04 until things stableise.
>
> Is this an easy thing to do without doing a total re-install?
Hello, Ian.
I used this script to automatically downgrade packages after I decided
not to use the Dapper 'backports' repository. You'll need to install
"apt-show-versions", and change the script for "feisty".
Best wishes,
Tony.
----- cut here ----- cut here ----- cut here -----
#!/bin/sh
# @(#)downgrade.sh 2007-07-08 A.J.Travis
#
# Downgrade versions of packages newer than in archive
#
TMP=/tmp/downgrade.$$
if [ $USER != "root" ]; then
echo "downgrade: Only root can do this"
exit 1
fi
apt-show-versions -i
apt-show-versions |
fgrep 'newer than version in archive' |
cut -d' ' -f 1 >$TMP
if [ -s $TMP ]; then
apt-show-versions -a |
fgrep -f $TMP |
grep dapper$ |
sed -e 's/\t/=/;s/\t.*$//' |
xargs aptitude install
fi
rm $TMP
----- cut here ----- cut here ----- cut here -----
--
Dr. A.J.Travis, | mailto:ajt at rri.sari.ac.uk
Rowett Research Institute, | http://www.rri.sari.ac.uk/~ajt
Greenburn Road, Bucksburn, | phone:+44 (0)1224 712751
Aberdeen AB21 9SB, Scotland, UK. | fax:+44 (0)1224 716687
More information about the ubuntu-uk
mailing list