landscape-client fails when doing system upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Doing a regular system upgrade but several systems failed. Upon inspecting and reproducing the same issue:
# apt update
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'sudo apt autoremove' to remove them.
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] y
Setting up landscape-client (16.03-
install: missing file operand
Try 'install --help' for more information.
dpkg: error processing package landscape-client (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
landscape-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
The looking at some logs:
# tail /var/log/dpkg.log
2018-05-17 10:50:35 startup packages configure
2018-05-17 10:50:35 configure landscape-
2018-05-17 10:50:35 status half-configured landscape-
The fastest workaround I've found is to purge landscape packages and re-installing..
# apt purge landscape-*
# apt install landscape-client
Status changed to 'Confirmed' because the bug affects multiple users.