The solution for the " There are no enabled repositories in "/etc/yum.repos.d"" Error | OpenEuler OS
enter root
username: root
password: *****
type CLI below to open repo. use vi editor.
$vi /etc/yum.repos.d/openEuler_x86_64.repo
Enter the text below:
1. press 'i' for insert
2. Copy and Ctrl+V
3. press ESC and then press :wq [enter]
#############
[OS]
name=OS
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler
[everything]
name=everything
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/everything/$basearch/RPM-GPG-KEY-openEuler
[EPOL]
name=EPOL
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/EPOL/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler
[debuginfo]
name=debuginfo
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/debuginfo/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/debuginfo/$basearch/RPM-GPG-KEY-openEuler
[source]
name=source
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/source/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/source/RPM-GPG-KEY-openEuler
[update]
name=update
baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/update/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler
[ukui]
name=ukui
baseurl=http://121.36.3.168:82/home:/john33:/branches:/openEuler:/20.03:/LTS/standard_aarch64/
enabled=1
gpgcheck=0
priority=1
##############
Sources:
1. https://www.youtube.com/watch?v=Gs4FDVvxJCs&ab_channel=S.Art
2. https://gitee.com/openkylin-backup/ukui-issues/blob/master/openEuler_UKUI_install.md
Comments
Post a Comment