【发布时间】:2015-02-25 16:12:20
【问题描述】:
我正在尝试编译 MySQL 5.6 以安装到 Raspberry Pi 上(我需要它用于无法在 5.5 上运行的地理模块,叹息...)。
根据别人的建议,我正在尝试这样做:
apt-get install build-essential debhelper devscripts debian-keyring
dget http://ftp.de.debian.org/debian/pool/main/m/mysql-5.6/mysql-5.6_5.6.19-1~exp1.dsc
cd mysql-5.6-5.6.19
dpkg-buildpackage -b
(install any missing build dependencies it compalins about)
dpkg-buildpackage -b
但是,第二个命令出错:
pi@raspberrypi ~ $ dget http://ftp.de.debian.org/debian/pool/main/m/mysql-5.6/mysql-5.6_5.6.19-1~exp1.dsc
dget: retrieving http://ftp.de.debian.org/debian/pool/main/m/mysql-5.6/mysql-5.6_5.6.19-1~exp1.dsc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2703 100 2703 0 0 16084 0 --:--:-- --:--:-- --:--:-- 30715
dget: using existing mysql-5.6_5.6.19.orig.tar.gz
dget: using existing mysql-5.6_5.6.19-1~exp1.debian.tar.xz
mysql-5.6_5.6.19-1~exp1.dsc:
dscverify: mysql-5.6_5.6.19-1~exp1.dsc failed signature check:
gpg: keyblock resource `/home/pi/.gnupg/secring.gpg': file open error
gpg: Signature made Mon 21 Jul 2014 15:08:15 UTC using RSA key ID A0E7D8C3
gpg: fatal: /home/pi/.gnupg: directory does not exist!
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768
Validation FAILED!!
有人知道为什么吗?
由于停电,我确实不得不在第一次尝试中中止......我认为在执行第一个或第二个命令期间......这可能会搞砸吗?如果是这样,有什么办法纠正吗?
【问题讨论】:
-
我有 gpg (GnuPG) 1.4.12... 这还不够好吗?它似乎不想更新并且 git clone 失败,因为据称我没有 automake(系统说我有 automake)...
标签: mysql debian raspberry-pi gnupg mysql-5.6