Nano PC安装MySQLdb

mysql-server-5.5 :   Depends: mysql-client-5.5 (>= 5.5.35-0ubuntu0.13.10.2) but it is not going to be installed
            Depends: libdbi-perl but it is not going to be installed
            Depends: mysql-server-core-5.5 (= 5.5.35-0ubuntu0.13.10.2) but 5.5.43-0ubuntu0.12.04.1 is to be installed
    Recommends: libhtml-template-perl but it is not going to be installed

 

先安装mysql-common,因为它没有依赖:

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.6/mysql-common_5.6.24-0ubuntu2_all.deb

然后安装mysql-server-core,依然没有任何依赖:

 wget http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.5/mysql-server-core-5.5_5.5.43-0ubuntu0.12.04.1_armhf.deb

接着安装mysql-server-5.5:

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.5/mysql-server-5.5_5.5.43-0ubuntu0.12.04.1_armhf.deb

最后mysql-server:

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.5/mysql-server_5.5.22-0ubuntu1_all.deb

(这里的安装指的是先下载然后再执行dpkg -i “安装包名”)

 

 

 

 

 

实际上可以先在windows上下载下来然后通过samba放到开发板上。

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。