25th Jul, 2013, 03:10 AM
o/
Not sure where to put this so I put it in Installation.
Running Xbian 1 beta 1
Was going fine. Installed samba and some other programs through SSH. I got to a point where I wanted to backup my SD.
At the time I didn't know a way to backup in linux -- so I shutdown properly (sudo shutdown -h now) and once it was done, removed power and removed SD card. Plugged the sd into windows7 box and it pops up to try to "Scan and fix the SD Card" or to continue without scanning. I decided to continue without scanning. Ran a "read" on Win32DiskImager. Backup was complete. Ejected and put in pi -- powered up pi. Now trying to run a simple command : sudo apt-get update
I get this error:
Now any command with sudo will return a similar error. Even sudo reboot.
Now "su" works fine and I opened visudo and everything looks fine.
TL;DR - Was working fine. Shutdown, removed sd card, backed up in win7, put back in pi and booted. Now Sudo won't work.
Not sure where to put this so I put it in Installation.
Running Xbian 1 beta 1
Was going fine. Installed samba and some other programs through SSH. I got to a point where I wanted to backup my SD.
At the time I didn't know a way to backup in linux -- so I shutdown properly (sudo shutdown -h now) and once it was done, removed power and removed SD card. Plugged the sd into windows7 box and it pops up to try to "Scan and fix the SD Card" or to continue without scanning. I decided to continue without scanning. Ran a "read" on Win32DiskImager. Backup was complete. Ejected and put in pi -- powered up pi. Now trying to run a simple command : sudo apt-get update
I get this error:
Code:
xbian@Link ~ $ sudo apt-get update
[sudo] password for xbian:
Sorry, user xbian is not allowed to execute '/usr/bin/apt-get update' as root on Link.
xbian@Link ~ $
Now any command with sudo will return a similar error. Even sudo reboot.
Now "su" works fine and I opened visudo and everything looks fine.
TL;DR - Was working fine. Shutdown, removed sd card, backed up in win7, put back in pi and booted. Now Sudo won't work.