Yuan Yijun (bbbush) wrote,
Yuan Yijun

  • Mood:
  • Music:

yum 的新功能

Panu Matilainen
PMATILAI laiskiainen.org致 Development

> Unable to read version lock configuration: [Errno 5] OSError: [Errno
> 2] No such file or directory: '/etc/yum/pluginconf.d/versionlock.list'

...but this is by design - if the versionlock plugin is enabled it will
refuse to do anything at all unless a versionlock list can be found. The
rationale is that if you care enough about package versions to use
versionlock plugin, you don't want a config file gone missing (or
unreachable due to network break etc) mean that the system can be
updated to any available package versions. So it needs to stop.

The fix is to either 'rpm -e yum-versionlock' if you don't use it or to
provide the missing config file.

- Panu -

Panu Matilainen
PMATILAI laiskiainen.org 致 Development

On Tue, 2006-09-05 at 16:14 -0400, seth vidal wrote:
> On Tue, 2006-09-05 at 23:03 +0300, Panu Matilainen wrote:
> > Yum CVS just gained the ability to downgrade packages, with a little
> > help from yet another plugin. Means you can downgrade to manually
> > specified version of a package with --allow-downgrade assuming you have
> > the plugin installed.
> >
> > Apt-rpm supports crack like 'apt-get install "foo<1.2"' but hell is
> > going to freeze over a couple of times before Seth will accept things
> > like that in Yum :) OTOH it would probably be possible to write a plugin
> > to "revert to previous version" now, implementation is left as an
> > excercise for the reader though...
> yum already supports >=< options - it was part of the
> provides-based-installs.

So the hell frozen over already god knows how many times :) Didn't
remember that, possibly because it doesn't actually downgrade the
package if already installed to meet the requirement. Anyway, that seems
to work as well with --allow-downgrade now.

- Panu -

又,那个 yum 的插件貌似很多很多吗,我的机器上只装了四五个
Tags: 转载

  • 脸盲测试

    Results Out of 72 faces, you correctly identified 51. In other words, you got 71% correct. On our previous version of this test, the…

  • (no subject)

    http://blog.farmostwood.net/politics_bdwm 政治立场坐标(左翼<->右翼)0.1,经济立场坐标(左翼<->右翼)0,文化立场坐标(保守<->自由)0.5…

  • profiling

    xml: 374K xsl: 71K AltovaXML 不使用 xsl:key 的时候,需要查询 4k 次数据,耗时 45s+ 使用 xsl:key 的时候 xslt2: real 0m11.102s user 0m0.015s sys 0m0.030s xslt1: real…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded