...
installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10
...
Legacy GPUs only supported by legacy nVidia drivers. DKMS may not be compiled for the newest Linux kernels.
This is useful tip when you need to check exact time of a bash command you've run in the past. You can check your CLI command history by history
command on your terminal.
Warning Time information will be recorded in your system as soon as you make to following changes. The commands prior to that will not have correct dates.
Solution is to identify HISTTIMEFORMAT
variable. The following command line can be pasted in ~/.bashrc
file.
HISTTIMEFORMAT="%F %T "
This is a table of contents of my Gists including quick fixes, workarounds and useful tips on programming related tools such as Ubuntu, Linux, bash, Termux, VS Code, docker, and git.
This solution is helpful if you get GLib-GIO-ERROR** .. No GSettings schemas are installed on the system
error, when you try to open a dialog window from X11 apps in Termux. This behaviour is typical when you want to "Open File" or "Save As..." (example, Inkscape).
The solution is to identify XDG_DATA_DIRS
.
🕊️ Solution The following command line can be pasted in ~/.bashrc
file.
export XDG_DATA_DIRS="/data/data/com.termux/files/usr/share"
...
The following packages have been kept back:
...
This may be caused by phased updates or changed dependencies.
fatal: detected dubious ownership in repository at '/storage/emulated/0/<some_folder>'
To add an exception for this directory, call:
git config --global --add safe.directory /storage/emulated/0/<some_folder>
This is a simple check (by Git) comparing current user ID and the ID of the owner of the current folder. If they do not match (in case of rootless Termux, root owns them all.), Git will not permit any action (even git status
).