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

 

下面每一次wget之后记住要安装(dpkg -i XXXX)下载的包

 

此次的安装包(mysql-server和mysql-client)都是5.5.43,所以必须版本统一!安装时需注意!

 

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

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.5/mysql-common_5.5.43-0ubuntu0.12.04.1_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

 

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/libn/libnet-daemon-perl/libnet-daemon-perl_0.43-1_all.deb

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/libp/libplrpc-perl/libplrpc-perl_0.2020-2_all.deb


wget http://ports.ubuntu.com/ubuntu-ports/pool/main/libd/libdbi-perl/libdbi-perl_1.616-1build2_armhf.deb

 

安装mysql-client:

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/libt/libterm-readkey-perl/libterm-readkey-perl_2.30-4build3_armhf.deb

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

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/libd/libdbd-mysql-perl/libdbd-mysql-perl_4.020-1build2_armhf.deb

wget http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.5/mysql-client-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.43-0ubuntu0.12.04.1_all.deb

 

 

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

posted @ 2015-05-14 21:58  yinsua  阅读(426)  评论(0编辑  收藏  举报