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

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


大概看了下,貌似是要加 --update 才会更新本地库里的软件包的。

初学 Python 的飘过……

2010/4/28 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
>
> Spam detection software, running on the system "xavier.linux.com", has
> identified this incoming email as possible spam.  The original message
> has been attached to this so you can view it (if it isn't spam) or label
> similar future email.  If you have any questions, see
> the administrator of that system for details.
>
> Content preview:  刚刚发现一个不错的 yum 插件,yum-plugin-local。它会下载好的包自动扔到
>   /var/lib/yum/plugins/local 然后做一个本地源。 �› 为默认 yum 的设置似乎是安装好软件包以后就会把
>   rpm �ˆ 除掉了,而仓库内一般只保存最新版本的 rpm 包,所以
>   yum downgrade 这个功能就显得不太有用了。 [...]
>
> Content analysis details:   (7.1 points, 5.0 required)
>
>  pts rule name              description
> ---- ----------------------
> --------------------------------------------------
>  3.2 CHARSET_FARAWAY_HEADER A foreign language charset used in headers
>  1.0 BAYES_60               BODY: Bayesian spam probability is 60 to 80%
>                            [score: 0.7530]
>  2.3 TVD_SPACE_RATIO        BODY: TVD_SPACE_RATIO
>  0.6 AWL                    AWL: From: address is in the auto white-list
>
>
>
>


-- 
Take a Deep Breath out of Windows


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