zoukankan      html  css  js  c++  java
  • Fedora 12 源-fedora.repo

    官方源还是最可靠的,虽然速度未必很快,总比 404 强

    http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/12/i386/

    sudo vim fedora.repo 清空文件后,贴入以下官方源

    [Fedora-fedoraproject.org]
    name=Fedora 12 – i386
    baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/12/i386/
    enabled=1
    gpgcheck=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
    

    sudo vim fedora.repo

    [fedora]
    name=Fedora $releasever - $basearch
    failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
    baseurl=http://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/$releasever/Everything/$basearch/os/
    #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
    enabled=1
    metadata_expire=7d
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    
    [fedora-debuginfo]
    name=Fedora $releasever - $basearch - Debug
    failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
    enabled=0
    metadata_expire=7d
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    
    [fedora-source]
    name=Fedora $releasever - Source
    failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
    enabled=0
    metadata_expire=7d
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    

      

    sudo vim fedora-updates.repo

    [updates]
    name=Fedora $releasever - $basearch - Updates
    failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
    baseurl=http://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/$releasever/$basearch/
    #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    
    [updates-debuginfo]
    name=Fedora $releasever - $basearch - Updates - Debug
    failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    
    [updates-source]
    name=Fedora $releasever - Updates Source
    failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    

      

    sudo yum clean all

    sudo yum makecache

     

    Copyright © 2021 Primzahl. All rights reserved.

  • 相关阅读:
    移动支付
    PowerBI
    PowerBI
    Fiddler 页面字段(图标)含义详解
    Fiddler 抓包淘宝小程序(Android)
    【练习读写excel文件】读取sheet1里面a列的值,逐行粘贴到sheet2,3,4,5,6,7里面的指定字段
    【练习读写excel文件】根据某一字段将相同的类拆分
    【练习读写excel文件】创建workbook和批量创建Sheet
    require.js的使用的坑!
    js的异步的问题的再次理解
  • 原文地址:https://www.cnblogs.com/Primzahl/p/10512547.html
Copyright © 2011-2022 走看看