How do I save my time settings?
#9
MrDitchy, if bash tells you "command not found" when you try and run dpkg-reconfigure, it's probably because you are trying to run it as a non-root user.

When you enter a command without specifying where it is, the shell looks in the directories specified in the PATH variable to find it.

You'll notice the root account has directories in it's PATH that are not typically present in a non-root account, and the dpkg-reconfigure command is in one of those directories, hence bash doesn't find it and says "command not found".

In your case simply use sudo (it will Switch User to root before DOing the command, invoke the command, then switch back after the command has run).


Code:
$ sudo dpkg-reconfigure tzdata


Messages In This Thread
How do I save my time settings? - by MrDitchy - 01-04-2020, 01:13 AM
RE: How do I save my time settings? - by MrDitchy - 01-04-2020, 02:06 PM
RE: How do I save my time settings? - by MrDitchy - 01-05-2020, 01:06 PM
RE: How do I save my time settings? - by MrDitchy - 01-12-2020, 01:00 AM
RE: How do I save my time settings? - by NigelT - 01-12-2020, 01:47 AM
RE: How do I save my time settings? - by NigelT - 01-12-2020, 02:39 AM
RE: How do I save my time settings? - by MrDitchy - 01-17-2020, 09:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Graphical Glitch in Settings sciolus 4 5,357 03-12-2021, 08:23 AM
Last Post: sciolus
  Network settings, where to find the config files? hvdkooij 1 2,899 11-20-2020, 02:47 PM
Last Post: xyzzy
  Saving ALSA settings? Baslow 9 9,850 09-04-2020, 09:05 AM
Last Post: brzegorz
  Very long lag time using SSH via Wifi in factory Debian OS Redbeard 4 5,270 02-16-2020, 10:19 AM
Last Post: wdt
  how I "fixed" Chromium crashing on accessing settings richfm 7 8,458 12-17-2019, 04:35 AM
Last Post: andybleaden@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)