Error when upgrading landscape-client to 16.01~bzr829-0ubuntu0~ubuntu14.04.1

Bug #1546743 reported by Dean Henrichsmeyer
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
Benji York
landscape-client (Ubuntu)

Bug Description

Updating landscape-client (from lds-trunk PPA) on a trusty container I get the following:

root@lsdev:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up landscape-client (16.01~bzr829-0ubuntu0~ubuntu14.04.1) ...
/var/lib/dpkg/info/landscape-client.postinst: 127: /var/lib/dpkg/info/landscape-client.postinst: cannot create /var/lib/landscape/client/user-update-flag: Directory nonexistent
dpkg: error processing package landscape-client (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Related branches

Revision history for this message
Dean Henrichsmeyer (dean) wrote :

My apt archives tell me I was upgrading from landscape-client_16.01~bzr827-0ubuntu0~ubuntu14.04.1_amd64.deb

Revision history for this message
Dean Henrichsmeyer (dean) wrote :

My /etc/landscape/client.conf contains...

log_level = info
url =
ping_url =
data_path = /var/lib/landscape/client

Benji York (benji)
Changed in landscape-client:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Benji York (benji)
Revision history for this message
David Britton (dpb) wrote :


13:58 dpb │ ah, I think I might have it
13:58 dpb │ blackboxsw, benji, new system, never before registered, install old version of client, don't register, then
                   │ upgrade
13:58 dpb │ I bet you hit it
13:59 blackboxsw │ yeah I was tracing bootstrap_tree to setup() and realized it's a system that has never been run
13:59 benji │ dpb: does registration change the directory privs?
13:59 dpb │ benji: I think registration creates the dir
13:59 benji │ pfft
13:59 blackboxsw │ correct, registration or starting the services in general create the dir if it doesn't exist
14:00 benji │ that sounds like a good starting point for tomorrow; I'm going to mark that bug as critical and assign it to me
                   │ and start with it first thing

Changed in landscape-client:
milestone: none → 16.02
status: Confirmed → Fix Committed
Changed in landscape-client:
status: Fix Committed → Fix Released
Changed in landscape-client:
milestone: 16.02 → 16.03
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.