• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Securing VPS/Servers

How to Upgrade to Debian 6 (Squeeze)

How VPS by How VPS
November 2, 2018
in Securing VPS/Servers, Upgrading
0
0
SHARES
123
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Join our Community

How to Upgrade to Debian 6 (Squeeze)

Deprecated

This guide has been deprecated and is no longer being maintained.

This guide explains how to upgrade your system to Debian 6 (Squeeze) from Debian 5 (Lenny). Before you begin, you should make sure that you have a working backup or a copy of your data. If you haven’t already done so, you will also want to back up your configuration files (usually located in /etc/) in case they have changed in later versions of the software you are using. You should be logged in as root while performing these steps.

Preparing to Upgrade

Make sure that you have properly set your hostname in /etc/hostname. If you have not set a hostname for your system yet, issue the following commands:

echo "titan" > /etc/hostname
hostname -F /etc/hostname

Be sure to replace “titan” with the name that you wish to give to your server.

Edit your /etc/apt/sources.list file and change instances of lenny to squeeze. Once you have finished this, your /etc/apt/sources.list should resemble the following:

/etc/apt/sources.list
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# main repo
deb http://ftp.debian.org/debian/ squeeze main
deb-src http://ftp.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# contrib & non-free repos
#deb http://ftp.debian.org/debian/ squeeze contrib non-free
#deb-src http://ftp.debian.org/debian/ squeeze contrib non-free
#deb http://security.debian.org/debian/ squeeze/updates contrib non-free
#deb-src http://security.debian.org/debian/ squeeze/updates contrib non-free

Issue the following command to update your package lists:

apt-get update

When running system upgrades, you may want to start a screen session. This will ensure that your system updates continue to run in the event that you are disconnected from the server. Issue the following command to install screen:

apt-get install screen

Once the installation has completed, issue the following command to start a screen session:

screen

If at any time you get disconnected from your server, you can log back in and issue the following command to resume your screen session:

screen -Dr

Upgrading

Issue the following command to grab the latest version of key system utilities:

apt-get install apt dpkg aptitude

Once this has completed, you may upgrade your system by issuing the following command:

apt-get dist-upgrade

The upgrade will download and install numerous packages. Please be advised that this task may take a while to complete.

During the upgrade process, you will be asked if you want to use dash instead of your current shell. dash is a Unix shell that is distributed by the Debian project. Most users will not notice a difference between dash and bash or sh, and most shell scripts should continue to function normally if you decide to switch to dash.

You will also be advised that services using “NSS” (Network Security Services) and “PAM” (Pluggable Authentication Modules) need to be restarted. In most cases the default list of services to be restarted will be fine. If you have additional services that you run that use NSS or PAM, please add them to the list.

The installation will restart services and configure new packages. Once the system is done updating, reboot your system through the Linode Manager to make sure that there were no problems during the upgrade. While your system reboots, you can watch your Linode’s console for errors using the AJAX terminal or Lish.

System Errors

You may receive some errors similar to “missing LSB tags and overrides” or “package removed but not purged” when attempting to upgrade your system. The LSB tags error can be safely ignored. More information on why you are receiving this error can be found in Debian’s dependency based boot sequence article.

Errors about packages that are removed and not purged may be resolved by installing the latest version of the software or purging the old package. For example, if you receive an error about MySQL, you may try to resolve the issue by issuing the following command:

apt-get install mysql-server

If the above step does not work for the software you are trying to install, you may purge the package with the following command after ensuring that you have a backup of the program’s data and configuration:

apt-get remove --purge mysql-server

Join our Community

Find answers, ask questions, and help others.

This guide is published under a CC BY-ND 4.0 license.

Previous Post

SSL Certificates with Apache 2 on Fedora 12

Next Post

How to Upgrade to Ubuntu 11.04 (Natty)

Next Post

How to Upgrade to Ubuntu 11.04 (Natty)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet