Instalando o MySQL 5.1 -- installation campo com mysql camp askubuntu Relacionado O problema

Installing MySQL 5.1


2
vote

problema

português

Esta questão é certamente uma dúpeia de https://stackoverflow.com/questions/1632056/How-Vo-You-install-mysql-5-1-on-ubuntu-8-10

Como não posso comentar sobre isso ... estou começando um novo. Eu estou tendo o mesmo problema que o op anterior e eu segui a resposta fornecida por Andrew (a primeira resposta com 2 votar ups) e adicionou o repo.:

  deb http://packages.dotdeb.org lenny all    

fez um

  sudo apt-get update    

e depois um

  sudo apt-get install mysql-server-5.1    

Mas ainda recebo o seguinte erro:

  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 from the Synaptic Package Depends: mysql-client-5.1 (>= 5.1.58-1~dotdeb.0) but it is not going to be installed Depends: libdbi-perl but it is not installable  Recommends: libhtml-template-perl but it is not installable  E: Broken packages    

Eu também localizei o MySQL-Server-5.1 no Gerenciador de Pacotes Synaptic e tentei atualizar o pacote de lá, mas ainda recebo o seguinte erro:

  mysql-server-5.1:  Depends: mysql-client-5.1 but it is not going to be installed  Depends: libdbi-perl  but it is not installable  Recommends: libhtml-template-perl  but it is not installable    

edit:

O conteúdo do arquivo Sources.List após adicionar o repo DotDEB.

  # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ natty main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ natty main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ natty universe deb-src http://us.archive.ubuntu.com/ubuntu/ natty universe deb http://us.archive.ubuntu.com/ubuntu/ natty-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ natty multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ natty multiverse deb http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse  ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse  deb http://security.ubuntu.com/ubuntu natty-security main restricted deb-src http://security.ubuntu.com/ubuntu natty-security main restricted deb http://security.ubuntu.com/ubuntu natty-security universe deb-src http://security.ubuntu.com/ubuntu natty-security universe deb http://security.ubuntu.com/ubuntu natty-security multiverse deb-src http://security.ubuntu.com/ubuntu natty-security multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu natty partner deb-src http://archive.canonical.com/ubuntu natty partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu natty main deb-src http://extras.ubuntu.com/ubuntu natty main deb http://archive.canonical.com/ lucid partner deb-src http://archive.canonical.com/ lucid partner deb http://packages.dotdeb.org lenny all deb-src http://packages.dotdeb.org lenny all    

Estou tendo problemas para instalar o Alomost todos os pacotes como o OpenJDK, Skype ....: (

english

this question is surely a dupe of https://stackoverflow.com/questions/1632056/how-do-you-install-mysql-5-1-on-ubuntu-8-10

Since I can't comment on that one...I am starting a new one. I'm having the same problem as the previous OP and I followed the answer provided by Andrew (the first answer with 2 vote ups) and added the repo.:

deb http://packages.dotdeb.org lenny all 

did a

sudo apt-get update 

and then a

sudo apt-get install mysql-server-5.1 

But still I get the following error:

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 from the Synaptic Package Depends: mysql-client-5.1 (>= 5.1.58-1~dotdeb.0) but it is not going to be installed Depends: libdbi-perl but it is not installable  Recommends: libhtml-template-perl but it is not installable  E: Broken packages 

I have also located the mysql-server-5.1 from the synaptic package manager and tried to update the package from there but I still get the following error:

mysql-server-5.1:  Depends: mysql-client-5.1 but it is not going to be installed  Depends: libdbi-perl  but it is not installable  Recommends: libhtml-template-perl  but it is not installable 

Edit:

The contents of the sources.list file after adding the dotdeb repo.

# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ natty main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ natty main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ natty universe deb-src http://us.archive.ubuntu.com/ubuntu/ natty universe deb http://us.archive.ubuntu.com/ubuntu/ natty-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ natty multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ natty multiverse deb http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse  ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse  deb http://security.ubuntu.com/ubuntu natty-security main restricted deb-src http://security.ubuntu.com/ubuntu natty-security main restricted deb http://security.ubuntu.com/ubuntu natty-security universe deb-src http://security.ubuntu.com/ubuntu natty-security universe deb http://security.ubuntu.com/ubuntu natty-security multiverse deb-src http://security.ubuntu.com/ubuntu natty-security multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu natty partner deb-src http://archive.canonical.com/ubuntu natty partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu natty main deb-src http://extras.ubuntu.com/ubuntu natty main deb http://archive.canonical.com/ lucid partner deb-src http://archive.canonical.com/ lucid partner deb http://packages.dotdeb.org lenny all deb-src http://packages.dotdeb.org lenny all 

I'm having problems installing alomost every package like the openJDK, Skype ....:(

     

Lista de respostas

1
 
vote
vote
Melhor resposta
 

Essa versão do DotDeb.org está terrivelmente desatualizada, o Ubuntu Natty já possui o pacote do servidor MySQL nos repositórios.

Eu sugiro que você remova os últimos três deb e deb-src linhas que não são adicionadas por padrão:

  • extras.ubuntu.com : A partir de agora, não há pacotes para netty disponíveis a partir desse repo. Isso só apresentará um atraso na atualização de suas listas de pacotes, pois ainda deve ser buscada
  • archive.canonical.com lucid partner : Lucid? Você está correndo natty e já tem um repositório parceiro para netty.
  • packages.dotdeb.org : esses pacotes são feitos para o Debian e podem não ser compatíveis com o Ubuntu

Por favor corrija isso, atualize suas listas de pacotes ( sudo apt-get update ) e tente instalar o MySQL novamente:

  sudo apt-get install mysql-server    
 

That version from dotdeb.org is horribly outdated, Ubuntu Natty does already have the MySQL server package in the repositories.

I suggest you to remove the last three deb and deb-src lines which are not added by default:

  • extras.ubuntu.com: as of now, no packages for natty are available from that repo. This will only introduce a delay on updating your packages lists since it must still be fetched
  • archive.canonical.com lucid partner: lucid? You're running Natty and already have a partner repo for Natty.
  • packages.dotdeb.org: these packages are made for Debian and might not be compatible with Ubuntu

Please fix that, refresh your package lists (sudo apt-get update) and try to install MySQL again:

sudo apt-get install mysql-server 
 
 
         
         

Perguntas relacionadas

2  Problemas de instalação do MySQL no Ubuntu 14.04  ( Problems installing mysql on ubuntu 14 04 ) 
Eu acertei o seguinte erro em breve em inserir a senha do MySQL "Root": An error occurred while setting the password for the MySQL administrative user. Th...

22  Bash Script não executando de Crontab [Duplicate]  ( Bash script not executing from crontab ) 
. Esta pergunta já tem respostas aqui : Por que os scripts crontab não estão funcionando? ...

1  Como faço para exportar um banco de dados no Ubuntu para localização especificada usando o terminal  ( How do i export a database in ubuntu to specified location using terminal ) 
Eu recebo uma tela em branco desde que instalei os drivers gráficos ATI. Eu tentei muitas coisas restaurar meu laptop, mas tudo em vão. Apenas a formatação pa...

9  Não é possível iniciar o MySQL Server após a atualização  ( Unable to start mysql server after update ) 
Hoje atualizei o sistema e não consigo iniciar o servidor MySQL: Estou recebendo o seguinte erro: Software Center3 mas eu já adicionei a exceção no /e...

1  Instalando o MySQL no Ubuntu com Putty  ( Installing mysql in ubuntu with putty ) 
Então ... estou tentando instalar o MySQL Server no Ubuntu 10.04 (eu não quero outra versão do Ubuntu) e não funciona ... Eu tentei: sudo apt-get install m...

36  Como instalar o MySQL 5.6?  ( How to install mysql 5 6 ) 
Acabei de instalar o Ubuntu 12.10 (AMD64) e desejo instalar uma versão recente do MySQL 5.6. Se possível, gostaria de instalar (não atualizar) o "Debian Way...

1  Mythbuntu 16.04 banco de dados falha no backend mythtv 0,28 a 0,29 Upgrade  ( Mythbuntu 16 04 database fail in backend mythtv 0 28 to 0 29 upgrade ) 
Eu atualizei em 16.04 Ubuntu de 0,28 a 0,29 usando os repositórios, e acho que a parte de atualização do banco de dados falhou. Clientes não podem se conect...

19  Por que é /etc/mysql/my.cnf vazio?  ( Why is etc mysql my cnf empty ) 
Eu estou tentando editar o arquivo my.cnf para permitir o acesso remoto e, finalmente, usar software do meu servidor Windows para configurar o backup agenda...

0  Status do Apache de repente pára  ( Apache status suddenly stops ) 
Eu tenho um problema com o meu Apache, estou executando o Ubuntu Server 12.04 em um VPS. Eu tenho uma pilha de lâmpada básica, meu problema é isso, a cada pou...

7  Por que /etc/init.d/mysql executou o trabalho errado do upstart?  ( Why would etc init d mysql run the wrong upstart job ) 
update: /lib/init/upstart-job foi substituído pelo script MongoDB Init. Por alguma razão, /etc/init.d/mysql start|stop|restart|status ( /etc/init.d/...




© 2022 pergunte.org All Rights Reserved. Casa de perguntas e respostas todos os direitos reservados


Licensed under cc by-sa 3.0 with attribution required.