Available in VPC
NAVER Cloud Platform provides an NCP Repository specific to each Linux OS.
An NCP repository is a private repository provided by NAVER Cloud Platform for environments such as VPC private subnets where external access may not be smooth.
An NCP repository is provided for customer convenience, but the latest package may not be available.
If you need the latest package for security enhancement or authentication reviews, see Q. Can I use external public mirror sites? to consider changing the settings to an external Mirror site.
OS repository types currently provided
For the OSes provided in the VPC environment, the following NCP repositories are available:
- NAVIX 9
9.6 - CentOS
7.9.2009 - Rocky Linux
8.10
9.5 | 9.6 | 9.7 - Ubuntu
18.04 | 20.04 | 22.04 | 24.04
Repository synchronization cycle
OS Repository synchronization is carried out 1 time per quarter.
OS Repository is updated to the latest status at the beginning of each quarter (March, June, September, and December). Updates are carried out with the aim of ensuring that synchronization begins on the 1st Monday of the last month of each quarter and ends by the 1st Wednesday.
Check the repository settings for Linux OS
To check the repository settings for each Linux OS, follow these steps:
CentOS
For CentOS, the repository configuration file is under the /etc/yum.repos.d directory.
The base URL of the NCP repository is http://repo.ncloud.com/centos.
- Remotely access the server you want to check the repository information of.
- Check the repository information set on the server.
[root@centos78 ~]# grep ^baseurl /etc/yum.repos.d/CentOS-Base.repo baseurl=http://mirror.ncloud.com/centos/$releasever/os/$basearch baseurl=http://mirror.ncloud.com/centos/$releasever/updates/$basearch/ baseurl=http://mirror.ncloud.com/centos/$releasever/extras/$basearch/ baseurl=http://mirror.ncloud.com/centos/$releasever/centosplus/$basearch/ baseurl=http://mirror.ncloud.com/centos/$releasever/contrib/$basearch/ - Currently, the base URL for CentOS is
http://mirror.ncloud.com/centos, but we recommend usinghttp://repo.ncloud.com/centos.[root@centos78 ~]# sed -i 's|^baseurl=http://mirror.ncloud.com|baseurl=http://repo.ncloud.com|' /etc/yum.repos.d/CentOS-Base.repo - Check the changed repository information.
[root@centos78 ~]# grep ^baseurl /etc/yum.repos.d/CentOS-Base.repo baseurl=http://repo.ncloud.com/centos/$releasever/os/$basearch baseurl=http://repo.ncloud.com/centos/$releasever/updates/$basearch/ baseurl=http://repo.ncloud.com/centos/$releasever/extras/$basearch/ baseurl=http://repo.ncloud.com/centos/$releasever/centosplus/$basearch/ baseurl=http://repo.ncloud.com/centos/$releasever/contrib/$basearch/
Rocky Linux 8
For Rocky Linux, the repository configuration file is under the /etc/yum.repos.d directory.
The base URL of the NCP repository is http://repo.ncloud.com/rocky.
- Remotely access the server you want to check the repository information of.
- Check the repository information connected to the server.
[root@kvm-rockylinux810 ~]# grep ^baseurl /etc/yum.repos.d/Rocky-{BaseOS,AppStream,Extras}.repo /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-Extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/os/ - (Option) If the results of the commands in step 2 differ and the Rocky-Extras.repo file doesn't exist, download the corresponding configuration file.Note
As mentioned in Repository FAQs, if you're experiencing a pause in Extras during the dnf commands after the dnf update, you can prevent this by downloading the Rocky-Extras.repo file.
[root@kvm-rockylinux810 ~]# wget -O /etc/yum.repos.d/Rocky-Extras.repo http://init.ncloud.com/server/linux/repo/rocky8/Rocky-Extras.repo [root@kvm-rockylinux810 ~]# grep ^baseurl /etc/yum.repos.d/Rocky-{BaseOS,AppStream,Extras}.repo /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-Extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/os/ - Rocky Linux 8 is configured to only refer to the repository packages of the corresponding OS version. To change the configuration to refer to packages or kernels from higher versions, follow these steps:Note
To ensure compatibility with other NAVER Cloud Platform services, the DNF configuration of the Rocky Linux server is fixed to the corresponding OS version. Removing this setting or adding the dnf command option allows you to refer to versions other than the current OS version.
[root@kvm-rockylinux810 ~]# cat /etc/dnf/vars/releasever 8.10 - Change the settings to refer to the RPM files from a higher-version repository instead of those from the repository of the current OS version.
[root@kvm-rockylinux810 ~]# rm /etc/dnf/vars/releasever rm: remove regular file '/etc/dnf/vars/releasever'? y [root@kvm-rockylinux810 ~]# dnf clean all 22 files removed [root@kvm-rockylinux810 ~]# dnf list kernel Installed Packages kernel.x86_64 4.18.0-553.el8_10 @System kernel.x86_64 4.18.0-553.5.1.el8_10 @System Available Packages kernel.x86_64 4.18.0-553.53.1.el8_10 baseos
Rocky Linux 9
For Rocky Linux, the repository configuration file is under the /etc/yum.repos.d directory.
The base URL of the NCP repository is http://repo.ncloud.com/rocky.
- Remotely access the server you want to check the repository information of.
- Check the repository information saved to the server.
[root@kvm-rockylinux94 ~]# grep ^baseurl /etc/yum.repos.d/rocky* | grep -e "/BaseOS/" -e "/AppStream/" -e "/extras/" /etc/yum.repos.d/rocky-extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/os/ /etc/yum.repos.d/rocky-extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/debug/tree/ /etc/yum.repos.d/rocky-extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/source/tree/ /etc/yum.repos.d/rocky.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/rocky.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/debug/tree/ /etc/yum.repos.d/rocky.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/source/tree/ /etc/yum.repos.d/rocky.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/rocky.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/debug/tree/ /etc/yum.repos.d/rocky.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/source/tree/
NAVIX 9
For Rocky Linux, the repository configuration file is under the /etc/yum.repos.d directory.
The base URL of the NCP repository is http://navix.ncloud.com/pub.
-
Check the server connection to verify the repository information.
Check the DNS lookup of the repository server.[root@kvm-navix ~]# nslookup navix.ncloud.com Server: 169.254.169.53 Address: 169.254.169.53#53 Non-authoritative answer: navix.ncloud.com canonical name = navix.ncloud.int-ncloudgtm.com. Name: navix.ncloud.int-ncloudgtm.com Address: 169.254.87.160 Name: navix.ncloud.int-ncloudgtm.com Address: 169.254.87.161Check the communication port (80) with the repository server.
[root@kvm-navix ~]# nmap -p 80 navix.ncloud.com Starting Nmap 7.92 ( https://nmap.org ) at 2026-01-14 14:12 KST Nmap scan report for navix.ncloud.com (169.254.87.160) Host is up (0.00033s latency). Other addresses for navix.ncloud.com (not scanned): 169.254.87.161 PORT STATE SERVICE 80/tcp open http Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds -
Check the repository information registered on My server.
[root@kvm-navix ~]# grep ^baseurl /etc/yum.repos.d/navix.repo baseurl=http://navix.ncloud.com/pub/$releasever/$basearch/AppStream/os/ baseurl=http://navix.ncloud.com/pub/$releasever/$basearch/BaseOS/os/ baseurl=http://navix.ncloud.com/pub/$releasever/$basearch/CRB/os/ baseurl=http://navix.ncloud.com/pub/$releasever/$basearch/HighAvailability/os/ baseurl=http://navix.ncloud.com/pub/$releasever/$basearch/Updates/os/
Ubuntu 18.04 - 22.04
The Ubuntu 18.04-22.04 repository configuration file is /etc/apt/sources.list.
The base URL of the NCP repository is http://repo.ncloud.com/ubuntu.
- Remotely access the server you want to check the repository information of.
- Check the repository information connected to the server.
- Ubuntu 18.04
Currently, the base URL for Ubuntu 18.04 isroot@ubuntu1804:~# grep ^deb /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu bionic main restricted deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted deb http://archive.ubuntu.com/ubuntu bionic universe deb http://archive.ubuntu.com/ubuntu bionic-updates universe deb http://archive.ubuntu.com/ubuntu bionic multiverse deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu bionic-security main restricted deb http://archive.ubuntu.com/ubuntu bionic-security universe deb http://archive.ubuntu.com/ubuntu bionic-security multiversehttp://archive.ubuntu.com/ubuntu, but we recommend usinghttp://repo.ncloud.com/ubuntu. Change the base URL using the following method.
Check the changed repository information.root@ubuntu1804:~# cp -p /etc/apt/sources.list /etc/apt/sources.list_bkup root@ubuntu1804:~# sed -i 's/archive.ubuntu.com/repo.ncloud.com/g' /etc/apt/sources.list root@ubuntu1804:~# apt-get clean root@ubuntu1804:~# apt-get update Get:1 http://repo.ncloud.com/ubuntu bionic InRelease [242 kB] Get:2 http://repo.ncloud.com/ubuntu bionic-updates InRelease [88.7 kB] Get:3 http://repo.ncloud.com/ubuntu bionic-backports InRelease [74.6 kB] Get:4 http://repo.ncloud.com/ubuntu bionic-security InRelease [88.7 kB] Get:5 http://repo.ncloud.com/ubuntu bionic/main amd64 Packages [1,019 kB] Get:6 http://repo.ncloud.com/ubuntu bionic/main i386 Packages [1,007 kB] ... Omitted ... Fetched 29.0 MB in 5s (6,054 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 214 packages can be upgraded. Run 'apt list --upgradable' to see them.root@ubuntu1804:~# grep ^deb /etc/apt/sources.list deb http://repo.ncloud.com/ubuntu bionic main restricted deb http://repo.ncloud.com/ubuntu bionic-updates main restricted deb http://repo.ncloud.com/ubuntu bionic universe deb http://repo.ncloud.com/ubuntu bionic-updates universe deb http://repo.ncloud.com/ubuntu bionic multiverse deb http://repo.ncloud.com/ubuntu bionic-updates multiverse deb http://repo.ncloud.com/ubuntu bionic-backports main restricted universe multiverse deb http://repo.ncloud.com/ubuntu bionic-security main restricted deb http://repo.ncloud.com/ubuntu bionic-security universe deb http://repo.ncloud.com/ubuntu bionic-security multiverse.- Ubuntu 20.04
root@ubuntu2004:~# grep ^deb /etc/apt/sources.list deb http://repo.ncloud.com/ubuntu focal main restricted deb http://repo.ncloud.com/ubuntu focal-updates main restricted deb http://repo.ncloud.com/ubuntu focal universe deb http://repo.ncloud.com/ubuntu focal-updates universe deb http://repo.ncloud.com/ubuntu focal multiverse deb http://repo.ncloud.com/ubuntu focal-updates multiverse deb http://repo.ncloud.com/ubuntu focal-backports main restricted universe multiverse deb http://repo.ncloud.com/ubuntu focal-security main restricted deb http://repo.ncloud.com/ubuntu focal-security universe deb http://repo.ncloud.com/ubuntu focal-security multiverse- Ubuntu 22.04
root@ubuntu2204:~# grep ^deb /etc/apt/sources.list deb http://repo.ncloud.com/ubuntu jammy main restricted deb http://repo.ncloud.com/ubuntu jammy-updates main restricted deb http://repo.ncloud.com/ubuntu jammy universe deb http://repo.ncloud.com/ubuntu jammy-updates universe deb http://repo.ncloud.com/ubuntu jammy multiverse deb http://repo.ncloud.com/ubuntu jammy-updates multiverse deb http://repo.ncloud.com/ubuntu jammy-backports main restricted universe multiverse deb http://repo.ncloud.com/ubuntu jammy-security main restricted deb http://repo.ncloud.com/ubuntu jammy-security universe deb http://repo.ncloud.com/ubuntu jammy-security multiverse
Ubuntu 24.04
The Ubuntu 24.04 repository configuration file is /etc/apt/sources.list.d/ubuntu.sources.
The base URL of the NCP repository is http://repo.ncloud.com/ubuntu.
- Remotely access the server you want to check the repository information of.
- Check the repository information connected to the server.
root@kvm-ubuntu2404:~# cat /etc/apt/sources.list.d/ubuntu.sources Types: deb URIs: http://repo.ncloud.com/ubuntu/ Suites: noble noble-updates noble-backports Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg Types: deb URIs: http://repo.ncloud.com/ubuntu/ Suites: noble-security Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Repository FAQs
Q. Can I use external public mirror sites?
Yes. In addition to NCP repositories, you can change the settings to refer to external public mirror sites to swiftly respond to various authentication reviews or critical security vulnerabilities.
However, to download packages or patches through external public mirrors, you need to configure public IP settings or NAT settings. Directly switch to servers with faster access by referring to the list of public mirrors as follows:
NAVIX official download site
https://dlnavix.navercorp.com/
CentOS Public Mirror list
https://www.centos.org/download/mirrors/
Rocky Linux Public Mirror list
https://mirrors.rockylinux.org/mirrormanager/mirrors
Ubuntu Public Mirror list
https://launchpad.net/ubuntu/+archivemirrors
Q: How can I check the list of kernel packages currently provided by NCP repositories?
To check the list of kernel packages currently provided, run the following commands for each Linux OS.
The results of the commands may be different from what the guide shows, depending on the timing of running the commands.
- CentOS 7
[root@centos78 ~]# yum --showduplicates list kernel | tail -n 15 kernel.x86_64 3.10.0-1160.53.1.el7 update kernel.x86_64 3.10.0-1160.59.1.el7 update kernel.x86_64 3.10.0-1160.62.1.el7 update kernel.x86_64 3.10.0-1160.66.1.el7 update kernel.x86_64 3.10.0-1160.71.1.el7 update kernel.x86_64 3.10.0-1160.76.1.el7 update kernel.x86_64 3.10.0-1160.80.1.el7 update kernel.x86_64 3.10.0-1160.81.1.el7 update kernel.x86_64 3.10.0-1160.83.1.el7 update kernel.x86_64 3.10.0-1160.88.1.el7 update kernel.x86_64 3.10.0-1160.90.1.el7 update kernel.x86_64 3.10.0-1160.92.1.el7 update kernel.x86_64 3.10.0-1160.95.1.el7 update kernel.x86_64 3.10.0-1160.99.1.el7 update kernel.x86_64 3.10.0-1160.102.1.el7 update - Rocky Linux 8
[root@kvm-rockylinux810 ~]# dnf --showduplicates list kernel Installed Packages kernel.x86_64 4.18.0-553.el8_10 @System kernel.x86_64 4.18.0-553.5.1.el8_10 @System Available Packages kernel.x86_64 4.18.0-553.el8_10 baseos kernel.x86_64 4.18.0-553.5.1.el8_10 baseos kernel.x86_64 4.18.0-553.8.1.el8_10 baseos kernel.x86_64 4.18.0-553.16.1.el8_10 baseos kernel.x86_64 4.18.0-553.22.1.el8_10 baseos kernel.x86_64 4.18.0-553.27.1.el8_10 baseos kernel.x86_64 4.18.0-553.30.1.el8_10 baseos kernel.x86_64 4.18.0-553.32.1.el8_10 baseos kernel.x86_64 4.18.0-553.33.1.el8_10 baseos kernel.x86_64 4.18.0-553.34.1.el8_10 baseos kernel.x86_64 4.18.0-553.36.1.el8_10 baseos kernel.x86_64 4.18.0-553.37.1.el8_10 baseos kernel.x86_64 4.18.0-553.40.1.el8_10 baseos kernel.x86_64 4.18.0-553.42.1.el8_10 baseos kernel.x86_64 4.18.0-553.44.1.el8_10 baseos kernel.x86_64 4.18.0-553.45.1.el8_10 baseos kernel.x86_64 4.18.0-553.46.1.el8_10 baseos kernel.x86_64 4.18.0-553.47.1.el8_10 baseos kernel.x86_64 4.18.0-553.50.1.el8_10 baseos kernel.x86_64 4.18.0-553.51.1.el8_10 baseos kernel.x86_64 4.18.0-553.53.1.el8_10 baseos - Rocky Linux 9
[root@kvm-rockylinux94 ~]# dnf --showduplicates list kernel Installed Packages kernel.x86_64 5.14.0-503.14.1.el9_5 @System kernel.x86_64 5.14.0-503.16.1.el9_5 @System Available Packages kernel.x86_64 5.14.0-570.18.1.el9_6 baseos - NAVIX 9
[root@kvm-navix ~]# dnf --showduplicates list kernel Installed Packages kernel.x86_64 5.14.0-570.28.1.el9_5 @System kernel.x86_64 5.14.0-570.55.1.el9_5 @System Available Packages kernel.x86_64 5.14.0-570.58.1.el9_6 baseos - Ubuntu 18.04
root@xen-ubuntu1804:~# apt update root@xen-ubuntu1804:~# uname -r 4.15.0-136-generic root@ubuntu1804:~# apt search linux-image-4.15.0 | grep ^linux-image.*generic | sort -V | tail -15 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. linux-image-4.15.0-193-generic/bionic-updates,bionic-security 4.15.0-193.204 amd64 linux-image-4.15.0-194-generic/bionic-updates,bionic-security 4.15.0-194.205 amd64 linux-image-4.15.0-196-generic/bionic-updates,bionic-security 4.15.0-196.207 amd64 linux-image-4.15.0-197-generic/bionic-updates,bionic-security 4.15.0-197.208 amd64 linux-image-4.15.0-200-generic/bionic-updates,bionic-security 4.15.0-200.211 amd64 linux-image-4.15.0-201-generic/bionic-updates,bionic-security 4.15.0-201.212 amd64 linux-image-4.15.0-202-generic/bionic-updates,bionic-security 4.15.0-202.213 amd64 linux-image-4.15.0-204-generic/bionic-updates,bionic-security 4.15.0-204.215 amd64 linux-image-4.15.0-206-generic/bionic-updates,bionic-security 4.15.0-206.217 amd64 linux-image-4.15.0-208-generic/bionic-updates,bionic-security 4.15.0-208.220 amd64 linux-image-4.15.0-209-generic/bionic-updates,bionic-security 4.15.0-209.220 amd64 linux-image-4.15.0-210-generic/bionic-updates,bionic-security 4.15.0-210.221 amd64 linux-image-4.15.0-211-generic/bionic-updates,bionic-security 4.15.0-211.222 amd64 linux-image-4.15.0-212-generic/bionic-updates,bionic-security 4.15.0-212.223 amd64 linux-image-4.15.0-213-generic/bionic-updates,bionic-security 4.15.0-213.224 amd64 - Ubuntu 20.04
root@kvm-ubuntu2004:~# apt update root@kvm-ubuntu2004:~# uname -r 5.4.0-131-generic root@kvm-ubuntu2004:~# apt search linux-image-5.4.0 | grep ^linux-image.*generic | sort -V | tail -15 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. linux-image-5.4.0-192-generic/focal-updates,focal-security 5.4.0-192.212 amd64 linux-image-5.4.0-193-generic/focal-updates,focal-security 5.4.0-193.213 amd64 linux-image-5.4.0-195-generic/focal-updates,focal-security 5.4.0-195.215 amd64 linux-image-5.4.0-196-generic/focal-updates,focal-security 5.4.0-196.216 amd64 linux-image-5.4.0-198-generic/focal-updates,focal-security 5.4.0-198.218 amd64 linux-image-5.4.0-200-generic/focal-updates,focal-security 5.4.0-200.220 amd64 linux-image-5.4.0-202-generic/focal-updates,focal-security 5.4.0-202.222 amd64 linux-image-5.4.0-204-generic/focal-updates,focal-security 5.4.0-204.224 amd64 linux-image-5.4.0-205-generic/focal-updates,focal-security 5.4.0-205.225 amd64 linux-image-5.4.0-208-generic/focal-updates,focal-security 5.4.0-208.228 amd64 linux-image-5.4.0-211-generic/focal-updates,focal-security 5.4.0-211.231 amd64 linux-image-5.4.0-212-generic/focal-updates,focal-security 5.4.0-212.232 amd64 linux-image-5.4.0-214-generic/focal-updates,focal-security 5.4.0-214.234 amd64 linux-image-5.4.0-215-generic/focal-updates,focal-security 5.4.0-215.235 amd64 linux-image-5.4.0-216-generic/focal-updates,focal-security 5.4.0-216.236 amd64 - Ubuntu 22.04
root@kvm-ubuntu2204:~# apt update root@kvm-ubuntu2204:~# uname -r 5.15.0-94-generic root@kvm-ubuntu2204:~# apt search linux-image-5.15.0 | grep ^linux-image.*generic | sort -V | tail -15 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. linux-image-5.15.0-122-generic/jammy-updates,jammy-security 5.15.0-122.132 amd64 linux-image-5.15.0-124-generic/jammy-updates,jammy-security 5.15.0-124.134 amd64 linux-image-5.15.0-125-generic/jammy-updates,jammy-security 5.15.0-125.135 amd64 linux-image-5.15.0-126-generic/jammy-updates 5.15.0-126.136 amd64 linux-image-5.15.0-127-generic/jammy-updates,jammy-security 5.15.0-127.137 amd64 linux-image-5.15.0-128-generic/jammy-updates 5.15.0-128.138 amd64 linux-image-5.15.0-130-generic/jammy-updates,jammy-security 5.15.0-130.140 amd64 linux-image-5.15.0-131-generic/jammy-updates,jammy-security 5.15.0-131.141 amd64 linux-image-5.15.0-133-generic/jammy-updates,jammy-security 5.15.0-133.144 amd64 linux-image-5.15.0-134-generic/jammy-updates,jammy-security 5.15.0-134.145 amd64 linux-image-5.15.0-135-generic/jammy-updates,jammy-security 5.15.0-135.146 amd64 linux-image-5.15.0-136-generic/jammy-updates,jammy-security 5.15.0-136.147 amd64 linux-image-5.15.0-138-generic/jammy-updates,jammy-security 5.15.0-138.148 amd64 linux-image-5.15.0-139-generic/jammy-updates,jammy-security 5.15.0-139.149 amd64 linux-image-5.15.0-140-generic/jammy-updates,jammy-security 5.15.0-140.150 amd64 - Ubuntu 24.04
root@kvm-ubuntu2404:~# apt update root@kvm-ubuntu2404:~# uname -r 6.8.0-52-generic root@kvm-ubuntu2404:~# apt search linux-image-6.8.0 | grep ^linux-image.*generic | sort -V | tail -15 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. linux-image-6.8.0-45-generic/noble-updates,noble-security 6.8.0-45.45 amd64 linux-image-6.8.0-47-generic/noble-updates,noble-security 6.8.0-47.47 amd64 linux-image-6.8.0-48-generic/noble-updates,noble-security,now 6.8.0-48.48 amd64 [installed] linux-image-6.8.0-49-generic/noble-updates,noble-security 6.8.0-49.49 amd64 linux-image-6.8.0-50-generic/noble-updates,noble-security 6.8.0-50.51 amd64 linux-image-6.8.0-51-generic/noble-updates,noble-security 6.8.0-51.52 amd64 linux-image-6.8.0-52-generic/noble-updates,noble-security,now 6.8.0-52.53 amd64 [installed] linux-image-6.8.0-53-generic/noble-updates 6.8.0-53.55 amd64 linux-image-6.8.0-54-generic/noble-updates,noble-security 6.8.0-54.56 amd64 linux-image-6.8.0-55-generic/noble-updates,noble-security 6.8.0-55.57 amd64 linux-image-6.8.0-56-generic/noble-updates,noble-security 6.8.0-56.58+1 amd64 linux-image-6.8.0-57-generic/noble-updates,noble-security 6.8.0-57.59 amd64 linux-image-6.8.0-58-generic/noble-updates,noble-security 6.8.0-58.60+1 amd64 linux-image-6.8.0-59-generic/noble-updates,noble-security 6.8.0-59.61 amd64 linux-image-6.8.0-60-generic/noble-updates,noble-security 6.8.0-60.63 amd64
Q. What should I do if I experience an error in Extras after the dnf update on a XEN hypervisor-based Rocky Linux 8?
In Rocky Linux 8, all repository configuration files except Rocky-BaseOS.repo and Rocky-AppStream.repo have been moved to the .bkup directory (/etc/yum.repos.d/.bkup).
When performing the dnf update to update all packages, your deleted repository configuration files are restored, and the restored files refer to external public repositories.
If external connections are blocked, errors may occur when running the dnf commands. The solution is as follows:
NAVER Cloud Platform does not recommend updating all packages or kernels. Additional support is not provided for issues that occur after running these commands.
- Access the server remotely.
- Check the list of the repository configuration files.
[root@rockylinux88 ~]# ls -l /etc/yum.repos.d total 52 -rw-r--r--. 1 root root 703 Jul 14 10:42 Rocky-AppStream.repo -rw-r--r--. 1 root root 688 Jul 14 10:42 Rocky-BaseOS.repo -rw-r--r-- 1 root root 1753 Nov 3 12:09 Rocky-Debuginfo.repo -rw-r--r-- 1 root root 360 Nov 3 12:09 Rocky-Devel.repo -rw-r--r-- 1 root root 695 Nov 3 12:09 Rocky-Extras.repo -rw-r--r-- 1 root root 731 Nov 3 12:09 Rocky-HighAvailability.repo -rw-r--r-- 1 root root 680 Nov 3 12:09 Rocky-Media.repo -rw-r--r-- 1 root root 680 Nov 3 12:09 Rocky-NFV.repo -rw-r--r-- 1 root root 690 Nov 3 12:09 Rocky-Plus.repo -rw-r--r-- 1 root root 715 Nov 3 12:09 Rocky-PowerTools.repo -rw-r--r-- 1 root root 746 Nov 3 12:09 Rocky-ResilientStorage.repo -rw-r--r-- 1 root root 681 Nov 3 12:09 Rocky-RT.repo -rw-r--r-- 1 root root 2335 Nov 3 12:09 Rocky-Sources.repo - Check the repository information connected to the server.
[root@rockylinux88 ~]# grep -e ^baseurl -e ^mirrorlist /etc/yum.repos.d/Rocky* /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=HighAvailability-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=PowerTools-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=ResilientStorage-$releasever-debug /etc/yum.repos.d/Rocky-Devel.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=Devel-$releasever /etc/yum.repos.d/Rocky-Extras.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=extras-$releasever /etc/yum.repos.d/Rocky-HighAvailability.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=HighAvailability-$releasever ... ... (rest omitted) - Change the address of the repository configuration file to http://repo.ncloud.com/rocky using the following commands:
[root@rockylinux88 ~]# sed -i "s/^mirrorlist=/#mirrorlist/" /etc/yum.repos.d/*.repo [root@rockylinux88 ~]# sed -i "s|#baseurl=http://dl.rockylinux.org/\$contentdir|baseurl=http://repo.ncloud.com/rocky|" /etc/yum.repos.d/*.repo - Check the changed repository information.
[root@rockylinux88 ~]# grep -e ^baseurl /etc/yum.repos.d/*.repo /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/HighAvailability/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/PowerTools/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/ResilientStorage/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Devel.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/Devel/$basearch/os/ /etc/yum.repos.d/Rocky-Extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/os/ /etc/yum.repos.d/Rocky-HighAvailability.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/HighAvailability/$basearch/os/ ... ... (rest omitted) - Delete the dnf cache and run the dnf commands once again.
[root@rockylinux88 ~]# rm -rf /var/cache/dnf/* [root@rockylinux88 ~]# dnf --releasever=8.9 list kernel-4.18.0-513.5.1.el8_9 Rocky Linux 8.9 - AppStream 63 MB/s | 9.5 MB 00:00 Rocky Linux 8.9 - BaseOS 47 MB/s | 2.9 MB 00:00 Rocky Linux 8.9 - Extras 1.1 MB/s | 14 kB 00:00 Available Packages kernel.x86_64 4.18.0-513.5.1.el8_9 baseos
Q: I'm experiencing a pending error in Extras when running the dnf commands on a KVM hypervisor-based Rocky Linux 8.8. How can I resolve this?
If the dnf command is not running smoothly on your Rocky Linux 8.8 server based on the KVM hypervisor, the solution is as follows:
- Access the server remotely.
- See if the dnf list kernel commands are continuously being checked in Extras as follows.
This issue typically arises in environments where external connections are blocked, such as private subnets without NAT, public subnets without public IPs, or ACG.[root@kvm-rockylinux88 ~]# dnf --releasever=8.9 list kernel-4.18.0-513.5.1.el8_9 Rocky Linux 8.9 - AppStream 80 MB/s | 9.5 MB 00:00 Rocky Linux 8.9 - BaseOS 61 MB/s | 2.9 MB 00:00 Rocky Linux 8.9 - Extras [ === ] --- B/s | 0 B --:-- ET - Check the repository information connected to the server.
[root@kvm-rockylinux88 ~]# grep -e ^baseurl -e ^mirrorlist /etc/yum.repos.d/Rocky* /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=HighAvailability-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=PowerTools-$releasever-debug /etc/yum.repos.d/Rocky-Debuginfo.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=ResilientStorage-$releasever-debug /etc/yum.repos.d/Rocky-Devel.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=Devel-$releasever /etc/yum.repos.d/Rocky-Extras.repo:mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=extras-$releasever ... ... (rest omitted) - Change the address of the repository configuration file to http://repo.ncloud.com/rocky using the following commands:
[root@kvm-rockylinux88 ~]# sed -i "s/^mirrorlist=/#mirrorlist/" /etc/yum.repos.d/*.repo [root@kvm-rockylinux88 ~]# sed -i "s|#baseurl=http://dl.rockylinux.org/\$contentdir|baseurl=http://repo.ncloud.com/rocky|" /etc/yum.repos.d/*.repo - Check the changed repository information.
[root@kvm-rockylinux88 ~]# grep -e ^baseurl /etc/yum.repos.d/*.repo /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/HighAvailability/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/PowerTools/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Debuginfo.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/ResilientStorage/$basearch/debug/tree/ /etc/yum.repos.d/Rocky-Devel.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/Devel/$basearch/os/ /etc/yum.repos.d/Rocky-Extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/os/ ... ... (rest omitted) - Delete the dnf cache and run the dnf commands once again.
[root@kvm-rockylinux88 ~]# rm -rf /var/cache/dnf/* [root@kvm-rockylinux88 ~]# dnf --releasever=8.9 list kernel-4.18.0-513.5.1.el8_9 Rocky Linux 8.9 - AppStream 63 MB/s | 9.5 MB 00:00 Rocky Linux 8.9 - BaseOS 47 MB/s | 2.9 MB 00:00 Rocky Linux 8.9 - Extras 1.1 MB/s | 14 kB 00:00 Available Packages kernel.x86_64 4.18.0-513.5.1.el8_9 baseos
Q: Can I re-download the NCP repository configuration files?
To re-download the NCP repository configuration files for each Linux OS when the configuration files are deleted or if errors persist due to incorrect settings, follow these steps:
- Access the server remotely.
- Download the NCP repository configuration file.
- CentOS 7
[root@centos7 ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://init.ncloud.com/server/linux/repo/centos7/CentOS-Base.repo [root@centos7 ~]# yum clean all - Rocky Linux 8
[root@rocky8 ~]# wget -O /etc/yum.repos.d/Rocky-BaseOS.repo http://init.ncloud.com/server/linux/repo/rocky8/Rocky-BaseOS.repo [root@rocky8 ~]# wget -O /etc/yum.repos.d/Rocky-AppStream.repo http://init.ncloud.com/server/linux/repo/rocky8/Rocky-AppStream.repo [root@rocky8 ~]# wget -O /etc/yum.repos.d/Rocky-Extras.repo http://init.ncloud.com/server/linux/repo/rocky8/Rocky-Extras.repo [root@rocky8 ~]# dnf clean all - Rocky Linux 9
[root@rocky9 ~]# wget -O /etc/yum.repos.d/rocky.repo http://init.ncloud.com/server/linux/repo/rocky9/rocky.repo [root@rocky9 ~]# wget -O /etc/yum.repos.d/rocky-extras.repo http://init.ncloud.com/server/linux/repo/rocky9/rocky-extras.repo [root@rocky9 ~]# dnf clean all - navix 9
[root@navix ~]# wget -O /etc/yum.repos.d/navix.repo http://navix.ncloud.com/pub/navix.repo [root@navix ~]# dnf clean all - Ubuntu 18.04
root@ubuntu18: ~# wget -O /etc/apt/sources.list http://init.ncloud.com/server/linux/repo/ubuntu18/sources.list root@ubuntu18: ~# apt update - Ubuntu 20.04
root@ubuntu20: ~# wget -O /etc/apt/sources.list http://init.ncloud.com/server/linux/repo/ubuntu20/sources.list root@ubuntu20: ~# apt update - Ubuntu 22.04
root@ubuntu22:~# wget -O /etc/apt/sources.list http://init.ncloud.com/server/linux/repo/ubuntu22/sources.list root@ubuntu22:~# apt update - Ubuntu 24.04
root@ubuntu24:~# wget -O /etc/apt/sources.list.d/ubuntu.sources http://init.ncloud.com/server/linux/repo/ubuntu24/ubuntu.sources root@ubuntu24:~# apt update