sudoapt-getinstallsoftware-properties-commonReadingpackagelists...DoneBuildingdependencytreeReadingstateinformation...Donesoftware-properties-commonisalreadythenewestversion(0.96.24.32.9).Thefollowingpackageswereautomaticallyinstalledandarenolongerrequired:gypjavascript-commonlibhttp-parser2.7.1libjs-asynclibjs-inheritslibjs-jquerylibjs-node-uuidlibjs-underscorelibuv1-devnodejs-docUse'sudoaptautoremove'toremovethem.0upgraded,0newlyinstalled,0toremoveand21notupgraded.sudoapt-keyadv--recv-keys--keyserverhkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8Executing:/tmp/apt-key-gpghome.jVRLtzEDLC/gpg.1.sh--recv-keys--keyserverhkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8gpg:connectingdirmngrat'/tmp/apt-key-gpghome.jVRLtzEDLC/S.dirmngr'failed:IPCconnectcallfailedgpg:keyserverreceivefailed:Nodirmngrsudoadd-apt-repository'deb[arch=amd64,arm64,ppc64el]http://ftp.ubuntu-tw.org/mirror/mariadb/repo/10.4/ubuntu bionic main'Hit:1http://free.nchc.org.tw/ubuntu bionic InReleaseHit:2http://free.nchc.org.tw/ubuntu bionic-updates InReleaseGet:3http://ftp.ubuntu-tw.org/mirror/mariadb/repo/10.4/ubuntu bionic InRelease [3901 B]Hit:4https://deb.nodesource.com/node_10.x bionic InReleaseHit:5http://security.ubuntu.com/ubuntu bionic-security InReleaseErr:3http://ftp.ubuntu-tw.org/mirror/mariadb/repo/10.4/ubuntu bionic InReleaseThefollowingsignaturescouldn'tbeverifiedbecausethepublickeyisnotavailable:NO_PUBKEYF1656F24C74CD1D8Readingpackagelists...DoneW:GPGerror:http://ftp.ubuntu-tw.org/mirror/mariadb/repo/10.4/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8E:Therepository'http://ftp.ubuntu-tw.org/mirror/mariadb/repo/10.4/ubuntu bionic InRelease' is not signed.N:Updatingfromsucharepositorycan'tbedonesecurely,andisthereforedisabledbydefault.N:Seeapt-secure(8)manpageforrepositorycreationanduserconfigurationdetails.
It’s Bugging Since The First Bionics in wsl. But the temporary to pass this problems is using apt-key add instead adv options through wget or curl : curl -sL http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF | sudo apt-key add