Update an offline Red Hat Enterprise Linux server without network connection to Red Hat/Proxy/Satellite
Based on the procedure mention in article https://access.redhat.com/solutions/45956 i was able to create a repository and transfer it to the offline RHEL server. But when i tried to install it using command "sudo dnf --nogpgcheck --repofrompath OFFLINE,/tmp/rpms update" i got below error:
problem: the operation would result in removing the following protected packages: grub2-pc.
The screenshot is also attached.