How to update or patch rpm using YUM on Linux
 
If you can not install because of the dependency problem when using rpm update,
it is often used yum command. However, if yum is installed in a closed network or local,
you can patch or update using  the yum repo update URL
 
subject
  1. How to configure repo URL
  2. Case 1) update kernel using yum command
  3. Case 2) downgrade kernel using yum command
 
step 1 : add or create yum repo URL
In this case , I added a URL named [updates]
If yum configuration is updated , must excute “yum clean all”
You can see Base and Upates name ( command “yum list”)
 
 
 
 
 
CASE 1) kernel update (Update one of kind version)
Now version : 3.10.0-123.el7.x86_64
Upate ->  kernel-3.10.0-514.el7.x86_64.rpm
 
  1. Yum update kernel-3.10.0-514.el7.x86_64.rpm
  1. Using  yum to update the entire dependency-related package automatically
  1. Reboot ( kernel update is recommend reboot)
  2. You can select  boot kernel verion on this screen ( in here 3.10.0-514 or 3.10.0-123)
 
 
  1. Check verion ( command “uname  – a”)
CASE 2 ) kernel downgrade (downgrade  to previous version)
After updating the kernel or another package with yum
How to downgrade to previous version when you are downgrading due to program problems
 
Now version : kernel-3.10.0-514.el7.x86_64.rpm
previous version : kernel-3.10.0-123.el7.x86_64.rpm
 
  1. Check update history using yum command
  1. yum history undo ID  ( rollback to ID 8 before)
 
 
However, in this case, an error occurs because the target of the rollback is the kernel. You must roll back to the kernel before booting.
  1. Reboot and select previous version
 
Now error is not occurred
 
 
 
사업자 정보 표시
(주)블루원 | 김홍태 | 서울특별시 용산구 원효로 4가 135 금홍 2빌딩 | 사업자 등록번호 : 106-86-76684 | TEL : 02-3272-7200 | Mail : support_ora@blueone.co.kr | 통신판매신고번호 : 호 | 사이버몰의 이용약관 바로가기

+ Recent posts