Saturday, October 24, 2020

Ubuntu WiFi device disappear with dual boot Windows 10

 When your device is dual boot with Ubuntu and Windows 10, you'll got a chance to lose the WiFi device in Ubuntu.


To fix this issues, try to disable the "Fast Startup" feature in Windows 10.


It solves the problem for me, hope this work for you too.


Sunday, October 11, 2020

Ubuntu apt-get update with NO_PUBKEY error

 In Ubuntu, I'd encountered the following error when doing a apt-get update:

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F7E06F06199EF2F2

This key belongs to the repository https://qgis.org/ubuntu. To add the key, I did the following:

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 F7E06F06199EF2F2

By default, the command above will called gpg which uses port 11371. I had to force command   to use port 80 instead. Also, please also pay attention that the protocol is called "hkp://"

Ref: https://askubuntu.com/questions/1119727/gpg-keyserver-receive-failed-connection-timed-out



Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull