You are not logged in.

#1 2018-02-10 03:06:22

daguq
Member
Registered: 2016-09-13
Posts: 34

Arch Linux update .

I have been trying to update , but I keep getting this error .

pacman -Syuw     
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from sgp.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'core.db' from mirror.osbeck.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'core.db' from ind.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'core.db' from mirror.0x.sg : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'core.db' from mirrors.tuna.tsinghua.edu.cn : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from sgp.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'extra.db' from mirror.osbeck.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'extra.db' from ind.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'extra.db' from mirror.0x.sg : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'extra.db' from mirrors.tuna.tsinghua.edu.cn : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from sgp.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'community.db' from mirror.osbeck.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'community.db' from ind.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'community.db' from mirror.0x.sg : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'community.db' from mirrors.tuna.tsinghua.edu.cn : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed to update community (download library error)
error: failed retrieving file 'multilib.db' from sgp.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'multilib.db' from ftp.jaist.ac.jp : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'multilib.db' from mirror.osbeck.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'multilib.db' from ind.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'multilib.db' from mirror.0x.sg : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'multilib.db' from mirrors.tuna.tsinghua.edu.cn : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed to update multilib (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

I have tried the recommended method .
But that doesn't seem to work for me either .

Offline

#2 2018-02-10 03:10:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Arch Linux update .

How long since you updated? This almost sounds like something went wrong with https://www.archlinux.org/news/ca-certi … ervention/

Offline

#3 2018-02-10 03:11:23

daguq
Member
Registered: 2016-09-13
Posts: 34

Re: Arch Linux update .

I update daily , it's my daily driver OS .

Offline

#4 2018-02-10 03:13:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Arch Linux update .

Reinstall all of the ca-certificates* packages, see if they give any errors

Offline

#5 2018-02-10 03:17:30

daguq
Member
Registered: 2016-09-13
Posts: 34

Re: Arch Linux update .

This is what I got

sudo pacman -S ca-certificates  
warning: ca-certificates-20170307-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) ca-certificates-20170307-1

Total Download Size:   0.00 MiB
Total Installed Size:  0.00 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'ca-certificates-20170307-1-any.pkg.tar.xz' from sgp.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'ca-certificates-20170307-1-any.pkg.tar.xz' from ftp.jaist.ac.jp : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'ca-certificates-20170307-1-any.pkg.tar.xz' from mirror.osbeck.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'ca-certificates-20170307-1-any.pkg.tar.xz' from ind.mirror.pkgbuild.com : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'ca-certificates-20170307-1-any.pkg.tar.xz' from mirror.0x.sg : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
error: failed retrieving file 'ca-certificates-20170307-1-any.pkg.tar.xz' from mirrors.tuna.tsinghua.edu.cn : error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

Offline

#6 2018-02-10 03:20:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Arch Linux update .

So you cleared out your cache of all packages you had installed? Grab them manually from a mirror or with another system if you have to.

And notice I said ca-certificates*, that "*" is important as you need to reinstall all of them, not just the metapackage.

Offline

#7 2018-02-10 03:23:03

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Arch Linux update .

If that does solve the problem (likely it would) you may want to check your disc integrity. Unless you know of some other reason for files to disappear (were you doing unsafe hibernates and accesses, or perhaps doing some funny mounting schemes and forgot to mount during an update etc).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#8 2018-02-10 03:33:25

daguq
Member
Registered: 2016-09-13
Posts: 34

Re: Arch Linux update .

Offline

#9 2018-02-10 04:03:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Arch Linux update .

Please edit your first post and change the title to one that actually describes your issue:
https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB