Upgrade Debian 5 to 6 don´t understand the documentation

2 posts / 0 new
Last post
#1 Mon, 08/19/2013 - 07:59
ashur

Upgrade Debian 5 to 6 don´t understand the documentation

Hi!

Need help to understand the docuemtation och step guide http://www.virtualmin.com/documentation/system/os/debian-lenny-to-squeez...

Question 1

My first question is, is it better to upgrade debian 5 to 7 or should i upgrade debian 5 to 6?

Question 2

In the documentation guide you have this step:

"These packages are already installed, but the following command will tell apt not include them anytime "apt-get autoremove" is run:

apt-get install bind9 spamassassin spamc procmail libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd webmin usermin webmin-virtual-server libcrypt-ssleay-perl webmin-virtual-server-theme webmin-virtualmin-dav webmin-virtualmin-svn webmin-virtualmin-awstats webmin-virtualmin-mailman webmin-virtualmin-htpasswd clamav-base clamav-daemon clamav clamav-data clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin usermin-virtual-server-theme procmail-wrapper php-pear php5 php5-cgi webmin-security-updates libgd2-xpm"

I dont understand should i only type "apt-get autoremove" in the terminal or should i type

"apt-get autoremove bind9 spamassasin..."?

Question 3

Other question in /etc/apt/sources.list i have virtualmin address should i change anything?

Question 4 And what does this change do??

** Edit /etc/init.d/lookup-domain, and add the following lines to the top of the file:

!/bin/sh chkconfig: 235 99 10 description: Start or stop the Virtualmin domain lookup server

#

BEGIN INIT INFO

Required-Start: $network $syslog Required-Stop: $network Default-Start: 2 3 5 Default-Stop: 0 1 6 Description: Start or stop the Virtualmin domain lookup server

### END INIT INFO

Mon, 08/19/2013 - 09:13
andreychek

Howdy,

My first question is, is it better to upgrade debian 5 to 7 or should i upgrade debian 5 to 6?

I don't believe that's possible, I believe you'll need to go one Debian version at a time.

I dont understand should i only type "apt-get autoremove" in the terminal or should i type

That step doesn't say to run "apt-get autoremove", it says to run that long "apt-get install ..." line :-)

That's all to prevent breakage if someone ever were to run "apt-get autoremove", but that's not something you need to do for that step.

Other question in /etc/apt/sources.list i have virtualmin address should i change anything?

The only things you need to do in sources.list are the two steps mentioned in the documentation you're looking at:

** Edit /etc/apt/sources.list, and change any reference of lenny to squeeze.

** Also in /etc/apt/sources.list, comment out the volatile repositories, as they are now deprecated.

Question 4 And what does this change do??

It makes that init script compatible with Debian's new init system.

-Eric

Topic locked