0

Sometimes my Ubuntu 16.04 is not shutting down when I am trying to shutdown from the task menu. I am forcing shutdown by pressing the power button. I want to know the reason and solution for this.

Zanna
  • 70,465
Frank
  • 3

2 Answers2

0

You can shutdown by terminal by this command:
sudo shutdown -h now

ahmad
  • 195
  • mayank@mayank-Aspire-5738:~$ sudo shutdown -h now [sudo] password for mayank: Failed to start poweroff.target: Transaction is destructive. See system logs and 'systemctl status poweroff.target' for details. – Frank Mar 08 '17 at 10:35
0

Reason can be anything, but try running this command to shutdown:

sudo systemctl poweroff
anonymous2
  • 4,298