Відмінності між версіями «Оновлення ОС Debian Linux»

(Репозитарій Wheezy)
Рядок 22: Рядок 22:
 
  deb http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
 
  deb http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
 
  deb-src http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
 
  deb-src http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
 +
 +
Рядки репозитаріїв Squeeze закоментувати.
 +
 +
Оновити перелік пакунків:
 +
 +
apt-get update
  
 
= Оновлення Debian 5 Lenny »» 6 Squeeze  =
 
= Оновлення Debian 5 Lenny »» 6 Squeeze  =

Версія за 14:34, 30 серпня 2013

Стисло про оновлення ОС Debian GNU/Linux…


Оновлення Debian 6 Squeeze » Wheezy 7

Поновлення існуючої системи

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

Репозитарій Wheezy

У /etc/apt/sources.list додати рядки

deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian wheezy-updates main contrib non-free

Рядки репозитаріїв Squeeze закоментувати.

Оновити перелік пакунків:

apt-get update

Оновлення Debian 5 Lenny »» 6 Squeeze

Поновлення існуючої системи

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

Репозитарій Squeeze

У /etc/apt/sources.list додати рядки

deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://ftp.us.debian.org/debian squeeze-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian squeeze-updates main contrib non-free


Рядки репозитаріїв Lenny закоментувати.

Оновити перелік пакунків:

apt-get update

Вилучення старого ядра

apt-get remove linux-source-2.6 linux-headers-2.6-486

Встановлення нового ядра

Також встановлюються й прошивки.

apt-get install linux-headers-2.6.32-5-686 linux-kbuild-2.6.32 linux-source-2.6.32 \
linux-headers-2.6.32-5-common linux-image-2.6.32-5-686 firmware-linux-free firmware-linux-nonfree

При цьому будуть запитання від Debconf:

┌───────────────────────────────────────────────────────┤ Налаштування linux-base  ├────────────────────────┐
│ The new Linux kernel version provides different drivers for some PATA (IDE) controllers.                  │ 
│ The names of some hard disk, CD-ROM, and tape devices may change.                                         │    
│ It is now recommended to identify disk devices in configuration files by label or UUID (unique identifier)│ 
│ rather than by device name,                                                                               │  
│ which will work with both old and new kernel versions.                                                    │ 
│ If you choose to not update the system configuration automatically, you must update device IDs yourself   │ 
│ before the next system reboot                                                                             │ 
│ or the system may become unbootable.                                                                      │ 
│ Update disk device IDs in system configuration?                                                           │ 
│                                                                                                           │ 
│                      <Так>                                            <Ні>                                │ 
└───────────────────────────────────────────────────────────────────────────────────────────────────────────

ТАК

┌───────────┤ Налаштування linux-base ├────────────┐
│ These configuration files will be updated:       │ 
│ /etc/udev/rules.d/70-persistent-cd.rules         │ 
│ The device IDs will be changed as follows:       │ 
│ + PATH=pci-0000:00:11.1-scsi-0:0:0:0             │ 
│ Apply configuration changes to disk device IDs?  │ 
│                                                  │ 
│            <Так>               <Ні>              │ 
└──────────────────────────────────────────────────

ТАК

Встановлення Udev

apt-get install udev

Перезавантаження

reboot

Grub

Якщо Grub не знаходитиме розділ з ядром, — виставити розділ вручну (напр. /dev/sda1)


Оновлення решти пакунків

apt-get upgrade
apt-get dist-upgrade

Посилання

Див. також