pacman安装ubuntu_用Pacman安装软件包

在尝试安装Arch Linux和使用Manjaro时遇到了Pacman的GPG错误,导致无法更新或安装软件包。错误提示为'GPGME error: No data'和'invalid or corrupted database (PGP signature)'. 已经尝试过更换不同的镜像源,并在Manjaro上安装archlinux-keyring,但问题仍然存在。怀疑是ISP过滤导致的,寻求解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I have been using Ubuntu/Mint for some years now, but I'm new to Arch Linux and such. I tried installing Arch Linux using this guide and at the time of running pacstrap -i /mnt base I got an error such as

==> 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

I took that as an inability of mine to install Arch Linux and tried to install Manjaro instead. It installed fine, but when I run, for example, pacman -Syu from Manjaro I get a similar error.

I did some digging (for example here) and I think that it's an issue with my ISP. To use the words another person used: I think my "ISP is filtering and redirecting pacman requests to it's own html redirection page".

问题是我无法从另一个ISP安装它。有什么办法解决吗?

P.S.: I've tried already pretty much everything on this page.

编辑

我尝试了几个不同的镜子,它们都给出了相同的结果。

I tried running pacman -S archlinux-keyring on Manjaro and this is the output:

error: GPGME error: No data

error: GPGME error: No data

error: database 'community' is not valid (invalid or corrupted database (PGP signature))

error: database 'multilib' is not valid (invalid or corrupted database (PGP signature))

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值