LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-04-2013, 04:38 AM   #1
OldManYoss
LQ Newbie
 
Registered: Jan 2013
Posts: 6

Rep: Reputation: Disabled
Aptitude or maybe MySQL not working, cant install


I am trying to install MySQL/apache. When I run the following command

aptitude install php5-mysql mysql-server apache2

The php and apache bits seem to install fine. however MySQL-server does not. I get the following errors


Err http://security.debian.org/ squeeze/updates/main mysql-common all 5.1.63-0+squeeze1
404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org/ squeeze/updates/main libmysqlclient16 i386 5.1.63-0+squeeze1
404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org/ squeeze/updates/main mysql-client-5.1 i386 5.1.63-0+squeeze1
404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org/ squeeze/updates/main mysql-server-core-5.1 i386 5.1.63-0+squeeze1
404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org/ squeeze/updates/main mysql-server-5.1 i386 5.1.63-0+squeeze1
404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org/ squeeze/updates/main mysql-server all 5.1.63-0+squeeze1
404 Not Found [IP: 195.20.242.89 80]
E: Failed to fetch http://security.debian.org/pool/upda...eeze1_all.deb: 404 Not Found [IP: 195.20.242.89 80]


I can ping the ip in the error.

I assume as the rest installed ok its not something to do with my sources list, but here it is

deb http://ftp.uk.debian.org/debian/ squeeze main
deb-src http://ftp.uk.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ squeeze-updates main
deb-src http://ftp.uk.debian.org/debian/ squeeze-updates main

Anyone have any ideas on a solution?
 
Old 01-04-2013, 04:57 AM   #2
alieblice
Member
 
Registered: Jul 2011
Posts: 80

Rep: Reputation: Disabled
check if your dns servers have bin set correctly in this folder.
/etc/resolve.conf
 
Old 01-04-2013, 04:59 AM   #3
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,156

Rep: Reputation: 247Reputation: 247Reputation: 247
Hi

It could be you haven't updated the package lists in a while, so it's trying to install old versions. Run "aptitude update && aptitude upgrade" and try again.
 
Old 01-04-2013, 05:05 AM   #4
OldManYoss
LQ Newbie
 
Registered: Jan 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi,

This did the trick

Run "aptitude update && aptitude upgrade" and try again.

Thanks for your help.
 
  


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
aptitude-gtk not working at all in wheezy( testing ) rupeshforu Debian 3 01-02-2013 08:54 AM
Yum install mysql mysql-server not working drewdown Linux - Software 3 06-03-2012 11:51 PM
apt-get install synaptic / aptitude install synaptic not working :S LittlePenguin Linux - Newbie 5 01-19-2011 08:25 AM
apt aptitude commands not working - how to install packages w/ damn small linux? lenou Linux - Newbie 3 01-23-2010 10:00 AM
Aptitude remove or purge <packagename> not working mirror_man Debian 16 05-06-2009 07:14 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration