Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to install MySQL on Squeeze (Debian), but I get this error message from apt:

mysql-server : Depends: mysql-server-5.1 but it is not going to be installed

I have tried to use a different source, but the issue persists.

source.list:

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

I guess it's a dependency problem but I don't know which repositories are fine.

root@10909-05:/archiv# apt-get install mysql-server-5.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-server-5.1 : Depends: mysql-client-5.1 (>= 5.1.73-1) but it is not going to be installed <br>
                    Depends: libdbi-perl but it is not going to be installed
E: Broken packages

EDIT: I upgraded to wheezy, now I can install mysql-server.

share|improve this question
    
Please provide your sources.list file. Have you tried apt-get -f install ? –  b13n1u Aug 31 at 11:59
    
source.list: deb ftp.de.debian.org/debian squeeze main deb-src ftp.de.debian.org/debian squeeze main apt-get -f install: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. –  fips123 Aug 31 at 12:00
    
Add those repos to your source.list file: deb http://http.us.debian.org/debian/ squeeze main contrib non-free # Stable Sources deb-src http://http.us.debian.org/debian/ squeeze main contrib non-free Then run apt-get update and try to install the package. –  b13n1u Aug 31 at 12:08
    
Same result: mysql-server : Depends: mysql-server-5.1 but it is not going to be installed –  fips123 Aug 31 at 12:13
    
When adding extra information, please edit the question and add it there with proper formatting. What does apt-get install mysql-server-5.1 tell you? –  Tero Kilkanen Aug 31 at 12:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.