|
|
发表于 2006-11-20 19:53:40
|
显示全部楼层
Post by jasper0828
如何查看自己现在用的是哪的源?
命令:
grep -r "enabled=1" /etc/yum.repos.d
[yichi@localhost gnu_files]$ grep -r "enabled=1" /etc/yum.repos.d
/etc/yum.repos.d/fedora-extras.repo:enabled=1
/etc/yum.repos.d/fedora-updates.repo:enabled=1
/etc/yum.repos.d/fedora-core.repo:enabled=1
/etc/yum.repos.d/livna.repo:enabled=1
yum update 的时候也会显示的。
[root@localhost yichi]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
livna 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:01
core 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion |
|