Results 1 to 10 of 10
Thread: Apache wont upgrade (Debian)
-
09-19-2009, 04:43 AM #1Newbie
- Join Date
- Sep 2009
- Posts
- 5
Apache wont upgrade (Debian)
Hi,
This is my first post here, so, hello all!
The problem is: I have a virtual server with Debian 5 installed.
Whenever I run "apt-get update" and "apt-get upgrade", it wont upgrade Apache, MySQL or PHP.
The current versions are:
Apache 2.2.3 (Newest version is 2.2.13 I think)
MySQL Client API version 5.0.32 (From phpinfo, dont know if this is the server version)
PHP: 5.2.0-8 (The newest is 5.3.0 of couse)
My sources.list file: (I had to insert spaces because i'm new here, so links aren't allowed)
deb ht tp://security.debian.org etch/updates main contrib non-free
deb-src ht tp://security.debian.org/ etch/updates main contrib non-free
deb ht tp://ftp.de.debian.org/debian/ etch main contrib non-free
deb-src ht tp://ftp.de.debian.org/debian/ etch main contrib non-free
What am I doing wrong here? Do I need to add some sources or run other commands?
-
09-19-2009, 05:09 AM #2Web Hosting Master
- Join Date
- Mar 2004
- Posts
- 822
it's possible that the repository of debian is not updated yet, if you really need the latest version you have to compile it your self
HalfDedi.com • Half Dedicated Half Price
We provide affordable VPS hosting solution Singapore datacenter
-
09-19-2009, 05:14 AM #3Newbie
- Join Date
- Sep 2009
- Posts
- 5
It's just, Apache 2.2.3 was released in 2006, It cant be right, that a newer version isn't in the repository.
Is there some unofficial (but safe) repository I can add?
-
09-19-2009, 05:31 AM #4WHT Addict
- Join Date
- Jun 2007
- Location
- San Francisco
- Posts
- 150
Find a BIG list here http://www.apt-get.org/ .
-
09-19-2009, 06:02 AM #5Newbie
- Join Date
- Sep 2009
- Posts
- 5
Thanks zoticaic, I've looked at that page before, but that confuses me even more. I can't find any source, that will let me upgrade to a newer version of Apache.
-
09-19-2009, 06:05 AM #6Web Hosting Master
- Join Date
- Apr 2002
- Location
- Auckland - New Zealand
- Posts
- 1,575
You're running debian 4.0 (etch) - latest stable is 5.0 (Lenny) http://www.debian.org/releases/stable/
Change the word 'etch' to 'stable' in your sources.list - then you need to dist-upgrade to install all the latest packages. Make sure you take the recommended steps to do a dist-upgrade but it should be pretty simple.
-
09-19-2009, 06:22 AM #7Newbie
- Join Date
- Sep 2009
- Posts
- 5
Doh, you're right. I thought I was running 5.0, lol.
Thanks, I will try a dist-upgrade
-
09-19-2009, 07:42 AM #8Web Hosting Master
- Join Date
- Dec 2004
- Location
- Butler,TN
- Posts
- 2,416
Hi!
I should point out I've had problems with Deb 5 and installing php properly. I finally got so fustrated with the entire lot I built everything from source..except for MySQL..of course. I prefer mySQL's binaries on anything..period. No RPM install follies.
I recommend other to do the same..it takes more time..but you learn more.
BryonBryon L Harvey
Soil Relocation Engineer
-
09-19-2009, 08:11 AM #9Web Hosting Master
- Join Date
- Apr 2002
- Location
- Auckland - New Zealand
- Posts
- 1,575
Even better, learn how to build packages from sources, for whatever distro you use.
-
09-19-2009, 05:15 PM #10Newbie
- Join Date
- Jun 2009
- Posts
- 26
As mentioned above, looks like you're running Debian 4 and not 5. the wrong image/template was setup on your VPS or something weird happened. Check in your control panel what version of Debian you're running or try "cat /etc/debian_version" in bash.
If it's really Debian 5 but somehow the sources.list contains the Debian 4 repository instead of the one for Debian 5,
change this
deb http://ftp.de.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.de.debian.org/debian/ etch main contrib non-free
deb http://security.debian.org etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
You can also replace "lenny" by "stable", but keep in mind that once the status of squeeze, the current testing version, will be updated to "stable" all the packages will be updated to reflect the new stable version. If you're running your vps in a production environment, you might want to think twice before doing this.Last edited by chris34; 09-19-2009 at 05:23 PM.
Similar Threads
-
Upgrade Xen VPS to Debian Lenny?
By nemebean in forum Hosting Security and TechnologyReplies: 3Last Post: 04-28-2009, 03:41 PM -
apache wont start
By HW-David in forum Hosting Security and TechnologyReplies: 3Last Post: 04-06-2008, 07:10 PM -
Kernel upgrade on Debian
By ABW in forum Hosting Security and TechnologyReplies: 2Last Post: 05-23-2007, 01:01 PM -
Apache wont start
By jsonline2k3 in forum Hosting Security and TechnologyReplies: 8Last Post: 02-20-2006, 01:04 PM -
upgrade your redhat to debian..
By Slidey in forum Hosting Security and TechnologyReplies: 27Last Post: 02-24-2004, 12:30 AM