Thank you for taking the time to report this bug and helping to make Ubuntu better.
I note you are using an EOL Ubuntu 17.04 kernel, rather than the standard Ubuntu 16.04 (4.4) or Ubuntu 16.04 HWE (4.15) kernel, and loads of tainted messages in your `dmesg` [28275.945575] WARNING: CPU: 2 PID: 514 at /build/linux-hwe-vH8Hlo/linux-hwe-4.10.0/net/wireless/sme.c:891 cfg80211_roamed+0x8a/0xa0 [cfg80211] .. [28275.945632] CPU: 2 PID: 514 Comm: wl_event_handle Tainted: P W OE 4.10.0-28-generic #32~16.04.2-Ubuntu These I suspect are the reason for your problem, ie. Failed to execute operation: Connection timed out dpkg: error processing archive /var/cache/apt/archives/policykit-1_0.105-14.1ubuntu0.5_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 thus I would suggest using a supported Ubuntu 16.04 LTS kernel, either the standard 4.4 or HWE (hardware-enablement-stack) 4.15 and trying again. I've marked this bug incomplete, if you believe I'm wrong or missing something, please return it to new and leave a comment explaining why. Thanks again for reporting this issue, and helping making Ubuntu a better system. ** Changed in: policykit-1 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1838485 Title: package policykit-1 0.105-14.1ubuntu0.5 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1838485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs