2017-05-08 124 views
0

程序包re2-20170101-1未安裝。無法在arch linux上安裝原子編輯器

我也標誌着額外的siglevel從來沒有,因爲這是給簽名錯誤之前

error: re2: signature from "Anatol Pomozov <[email protected]>" is invalid 
:: File /var/cache/pacman/pkg/re2-20170101-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). 
Do you want to delete it? [Y/n] n 

然後我打上額外的siglevel從未

[extra] 
SigLevel = Never 
Include = /etc/pacman.d/mirrorlist 

,所以我得到這個錯誤。(404錯誤是還在添加signlevel = Never之前)

[[email protected] pacman.d]$ sudo pacman -S atom 
resolving dependencies... 
looking for conflicting packages... 

Packages (5) apm-1.18.1-1 electron-1.4.16-2 minizip-1:1.2.11-1 
      re2-20170101-1 atom-1.16.0-1 

Total Download Size:  0.15 MiB 
Total Installed Size: 217.06 MiB 

:: Proceed with installation? [Y/n] 
:: Retrieving packages... 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.f4st.host : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.cicku.me : Failed to connect to mirrors.cicku.me port 80: Connection refused 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.nluug.nl : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.myrveln.se : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.hactar.xyz : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.dynamict.se : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirror.ba : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.tyborek.pl : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.uni-plovdiv.net : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.neuf.no : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.archlinux.no : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.js-webcoding.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.n-ix.net : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.de.leaseweb.net : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.gnomus.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirrors.uk2.net : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.aur.rocks : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.acc.umu.se : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.23media.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror5.bastelfreak.org : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from gluttony.sin.cvut.cz : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.datacenter.by : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.rnl.tecnico.ulisboa.pt : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.kaminski.io : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.snt.utwente.nl : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.manchester.m247.com : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.cinosure.com : The requested URL returned error: 403 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.niyawe.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.byfly.by : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.lug.mtu.edu : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirror.kangaroot.net : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.nl.leaseweb.net : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.rit.edu : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.fluxent.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.netcologne.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.united-gameserver.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.wa.co.za : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from arch.midov.pl : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.is.co.za : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.surlyjake.com : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirror.wearetriple.com : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.vi-di.fr : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from foss.aueb.gr : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.swin.edu.au : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.openlabto.org : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.metalgamer.eu : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.vfn-nrw.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archimonde.ts.si : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.mirrors.linux.ro : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from fooo.biz : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.es.its.nyu.edu : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from www.gtlib.gatech.edu : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.pseudoform.org : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.vpsfree.cz : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from ftp.lysator.liu.se : The requested URL returned error: 404 
error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from archlinux.polymorf.fr : The requested URL returned error: 404 
re2-20170101-1-x86_64 1190.0 B 0.00B/s 00:00 [######################] 100% 
(5/5) checking keys in keyring      [######################] 100% 
(5/5) checking package integrity     [######################] 100% 
:: File /var/cache/pacman/pkg/re2-20170101-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)). 
Do you want to delete it? [Y/n] 
+0

什麼是你的內核版本? 並嘗試更新軟件包db:「pacman -Sy」 – MTroy

回答

4
  1. 吃豆子說,關鍵是破壞:

error: re2: signature from "Anatol Pomozov " is invalid :: File /var/cache/pacman/pkg/re2-20170101-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] n

注:SigLevel = Never你不應該避開檢查,以保持安全。

取而代之的是,你必須刷新你的鑰匙列表:

pacman-key --refresh-keys 

如果你從來沒有導入前全ArchLinux的鑰匙圈,你應該得到它(刷新前):

pacman-key --populate archlinux 

  1. 最後,可以看到pacman找不到存檔。 這經常發生在pkg修訂已更改並過期時。 (你以前無法看到的那樣,PGP錯誤的原因)

error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirror.f4st.host : The requested URL returned error: 404 error: failed retrieving file 're2-20170101-1-x86_64.pkg.tar.xz' from mirrors.cicku.me : Failed to connect to mirrors.cicku.me port 80: Connection refused

讓我們刷新倉庫數據庫:

sudo pacman -Sy 
pacman -S atom 
+0

謝謝你的回答。 – codenut

+0

歡迎您;-) – MTroy