VPS Fix Lỗi [errno 14] Pycurl Error 22

Discussion in 'Máy chủ' started by Twisted, Jul 8, 2015.

  1. Twisted Membership

    Dạo gần đây, khi tạo mới VPS ở Vultr hay DigitalOcean mình thường gặp lỗi [Errno 14] PYCURL ERROR 22 khi sử dụng lệnh yum. Nội dụng có thể như sau:
    Code:
    [[email protected] ~]# yum -y install wget
    Loaded plugins: fastestmirror
    Setting up Install Process
    Determining fastest mirrors
    epel/metalink | 4.0 kB 00:00
    * base: www.ftp.ne.jp
    * epel: ftp.kddilabs.jp
    * extras: www.ftp.ne.jp
    * updates: www.ftp.ne.jp
    base | 3.7 kB 00:00
    base/primary_db | 4.6 MB 00:00
    epel | 4.4 kB 00:00
    http://ftp.kddilabs.jp/Linux/packages/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.tsukuba.wide.ad.jp/Linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    Trying other mirror.
    http://mirror.premi.st/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.yzu.edu.tw/Linux/Fedora-EPEL/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://epel.mirror.srv.co.ge/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.kddilabs.jp/Linux/packages/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.tsukuba.wide.ad.jp/Linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://kartolo.sby.datautama.net.id/EPEL/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://mirror.premi.st/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://ftp.yzu.edu.tw/Linux/Fedora-EPEL/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://epel.mirror.srv.co.ge/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    Error: failure: repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2 from epel: [Errno 256] No more mirrors to try.
    Trường hợp này các bạn có thể fix bằng cách:

    1. Điều chỉnh lại Nameserver
    Nếu đã có nameserver nào rồi thì bạn hãy xóa đi, rồi thêm 2 dòng sau vào phía cuối:
    Save file lại và Exit

    2. Xóa cache
    Vậy là xong.
     
    #1

Share This Page