얕고 넓게

[PC] CentOS: yum update & /boot 본문

IT/PC

[PC] CentOS: yum update & /boot

블랙오닉스 2024. 11. 11. 19:07

2024.11.11

CentOS7에서 yum update를 실행하는데 에러 발생

Error: Package: code-1.95.2-1730981571.el8.x86_64 (code)
     Requires: libc.so.6(GLIBC_2.28)(64bit)
You could try using --skip-broken to work around the problem

다시 실행

yum update --skip-broken

이번에는 용량부족 에러

Transaction check error:
     installing package kernel-3.10.0-1160.119.1.el7.x86_64 needs 8MB on the /boot filesystem

Error Summary
-------------
Disk Requirements:
      At least 8MB more space needed on the /boot filesystem.

검색

https://www.digitalocean.com/community/questions/how-to-free-up-space-in-boot-on-centos-server

 

How to Free Up Space in /boot on CentOS Server | DigitalOcean

I have a CentOS box at home and I’m trying to install the latest Kernel but it is failing as my /boot partition is too small and there’s not enough space. Can I just use rm and delete some of the old Kernels stored in there? Or do I have to resize the

www.digitalocean.com

package-cleanup --oldkernels --count=2
Loaded plugins: fastestmirror, langpacks
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-1160.el7 will be erased
---> Package kernel.x86_64 0:3.10.0-1160.62.1.el7 will be erased
---> Package kernel-devel.x86_64 0:3.10.0-1160.el7 will be erased
---> Package kernel-devel.x86_64 0:3.10.0-1160.62.1.el7 will be erased
--> Finished Dependency Resolution

 

'IT > PC' 카테고리의 다른 글

[PC] 1060 vs 1070(eGPU)  (0) 2024.11.25
[PC] eGPU: Aorus gaming box 1070  (1) 2024.11.18
[PC] Precision 7560 & TFX156T  (0) 2024.10.16
[PC] 전면 USB 포트 문제  (0) 2024.03.06
[PC] E7470 & Dell Command| PowerShell Provider  (0) 2024.03.06