How to upgrade my linux Debian installation?

Ksh*_*rma 1 upgrade

I run the following command to upgrade my system -

aptitude update
aptitude dist-upgrade
Run Code Online (Sandbox Code Playgroud)

However it gives me updates for the softwares and libraries that I have installed. This is not what I want. I want to upgrade the operating system itself, to apply any security patches or bug fixes. What is the way to do that?

I am running Debian 6.0 Squeeze.

use*_*893 5

您是否将发布的存储库添加到您的 sources.list 中?

此外,在 Debian 或 Ubuntu 中升级到新版本通常只会安装您已安装的应用程序的新版本。在某些情况下,它实际上会更改包(例如 Ubuntu 更改为 Unity),但这并不总是发生。