On Friday, October 24, 2014 3:12:19 PM UTC-6, Dennis Cote wrote:
>
> It's there, just got a be root: 
>>
>> debian@beaglebone:~$ dpkg-reconfigure tzdata 
>> /usr/sbin/dpkg-reconfigure must be run as root 
>>
>>
> Right you are. I got a "command not found" error when I tried, and "which" 
> returned nothing so I did it by hand. I must have typed it wrong each time 
> (I seem to suffer from dyslexic typing some times).
>
>
Actually, a little more testing shows the problem is related to the 
terminal used. When I use the QTerminal application, I get the following:

debian@beaglebone:~$ dpkg-reconfigure tzdata
bash: dpkg-reconfigure: command not found
debian@beaglebone:~$ which dpkg-reconfigure
debian@beaglebone:~$ sudo which dpkg-reconfigure
/usr/sbin/dpkg-reconfigure

When I use the a text or serial console I get the following:

debian@beaglebone:~$ dpkg-reconfigure tzdata
/usr/sbin/dpkg-reconfigure must be run as root
debian@beaglebone:~$ which dpkg-reconfigure
/usr/sbin/dpkg-reconfigure

I had originally tried using a QTerminal, and it looked like it wasn't 
installed. Using sudo I can see that it is. Why do the different consoles 
produce different results? I suspect it is a login shell vs a non-login 
shell thing again. 

Dennis Cote

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to