The /etc/apt/sources.list file should be created or edited properly before the following commands work.
First, type:
aptitude update
I should see things like:
Get:1 http://ftp.kr.debian.org squeeze Release.gpg [1,672 B]
Ign http://ftp.kr.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.kr.debian.org/debian/ squeeze/contrib Translation-en_US
Ign http://ftp.kr.debian.org/debian/ squeeze/main Translation-en
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Ign http://ftp.kr.debian.org/debian/ squeeze/main Translation-en_US
Ign http://ftp.kr.debian.org/debian/ squeeze/non-free Translation-en
Ign http://ftp.kr.debian.org/debian/ squeeze/non-free Translation-en_US
Get:2 http://ftp.kr.debian.org squeeze Release [87.3 kB]
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Get:3 http://ftp.kr.debian.org squeeze/main i386 Packages [6,567 kB]
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/non-free Sources
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
Hit http://security.debian.org squeeze/updates/non-free i386 Packages
Get:4 http://ftp.kr.debian.org squeeze/contrib i386 Packages [54.1 kB]
Get:5 http://ftp.kr.debian.org squeeze/non-free i386 Packages [108 kB]
Fetched 6,818 kB in 54s (125 kB/s)
Current status: 27364 new [+27027].
Ign http://ftp.kr.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.kr.debian.org/debian/ squeeze/contrib Translation-en_US
Ign http://ftp.kr.debian.org/debian/ squeeze/main Translation-en
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Ign http://ftp.kr.debian.org/debian/ squeeze/main Translation-en_US
Ign http://ftp.kr.debian.org/debian/ squeeze/non-free Translation-en
Ign http://ftp.kr.debian.org/debian/ squeeze/non-free Translation-en_US
Get:2 http://ftp.kr.debian.org squeeze Release [87.3 kB]
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Get:3 http://ftp.kr.debian.org squeeze/main i386 Packages [6,567 kB]
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/non-free Sources
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
Hit http://security.debian.org squeeze/updates/non-free i386 Packages
Get:4 http://ftp.kr.debian.org squeeze/contrib i386 Packages [54.1 kB]
Get:5 http://ftp.kr.debian.org squeeze/non-free i386 Packages [108 kB]
Fetched 6,818 kB in 54s (125 kB/s)
Current status: 27364 new [+27027].
Second, type the command for security upgrades:
aptitude safe-upgrade
I should be able to see things like:
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Third, type:
aptitude dist-upgrade
Then, I should see the response like:
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The information comes from this page.
No comments:
Post a Comment