大网数据广告活动
服务器运维问答

How to upgrade rhel 7.3 to 8.1 using iso cd

· 52CE 我爱测

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…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2021-09-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。