草庐IT

Ubuntu22.04更换软件源

本文以Ubuntu22.04更换科大源为例演示更改软件源的方法,其他版本的Ubuntu系统或更换其他软件源,如清华源,阿里源等,方法类似。前言中国科学技术大学开源软件镜像由中国科学技术大学网络信息中心提供支持。mirrors.ustc.edu.cn是Debian,Ubuntu,Fedora,Archlinux,CentOS等多个发行版的官方源。目前是中国大陆高校访问量最大,收录最全的开源软件镜像。中国科学技术大学Linux用户协会是由中国科学技术大学在校的GNU/Linux爱好者发起并组成的一个全校性群众团体。成立协会的目的在于联合科大的GNU/Linux使用者,搭建信息交流共享的平台,宣传自

Ubuntu22.04更换软件源

本文以Ubuntu22.04更换科大源为例演示更改软件源的方法,其他版本的Ubuntu系统或更换其他软件源,如清华源,阿里源等,方法类似。前言中国科学技术大学开源软件镜像由中国科学技术大学网络信息中心提供支持。mirrors.ustc.edu.cn是Debian,Ubuntu,Fedora,Archlinux,CentOS等多个发行版的官方源。目前是中国大陆高校访问量最大,收录最全的开源软件镜像。中国科学技术大学Linux用户协会是由中国科学技术大学在校的GNU/Linux爱好者发起并组成的一个全校性群众团体。成立协会的目的在于联合科大的GNU/Linux使用者,搭建信息交流共享的平台,宣传自

failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.

记录一下,CentOS-7.9.2009.经查询得是yum源有问题。查询教程,然后得到以下结果(个人测试)手动替换Centos-Base.repo里面的内容,然后还是不行。卸载yum相关rpm然后重新安装,然后再替换Centos-Base.repo,还是不行替换Centos-Base.repo前可以备份一下cp/etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.bak下载阿里云的yum源并替换wget-O/etc/yum.repos.d/CentOS-Base.repohttps://mirrors.aliyun

【linux】conda环境安装

目录下载conda安装conda镜像源配置conda配置pip配置常用命令注意事项下载conda链接选择自己想要的版本下载,如我选的是这个,下完之后挪到linux服务器中或者,我们可以复制下载的链接,直接在服务器上下载,如:wget-chttps://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh安装conda在conda文件的统计目录下输入命令安装,一路回车,直到他要求输入yesbashAnaconda3-2021.05-Linux-x86_64.sh配置环境变量,这里的exportPATH填的是conda的bin文件地

【linux】conda环境安装

目录下载conda安装conda镜像源配置conda配置pip配置常用命令注意事项下载conda链接选择自己想要的版本下载,如我选的是这个,下完之后挪到linux服务器中或者,我们可以复制下载的链接,直接在服务器上下载,如:wget-chttps://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh安装conda在conda文件的统计目录下输入命令安装,一路回车,直到他要求输入yesbashAnaconda3-2021.05-Linux-x86_64.sh配置环境变量,这里的exportPATH填的是conda的bin文件地

Centos8更换yum阿里云源报错Failed to connect to mirrors.aliyuncs.com port 80: Connection refused]

2021年12月31日CentOS8EOL。按照社区规则,CentOS8的源地址http://mirror.centos.org/centos/8/内容已移除,目前第三方的镜像站中均已移除CentOS8的源。阿里云的源http://mirrors.cloud.aliyuncs.com和http://mirrors.aliyun.com也无法同步到CentOS8的源。当您在阿里云上继续使用默认配置的CentOS8的源会发生报错。1,运行以下命令备份之前的repo文件。rename'.repo''.repo.bak'/etc/yum.repos.d/*.repo2,运行以下命令下载最新的repo文

解决kali换源出错: 无法下载 暂时不能解析域名;E:仓库没有数字签名;N: 无法安全地用该源进行更新,所以默认禁用该源。W: GPG 错误:http://mirrors.ustc.e

给kali换中科大源,一直各种问题,如图。┌──(root💀kali)-[~]└─#aptupdate1⚙获取:1http://mirrors.ustc.edu.cn/kalikali-rollingInRelease[41.2kB]错误:1http://mirrors.ustc.edu.cn/kalikali-rollingInRelease下列签名无效:EXPKEYSIGED444FF07D8D0BF6KaliLinuxRepository正在读取软件包列表...完成W:GPG错误:http://mirrors.ustc.edu.cn/kalikali-rollingInRelease:下

git - 如何撤消 "git push --mirror"?

在一个git/github项目上,我正在一个分支上工作。一推,它说了以下内容:gitpushTogit@github.com:...![rejected]master->master(non-fast-forward)error:failedtopushsomerefsto'git@github.com:...'Topreventyoufromlosinghistory,non-fast-forwardupdateswererejectedMergetheremotechangesbeforepushingagain.Seethe'Noteaboutfast-forwards'sect

git - 如何撤消 "git push --mirror"?

在一个git/github项目上,我正在一个分支上工作。一推,它说了以下内容:gitpushTogit@github.com:...![rejected]master->master(non-fast-forward)error:failedtopushsomerefsto'git@github.com:...'Topreventyoufromlosinghistory,non-fast-forwardupdateswererejectedMergetheremotechangesbeforepushingagain.Seethe'Noteaboutfast-forwards'sect

yum install ...fastestmirrorLoading mirror speeds from cached hostfileCould not retrieve...

1.如图,在finalshell安装vim插件时,一直显示如下问题yumwith--disablerepo=epel已加载插件:fastestmirrorErrorgettingrepositorydataforepel,repositorynotfound[root@localhost~]#yumcleanall已加载插件:fastestmirror正在清理软件源:baseextrasupdatesCleaninguplistoffastestmirrors[root@localhost~]#yuminstall-yvim-minimal-7.4.629-7.el7.x86_64已加载插件: