---
title: "ubuntu 6.10升级到7.04"
author: "mmmxcy"
date: "2008-07-13T10:47:00Z"
tags: ["Linux", "Security", "Ubuntu", "Windows"]
categories: ["操作系统"]
slug: "ubuntu-6-10-7-04"
draft: false
lastmod: "2011-01-13T00:58:11Z"
id: 869386
url: "https://jimouyang.iteye.com/blog/869386"
---

修改/etc/apt/source.lst为：

```

```

deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main multiverse restricted universe deb-src http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse # Archive.ubuntu.com deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

或者：（这行命令将sources.lst文件中的所有‘edgy’替换为‘feisty’）

sudo sed -i 's/edgy/feisty/' /etc/apt/sources.lst

然后运行：

sudo apt-get update sudo apt-get dist-upgrade

升级后发现WINDOWS分区和其他linux分区无法挂载，打开/etc/fstab，将/dev/hdaX改为/dev/sdaX，然后

sudo mount -a

最后检查ubuntu版本：

cat /etc/issue