问题原文
原帖链接 · user3637971 · CC BY-SA 4.0
I wish to upgrade Rhel 7.3 to 8.1 by using an iso cd. I mount it to /home/cdrom This iso contains the following directories: BaseOS AppStream RPM-GPG-KEY-redhat-release, and so on
I got one repo file called /etc/yum.repos.d/rhel8.repo. This contains:
[rhel8-Server]
mediaid=78347539434.4444
name=RHEL8-Server
baseurl=file:///home/cdrom/AppStream
gpgkey=file:///home/cdrom/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1
Then I executed yum update but it didn't work. I also tried with baseurl=file:///home/cdrom/BaseOS but there's no results. I got result messages such like 'You could try using --skip-broken to work around the problem' or 'Error: Invalid version flag: if'. What can I do?
已采纳解答
原帖链接 · djdomi · CC BY-SA 4.0
To keep a RedHat System which is disconnected up-to-date, you have to respect the way how RHEL will be supported.
To update the systems, which being disconnected, please follow the MANUAL of RedHat
Update an Offline System
Follow this Guide from the Vendor
https://access.redhat.com/solutions/29269
Upgrade an Offline System
To Offline Upgrade to RHEL 8, it's only accessible by Subscription Owners, besides i dont own RHEL so, I don't own that, but I think this will solve your issue
https://access.redhat.com/solutions/5492401
Remind, RHEL will need to have a valid Subscription to being used.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
