Problem: Centos8 installation software appears
Cenos-8-appstream 28 B/s | 38 B 00:01
cenos-8-base 111 B/s | 38 B 00:00
cenos-8-extras 114 B/s | 38 B 00:00
Failed to synchronize cache for ‘AppStream’, ignoring this repo.
Failed to synchronize cache for repo ‘BaseOS’, ignoring this repo.
Failed to synchronize cache for repo ‘extras’, ignoring this repo.
No matches found.
————————————————————————————————–
Solution: Go to the configuration file and open /etc/yum.repos. D to change basEURl to the address of Ali Cloud.
cd /etc/yum.repos.d
vi CentOS-Base.repo
Change ## to the following
CentOS-Base.repo [BaseOS] name=CentOS-$releasever – Base baseurl=https://mirrors.aliyun.com/centos/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
vi CentOS-AppStream.repo
## CentOS-AppStream.repo [AppStream] name=CentOS-$releasever – AppStream baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
The DNF command or yum command can be executed after modification
DNF Clean All # clears all cache files
DNF Makecache # make metadata cache
Refer to the link: https://my.oschina.net/u/930279/blog/3112152/print
Cenos-8-appstream 28 B/s | 38 B 00:01
cenos-8-base 111 B/s | 38 B 00:00
cenos-8-extras 114 B/s | 38 B 00:00
Failed to synchronize cache for ‘AppStream’, ignoring this repo.
Failed to synchronize cache for repo ‘BaseOS’, ignoring this repo.
Failed to synchronize cache for repo ‘extras’, ignoring this repo.
No matches found.
————————————————————————————————–
Solution: Go to the configuration file and open /etc/yum.repos. D to change basEURl to the address of Ali Cloud.
cd /etc/yum.repos.d
vi CentOS-Base.repo
Change ## to the following
CentOS-Base.repo [BaseOS] name=CentOS-$releasever – Base baseurl=https://mirrors.aliyun.com/centos/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
vi CentOS-AppStream.repo
## CentOS-AppStream.repo [AppStream] name=CentOS-$releasever – AppStream baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
The DNF command or yum command can be executed after modification
DNF Clean All # clears all cache files
DNF Makecache # make metadata cache
Refer to the link: https://my.oschina.net/u/930279/blog/3112152/print
Read More:
- Alicloud centos8 reports an error “error: failed to synchronize cache for repo ‘EPEL modular’”
- Error: Failed to synchronize cache for repo ‘fedora’
- The solution to frequently pop up “cannot find a valid baseurl for repo” error prompt box in CentOS 6.7
- CentOS 7 installation error: Cannot find a valid baseurl for repo: base/7/x86_6
- Alicloud CentOS 5 old version yum/ repomd.xml : [Errno 14] HTTP Error 404: Not Found
- Condahttperror:HTTP000 Connection Failed for URL https://repo.anaconda.com/pkgs/main/win-6
- Solution to Vue cli · failed to download repo vuejs templates/webpack: connect etimeout followed by an IP digital error message
- Vue cli · failed to download repo vuejs templates / webpack: read econnreset
- Giterror: error cloning remote repo ‘origin’ hudson.plugins.git .GitException
- Error reporting in CentOS 7 using yum
- Solve the error error fetching remote repo origin problem in Git on Jenkins
- Repo reports an error syntax error: invalid syntax
- CentOS uses Yum install to report errors
- After installation, Ubuntu encountered [SDB] asking for cache data failed assembling drive cache: write through
- Jenkins appears error: error cloning remote repo ‘origin solution (set global tool configuration)
- Solve runtimeerror: reduce failed to synchronize: device side assert triggered problem
- Docker CentOS Failed to get D-Bus connection: Operation not permitted
- Error resolving version for plugin ‘org.apache.maven.plugins:maven-compiler-plugin’ from the repo…
- Centos Failed to Modify the port of SSH: error: Bind to port 27615 on 0.0.0.0 failed: Permission denied.
- CentOS install therapee and LibTiff