个人工具

UbuntuHelp:DowngradeHowto

来自Ubuntu中文

Wikibot讨论 | 贡献2008年12月16日 (二) 18:19的版本

跳转至: 导航, 搜索
DO NOT DO THIS. YOU CANNOT DOWNGRADE PYTHON ACROSS PACKAGES FROM HARDY TO GUTSY.

I tried this to downgrade from intrepid to hardy again. It worked almost fine, until the ati-drivers came into place! You must remove all Third-party-packages before and downgrade without any X loaded. Then it might work.

Downgrade

So, for one reason or another, you've upgraded Ubuntu to a new version. Now, you're not liking the new version (or it's a development version and too unstable for your taste). Downgrading is a little-covered topic, but let's change that!

DISCLAIMER

This document is still under development. I have *YET TO TEST THE PROCEDURE*. Please pursue at your own risk until this documentation is completed!

Getting Started

For this guide, we'll use the example of downgrading Ubuntu Breezy to Ubuntu Hoary. This guide can be adapted to downgrade any combination of releases.

The Procedure

Setting up sources

You'll need sources.list entries for both releases for the procedure to work properly. It's important to remove all other lines for now! Example sources.list:

deb http://archive.ubuntu.com/ubuntu hoary main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu breezy main restricted universe multiverse

Setting up pinning

Open up /etc/apt/preferences with your favorite editor (such as gksudo gedit /etc/apt/preferences) Add the following lines to the file (remove any existing entries):

        Package: *
        Pin: release a=hoary
        Pin-Priority: 1001

        Package: *
        Pin: release a=breezy
        Pin-Priority: 60

Doing the downgrade

If you're ready to continue, we're going to continue: First, we need to update APT's information: sudo apt-get update Next, we'll downgrade: sudo apt-get dist-upgrade

Cleaning up after the storm

The last step probably will end up a catastrophic mess of incompletely installed packages. We need to fix that now.

Sources

http://linuxmafia.com/faq/Debian/downgrade.html