Debian - how to upgrade from 6 to 7

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Доступная цена


Обновление Debian 6.0.15 до Debian GNU/Linux 7.7 (wheezy)

Сразу после установки чистой Debian 6 делаем:

# vi /etc/apt/sources.list

deb http://mirrors.kernel.org/debian/ wheezy main
deb-src http://mirrors.kernel.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://mirrors.kernel.org/debian/ wheezy-updates main
deb-src http://mirrors.kernel.org/debian/ wheezy-updates main


Обновляем все пакеты и пакеты самой системы:

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot


на вопросы вида:

Configuration file `/etc/default/rcS'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
  What would you like to do about it ?  Your options are:
   Y or I  : install the package maintainer's version
   N or O  : keep your currently-installed version
     D     : show the differences between the versions
     Z     : start a shell to examine the situation
The default action is to keep your current version.
*** rcS (Y/I/N/O/D/Z) [default=N] ? I
Installing new version of config file /etc/default/rcS

отвечаем I - то есть устанавливаем версию файла по-умолчанию.


Проверяем версии:

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.7 (wheezy)
Release:        7.7
Codename:       wheezy

Версия ядра:

# uname -srm
Linux 3.10.23-xxxx-std-ipv6-64 x86_64