yum update failed! help

hueofwind 2005-11-03 11:35:46
I always failed when update using yum:

[root@pv-chem-file yum]# yum -y update
Setting up Update Process
Setting up Repos
base 100% ¦========================= ¦ 1.1 kB 00:00
updates-released 100% ¦========================= ¦ 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 944/944
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-smp to pack into transaction set.
kernel-smp-2.6.12-1.1381_ 100% ¦========================= ¦ 860 kB 00:00
---> Package kernel-smp.i686 0:2.6.12-1.1381_FC3 set to be installed
--> Running transaction check

Dependencies Resolved
Transaction Listing:
Install: kernel-smp.i686 0:2.6.12-1.1381_FC3 - updates-released
Total download size: 17 M
Downloading Packages:
(1/1): kernel-smp-2.6.12- 100% ¦========================= ¦ 17 MB 00:03
Running Transaction Test
Finished Transaction Test
Transaction Check Error: installing package kernel-smp-2.6.12-1.1381_FC3
needs 19MB on the / filesystem

I was told that the reason is I don't have enough space on / filesystem (they need 19M), but using "df" command, I found I still have 50M space on / filesystem.

[root@pv-chem-file yum]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 505604 429100 50400 90% /
/dev/sda5 63384708 13490808 46674076 23% /home/pv-chem-file
none 517280 0 517280 0% /dev/shm
/dev/sda2 5036316 1329044 3451440 28% /usr
128.250.110.160:/home/webserver
7352928 5752640 1226784 83% /home/webserver

Who can tell me why?
...全文
134 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
sunshineman 2006-06-09
  • 打赏
  • 举报
回复
yum clean metadata

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧