Landscape client failed to upgrade

Bug #933302 reported by Free Ekanayaka
0
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
New
High
Unassigned

Bug Description

While upgrading landscape-client from trunk on lds.beret.net, I got:

Setting up landscape-client (11.11~bzr456-0ubuntu0~lucid1) ...
Usage: landscape-config [options]

landscape-config: error: option --exchange-interval: invalid integer value: ''
dpkg: error processing landscape-client (--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 landscape-client
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote :

It seems to be due to this new line in

        if [ -f $CONFIG_FILE ]; then
            mv --backup=numbered $CONFIG_FILE $CONFIG_FILE.bak
        fi

which always makes landscape-client regenerate the config file.

Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote :

The new line is the postinst script.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.