为Raspberry Pi编译MySQL 5.6-验证错误

为Raspberry Pi编译MySQL 5.6-验证错误,mysql,debian,raspberry-pi,gnupg,mysql-5.6,Mysql,Debian,Raspberry Pi,Gnupg,Mysql 5.6,我正在尝试编译MySQL 5.6,以便安装到Raspberry Pi上(我需要它用于无法在5.5上工作的geo模块,叹气…) 在别人的推荐下,我正这样尝试: 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

我正在尝试编译MySQL 5.6,以便安装到Raspberry Pi上(我需要它用于无法在5.5上工作的geo模块,叹气…)

在别人的推荐下,我正这样尝试:

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!!
有人知道为什么吗

由于停电,我第一次尝试时不得不放弃。。。我想在执行第一个或第二个命令时。。。这会把事情搞砸吗?如果是,有什么方法可以纠正吗?

这有助于:

sudo gpg -k

然后安装它出错的任何丢失的包,然后进行最终生成/编译。

我也遇到了同样的错误,但我的问题是我没有使用提升的权限运行。一旦我用
sudo
运行了
dget
,它就工作了。

检查:。我有gpg(GnuPG)1.4.12。。。这还不够好吗?它似乎不想更新,git克隆失败,因为据称我没有automake(系统说我有automake)。。。