You are not logged in.

#1 2013-06-04 23:45:59

xworld
Member
Registered: 2012-05-27
Posts: 153

[SOLVED]Shutdown Command Not Found?

Don't worry. I'm not about to ask why updating my system didn't work and how I can fix it. This is about something that happened after I updated successfully. So, like I said, I ran through the commands just fine. Updating works. Then, I go to reboot running the command: sudo reboot. I get the response: sudo: reboot: command not found. Ok fine. So I run sudo shutdown -r now. Then I get this: sudo: shutdown: command not found. Same with shutdown -h now. I don't see why the update would do this but it's the only thing I can think of since it's the only thing I've done since shutdown stopped working.

EDIT: I've looked through /bin /sbin /usr/bin /usr/sbin but the shutdown command is not there. So that's obviously the problem. I'm still not sure what to do about it. I figure it has something to do with the recent update and that /bin /sbin and /usr/sbin are now all symlinked.

Last edited by xworld (2013-06-05 00:10:38)

Offline

#2 2013-06-04 23:50:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED]Shutdown Command Not Found?

you probably uninstalled sysvinit for the upgrade right? You need to install systemd-sysvcompat.

Online

#3 2013-06-04 23:56:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Shutdown Command Not Found?

The Great Arch Wiki has the answer: https://wiki.archlinux.org/index.php/FA … is_X_in.3F

Offline

#4 2013-06-04 23:58:18

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Shutdown Command Not Found?

My personal discovery of pkgfile was indeed a great moment.

Offline

#5 2013-06-05 00:04:33

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Shutdown Command Not Found?

Wow. Yep that did it. Thanks.

Last edited by xworld (2013-06-05 00:07:17)

Offline

Board footer

Powered by FluxBB