[rudder-users] method ncf package

Nicolas Charles nicolas.charles at normation.com
Thu Jan 22 08:41:22 CET 2015


On 21/01/2015 21:18, Maxime Longuet wrote:
> I'm think that package install method on ncf doesn't work on virtual package
>
> Example on this :
>
> php54-dev:~# aptitude show libdata-uuid-perl
> Pas de version courante ou candidate trouvée pour libdata-uuid-perl
> Paquet : libdata-uuid-perl
> État: n'est pas un paquet réel
> Fourni par : libossp-uuid-perl
>
> Method stay in repaired state on rudder.
>

Hi Maxime,

When we try to install a package, the agent looks for the installed 
package, and if the package is not in the list of installed package, 
then it tries to install it.
Based on the return code of the package manager, it decides if it 
succedeed or not

Virtual packages don't show in the list of installed package (like in 
dpkg -l), so the agent will try to install it.
But as it is supplied by another package, the package manager says it 
has nothing to do, and returns success
Based on that, the agent assumes (wrongly) that the package has been 
installed.

I'm not sure there is a solution for this issue; do you know if package 
manager can list the virtual packages supplied by other packages ?

Nicolas


More information about the rudder-users mailing list