/srv/irclogs.ubuntu.com/2019/12/12/#ubuntu.txt

wedrughhhh, you need ethernet cable00:01
EriC^wedr: which ubuntu are you using? i just helped a person with an hp laptop getting a grub> shell00:01
wedrEriC^ Ubuntu 16.04 LTS00:02
EriC^wedr: ah00:02
EriC^he had updated to 19.1000:02
wedrI need to use this Ubuntu version because our office printer driver only supports up to 16.04 LTS00:02
wedrall other versions would cause the printer to print endlessly00:02
EriC^wedr: in any case, when you get grub> what happens if you type "normal" or "configfile /boot/grub/grub.cfg" ?00:02
wedrah, right now I'm at the login screen00:03
EriC^ah you manually booted via set root= etc?00:03
wedrI'm getting stuck after I entered my credentials..  The grub issue was solved by pointing the correct (hd0) path for linux and root, and point the initrd to the correct img file00:03
wedryeah00:03
wedrnow, I'm just stuck on a blank screen after logging in00:04
EriC^wedr: try using nomodeset perhaps00:05
wedrnomodeset?00:06
wedrSomehow I don't have Grub menu00:06
EriC^wedr: ok, when you get the grub>00:06
wedrok00:06
EriC^try typing "insmod normal"00:07
EriC^then type "normal"00:07
wedrok, gimme a sec00:07
wedrdone00:07
EriC^wedr: any menu?00:07
wedrno menu00:07
wedrjust 3 lines of grub>00:08
EriC^wedr: ok, try typing "echo $prefix" what does that give?00:08
wedr(hd0,gpt1)/boot/grub00:08
EriC^wedr: ok, looks good00:09
EriC^wedr: i guess it's just missing the line for the config00:09
EriC^wedr: type "configfile $prefix/grub.cfg"00:09
wedrit just showed "grub>" and a completely black screen00:09
EriC^hmm00:10
EriC^wedr: what does "cat $prefix/grub.cfg" give?00:10
wedrerror: file "/boot/grub/grub.cfg" not found00:11
EriC^wedr: aha, so that's the issue00:11
wedrSo I guess I don't have the cfg file00:11
wedralright, at least I have a lead somewhere00:11
wedrgoing to see how to generate the grub.cfg from the live usb00:11
wedrand then copy it over00:11
EriC^wedr: you'll have to manually boot it again, this time, when you put the linux /boot/vmlinuz root= .... add   "nomodeset"00:12
wedroh ok00:12
EriC^wedr: nah no need, worst case you can boot to a tty1 and run sudo update-grub from there to generate it00:12
EriC^if you still cant login, then press ctrl+alt+f1 to get tty100:13
wedrok00:13
EriC^login and type 'sudo update-grub'00:13
wedrdone00:14
wedrand then I restart?00:14
EriC^wedr: yeah00:14
EriC^press ctrl+alt+del00:14
wedrdoing it00:14
wedrhmm, I'm still at the grub>00:15
EriC^wedr: does the grub.cfg exist now?00:15
wedrnope00:15
EriC^odd00:15
wedryeah00:15
EriC^what's ls /boot give?00:16
EriC^"ls /boot"00:16
wedrwithout specifying (hd0,gpt3), ls /boot gives error saying "file /boot not found"00:16
EriC^wedr: oh, so gpt3 is the root fs00:17
wedryes00:17
EriC^wedr: then $prefix is wrong00:17
wedrah00:17
EriC^wedr: type "configfile (hd0,gpt3)/boot/grub/grub.cfg"00:17
wedrpurple screen00:17
EriC^with menu?00:18
wedrthen it's booting ubuntu with a loading screen.00:18
wedrno menu yet00:18
EriC^i think it autobooted00:18
wedryeah, I think it autobooted00:18
EriC^once it boots, go to tty1 again and run "sudo grub-install"00:19
EriC^it should sort $prefix out00:19
wedrerror: install device isn't specified00:19
EriC^wedr: ah, that suggests grub legacy is installed too00:20
wedrahhhhhhhh00:20
wedrI think I know why00:20
wedrI booted the live usb in legacy mode00:21
=== Wulf4 is now known as Wulf
wedrso installation of 16.04 was in legacy mode00:21
EriC^wedr: but you're in the actual install now no?00:21
EriC^oh00:21
EriC^i see00:21
wedrahhhhhhhhhhhh, well...00:21
wedrreinstall?00:22
EriC^wedr: no00:22
wedroh ok00:22
EriC^also something else is off i think00:22
EriC^wedr: do you have internet connection on it currently? ping -c1 8.8.8.8 works?00:22
wedrno00:22
wedrI get insufficient privileges00:22
EriC^oh00:23
EriC^wedr: what does 'grep efi /etc/fstab' give you?00:23
EriC^just a brief summary00:23
wedrnothing00:24
EriC^well, if it's a fresh install might as well reinstall in uefi mode00:24
EriC^it would probably take longer to convert it00:24
EriC^than to fresh reinstall00:24
wedryeah00:24
wedrok then, thanks for everything00:25
EriC^no problem00:25
wedrahhhhh, I know why I booted in Legacy Mode with the live usb00:35
wedrlive usb 's UEFI mode failed to boot00:35
wedrCan I say the live usb is not working as expected? EriC^00:36
wedrNice, fixed the Live USB. Apparently, the Ubuntu data on the Live USB was flawed, so I recreated the Live USB. Can now boot into UEFI mode in the USB, so I'm going to reinstall Ubuntu from there.00:58
OerHeks:-)00:58
neilduganHello... I am trying to install the 18.04 server version on my computer... I want to use two drives in a md raid1 configuration.. but the server iso doesn't seem to give that option when doing a manual partitioning... it used to do this in previous version.01:27
guivercneildugan, there is more than one server install media, the 'live' installer didn't have all options available with the di for example (though I'm no expert).  You didn't say which media/ISO you tried, but #ubuntu-server maybe a better place to ask (though if patient you may get more here too)01:28
neilduganguiverc, I didn't realise that I will have another look at the download page... thanks01:29
guivercneildugan, the live installer has been improving; so maybe different with 18.04.3 over prior, but by di I meant debian-installer (non-live)01:30
wedrAnyway to bring back the keyboards shortcut dialog that you get when you boot into Ubuntu for the first time?  (Ubuntu 16.04 LTS)01:31
neilduganguiverc, the page http://releases.ubuntu.com/18.04/ only list two iso 'desktop' and 'live server'01:33
guivercthat page lists 18.04.3 (you said 18.04 not 18.04.3); di might not have been spun for .3 (as I stated; they've been working on improving live) but I'm no expert on server sorry.01:34
CarlFKguiverc:  http://cdimage.ubuntu.com/releases/18.04.3/release/01:36
neilduganguiverc, do you know what type (desktop/server) the 'minimal' iso installs?01:37
guivercneildugan, https://help.ubuntu.com/community/Installation/MinimalCD01:37
guivercwedr, sorry I don't know, but https://help.ubuntu.com/community/KeyboardShortcuts maybe helpful01:39
neilduganguiverc, I will try the minimal version, to see if it does what I need.01:39
guivercneildugan, as I said earlier; #ubuntu-server may have better answers  (more server users)01:40
=== zbenjamin is now known as Guest45460
=== zbenjamin_ is now known as zbenjamin
wedrguiverc found it, just hold down the Super key02:58
guiverc:)    (I'd not have known that, I love my old ibm model m keyboards!  so no super key)02:59
odublueHello, I'm on Ubuntu 16.04, I tried going from Cuda version 7 to 10, however it's saying that I have a similar file in a separate package from a previous version, I tried a rm cuda*, and tried deleting the file that it says there is a duplicate of, but no dice03:07
odublueI followed advice in https://devtalk.nvidia.com/default/topic/1048193/cuda-setup-and-installation/cuda-problem-after-auto...But it hasn't solved my problem, I'd appreciate any advice03:08
mlokihi there, I've having an annoying problem with ubuntu studio 18.04. Everytime I plug a usb stick it will just mount it as read-only, permission for root only, and speed will suck. I've installed and removed stuff along the way but from all the fixes I have found, none has work03:24
Bashing-ommloki: What is the file system on the targetdevice, and what are the access rights ( ls -al /mount_point/<directory> ) on these file systems ?03:30
mlokiBashing-om: filesystem is vfat (as these are average jow usb sticks), mount point is automagic (/media/sdc1 or such)03:33
Bashing-ommloki: vfat is a Windows file system - I have no experience there :(03:37
nolsen I'm trying to bridge a ethernet usb adapter to my normal ethernet connection, to act as a "5th" ethernet port, but I cannot get bridging to work with netplan, and I can't find any *recent* guides online that involves this specific need, using netplan.03:50
nolsenTried whatever guides I **could** find, but all of them resulted in having NO internet.03:51
nolsenon both host, and the "5th" ethernet port.03:51
nolsenI just want to pass everything from the usb ethernet port, to the main ethernet port (internet connection), while keeping my host connection working.03:54
frustrohi all. I have 565 files that for some reason have ' at beginning of file name and ' at enf of file name.  I'd like to remove the ' from the first and last charachter in the filename string.  I have no clue how to do that. help please?03:55
frustroive tried to use rename, but with the regex it uses the ' to begin the regex string.  i cant wrap my head around how to structure it.03:56
odublueHello, I'm on Ubuntu 16.04, I tried going from Cuda version 7 to 10, however it's saying that I have a similar file in a separate package from a previous version, I tried a rm cuda*, and tried deleting the file that it says there is a duplicate of, but no diceI followed advice in03:58
odubluehttps://devtalk.nvidia.com/default/topic/1048193/cuda-setup-and-installation/cuda-problem-after-auto... it hasn't solved my problem, I'd appreciate any advice03:58
nolsenUnless it's no longer possible to do ethernet bridging anymore with netplan04:11
Sakura`Kinomotoi dont like netplan04:18
nolsenGreat, I tried to restore it and now I still have no internet for some reason.04:26
nolsenNetplan isn't applying.04:26
neilduganis there any operational difference between SSD/HDD ... I am having trouble with my motherboard ... it doesn't find a bootable drive on reset ... but if I use the F10 to get to the boot menu, I can select any drive and have it boot fine.04:27
nolsenwow, it was not working because of ONE typo.04:30
odublueAhhhh, this is madenningtrying to remove a package, using sudo apt-get purge after running it, I grep to see if I have, and it is STILL THERE04:37
odublueI'm trying to install the newest version of CUDA, but it is saying there is a file overlap with a previous version, going through solutions others have posted on forums, but purge itself isn't working04:39
ducasseodublue: what are you grepping to see it's still there?04:41
odublueIn example...04:41
odubluesudo apt-get purge libcublas7.5amd6404:42
odubluedpkg -l | grep libcub04:42
odublueand that package still is there04:42
odublueI've also tried purging it with libcublas*04:42
odublueI've tried purging other files also, and it won't get rid of them either04:43
odubluehttps://pastebin.com/7m1r7D4c04:47
nolsenOk so I have my host internet working again, but nothing is being forwarded from the USB ethernet port to the main ethernet port, into the internet.04:50
ducassenolsen: have you turned on ip forwarding?04:51
nolsennet.ipv4.ip_forward=104:52
nolsenyes04:52
nolsenI tried 'ping -I br1 google.com', and it doesn't work04:53
nolsenbut using br0 works04:53
nolsennetplan is only letting me have one interface per bridge for some reason04:55
nolsenNot sure why nobody wrote any help on bridging and netplan, after it being out and default for a few years now.04:58
nolsenOk I found the solution by doing brctl addif b01 myethernetinterface05:13
nolsenBut how do I add that in netplan? It only allows me to do add once.05:13
nolsenone*05:13
nolsenoh, weird, now it allows me to add more.05:14
acidjazzhello07:42
acidjazzcan anyone tell me why for user ubuntu, `nvm ls` works just fine but i cant su ubuntu -l -c "nvm ls"07:42
acidjazzi have all of my path and other stuff properly set in .bashrc and .profile07:43
rfmacidjazz, try "su - ubuntu ..." which makes the environment more like logging on as the user.  for "why" you'd have to read the source for su, all the options and env inheritance are horribly complicated and I at least don't understand them08:00
acidjazztried that, nope.08:00
acidjazzits so weird, works great just being logged in as ubuntu08:00
acidjazzeven if i do a su ubuntu -c "source ~/.bashrc; nvm ls" nothin08:01
rfmacidjazz, who knows what ~ will be expanded as there... perhaps sourcing /home/ubuntu/.bashrc would work, tho why not just give the full path to nvm and avoid worrying about $PATH anyway08:05
acidjazzso nvm doesnt really work that way08:05
acidjazzor i would have08:05
rfmacidjazz, also I'd expect PATH to be set in .profile, not .bashrc....08:05
acidjazzthats how i have to do all my other binaries set in .bashrc $PATH08:05
acidjazzi also tried echoing .bashrc to .profile as well08:06
acidjazzno luck08:06
acidjazzits very strange08:07
acidjazzstrictly on ubuntu v1.04 lts ami's08:08
acidjazzaws linux 2 ami's work perfect w/ all of this08:08
acidjazzv18.04*08:08
vachocp -R ../../creation/app/code/ code/08:14
vachowhy is this command not copying over the code folder ?08:14
towseri'm trying to get a program to run under wine but it just comes up with the loading cursor then does nothing08:15
rfmvacho, no clue, but I never use trailing slashes with cp.  maybe -v would help it explain what it thinks it is doing?08:17
ducassetowser: try #winehq08:18
toffeHi08:59
toffeCan I install ubuntu from ubuntu?08:59
toffeon a ssd (preinstall for a new employee)08:59
aeplusi used manufacturer installation recently09:03
toffeI mean like the ISO if I can open the installer from there and select the usb disk09:03
aeplushttps://help.ubuntu.com/community/Ubuntu_OEM_Installer_Overview09:03
toffeit says during boot which means I have to reboot my pc09:04
knut1erHello09:04
toffeor am I wrong? :)09:04
HelenahHi, in the past I installed pavucontrol via the Ubuntu repo, I've since switched to ncpamixer and when I do apt-get --purge remove pavucontrol the system says that pavucontrol isn't installed when it actually is and was installed via the repo.09:05
toffeLike Windows we can download a windows file and open in any windows pc, then select "Install to external disk"09:05
knut1erCan I use nested groups for Samba use? (one "local group" on ubuntu server, and ActiveDirectory group inside)09:05
HelenahAny advice?09:05
HelenahAs now I've got pavucontrol stuck on my system....09:05
beaver/1209:11
roryHelenah: could you reinstall it via apt, then uninstall it again?09:17
Helenahrory: Not possible09:18
HelenahI'm trying to remove software I don't use anymore to save HDD space09:18
Nozzzlehello, is this the correct command to uninstall software that I installed via docker; 'docker app uninstall INSTALLATION_NAME [--target-context TARGET_CONTEXT] [OPTIONS]' ?09:18
roryHelenah: What is the output of "which pavucontrol" command?09:18
roryHelenah: Why is it not possible?09:18
roryHelenah: gotcha09:18
Helenah"pavucontrol not found"09:18
HelenahWait...09:20
HelenahI think I ran that on the wrong shell09:20
HelenahDamn no wonder things didn't work... I was executing that command within a chroot by mistake.09:21
Helenahrory: I'm removing pavucontrol now!09:21
roryfor what its worth you can just use "locate pavucontrol" and delete any likely-looking files09:21
rorysince it sounds like you know what you're doing somewhat09:21
rorybut the big one is probably just the main binary (which pavucontrol)09:21
Nozzzlefound it09:22
laerlingSAPHelenah, use dpkg to remove the package.09:48
laerlingSAPOh, you resolved it already. Then nevermind09:48
=== KaptenRodSkagg1 is now known as KaptenRodSkagg
drogasgreat coming here from ##c++general10:50
drogashow can I update my gcc/g++ version to the latest v910:50
OerHeksone could use a ppa for that, carefull, use at your own risk .. https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test10:52
OerHeksfor 18.04 lts that is..10:52
drogasyes I am on 18.04. is it out of date?10:53
HelenahI've created a deb package and the package depends on libx11-6, I've figured out how to make that library a dependancy however when I install the deb package, dpkg just reports that the package depends on the library but wont be installed.10:54
HelenahDo I need to treat it as a recommended package?10:54
OerHeksdisco 19.04 and Eoan gives gcc-9 standard https://launchpad.net/ubuntu/+source/gcc-910:54
EriC^Helenah: i think thats the typical behavior, not an expert here, but usually if a deb has a dependency, after runngi dpkg -i, then sudo dpkg --configure -a should sort the dependencies needed10:55
EriC^Helenah: unless you're installing using apt install path/to/deb, i think that resolves straight away10:56
EriC^(not sure)10:56
isomariwhich package does users-admin belong to10:58
HelenahEriC^: I'm going to change the behaviour of the package.10:59
OerHeksapt-file search <filename>11:01
OerHeksif apt-file is not installed, run sudo apt-file update after install11:02
EriC^!find users-admin11:02
ubottuFound: W:, W:, W:, W:, W:, W:, W:, W:, W:, W: (and 17101 others) http://packages.ubuntu.com/search?keywords=users-admin&searchon=names&suite=eoan&section=all11:02
beaverrolf11:02
OerHeksif one cannot browse launchpad .. http://manpages.ubuntu.com/manpages/bionic/man1/users-admin.1.html11:03
EriC^isomari: ^ it seems it belongs to gnome-system-tools11:04
HelenahI still can't get the deb package to install like I want it to...11:07
drogasI am compiling something will it be bad if I update while it is compiling/building?11:08
EriC^Helenah: a work around on the top of my head would be to include it in some post-install script for your package?11:08
EriC^a dirty hack i guess11:08
HelenahYeah dirty hack11:09
HelenahEriC^: That is at the bottom of my 'things to try" list11:09
EriC^yeah, just throwing it out there11:09
EriC^in the end you might need it :D11:10
isomariEriC^: thanks11:11
EriC^np11:11
=== dionysus70 is now known as dionysus69
Rockwoodhi11:55
Rockwoodi am facing a strage issue11:55
Rockwoodstrange11:55
Rockwoodi am unable to access my desktop after enter correct password on Ubuntu 19.10 server edition11:56
drogaswhy isn't gcc-v9 default11:56
Rockwoodwhat do you mean by gcc-v9?11:56
Rockwoodidk much abt Ubuntu11:57
BluesKajHowdy all11:57
Rockwoodactually i am using VM drogas11:58
drogasthe GNU C compiler11:58
Rockwoodin VM i am using Ubuntu Distro11:58
drogasit's v7 by default on ubuntu11:58
Rockwoodunable by that too then11:59
Rockwooddrogas, q11:59
Rockwoodhow can i bypass GUI mode12:01
Rockwood?12:01
Rockwoodlol12:01
Rockwoodterminal access is enough12:02
ryuoRockwood: ctrl-alt-f1 through f612:02
ryuotake your pick.12:02
ryuojust find a free virtual console12:02
Rockwoodfrom where?12:03
BluesKajfrom the login page will work12:04
ryuoRockwood: ... uh, it works from local access.12:04
ryuoor a regular KVM.12:04
ryuoonly real option if ssh or serial access is unavailable.12:04
Baikonurhey, is there some tutorial into updating kernel and having it work with secure boot?12:05
BaikonurI need a kernel 5.3.1 or newer to 18.04 to get wifi working12:07
Rockwoodterminal access is working fine12:07
ryuoBaikonur: it would be easier just to disable secure boot.12:08
ryuoBaikonur: though you may be able to get away with installing a HWE signed kernel.12:09
BaikonurI had assumed that it wouldn't be an option (because of company policies) but turns out that I was inventing my own policies12:09
ryuoBaikonur: linux-signed-generic-hwe-18.04-edge, etc.12:10
ryuoit happens to be 5.3 series12:10
BaikonurI'll try that first, if that doesn't work, I'll just disable secure boot12:11
Baikonurthanks12:11
Rockwoodhow can i recover the desktop environment?12:13
Rockwoodryuo, desktop recover is possible?12:16
Rockwoodryuo, Acceleration: VT-x/AMD-V, Nested Paging, KVM Paravirtualization12:20
Rockwoodany active?12:23
ryuoRockwood: you should check your logs to find out why it's not going forward.12:30
ryuoassuming it worked in the first place12:30
V7drogas: wat?!12:37
ryuoRockwood: checking your .xsession-errors in home directory would be a place to start.12:43
ryuoRockwood: failure to login through X (successful authentication but getting kicked back to the login screen) usually means your session had a critical issue.12:44
drogasV7??12:56
=== laerlingSAP_ is now known as laerlingSAP
ice9I deleted secret/pub keys from gnupg however I can still encrypt using it! it tells me to import it, howcome?12:59
pragmaticenigmaice9: I think you need to provide more details. What do you mean it still encrypts?13:04
drogashow do I change the default gcc13:04
drogasI just installed gcc-913:04
drogasand want it to be default13:04
pragmaticenigmadrogas: Without knowing how you installed it, there's no way for anyone here to help you remove it. Remember details are important, and will likely be the key to undoing what you have previously done13:07
ice9pragmaticenigma, after I delete both keys then I run "echo "secret message" | gpg --encrypt --armor --recipient <email>" it show: https://bin.privacytools.io/?649529eec8a5315b#dGth39nBR7sOh/lCT3nZVTbsf+18tdWPOkCq0iKkDbs=13:07
drogasI am not trying to remove anything pragmaticenigma, installed as suggested here earlier using PPA ubuntu-tools13:08
pragmaticenigmaice9: gpg could be using an external, web hosted, key server to find the key if it is unable to locate one locally. You'd have to read up on the documentation to verify that.13:10
ice9pragmaticenigma, i haven't published that key to any key server13:10
pragmaticenigmadrogas: When you installed via the PPA, it removed the older version and replaced it with the newer version. This is the danger in using PPAs. The only way to go back is to remove the installed packate, remove the PPA, and then install using the default PPAs13:11
pragmaticenigmaice9: When you "encrypt" with GPG, you encrypt using the receipients keys, not yours13:11
drogasit did not remove gcc pragmaticenigma the gcc is still there13:12
drogasit just installed gcc-9 as an additional version.13:12
pragmaticenigmadrogas: Again, details are important... "update-alternatives --query gcc"13:13
pragmaticenigmadrogas: https://stackoverflow.com/a/783404913:13
drogassudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-913:15
drogasI guess setting that should solve it13:15
pragmaticenigmadrogas: correct13:15
drogasupdate-alternatives: error: no alternatives for gcc13:16
drogasweird13:16
drogasmaybe..13:16
drogasbut if I do which gcc/gcc-9 it will give me /usr/bin/gcc or /usr/bin/gcc-913:17
pragmaticenigmadrogas: Are you certain gcc-9 was installed along side the original gcc? ... check if /usr/bin/gcc is a symbolic link to gcc-9 "ls -l /usr/bin/gcc"13:17
drogaslrwxrwxrwx 1 root root 5 May 20  2019 /usr/bin/gcc -> gcc-713:18
drogaswhich is the default I am guessing13:19
pragmaticenigmadrogas: should be13:21
ice9pragmaticenigma, i'm encrypting for myself13:33
ice9thats why i'm using my own key as receipient13:34
ice9pragmaticenigma, basically i have that key on a yubikey so i want to encrypt by using that key not the one in the local keyring13:34
pragmaticenigmaice9: Do you have a file here "~/.gnupg/gpg.conf" and does it contain any entries for default-key ?13:36
ice9pragmaticenigma, default-cache-ttl 300; max-cache-ttl 999999;  but i tried to set both of them to '1' and got the same result13:39
pragmaticenigmaice9: This should list any keys that GPG knows about, where you have both public/private keys: gpg --list-secret-keys --keyid-format LONG13:40
ice9pragmaticenigma, after i delete them, the command you mentioned list nothing related to the deleted key; but once I run the encrypt command, it re-import the key and performs the encryption13:41
pragmaticenigmaice9: I think that means you found your answer. GPG is still knows something about your keys and is able to re-obtain them. I'm not that familiar with those mechanics. You may need to seek out a forum more dedicated to GPG for help.13:44
ice9thans13:44
ice9thanks*13:44
fxrsice9: did you see if --verbose shows any more info? when i try it on a random email it says "gpg: error retrieving 'test@example.com' via WKD: No data".13:45
fxrs(this is not ubuntu though, gpg 2.2.18)13:46
ice9fxrs, yes i get the same output for strange receipients but of my email, it still imports it without verbose info13:47
pragmaticenigmafxrs: heads up... new version released 5 days ago GnuPG 2.2.19 released (2019-12-07)13:52
fxrspragmaticenigma: thanks for the info. not using it much though and will wait until updates roll in.13:54
drogaspragmaticenigma which gcc now outputs v9 so all is well13:57
NTQHi. I am able to connect my android phone using IPSec Xauth PSK to my router. But I don't get it to work using the network-manager on Ubuntu Gnome I already tried nm-l2tp and nm-vpnc but there are no logs anywhere.14:15
NTQI know the exact configurations but I am unable to set them. It's aes256-sha256-modp1024 in phase1 and aes256-shae256 in phase2. no PFS, a PSK and Xauth14:16
NTQOh, and its IKEv1, and it seems I can not choose that when using the strongswan vpn14:18
kantlivelongfreakin crap. seems like systemd is timing out on luks passphrase prompt. not enough time to type the damn thing14:19
dostoyevskyhttps://pastebin.com/NGDqdeMi <- did I secure my portmapper port correctly?  (This is the ufw status output)14:27
lotuspsychjea question more for #netfilter perhaps dostoyevsky ?14:28
kristian_is ubuntu software having problem? I can't find any packages I'm looking for14:30
kristian_PyCharm, vscode for example14:30
pragmaticenigmavscode is not available in the software center, you have to download it directly from https://code.visualstudio.com14:30
pragmaticenigmapycharm is a paid application, also only available directly from the developer14:30
kristian_pycharm has a CE version which is free14:32
kristian_I'm almost 100% sure both were available when I installed them a while ago14:32
kristian_can't find spotify from the search either14:33
kristian_although it's there as a suggestion14:34
rorySpotify is available to install via snap, they also have an apt repo on their website14:34
kristian_yeah my problem is "ubuntu software"'s search functionality doesn't seem to work for any machine in our office currently14:34
pragmaticenigmakristian_: Did you make any changes to your system in regards to the package manager/software center? I'm finding those applications in Ubuntu 18.04, but I do know it's possible to "turn them off" by removing a lens/package the provides those in the search results14:35
rorykristian_: if you search for something that definitely exists, like firefox, do you get results?14:35
kristian_rory, nope14:38
kristian_pragmaticenigma, no14:38
kristian_we figured out because we set up a fresh ubuntu machine for a coworker14:39
kristian_we did try different mirrors in the software & updates settings14:39
hggdhkristian_: actually, pycharm is available via snap (which is what I am using)14:53
hggdhkristian_: apart from the snaps, the only option is by downloading the installer provided by JetBrains14:54
kristian_yeah we managed to install it14:59
kristian_but it's still weird I don't even find firefox in the ubuntu software app15:00
lotuspsychjekristian_: do you have all your repos enabled properly?15:00
kristian_lotuspsychje, I have no clue. but never had this problem before and I was able to install stuff when I set up my machine15:01
kristian_coworkers machine is a fresh install and he can't find anything15:02
kristian_to15:02
kristian_*too15:02
pragmaticenigmakristian_: Which version of Ubuntu are you running?15:02
kristian_pragmaticenigma, 18.04.315:03
lotuspsychjekristian_: did you update your system after installing clean?15:04
kristian_yes15:04
pragmaticenigmakristian_: Who did the installation of your system? You or your company's IT department?15:05
kristian_coworker15:05
kristian_himself15:05
pragmaticenigmakristian_: And this installation used the media from the Ubuntu download site, AS IS... no modifications, preseed, preconfiguration done to the installation image?15:06
kristian_yes15:06
pragmaticenigmayou are 100% certain of this?15:06
kristian_well I made the installable usb stick myself but it was about two months ago15:07
pragmaticenigmakristian_: What happens if you run "sudo apt install gnome-software-plugin-snap"15:07
mindofmateoHello.  I am using Ubuntu 18.04, and i3, and I can't tell if the issue I'm having is with i3 or Ubuntu.  When I move time zones, the clock in i3 status does not change to reflect the change in time zone.  In Ubuntu settings, I have turned on location services and update time zone automatically.  gnome-clocks shows the correct time and time zone,15:24
mindofmateohowever if I run `date "+%Z"` the system still shows I am in my original time zone.  Clearly the TZ information is available, because a web search tells me the correct information, as well as gnome-clocks, so how can I enable this to happen automatically with the system?15:24
thermomanhi. I found an issue with repository servers (version of pulseaudio in xenial-updates is different to version listed on https://packages.ubuntu.com/xenial-updates/pulseaudio). who do I contact about this?15:24
pragmaticenigmathermoman: what are the version differences?15:25
pragmaticenigmamindofmateo: That sounds like an i3 issue. If Gnome can handle the timezone change automatically, it would appear that the services are running properly. That leave i3, which may look at its own settings or doesn't query the timezone setting after intializing the session15:27
thermomanpragmaticenigma: https://packages.ubuntu.com/xenial-updates/pulseaudio says: 1:8.0-0ubuntu3.11 but http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/Packages.xz lists 1:8.0-0ubuntu3.1015:27
pragmaticenigmathermoman: It's possible that an update is pending but has not reached all mirrors yet15:29
mindofmateopragmaticenigma  That's what I was thinking, but didn't know how to narrow it down to verify.  But the thing is, isn't i3 just the environment?  I'm not sure _how_ it would be interfering with TZ settings.15:29
thermomanpragmaticenigma: that version was released 5th of november!15:30
pragmaticenigmamindofmateo: I didn't say interferring.. What I said was, when i3 loads, it checks those settings. But it may not have a mechanism to requery the setting at a regular interval. Therefor it doesn't automatically update15:30
mindofmateoOK.  Yes that makes sense.15:35
Hundmindofmateo: Did you solve your issue regarding the clock?15:37
pragmaticenigmaHund: No, the issue is i3 doesn't appear to have the ability to detect that the system's timezone has changed and therefor the clock continues to display the time of the zone it was previously in15:38
HundAre you using i3bar?15:39
mousespragmaticenigma: control+meta+r to reload i3?15:39
mindofmateo@mouses pragmaticenigma @Hund No, I haven't resolved the issue.  I have used timedatectl to enable NTP, but I think the deeper issue is that the system is not updating the time zone itself.  Gnome-clocks detects the time/zone properly, but even with NTP enabled, printing the systems TZ still shows my recent time zone, not the current time zone.15:42
mindofmateoYes, I tried restarting i3 with Ctrl+Meta+r15:42
HundOhh, so the issue is with the system and not i3.15:44
mindofmateoThat is what I think.15:44
mindofmateoMeaning yes, as far as I can tell it is something to do with the system, not just i3 showing a time incorrectly.15:44
mindofmateoI found information on Stack Overflow saying that installing gnome-clocks would fix the issue, maybe it did for some people, but it did not for me.15:45
kristian_pragmaticenigma, "..already newest version.."15:45
Hundmindofmateo: Do you have the right timezone set?15:46
mindofmateoNo, I mean, I could set it manually, but that defeats the purpose of setting it to update automatically as I move between time zones.15:48
HundYou can run the command "# timedatectl set-timezone <timezone>" to change it.15:49
someone235Hi, I want that fn+left arrow will function the same way as clicking the home button. Is it possible?15:59
mindofmateo@someone235  you can install `xbindkeys` and use `xbindkeys -k` to show keys pressed.  If you do that, compare LeftArrow to fn+LeftArrow to see if it is different.  Sometimes the fn key (I'm guessing you are using a laptop) is a HW button, so there won't be a difference from the system's perspective.16:12
someone235mindofmateo: It doesn't respond when I press fn+left. I guess it's a lost case16:15
mindofmateoWell, maybe.  You might have to use a different method than xbindkeys though.16:17
mindofmateoI just tried on mine as well, and it didn't respond on xbindkeys, but I do have that set up to lower screen brightness in my wm (i3).   I don't remember how to catch that signal though, rather, to figure out what is being sent to the system when those keys are pressed.16:18
someone235I guess that it catches "lower screen brightness" as one key16:22
mindofmateoYes, it's read as a media key for me, but xbindkeys doesn't see that for some reason.  That's what I mean when fn is a HW button16:23
mindofmateoOh I forgot to look at `showkey`, I'm rereading the man page to remember how it works though16:25
DevAntoineHi16:39
DevAntoineI've compiled and installed Python 2.7.17 from sources. How can I make it the default binary?16:39
DevAntoineShould I remove the previous installation?16:40
=== SimonNL is now known as SimonNL_Afk
mindofmateosomeone235  try `sudo showkey -k` or `sudo showkey -s`16:44
pavlosDevAntoine: do you see /usr/bin/python2.7.17 binary?16:45
DevAntoinepavlos: /usr/local/bin/python16:45
pavlosDevAntoine: python --version shows what?16:46
DevAntoine2.7.716:46
someone235mindofmateoIt still doesn't respond16:48
pavlosDevAntoine: change the symlink in /usr/bin to point to your install, sudo ln -s /usr/local/bin/python /usr/bin/python16:49
pavlosDevAntoine: then test again with python --version16:50
DevAntoinepavlos: I see, thanks.16:50
=== peter-bittner1 is now known as peter-bittner
acidjazz1117:00
acidjazz117:00
acidjazz117:00
hggdhpavlos: please be aware that replacing the default Python *may* cause problems. Granted, you are just updating to a more recent minor version but... just be aware.17:04
pavloshggdh: DevAntoine compiled his own so i told him to adjust the symlink17:06
=== SimonNL_Afk is now known as SimonNL
hggdhpavlos: oh, sorry. Mis-read17:24
pavloshggdh: no worries17:34
Aisonwhen I install mariadb, I can not set a root password18:07
Aisonor it is not asked18:07
Aisonhow can I change that?18:07
leftyfbAison: https://mariadb.com/kb/en/library/authentication-plugin-mysql_native_password/18:08
mallenjordanthis is so stupid and confusing. for some reason mysql-server is hanging on the apt-get upgrades18:11
Aisonhmm18:11
rypervencheAison: Maybe try: udo mysql_secure_installation utility18:11
rypervenchesudo*18:11
mallenjordankeeps trying to configure then hangs and the child lives suspended18:11
pragmaticenigmamallenjordan: Is it possibly getting hung when it does the table checks?18:12
mallenjordanI have no idea, i am trying to find what it is hanging on.18:13
Aisonrypervenche, ok, that worked also :-D18:13
mallenjordanI just get a generic error unable to lock a file..18:13
mallenjordanand then the mysqld seems to hang and give errors on configuration.18:13
rypervenchemallenjordan: Have you looked at your logs? Has your file system run out of space?18:14
mallenjordanyes I have checked, still plenty of space18:14
mallenjordansome how now I have two pid for two instances of mysqld running? I thought that was not possible.18:15
mallenjordanrunning systemctl stop/start/restart on mysql seems to hang also18:15
mallenjordanSo i tracked the pid, killed the two (whatever i guess), systemctl start mysql and it just works now.18:17
mallenjordanugh, if I had two right hands i could facepalm enough18:17
mallenjordanso I don't see anything reguarding online searching with similar problems. Should I be stopping the mysql service then running the apt-get upgrade?18:18
mallenjordanthat is where it seems to be having troubles is the deamon is running and the upgrade is trying to configure. Then there is file locking troubles18:19
mallenjordanthe part I don't understand is this..18:19
mallenjordanChecking if update is needed.18:19
mallenjordanThis installation of MySQL is already upgraded to 5.7.28, use --force if you still need to run mysql_upgrade18:19
mallenjordanW: APT had planned for dpkg to do more than it reported back (0 vs 4).18:19
mallenjordan   Affected packages: mysql-server-5.7:amd6418:19
mallenjordanso why is the resoprocities trying to upgrade something that is already upgraded on my system..18:20
pragmaticenigmamallenjordan: I've never had an issue updating mysql with apt. No need to shut it down manually or anything18:20
mallenjordanpragmaticenigma: I just did because the hang made it shut the socket down so no connections..18:20
pragmaticenigmamallenjordan: because the file that tracks what each version of package installed probably didn't get updated before you forcefully stopped apt's update process18:21
pragmaticenigmamallenjordan: Is the mysql instance running in a live production type environment, where there are continuous connections being made18:21
mallenjordanno this is test18:21
mallenjordanshould I just clear the apt cache and do an update again and see if it fixes the package dependancies?18:22
mallenjordanmost the online examples say purge mysql, that seems a bit dramatic18:24
pragmaticenigmapurge the package? I think that might delete your db's18:25
mallenjordanright, thats why i would never jump to purge. my rule #1 is never delete (purge)18:26
mallenjordanand rule #2 is to obey order given by human beings except where such orders would conflict with deleting...18:27
pragmaticenigmamallenjordan: yeah... This could be a fluke, I don't know if you have a way to replicate the scenario a second time. Best I can think of is something had a live connection to mysql instance. I think apt sends a service stop command to systemd, then proceses the update, the starts the service. if it didn't get the signal that the service stopped, that would exemplify itself as a hang18:29
mallenjordanthat is exactly what I am thinking too.18:29
mallenjordanso I could just hold its hand and stop the service, run the apt-get upgrade (see if the config is happy), and then start the service after too.18:30
pragmaticenigmathat led me to the question if this was a live production instance. as I could see that as a reason to manually stop the server before doing the update. I don't know what is the best SOP for live production systems18:30
mallenjordanthe little part it seems to hang on is where the upgrade stop command.18:30
mallenjordanthis would be a nightmare in live.. partly why I want to find out why this is going on, like a test upgrade before live upgrade.18:31
mallenjordannow see i run apt-get upgrade and look at this..18:33
mallenjordanThe following packages will be upgraded:18:33
mallenjordan  dmsetup libdevmapper1.02.118:33
mallenjordan2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.18:33
mallenjordanNeed to get 202 kB of archives.18:33
mallenjordanAfter this operation, 0 B of additional disk space will be used.18:33
pragmaticenigma!pm | mallenjordan ... or if you want to continue this as a discussion we can take this to #ubuntu-discuss18:35
ubottumallenjordan ... or if you want to continue this as a discussion we can take this to #ubuntu-discuss: Please ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice.18:35
pragmaticenigmamallenjordan: I'm not seeing dm/pm messages as I have it turned off... please come back to the channel or meet me in #ubuntu-discuss18:36
martiansoulHi. How does scihub work? I mean does scihub have access to the data from ieee and all?19:00
Mibixhey I did the GUI software updater and it asked me which device to install grub-pc on and i hit cancel19:09
Mibixand now my updater is a bit messed up and im afraid if I restart my grub wont work19:09
Mibixhmm nevermind restarted fine19:22
Mibixprobably gonna ask me to update grub again though :/19:22
=== musician20008 is now known as musician2000
scottjHi, I installed ubuntu server on a laptop, and the laptop screen does not turn off automatically when the laptop is unused. There is no Xorg involved, just console. What package/setting should I enable so the screen turns off automatically when unused?20:29
geniiscottj: Depending on what you want it to do, you could set HandleLidSwitch=  in the file /etc/systemd/logind.conf to:  suspend, hibernate, or lock20:34
geniiThere might be some other ones but those are the ones I remember20:35
scottjgenii: I want to use it as a server. The only option there that might work would be lock. Does lock turn off the screen or only require a password?20:36
geniiShould blank then want password20:38
scottjgenii: Can be tricky to verify if the lid is closed :)20:38
scottjgenii: maybe I want IdleAction in that same file.20:39
geniiYeah, there's a few different combinations to tinker with there20:40
scottjgenii: do you happen to know what is require to load changes to that file?20:41
geniisudo service systemd-logind restart    ...this will log you out too20:41
scottjgenii: thanks20:42
scottjgenii: odd, that did not log me out, and does not appear to have made any difference.20:49
geniiscottj: There's also settings related to lid switches in /etc/UPower/Upower.conf20:58
torontoyesin bionic beaver, is there a way through comman line to enalbe dhcp.  I understand i have to edit this file /etc/netplan/50-cloud-init.yaml.  Need to do this programatically21:03
torontoyesfor the following ineterace21:03
torontoyes*interface : enp0s321:04
torontoyesOn a fresh install .. what are the default settings?21:04
elfatherbrownSo. Other than linux window session manager, is there any and i mean any way to get ubuntu to remember my application and workspace layout between reboots?21:13
elfatherbrownThis is what i use and it work-ish: https://github.com/johannesjo/linux-window-session-manager21:13
elfatherbrownBetter than manual placing anyhow.21:13
ducasseelfatherbrown: x has a protocol for session management, but it's up to applications to support it21:15
elfatherbrown:(21:17
elfatherbrown@ducasse, mkay... :|21:17
ducasseelfatherbrown: you could look at something like devilspie for automatically placing windows, though21:18
elfatherbrown@ducasse, it looks nice. Kind of like going i3wm and configuring it to start up how one wants it21:20
elfatherbrownducasse, its nice though. Much Very.21:21
elfatherbrownThanks ;)21:21
ducassenp. i3 is another way to solve the problem, it's what i run21:22
=== ircuser-1 is now known as netlensbot
ncuxoHello everybody21:27
ncuxois there a problem with dash to dock and dash to panel extensions?21:27
ncuxoas soon as I reboot my system I have to disable and enable the extensions in order for them to appear21:27
ncuxothis has been like that for the last couple of days but today even with the enable disable procedure I get an error " Error loading the extension"21:27
=== netlensbot is now known as ircuser-1
=== ircuser-1 is now known as chasmo_
nplusHi, I'm struggling a bit here with DNS... I'm running 19.10 desktop with a default setup, but I'm trying to configure my DNS Server and DNS search, but I can't quite get it right... I tried setting the DNS to manual in the network config panel, but that didn't seem to apply. I tried setting DNS= and Domains= in /etc/systemd/resolved.conf, but it22:07
npluseither was only using 1 of my DNS servers or it was being overriden by something else (DHCP?). I tried configuring /etc/NetworkManager/conf.d/myconfig.conf and set [global-dns] searches=... and [global-dns-domain-*] servers=... but that didn't work either. I ended up with no DNS servers.22:07
OerHeksrestarted networking after those changes?22:08
nplusyes, went as far as rebooting to be sure22:09
OerHeksor a cold reboot, like windows users like to do?22:09
npluswhen I was changing the /etc/systemd/resolved.conf, the global "DNS Servers" list showed both configured dns servers, but the "Current DNS Server" only showed 1 of the two I put in22:11
OerHeksoh, don't edit /etc/systemd/resolved.conf as it gets reset after boot.. i guess that is in the header too22:12
OerHeksyour 2nd part would be right;  /etc/NetworkManager/conf.d/ <some name>.conf22:13
OerHeksthen your dns would be polpulated in networkmanager, iirc22:13
nplusI believe /etc/resolv.conf that is auto-generated, not /etc/systemd/resolved.conf22:13
bjackmanHas anybody had synaptics touchpad issues since upgrades today?22:20
bjackmanChecking my dpkg logs looks like I was up-to-date yesterday, but today I'm getting nothing from libinput debug-events when I touch my touchpad22:21
bjackmanThe touchpad shows up in libinput list-devices22:21
nplusAnyway, commented out my changes for the systemd/resolved.conf and set  [global-dns-domain-*] servers= ... but that left me with no DNS configured at all22:23
bjackman(On a ThinkPad T480 on 18.04 BTW)22:24
bjackman(Also I booted up Windows and it worked, so hardware isn't broken)22:24
akkI've never *not* had synaptics touchpad issues.22:26
akkThere seems to be a bug where synclient and syndaemon use the wrong device (psmouse or trackpoint) instead of the actual synaptics22:27
akkand as far as I can tell nobody has found a way to get them to apply to the right device except for blacklisting the modules for all other pointer devices.22:27
bjackman@akk Hmm interesting - trackpoint doesn't work either in my case though22:29
bjackmanWhen you say modules do you mean DKMS or like xinput/libinput modules or something else?22:30
akkI mean like modprobe -r psmouse22:30
akkkernel modules22:31
bjackman FWIW I also don't have syndaemon running22:31
akke.g. the solution here makes the trackpad work a lot better, but you lose the trackpoint: https://forums.linuxmint.com/viewtopic.php?t=22993222:31
bjackman@akk, Hmm i don't think that's the same issue I'm facing - synclient -l just silently exits with 122:34
bjackmanWill try blacklisting the kmods anyway22:34
bjackmanDang still no touchpad22:39
bjackmanNot a good day for this Brit22:40
tomreynwhich ubuntu version are you on there?22:41
bjackman18.0422:41
bjackman.322:41
tomreyndoes this actually still work with pre libinput drivers?22:41
bjackmantomreyn, Sorry can't say I know22:42
tomreyndid you upgrade to 18.04 or was this a fresh installation?22:43
bjackmantomreyn, Must have been a fresh install this laptop is quite new22:43
bjackmanYeah actually I remember22:44
bjackmanWas fresh22:44
tomreyndo you have xserver-xorg-input-synaptics-hwe-18.04 installed?22:44
bjackmantomreyn, I have xserver-xorg-input-synaptics (as of when I installed it about 90 mins ago)22:45
bjackmanEek if I try to install that full package name I get the old "you have held broken packages"22:45
bjackmanMay be my issue22:45
tomreynhmm maybe you didn't install 18.04.3 right away but an earlier point release22:45
tomreynheld broken packages cuold be related, shouldn't normally happen22:46
bjackmanOh sorry yeah, would have been an earlier point release22:46
bjackmanI couldn't say which22:46
bjackmanInstalling the -core-hw-18.04 package worked, that let me install the synaptics one22:47
bjackmanWill try rebooting I guess22:47
tomreynso you'll be running the 4.15  kernel still, and the older X, and dont need the -hwe synaptics package22:47
bjackman... and now my keyboard doesn't work either :D22:50
bjackmanTime for bed I think. Your ideas are appreciated, thanks22:50
tomreynfix apt first of all22:52
tomreynyou must have broken something by adding some PPAs or other 3rd party repositories.22:52
dkaOn linux debian, I am using `google-chrome-stable`, I was configuring a reverse proxy and it's DNS got cached using a wrong domain. I have tried to go to `chrome://net-internals/#dns` and click on `Clear Host Cache` button that didn't change anything. I did the same with `chrome://net-internals/#sockets` and `Flush sockets pool` button. Firefox which I am not using can access with the new DNS. I have this issue for years and I don't know how23:20
dkato get through. I can only wait until the `google-chrome-stable` DNS cache is expire. Any idea what can I do?23:20
dkaSorry, I meant linux ubuntu23:20
geniidka: Have you tried: sudo systemd-resolve --flush-caches    ..?23:23
dkawell, firefox can query, curl can query23:24
dkaonly chrome can't23:24
dkaso no I didn't even had the idea23:25
dkaI only run system wide command for system wide issue23:25
pragmaticenigmadka: when you clear'd chromes internal cache, did you restart the application?23:31
nplusnope still no luck trying to set the DNS server through NetworkManager23:31
nplusI'm having to.. sudo systemd-resolve  --set-dns=<ip> --interface=enp7s023:31
dkaNo i did not restart the application23:32
dkabut after a few minutes23:33
dkaI just refresh and it worked (without restarting)23:33
pragmaticenigmadka: I'm guessing that clearing the cache may not release the current record if: The domain is still active in a tab, or you have disabled running each tab in it's own process where the entire browser may not release the record23:34
dka1) the domain was still active in a tab, 2) I don't understand sorry23:35
pragmaticenigmadka: As you are aware, applications will sometimes cache a DNS record on their own to help remove the round trip from asking the hosting operating system. The architecture of Chrome (speculation here) with hosting each tab of the browser in a separate process may not clear the cache associated with each tab when you request it via the settings/config panel. So what I'm saying is that when you cleared the cache in Chrome, it had23:40
pragmaticenigmano impact on the already open tab.23:40
pragmaticenigmaPersonally, when I perform a clear cache/history or other type of clean up action in any application. I always restart the application prior to further testing or continued use23:40
dkaOk. I will do that next time.23:53
dkaBut I think I have already been through that23:54
dkaand it does not clear the cache 100% of the time23:54
dkaBut I will see when I will have that issue again, thanks for the advice23:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!