#1 2017-06-01 17:34:14
- tnek
- Member
- Registered: 2008-06-10
- Posts: 39
[SOLVED] pacstrap error: GPGME error: No data
Hi,
I downloaded the latest iso (archlinux-2017.05.01-x86_64) today. When I try to pacstrap I get:
root@archiso ~ # pacstrap /mnt base networkmanager :(
==> Creating install root at /mnt
==> Installing packages to /mnt
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 1545.0 B 0.00B/s 00:00 [################################################] 100%
core.sig 1545.0 B 0.00B/s 00:00 [################################################] 100%
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
extra 1545.0 B 0.00B/s 00:00 [################################################] 100%
extra.sig 1545.0 B 0.00B/s 00:00 [################################################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
community 1545.0 B 0.00B/s 00:00 [################################################] 100%
community.sig 1545.0 B 0.00B/s 00:00 [################################################] 100%
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
error: failed to synchronize any databases
error: failed to init transaction (invalid or corrupted database (PGP signature))
==> ERROR: Failed to install packages to new root
Any ideas? I tried pacman-key —init followed by pacman-key —populate but it didn’t help.
Last edited by tnek (2017-06-01 19:14:00)
#2 2017-06-01 18:07:18
- Scimmia
- Fellow
- Registered: 2012-09-01
- Posts: 10,051
Re: [SOLVED] pacstrap error: GPGME error: No data
Looks like you’re behind a captive portal or something. Open a CLI browser and make sure you can actually access the internet.
#3 2017-06-01 18:21:53
- tnek
- Member
- Registered: 2008-06-10
- Posts: 39
Re: [SOLVED] pacstrap error: GPGME error: No data
Scimmia wrote:
Looks like you’re behind a captive portal or something. Open a CLI browser and make sure you can actually access the internet.
It doesn’t seem to be the problem. I did try ping which worked before I ran into the problem. Now I also tried surfing the web using elinks without any problem.
Last edited by tnek (2017-06-01 18:22:17)
#4 2017-06-01 18:24:48
- Scimmia
- Fellow
- Registered: 2012-09-01
- Posts: 10,051
Re: [SOLVED] pacstrap error: GPGME error: No data
Alright, then what does `file /mnt/var/lib/pacman/sync/core.db` tell you?
#5 2017-06-01 18:49:24
- tnek
- Member
- Registered: 2008-06-10
- Posts: 39
Re: [SOLVED] pacstrap error: GPGME error: No data
Scimmia wrote:
Alright, then what does `file /mnt/var/lib/pacman/sync/core.db` tell you?
Hm… It seems to be the contents of a web page:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
html, body, #partner, iframe {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
overflow: hidden;
}
</style>
<meta content="NOW" name="expires">
<meta content="index, follow, all" name="GOOGLEBOT">
<meta content="index, follow, all" name="robots">
<!-- Following Meta-Tag fixes scaling-issues on mobile devices -->
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0;
user-scalable=0;" name="viewport">
</head>
<body>
<div id="partner"></div>
<script type="text/javascript">
function getParam() {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == 'domain') {
return pair[1];
}
}
return window.location.host;
}
;
document.write(
'<script type="text/javascript" language="JavaScript"'
+ 'src="//sedoparking.com/frmpark/'
+ getParam() + '/'
+ 'sedopark'
+ '/park.js">'
+ '</script>'
);
</script>
</body>
</html>#
#6 2017-06-01 18:53:44
- loqs
- Member
- Registered: 2014-03-06
- Posts: 15,648
Re: [SOLVED] pacstrap error: GPGME error: No data
If you change mirrors does that allow the databases to be properly downloaded indicating it is just one mirror that is redirecting to that domain parking site.
If so which mirror was linking to that site?
#7 2017-06-01 19:13:36
- tnek
- Member
- Registered: 2008-06-10
- Posts: 39
Re: [SOLVED] pacstrap error: GPGME error: No data
loqs wrote:
If you change mirrors does that allow the databases to be properly downloaded indicating it is just one mirror that is redirecting to that domain parking site.
If so which mirror was linking to that site?
It was the following server (which was the first entry):
## France
Server = http://arch.nimukaito.net/$repo/os/$arch
I commented it out and everything worked fine. Problem solved! Thanks guys!
Last edited by tnek (2017-06-01 19:14:53)
I need to fix this issue with GPGME error. I cannot upgrade or install anything. This is what I get in terminal:
sudo pacman -Syyu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 1424.0 B 0.00B/s 00:00 [######################] 100%
core.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
extra 1424.0 B 0.00B/s 00:00 [######################] 100%
extra.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
community 1424.0 B 0.00B/s 00:00 [######################] 100%
community.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
archlinuxfr 7.8 KiB 0.00B/s 00:00 [######################] 100%
I tried lots of workarounds like pacman-key --init and pacman-key --populate archlinux nothing helps.
If I edit etc/pacman.conf and insert SigLevel = Never to core and community then I get this output:
sudo pacman -Syyu
:: Synchronizing package databases...
core 1424.0 B 348K/s 00:00 [######################] 100%
extra 1424.0 B 0.00B/s 00:00 [######################] 100%
community 1424.0 B 0.00B/s 00:00 [######################] 100%
archlinuxfr 7.8 KiB 2.55M/s 00:00 [######################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
there is nothing to do
asked Oct 13, 2018 at 8:38
SOLVED!
Finally I managed to solved this. I’ll write what I’ve done.
sudo rm /var/lib/pacman/sync/*db.sig*
Edit & uncomment:
sudo nano /etc/pacman.d/mirrorlist
## Germany
Server = http://archlinux32.vollzornbrot.de/$arch/$repo
Server = https://archlinux32.vollzornbrot.de/$arch/$repo
Server = http://mirror.archlinux32.org/$arch/$repo
Server = https://mirror.archlinux32.org/$arch/$repo
# note: you need to resolve via openNIC (or similar) to access the next mirror
#Server = http://mirror.archlinux32.oss/$arch/$repo
Then:
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -Syy
sudo pacman -Syyu
Done!
answered Oct 13, 2018 at 11:37
JoKeRJoKeR
4201 gold badge7 silver badges20 bronze badges
2
I need to fix this issue with GPGME error. I cannot upgrade or install anything. This is what I get in terminal:
sudo pacman -Syyu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 1424.0 B 0.00B/s 00:00 [######################] 100%
core.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
extra 1424.0 B 0.00B/s 00:00 [######################] 100%
extra.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
community 1424.0 B 0.00B/s 00:00 [######################] 100%
community.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
archlinuxfr 7.8 KiB 0.00B/s 00:00 [######################] 100%
I tried lots of workarounds like pacman-key --init and pacman-key --populate archlinux nothing helps.
If I edit etc/pacman.conf and insert SigLevel = Never to core and community then I get this output:
sudo pacman -Syyu
:: Synchronizing package databases...
core 1424.0 B 348K/s 00:00 [######################] 100%
extra 1424.0 B 0.00B/s 00:00 [######################] 100%
community 1424.0 B 0.00B/s 00:00 [######################] 100%
archlinuxfr 7.8 KiB 2.55M/s 00:00 [######################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
there is nothing to do
asked Oct 13, 2018 at 8:38
SOLVED!
Finally I managed to solved this. I’ll write what I’ve done.
sudo rm /var/lib/pacman/sync/*db.sig*
Edit & uncomment:
sudo nano /etc/pacman.d/mirrorlist
## Germany
Server = http://archlinux32.vollzornbrot.de/$arch/$repo
Server = https://archlinux32.vollzornbrot.de/$arch/$repo
Server = http://mirror.archlinux32.org/$arch/$repo
Server = https://mirror.archlinux32.org/$arch/$repo
# note: you need to resolve via openNIC (or similar) to access the next mirror
#Server = http://mirror.archlinux32.oss/$arch/$repo
Then:
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -Syy
sudo pacman -Syyu
Done!
answered Oct 13, 2018 at 11:37
JoKeRJoKeR
4201 gold badge7 silver badges20 bronze badges
2
