Public bug reported:

Binary package hint: cfengine2

it is not possible to install packages via cfengines packages action under 
gutsy. under feisty it's working fine. the bug is also known to debian unstable:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440533


this is a simple config file which should install ntp but it doesn't do
anything::

control:
        actionsequence = ( packages )
        editfilesize = ( 3000000 )
        IfElapsed = ( 0 )
        repository = ( /var/backups/cfsaved )

        DefaultPkgMgr = ( dpkg )
        pkgmgr = ( dpkg )
        DPKGInstallCommand = ("/usr/bin/apt-get -y install %s")

packages:
        ntp             action=install


steps to reproduce: save config file as /tmp/cf.ntp
[EMAIL PROTECTED]:/tmp# cfagent -v -f /tmp/cf.ntp
...
--- ommited for readability---

*********************************************************************
 Main Tree Sched: packages pass 1 @ Sun Nov 18 16:41:44 2007
*********************************************************************

Package: ntp
Comparison result: none
Package install list for dpkg is: ntp
cfengine:you: Installing package(s) ntp  using /usr/bin/apt-get -y  install
Installing package group using /usr/bin/apt-get -y  install  ntp
Package install command was not successful
---------------------------------------------------------------------
Alerts
---------------------------------------------------------------------


++++++++++++++++++++++++++++++++++++++++
Summary of objects involved
++++++++++++++++++++++++++++++++++++++++

    global
    main


[EMAIL PROTECTED]:/tmp# apt-cache policy ntp
ntp:
  Installed: (none)
  Candidate: 1:4.2.4p0+dfsg-1ubuntu2
  Version table:
     1:4.2.4p0+dfsg-1ubuntu2 0


it's a little bit strange because sometimes it just works

** Affects: cfengine2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: cfengine2 (Debian)
     Importance: Unknown
         Status: Unknown

-- 
Unable to install packages
https://bugs.launchpad.net/bugs/163584
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to