# Upgrade Debian Lenny do Squeeze

DevFeed: [Upgrade Debian Lenny do Squeeze](<https://devfeed.tech/articles/upgrade-debian-lenny-do-squeeze-27515.md>)

Original publisher: [Read original article](<https://gagor.pro/2012/01/upgrade-debian-lenny-do-squeeze/>)

Author: Tom

Published: 2012-01-13T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Debian](<https://devfeed.tech/topics/debian.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [apt](<https://devfeed.tech/topics/apt.md>)

Tags: [apt](<https://devfeed.tech/tags/apt.md>), [backup](<https://devfeed.tech/tags/backup.md>), [debian](<https://devfeed.tech/tags/debian.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

## AI overview

A Polish guide collects steps for upgrading a Debian Lenny server to Squeeze. It recommends backing up configuration, changing APT repositories to Squeeze sources, refreshing repositories, caching packages, and then updating key packages and the full system.

## Source excerpt

Co jakiś czas powtarza się sytuacja, gdy muszę zaktualizować jakiś serwerek z Lennym do Squeeze'a i za każdym razem muszę googlać za odpowiednimi źródłami, które paczki najpierw, etc... Więc sobie zebrałem wszystko w poniższym poście. W razie wątpliwości patrz tutaj: http://www.debian.org/releases/squeeze/releasenotes Zrób backup konfiguracji. Trzeba zaktualizować źródła by wskazywały na squeeze'a (poniższe polecenie nadpisze Twoje obecne repozytoria): cat > /etc/apt/sources.list <<SRC deb http://ftp.pl.debian.org/debian/ squeeze main non-free contrib deb-src http://ftp.pl.debian.org/debian/ squeeze main non-free contrib 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.pl.debian.org/debian/ squeeze-updates main non-free contrib deb-src http://ftp.pl.debian.org/debian/ squeeze-updates main non-free contrib deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free SRC Teraz trzeba odświeżyć repozytoria: