Comment by Thomas on sha256sum: 'filename': No such file or directory
How did you create sha256sum.sha256? It seems there is a formatting problem 'RT-N16_3.0.0.4_374.43_2-39L3j9527.trx'$'\r': vs. RT-N16_3.0.0.4_374.43_2-39L3j9527.trx. Try to edit or recreate the file...
View ArticleComment by Thomas on Network Unreachable - Ethernet
Possible duplicate of Ubuntu 18.04: switch back to /etc/network/interfaces
View ArticleComment by Thomas on "Module nvidia is in use" but there are no processes...
Try to run modprobe -r nvidia_uvm; modprobe -r nvidia_modeset or if it fails change the order of the two modules. If you then still cannot modprobe -r nvidia add the output of lsmod | grep nvidia and...
View ArticleComment by Thomas on Virtual Hosts of Ubuntu 19.04
Best is to test with curl example1.com and curl example2.com or open your browser in private / incognito mode. I often got bitten by the browser cache showing me wrong results. Also check with curl -IL...
View ArticleComment by Thomas on Can users with the same $HOME have separate bash histories?
@steeldriver: I did not have any preferences where to place this. '~/.bashrc` would also be an option. Since the HISTFILE assignment is within the bash check I don't think it is set for other shells....
View ArticleComment by Thomas on CIFS share on fstab via krb5
Is this a typo //windows/sahre/filepath ( sahre vs share )?
View ArticleComment by Thomas on Export directory as ro and one of its subdirectories as rw
Changing the order should fix the issue ( /data/temp first ).
View ArticleComment by Thomas on How to handle fsck 'Operational error'?
You should run fsck against the partition/LVM/cryptDevcie that holds the filesystem not the whole disk. It is possible that a filesystem is put onto a whole disk without partitions, but from the output...
View ArticleComment by Thomas on How to solve the error: WARNING:root:could not open file...
How is the directory /etc/apt/sources.list.d connected to the file /etc/apt/sources.list mentioned in the question?
View ArticleComment by Thomas on get xargs to run a command once for each input instead...
Can you try xargs -L 1 ffprobe -show_streams -i instead?
View ArticleComment by Thomas on Restrict user access to GPU
@NikolayBaranenko: I think best would be to ask a new question for this
View ArticleAnswer by Thomas for Installing BlueZ 5.50 doesn't update bluetoothd
If you compile a programm from sources and do not use pre-compiled dpkg packages, the dpkg packages will not be touched or changed in any way.Normally, the configure step instructs the build to use...
View ArticleAnswer by Thomas for How do you automatically set infiniband mode to connected?
Since netplan does not support the pre-up scripts, you do have two options here:Get rid of netplanModify /etc/default/grub and add netcfg/do_not_use_netplan=true to GRUB_CMDLINE_LINUX. Then run...
View ArticleAnswer by Thomas for Bash script help substitution
Just switch the order of the assignments for command and maxruntime and substitute it in command.maxruntime="15s"command="/usr/bin/stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout ${maxruntime}"
View ArticleAnswer by Thomas for Asus X551ca HDMI resolution
The maximum resolution of the Intel HD Graphics 4000 of the i3-3217 CPU is 1920x1200 over HDMI, due to single link HDMI.In this post there is a method that may work to increase to resolution.Another...
View ArticleAnswer by Thomas for Mount point 0 does not exist
It seems you have messed up the entries in /etc/fstab getting the USB thumb to mount.From what you have posted, the lines 2-3 do not look sane and should rather be merged to:/dev/mmcblk0p6 /boot vfat...
View ArticleAnswer by Thomas for Reduce Java heap Memory
The start script <install-path>/android-studio/bin/studio.sh does consult the files as follows to read configurations.For 64bit...
View ArticleAnswer by Thomas for update-alternatives does not work due to /usr/local/bin...
To answer your first questionWhy update-alternatives has not created the link in /usr/local/bin for maintaining for proper searching of application ?This is simply because alternatives for python3 is...
View ArticleAnswer by Thomas for Setting up Grid Engine
The error you get from sge_execd points to that the sge_execd process is running already and has allocated port 6445 already and therefore a second instance cannot use the port again.Since sge_execd...
View ArticleAnswer by Thomas for How to delete a route by its id or something easy to type
Not knowing which Ubuntu version you are using, but ip route del should do the trick. You also should use ip route to list the routes. Then delete the routes as follows.root@host:~# ip routedefault via...
View ArticleAnswer by Thomas for nvidia-settings (&prime-select) fails to switch GPU...
Well, you are using a Linux distribution that does use grub by default and many scripts assume that the grub tools are available to make changes that are easy to use for ordinary users. Now if you...
View ArticleAnswer by Thomas for How to pass a pathname with a space in it to cd inside...
You should use double-quotes " to surround files, folders or variables that contain special characters or whitespace.From the example you provided, that would be as follows:~$ mkdir "temp space"~$...
View ArticleAnswer by Thomas for Migrating /home to ZFS
First you need to the zstorage/home filesystem to a different mountpoint like /zstorage/home to transfer the files from /home to /zstorage/home.To transfer the data, best would be to do this while no...
View ArticleAnswer by Thomas for dns problem in samba addc
They do not work because the second server is only queried if the query of the first one returns with an error. An error is something like a timeout, an answer from the DNS server that the address/name...
View ArticleAnswer by Thomas for How to start emacs as service?
The systemd service file seems to need some modifications to work. From the link you provided, the --fg-daemon option is only available for Emacs 26.1+, whereas version below should use --daemon (was...
View ArticleAnswer by Thomas for Does Kernel HWE 4.18.0-13 support overlay nfs_export=on?
To check if the overlay module support the NFS feature you can run modinfo overlay.root@host:~# modinfo overlay | grep nfsparm: nfs_export:boolparm: ovl_nfs_export_def:Default to on or off for the NFS...
View ArticleAnswer by Thomas for rsync to remote directory
For rsync the -p option means to preserve permissions and does not take an argument. Therefore your command cannot be parsed correctly and you get an error. If you want to change the SSH port on which...
View ArticleAnswer by Thomas for Reconfigure the display-manager non-interactively
After reading up the .post*, '.pre*' and .config scripts of gdm3 and lightdm I have found a way to run dpkg-reconfigure interactively to change between the display managers and keep the magic of the...
View ArticleAnswer by Thomas for Unable to install wine on ubuntu 18.04
As the error points to line 51, this one is not correct. I should be as follows.deb https://dl.winehq.org/wine-builds/ubuntu bionic mainPlease also note further needed steps from the WineHQ site.
View ArticleAnswer by Thomas for yaml expected mapping
You have to indent the properties accordingly to identify parent and child properties. Otherwise netplan is not able to parse your YAML configuration. A valid YAML file for netplan would be as...
View ArticleAnswer by Thomas for Process substitution removes new-line and replace with...
echo does not interpret backslashes escapes by default and \n is not recognized as newline therefore. You can enable the interpretation with echo -e.#!/bin/bashdeclare -a orgwhile IFS=$'\n' read -r...
View ArticleAnswer by Thomas for pip install pycurl Fails on Ubuntu 18.04
After some iterations it turned out that some development packages were missing to compile pycurl. apt-get install libpython3.7-dev libnss3 libnss3-devThe essential hint for libpython3.7-dev is as...
View ArticleAnswer by Thomas for tar using short form option versus old style
Because that is the way the different option styles work and they behave differently.The man page states for UNIX or short-option style, the one which is prefixed with a single dash.Any number of...
View ArticleAnswer by Thomas for SD card showing up in `dmesg` but not elsewhere
The problem seems to be related to a misbehaving auto suspend function of the ums_realtek driver.From the output of dmesg of the question one can see that the device gets detached again 4 seconds after...
View ArticleAnswer by Thomas for apt-file regex: find multiple packages at once using or
The problem is related to the source of files apt-file is matching. It uses the Contents files in /var/lib/apt/lists/, which do not contain the leading /.# lz4cat...
View ArticleAnswer by Thomas for How do I get usb 3.0 driver working or check that it is...
You can check your USB devices with, e.g., lsusb -t. There should also be listed which driver is in use and at which speed the devices are connected. It seems like the driver is built into the kernel....
View ArticleAnswer by Thomas for Will multiple swap space's be effective?
In general this highly depends on your use case. E.g. if you do not make use of hibernate to disk (which uses swap to hibernate) you do not need that much amount of swap space and 1GB might be...
View ArticleAnswer by Thomas for setting up secure tmpfs in fstab
The first field is the storage backend you want to mount. In case of tmpfs, there is none storage backend.From man fstabThe first field (fs_spec)....For filesystems with no storage, any string can be...
View ArticleReconfigure the display-manager non-interactively
I am trying to change the default display-manager on a Ubuntu 18.04.1 in a non-interactive way to do this in a script. Everything works as expected when using dpkg-reconfigure gdm3dpkg-reconfigure...
View ArticleAnswer by Thomas for Does installing things into /usr instead of /usr/local...
Installing software from source and using /usr as prefix can break things, as you might overwrite libraries or binaries that are shipped with your distribution. These libraries and/or binaries often...
View Article