Public bug reported:
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:
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-0ubuntu2.16.04.4) ...
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:
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-client:amd64 16.03-0ubuntu2.16.04.4
2018-05-17 10:50:35 status half-configured landscape-client:amd64
The fastest workaround I've found is to purge landscape packages and
# apt purge landscape-*
# apt install landscape-client
** Affects: landscape-client (Ubuntu)
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
landscape-client fails when doing system upgrade
To manage notifications about this bug go to:
ubuntu-bugs mailing list