Kodi Community Forum

Full Version: Screwed up XBMC Live trying to upgrade to 9.11 alpha2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Long story short I screwed up the upgrade and now XBMC Live boots to the login prompt. All I'm concerned about now is getting back to a working XBMC Live install. I don't want to have to reinstall via the USB drive again. Is their a way to update to 9.04 through ssh? I'm pretty new to linux so any help is appreciated.

thanks guys

ok, i fixed it and am now able to boot to xbmc fine. however, when i ssh and try "sudo reboot now" i get the following error

(T: XBMCLive)xbmc@XBMCLive:~$ sudo reboot now
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 37 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 44 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 51 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 58 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 65 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 72 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 79 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 86 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 93 <<<
>>> sudoers file: Alias `SHUTDOWN_CMDS' already defined, line 100 <<<
sudo: parse error in /etc/sudoers near line 37


I haven't played around with it much more yet to see if their are any other problems, but does anyone know how to fix this?
The same happened to me.
I was doing 9.11_a1 -> a2 upgrade using "apt-get".
There was command line instead of xbmc and /etc/sudoers file broken. I could not even reboot.

I reinstalled everything using a2 live.
/etc/sudoers

The following is duplicated a few times and that is what gives the error
Code:
#
# XBMC-specific configuration
#
Cmnd_Alias SHUTDOWN_CMDS = /sbin/shutdown, /sbin/reboot, /sbin/halt
Cmnd_Alias MOUNT_CMDS = /bin/mount, /bin/umount
xbmc ALL=(ALL) ALL
xbmc ALL=NOPASSWD: SHUTDOWN_CMDS, MOUNT_CMDS
I posted the workarounds/fixes as well as a bug report for this at http://trac.xbmc.org/ticket/7706#comment:2