LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2009, 04:12 PM   #1
elvisious
Member
 
Registered: Sep 2003
Distribution: Debian 5.0
Posts: 45

Rep: Reputation: 15
Question Update Apache2 to the latest version on Debian.


Hi,

When you see an error page on my server you also see this:

Code:
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 Server at www Port 80
The latest stable version of Apache2 is 2.2.11 :

http://httpd.apache.org/download.cgi

When I want to upgrade Apache 2.2.9 to 2.2.11 on my Debian server with:

Code:
apt-get upgrade -u apache2
nothing happend. Just this:

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What do I need to do to get the latest version?
Isn't it unsecure to not have the latest version?

Greetz
 
Old 06-12-2009, 06:59 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
If you are running Debian 5.0 you are running Stable a.k.a Lenny. If you haven't changed you repositories and left them to Stable or Lenny you get the package installed which belong to Lenny. If there is no newer Apache in Lenny than you version it won't get installed.

Quote:
Originally Posted by elvisious
What do I need to do to get the latest version?
You could change the version in /etc/apt/sources.list from Lenny or Stable to Squeeze or Testing. That wil install the latest Debian version of Apache, including a few dozens of other upgraded packages.

Quote:
Originally Posted by elvisious
Isn't it unsecure to not have the latest version?
No, not if you follow the security repositories which should be in you sources.list:
Code:
deb-src http://security.debian.org/ lenny/updates main contrib
Security updates are done in Stable, and those are the only updates, no version updates.

In general, if you run a server, stick with Stable. If it is a home project, use Testing.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about the latest dvd version of debian Rick069 Debian 2 05-03-2007 11:47 AM
Need to update basic sys install to latest version snowywar Linux - Server 3 12-21-2006 05:30 AM
Need to update basic sys install to latest version snowywar Linux - Server 1 12-06-2006 09:50 AM
What is the latest version of debian with the 2.4.x kernel? abefroman Debian 3 11-22-2005 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration