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
  • 69,223
  • 56
  • 216
  • 327
Frank
  • 3
  • 5

2 Answers2

0

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

You'reAGitForNotUsingGit
  • 14,669
  • 9
  • 48
  • 83
ahmad
  • 195
  • 12
  • 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,268
  • 7
  • 33
  • 61
Arijit Chatterjee
  • 1,133
  • 1
  • 6
  • 11