[FZH] #U yum-plugin-local 插件用法

Tommy He tommy.he在linux.com
星期三 四月 28 09:56:04 UTC 2010


这个貌似插件里面说了可以将这个本地源的 metadata 调成永不过期的。

2010/4/28 Liang Suilong <liangsuilong at gmail.com>

> 问题是调了 keepcache=1 以后,每次 yum update 它自己就不会更新 metadata 了,也就是说提示没有更新。总得要手动 yum
> makecache 把所有 metadata 刷一次才行。这样刷的话,fedora 这个库的 metadata 特别大。而且 Final GA
> 以后就不会更改的,也就无论 updates 和 updates-testing 怎么变,它都不会更新的,metadata 自然就不再需要更新了。
>
> 2010/4/28 Yayi <yz at yayi.biz>
>
> > 修改yum.conf也可以达到效果..
> > http://yayi.biz/?p=17
> >
> >                                               By:Yayi
> >
> >
> > 在 2010年4月28日 下午4:42,Liang Suilong <liangsuilong at gmail.com>写道:
> >
> > > 刚刚发现一个不错的 yum 插件,yum-plugin-local。它会下载好的包自动扔到
> /var/lib/yum/plugins/local
> > > 然后做一个本地源。
> > >
> > > 因为默认 yum 的设置似乎是安装好软件包以后就会把 rpm 删除掉了,而仓库内一般只保存最新版本的 rpm 包,所以 yum
> downgrade
> > > 这个功能就显得不太有用了。
> > >
> > > 我现在刚刚装好了这个插件,不太清楚这个本地源是会存放所有下载过的软件包还是当新版本的软件包进入到本地库就会自动删除旧版本的 rpm
> > > 包。看 /usr/lib/yum-plugins/local.py 的代码似乎没有删除操作的意思。不过我自己不会 python 的。XD!
> > >
> > > 大家试一试吧!
> > >
> > >
> > >
> > >
> > > --
> > > Fedora && Debian User, former Ubuntu User
> > > My Page: http://www.liangsuilong.info
> > > Fedora Project Contributor -- Packager && Ambassador
> > > https://fedoraproject.org/wiki/User:Liangsuilong
> > > _______________________________________________
> > > Chinese mailing list
> > > Chinese at lists.fedoraproject.org
> > > https://admin.fedoraproject.org/mailman/listinfo/chinese
> > >
> > _______________________________________________
> > Chinese mailing list
> > Chinese at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/chinese
> >
>
>
>
> --
> Fedora && Debian User, former Ubuntu User
> My Page: http://www.liangsuilong.info
> Fedora Project Contributor -- Packager && Ambassador
> https://fedoraproject.org/wiki/User:Liangsuilong
> _______________________________________________
> Chinese mailing list
> Chinese at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/chinese
>
>
>
>


-- 
Take a Deep Breath out of Windows


关于邮件列表 Chinese 的更多信息