[00:01] ughhhh, you need ethernet cable [00:01] wedr: which ubuntu are you using? i just helped a person with an hp laptop getting a grub> shell [00:02] EriC^ Ubuntu 16.04 LTS [00:02] wedr: ah [00:02] he had updated to 19.10 [00:02] I need to use this Ubuntu version because our office printer driver only supports up to 16.04 LTS [00:02] all other versions would cause the printer to print endlessly [00:02] wedr: in any case, when you get grub> what happens if you type "normal" or "configfile /boot/grub/grub.cfg" ? [00:03] ah, right now I'm at the login screen [00:03] ah you manually booted via set root= etc? [00:03] I'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 file [00:03] yeah [00:04] now, I'm just stuck on a blank screen after logging in [00:05] wedr: try using nomodeset perhaps [00:06] nomodeset? [00:06] Somehow I don't have Grub menu [00:06] wedr: ok, when you get the grub> [00:06] ok [00:07] try typing "insmod normal" [00:07] then type "normal" [00:07] ok, gimme a sec [00:07] done [00:07] wedr: any menu? [00:07] no menu [00:08] just 3 lines of grub> [00:08] wedr: ok, try typing "echo $prefix" what does that give? [00:08] (hd0,gpt1)/boot/grub [00:09] wedr: ok, looks good [00:09] wedr: i guess it's just missing the line for the config [00:09] wedr: type "configfile $prefix/grub.cfg" [00:09] it just showed "grub>" and a completely black screen [00:10] hmm [00:10] wedr: what does "cat $prefix/grub.cfg" give? [00:11] error: file "/boot/grub/grub.cfg" not found [00:11] wedr: aha, so that's the issue [00:11] So I guess I don't have the cfg file [00:11] alright, at least I have a lead somewhere [00:11] going to see how to generate the grub.cfg from the live usb [00:11] and then copy it over [00:12] wedr: you'll have to manually boot it again, this time, when you put the linux /boot/vmlinuz root= .... add "nomodeset" [00:12] oh ok [00:12] wedr: nah no need, worst case you can boot to a tty1 and run sudo update-grub from there to generate it [00:13] if you still cant login, then press ctrl+alt+f1 to get tty1 [00:13] ok [00:13] login and type 'sudo update-grub' [00:14] done [00:14] and then I restart? [00:14] wedr: yeah [00:14] press ctrl+alt+del [00:14] doing it [00:15] hmm, I'm still at the grub> [00:15] wedr: does the grub.cfg exist now? [00:15] nope [00:15] odd [00:15] yeah [00:16] what's ls /boot give? [00:16] "ls /boot" [00:16] without specifying (hd0,gpt3), ls /boot gives error saying "file /boot not found" [00:17] wedr: oh, so gpt3 is the root fs [00:17] yes [00:17] wedr: then $prefix is wrong [00:17] ah [00:17] wedr: type "configfile (hd0,gpt3)/boot/grub/grub.cfg" [00:17] purple screen [00:18] with menu? [00:18] then it's booting ubuntu with a loading screen. [00:18] no menu yet [00:18] i think it autobooted [00:18] yeah, I think it autobooted [00:19] once it boots, go to tty1 again and run "sudo grub-install" [00:19] it should sort $prefix out [00:19] error: install device isn't specified [00:20] wedr: ah, that suggests grub legacy is installed too [00:20] ahhhhhhhh [00:20] I think I know why [00:21] I booted the live usb in legacy mode === Wulf4 is now known as Wulf [00:21] so installation of 16.04 was in legacy mode [00:21] wedr: but you're in the actual install now no? [00:21] oh [00:21] i see [00:21] ahhhhhhhhhhhh, well... [00:22] reinstall? [00:22] wedr: no [00:22] oh ok [00:22] also something else is off i think [00:22] wedr: do you have internet connection on it currently? ping -c1 8.8.8.8 works? [00:22] no [00:22] I get insufficient privileges [00:23] oh [00:23] wedr: what does 'grep efi /etc/fstab' give you? [00:23] just a brief summary [00:24] nothing [00:24] well, if it's a fresh install might as well reinstall in uefi mode [00:24] it would probably take longer to convert it [00:24] than to fresh reinstall [00:24] yeah [00:25] ok then, thanks for everything [00:25] no problem [00:35] ahhhhh, I know why I booted in Legacy Mode with the live usb [00:35] live usb 's UEFI mode failed to boot [00:36] Can I say the live usb is not working as expected? EriC^ [00:58] Nice, 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] :-) [01:27] Hello... 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:28] neildugan, 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:29] guiverc, I didn't realise that I will have another look at the download page... thanks [01:30] neildugan, 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:31] Anyway to bring back the keyboards shortcut dialog that you get when you boot into Ubuntu for the first time? (Ubuntu 16.04 LTS) [01:33] guiverc, the page http://releases.ubuntu.com/18.04/ only list two iso 'desktop' and 'live server' [01:34] that 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:36] guiverc: http://cdimage.ubuntu.com/releases/18.04.3/release/ [01:37] guiverc, do you know what type (desktop/server) the 'minimal' iso installs? [01:37] neildugan, https://help.ubuntu.com/community/Installation/MinimalCD [01:39] wedr, sorry I don't know, but https://help.ubuntu.com/community/KeyboardShortcuts maybe helpful [01:39] guiverc, I will try the minimal version, to see if it does what I need. [01:40] neildugan, as I said earlier; #ubuntu-server may have better answers (more server users) === zbenjamin is now known as Guest45460 === zbenjamin_ is now known as zbenjamin [02:58] guiverc found it, just hold down the Super key [02:59] :) (I'd not have known that, I love my old ibm model m keyboards! so no super key) [03:07] Hello, 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 dice [03:08] I 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 advice [03:24] hi 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 work [03:30] mloki: What is the file system on the targetdevice, and what are the access rights ( ls -al /mount_point/ ) on these file systems ? [03:33] Bashing-om: filesystem is vfat (as these are average jow usb sticks), mount point is automagic (/media/sdc1 or such) [03:37] mloki: vfat is a Windows file system - I have no experience there :( [03:50] 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:51] Tried whatever guides I **could** find, but all of them resulted in having NO internet. [03:51] on both host, and the "5th" ethernet port. [03:54] I just want to pass everything from the usb ethernet port, to the main ethernet port (internet connection), while keeping my host connection working. [03:55] hi 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:56] ive 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:58] Hello, 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 in [03:58] https://devtalk.nvidia.com/default/topic/1048193/cuda-setup-and-installation/cuda-problem-after-auto... it hasn't solved my problem, I'd appreciate any advice [04:11] Unless it's no longer possible to do ethernet bridging anymore with netplan [04:18] i dont like netplan [04:26] Great, I tried to restore it and now I still have no internet for some reason. [04:26] Netplan isn't applying. [04:27] is 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:30] wow, it was not working because of ONE typo. [04:37] Ahhhh, 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 THERE [04:39] I'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 working [04:41] odublue: what are you grepping to see it's still there? [04:41] In example... [04:42] sudo apt-get purge libcublas7.5amd64 [04:42] dpkg -l | grep libcub [04:42] and that package still is there [04:42] I've also tried purging it with libcublas* [04:43] I've tried purging other files also, and it won't get rid of them either [04:47] https://pastebin.com/7m1r7D4c [04:50] Ok 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:51] nolsen: have you turned on ip forwarding? [04:52] net.ipv4.ip_forward=1 [04:52] yes [04:53] I tried 'ping -I br1 google.com', and it doesn't work [04:53] but using br0 works [04:55] netplan is only letting me have one interface per bridge for some reason [04:58] Not sure why nobody wrote any help on bridging and netplan, after it being out and default for a few years now. [05:13] Ok I found the solution by doing brctl addif b01 myethernetinterface [05:13] But how do I add that in netplan? It only allows me to do add once. [05:13] one* [05:14] oh, weird, now it allows me to add more. [07:42] hello [07:42] can anyone tell me why for user ubuntu, `nvm ls` works just fine but i cant su ubuntu -l -c "nvm ls" [07:43] i have all of my path and other stuff properly set in .bashrc and .profile [08:00] acidjazz, 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 them [08:00] tried that, nope. [08:00] its so weird, works great just being logged in as ubuntu [08:01] even if i do a su ubuntu -c "source ~/.bashrc; nvm ls" nothin [08:05] acidjazz, 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 anyway [08:05] so nvm doesnt really work that way [08:05] or i would have [08:05] acidjazz, also I'd expect PATH to be set in .profile, not .bashrc.... [08:05] thats how i have to do all my other binaries set in .bashrc $PATH [08:06] i also tried echoing .bashrc to .profile as well [08:06] no luck [08:07] its very strange [08:08] strictly on ubuntu v1.04 lts ami's [08:08] aws linux 2 ami's work perfect w/ all of this [08:08] v18.04* [08:14] cp -R ../../creation/app/code/ code/ [08:14] why is this command not copying over the code folder ? [08:15] i'm trying to get a program to run under wine but it just comes up with the loading cursor then does nothing [08:17] vacho, no clue, but I never use trailing slashes with cp. maybe -v would help it explain what it thinks it is doing? [08:18] towser: try #winehq [08:59] Hi [08:59] Can I install ubuntu from ubuntu? [08:59] on a ssd (preinstall for a new employee) [09:03] i used manufacturer installation recently [09:03] I mean like the ISO if I can open the installer from there and select the usb disk [09:03] https://help.ubuntu.com/community/Ubuntu_OEM_Installer_Overview [09:04] it says during boot which means I have to reboot my pc [09:04] Hello [09:04] or am I wrong? :) [09:05] Hi, 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] Like Windows we can download a windows file and open in any windows pc, then select "Install to external disk" [09:05] Can I use nested groups for Samba use? (one "local group" on ubuntu server, and ActiveDirectory group inside) [09:05] Any advice? [09:05] As now I've got pavucontrol stuck on my system.... [09:11] /12 [09:17] Helenah: could you reinstall it via apt, then uninstall it again? [09:18] rory: Not possible [09:18] I'm trying to remove software I don't use anymore to save HDD space [09:18] hello, 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] Helenah: What is the output of "which pavucontrol" command? [09:18] Helenah: Why is it not possible? [09:18] Helenah: gotcha [09:18] "pavucontrol not found" [09:20] Wait... [09:20] I think I ran that on the wrong shell [09:21] Damn no wonder things didn't work... I was executing that command within a chroot by mistake. [09:21] rory: I'm removing pavucontrol now! [09:21] for what its worth you can just use "locate pavucontrol" and delete any likely-looking files [09:21] since it sounds like you know what you're doing somewhat [09:21] but the big one is probably just the main binary (which pavucontrol) [09:22] found it [09:48] Helenah, use dpkg to remove the package. [09:48] Oh, you resolved it already. Then nevermind === KaptenRodSkagg1 is now known as KaptenRodSkagg [10:50] great coming here from ##c++general [10:50] how can I update my gcc/g++ version to the latest v9 [10:52] one could use a ppa for that, carefull, use at your own risk .. https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test [10:52] for 18.04 lts that is.. [10:53] yes I am on 18.04. is it out of date? [10:54] I'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] Do I need to treat it as a recommended package? [10:54] disco 19.04 and Eoan gives gcc-9 standard https://launchpad.net/ubuntu/+source/gcc-9 [10:55] 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 needed [10:56] Helenah: unless you're installing using apt install path/to/deb, i think that resolves straight away [10:56] (not sure) [10:58] which package does users-admin belong to [10:59] EriC^: I'm going to change the behaviour of the package. [11:01] apt-file search [11:02] if apt-file is not installed, run sudo apt-file update after install [11:02] !find users-admin [11:02] Found: 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§ion=all [11:02] rolf [11:03] if one cannot browse launchpad .. http://manpages.ubuntu.com/manpages/bionic/man1/users-admin.1.html [11:04] isomari: ^ it seems it belongs to gnome-system-tools [11:07] I still can't get the deb package to install like I want it to... [11:08] I am compiling something will it be bad if I update while it is compiling/building? [11:08] 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] a dirty hack i guess [11:09] Yeah dirty hack [11:09] EriC^: That is at the bottom of my 'things to try" list [11:09] yeah, just throwing it out there [11:10] in the end you might need it :D [11:11] EriC^: thanks [11:11] np === dionysus70 is now known as dionysus69 [11:55] hi [11:55] i am facing a strage issue [11:55] strange [11:56] i am unable to access my desktop after enter correct password on Ubuntu 19.10 server edition [11:56] why isn't gcc-v9 default [11:56] what do you mean by gcc-v9? [11:57] idk much abt Ubuntu [11:57] Howdy all [11:58] actually i am using VM drogas [11:58] the GNU C compiler [11:58] in VM i am using Ubuntu Distro [11:58] it's v7 by default on ubuntu [11:59] unable by that too then [11:59] drogas, q [12:01] how can i bypass GUI mode [12:01] ? [12:01] lol [12:02] terminal access is enough [12:02] Rockwood: ctrl-alt-f1 through f6 [12:02] take your pick. [12:02] just find a free virtual console [12:03] from where? [12:04] from the login page will work [12:04] Rockwood: ... uh, it works from local access. [12:04] or a regular KVM. [12:04] only real option if ssh or serial access is unavailable. [12:05] hey, is there some tutorial into updating kernel and having it work with secure boot? [12:07] I need a kernel 5.3.1 or newer to 18.04 to get wifi working [12:07] terminal access is working fine [12:08] Baikonur: it would be easier just to disable secure boot. [12:09] Baikonur: though you may be able to get away with installing a HWE signed kernel. [12:09] I had assumed that it wouldn't be an option (because of company policies) but turns out that I was inventing my own policies [12:10] Baikonur: linux-signed-generic-hwe-18.04-edge, etc. [12:10] it happens to be 5.3 series [12:11] I'll try that first, if that doesn't work, I'll just disable secure boot [12:11] thanks [12:13] how can i recover the desktop environment? [12:16] ryuo, desktop recover is possible? [12:20] ryuo, Acceleration: VT-x/AMD-V, Nested Paging, KVM Paravirtualization [12:23] any active? [12:30] Rockwood: you should check your logs to find out why it's not going forward. [12:30] assuming it worked in the first place [12:37] drogas: wat?! [12:43] Rockwood: checking your .xsession-errors in home directory would be a place to start. [12:44] Rockwood: failure to login through X (successful authentication but getting kicked back to the login screen) usually means your session had a critical issue. [12:56] V7?? === laerlingSAP_ is now known as laerlingSAP [12:59] I deleted secret/pub keys from gnupg however I can still encrypt using it! it tells me to import it, howcome? [13:04] ice9: I think you need to provide more details. What do you mean it still encrypts? [13:04] how do I change the default gcc [13:04] I just installed gcc-9 [13:04] and want it to be default [13:07] drogas: 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 done [13:07] pragmaticenigma, after I delete both keys then I run "echo "secret message" | gpg --encrypt --armor --recipient " it show: https://bin.privacytools.io/?649529eec8a5315b#dGth39nBR7sOh/lCT3nZVTbsf+18tdWPOkCq0iKkDbs= [13:08] I am not trying to remove anything pragmaticenigma, installed as suggested here earlier using PPA ubuntu-tools [13:10] ice9: 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] pragmaticenigma, i haven't published that key to any key server [13:11] drogas: 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 PPAs [13:11] ice9: When you "encrypt" with GPG, you encrypt using the receipients keys, not yours [13:12] it did not remove gcc pragmaticenigma the gcc is still there [13:12] it just installed gcc-9 as an additional version. [13:13] drogas: Again, details are important... "update-alternatives --query gcc" [13:13] drogas: https://stackoverflow.com/a/7834049 [13:15] sudo 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-9 [13:15] I guess setting that should solve it [13:15] drogas: correct [13:16] update-alternatives: error: no alternatives for gcc [13:16] weird [13:16] maybe.. [13:17] but if I do which gcc/gcc-9 it will give me /usr/bin/gcc or /usr/bin/gcc-9 [13:17] drogas: 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:18] lrwxrwxrwx 1 root root 5 May 20 2019 /usr/bin/gcc -> gcc-7 [13:19] which is the default I am guessing [13:21] drogas: should be [13:33] pragmaticenigma, i'm encrypting for myself [13:34] thats why i'm using my own key as receipient [13:34] pragmaticenigma, basically i have that key on a yubikey so i want to encrypt by using that key not the one in the local keyring [13:36] ice9: Do you have a file here "~/.gnupg/gpg.conf" and does it contain any entries for default-key ? [13:39] pragmaticenigma, default-cache-ttl 300; max-cache-ttl 999999; but i tried to set both of them to '1' and got the same result [13:40] ice9: This should list any keys that GPG knows about, where you have both public/private keys: gpg --list-secret-keys --keyid-format LONG [13:41] pragmaticenigma, 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 encryption [13:44] ice9: 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] thans [13:44] thanks* [13:45] ice9: 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:46] (this is not ubuntu though, gpg 2.2.18) [13:47] fxrs, yes i get the same output for strange receipients but of my email, it still imports it without verbose info [13:52] fxrs: heads up... new version released 5 days ago GnuPG 2.2.19 released (2019-12-07) [13:54] pragmaticenigma: thanks for the info. not using it much though and will wait until updates roll in. [13:57] pragmaticenigma which gcc now outputs v9 so all is well [14:15] Hi. 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:16] I 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 Xauth [14:18] Oh, and its IKEv1, and it seems I can not choose that when using the strongswan vpn [14:19] freakin crap. seems like systemd is timing out on luks passphrase prompt. not enough time to type the damn thing [14:27] https://pastebin.com/NGDqdeMi <- did I secure my portmapper port correctly? (This is the ufw status output) [14:28] a question more for #netfilter perhaps dostoyevsky ? [14:30] is ubuntu software having problem? I can't find any packages I'm looking for [14:30] PyCharm, vscode for example [14:30] vscode is not available in the software center, you have to download it directly from https://code.visualstudio.com [14:30] pycharm is a paid application, also only available directly from the developer [14:32] pycharm has a CE version which is free [14:32] I'm almost 100% sure both were available when I installed them a while ago [14:33] can't find spotify from the search either [14:34] although it's there as a suggestion [14:34] Spotify is available to install via snap, they also have an apt repo on their website [14:34] yeah my problem is "ubuntu software"'s search functionality doesn't seem to work for any machine in our office currently [14:35] kristian_: 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 results [14:35] kristian_: if you search for something that definitely exists, like firefox, do you get results? [14:38] rory, nope [14:38] pragmaticenigma, no [14:39] we figured out because we set up a fresh ubuntu machine for a coworker [14:39] we did try different mirrors in the software & updates settings [14:53] kristian_: actually, pycharm is available via snap (which is what I am using) [14:54] kristian_: apart from the snaps, the only option is by downloading the installer provided by JetBrains [14:59] yeah we managed to install it [15:00] but it's still weird I don't even find firefox in the ubuntu software app [15:00] kristian_: do you have all your repos enabled properly? [15:01] lotuspsychje, I have no clue. but never had this problem before and I was able to install stuff when I set up my machine [15:02] coworkers machine is a fresh install and he can't find anything [15:02] to [15:02] *too [15:02] kristian_: Which version of Ubuntu are you running? [15:03] pragmaticenigma, 18.04.3 [15:04] kristian_: did you update your system after installing clean? [15:04] yes [15:05] kristian_: Who did the installation of your system? You or your company's IT department? [15:05] coworker [15:05] himself [15:06] kristian_: And this installation used the media from the Ubuntu download site, AS IS... no modifications, preseed, preconfiguration done to the installation image? [15:06] yes [15:06] you are 100% certain of this? [15:07] well I made the installable usb stick myself but it was about two months ago [15:07] kristian_: What happens if you run "sudo apt install gnome-software-plugin-snap" [15:24] Hello. 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] however 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] hi. 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:25] thermoman: what are the version differences? [15:27] mindofmateo: 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 session [15:27] pragmaticenigma: 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.10 [15:29] thermoman: It's possible that an update is pending but has not reached all mirrors yet [15:29] pragmaticenigma 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:30] pragmaticenigma: that version was released 5th of november! [15:30] mindofmateo: 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 update [15:35] OK. Yes that makes sense. [15:37] mindofmateo: Did you solve your issue regarding the clock? [15:38] Hund: 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 in [15:39] Are you using i3bar? [15:39] pragmaticenigma: control+meta+r to reload i3? [15:42] @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] Yes, I tried restarting i3 with Ctrl+Meta+r [15:44] Ohh, so the issue is with the system and not i3. [15:44] That is what I think. [15:44] Meaning yes, as far as I can tell it is something to do with the system, not just i3 showing a time incorrectly. [15:45] I 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] pragmaticenigma, "..already newest version.." [15:46] mindofmateo: Do you have the right timezone set? [15:48] No, 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:49] You can run the command "# timedatectl set-timezone " to change it. [15:59] Hi, I want that fn+left arrow will function the same way as clicking the home button. Is it possible? [16:12] @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:15] mindofmateo: It doesn't respond when I press fn+left. I guess it's a lost case [16:17] Well, maybe. You might have to use a different method than xbindkeys though. [16:18] I 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:22] I guess that it catches "lower screen brightness" as one key [16:23] Yes, 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 button [16:25] Oh I forgot to look at `showkey`, I'm rereading the man page to remember how it works though [16:39] Hi [16:39] I've compiled and installed Python 2.7.17 from sources. How can I make it the default binary? [16:40] Should I remove the previous installation? === SimonNL is now known as SimonNL_Afk [16:44] someone235 try `sudo showkey -k` or `sudo showkey -s` [16:45] DevAntoine: do you see /usr/bin/python2.7.17 binary? [16:45] pavlos: /usr/local/bin/python [16:46] DevAntoine: python --version shows what? [16:46] 2.7.7 [16:48] mindofmateoIt still doesn't respond [16:49] DevAntoine: change the symlink in /usr/bin to point to your install, sudo ln -s /usr/local/bin/python /usr/bin/python [16:50] DevAntoine: then test again with python --version [16:50] pavlos: I see, thanks. === peter-bittner1 is now known as peter-bittner [17:00] 11 [17:00] 1 [17:00] 1 [17:04] pavlos: 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:06] hggdh: DevAntoine compiled his own so i told him to adjust the symlink === SimonNL_Afk is now known as SimonNL [17:24] pavlos: oh, sorry. Mis-read [17:34] hggdh: no worries [18:07] when I install mariadb, I can not set a root password [18:07] or it is not asked [18:07] how can I change that? [18:08] Aison: https://mariadb.com/kb/en/library/authentication-plugin-mysql_native_password/ [18:11] this is so stupid and confusing. for some reason mysql-server is hanging on the apt-get upgrades [18:11] hmm [18:11] Aison: Maybe try: udo mysql_secure_installation utility [18:11] sudo* [18:11] keeps trying to configure then hangs and the child lives suspended [18:12] mallenjordan: Is it possibly getting hung when it does the table checks? [18:13] I have no idea, i am trying to find what it is hanging on. [18:13] rypervenche, ok, that worked also :-D [18:13] I just get a generic error unable to lock a file.. [18:13] and then the mysqld seems to hang and give errors on configuration. [18:14] mallenjordan: Have you looked at your logs? Has your file system run out of space? [18:14] yes I have checked, still plenty of space [18:15] some how now I have two pid for two instances of mysqld running? I thought that was not possible. [18:15] running systemctl stop/start/restart on mysql seems to hang also [18:17] So i tracked the pid, killed the two (whatever i guess), systemctl start mysql and it just works now. [18:17] ugh, if I had two right hands i could facepalm enough [18:18] so 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:19] that 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 troubles [18:19] the part I don't understand is this.. [18:19] Checking if update is needed. [18:19] This installation of MySQL is already upgraded to 5.7.28, use --force if you still need to run mysql_upgrade [18:19] W: APT had planned for dpkg to do more than it reported back (0 vs 4). [18:19] Affected packages: mysql-server-5.7:amd64 [18:20] so why is the resoprocities trying to upgrade something that is already upgraded on my system.. [18:20] mallenjordan: I've never had an issue updating mysql with apt. No need to shut it down manually or anything [18:20] pragmaticenigma: I just did because the hang made it shut the socket down so no connections.. [18:21] mallenjordan: because the file that tracks what each version of package installed probably didn't get updated before you forcefully stopped apt's update process [18:21] mallenjordan: Is the mysql instance running in a live production type environment, where there are continuous connections being made [18:21] no this is test [18:22] should I just clear the apt cache and do an update again and see if it fixes the package dependancies? [18:24] most the online examples say purge mysql, that seems a bit dramatic [18:25] purge the package? I think that might delete your db's [18:26] right, thats why i would never jump to purge. my rule #1 is never delete (purge) [18:27] and rule #2 is to obey order given by human beings except where such orders would conflict with deleting... [18:29] mallenjordan: 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 hang [18:29] that is exactly what I am thinking too. [18:30] so 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] that 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 systems [18:30] the little part it seems to hang on is where the upgrade stop command. [18:31] this 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:33] now see i run apt-get upgrade and look at this.. [18:33] The following packages will be upgraded: [18:33] dmsetup libdevmapper1.02.1 [18:33] 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [18:33] Need to get 202 kB of archives. [18:33] After this operation, 0 B of additional disk space will be used. [18:35] !pm | mallenjordan ... or if you want to continue this as a discussion we can take this to #ubuntu-discuss [18:35] mallenjordan ... 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:36] mallenjordan: I'm not seeing dm/pm messages as I have it turned off... please come back to the channel or meet me in #ubuntu-discuss [19:00] Hi. How does scihub work? I mean does scihub have access to the data from ieee and all? [19:09] hey I did the GUI software updater and it asked me which device to install grub-pc on and i hit cancel [19:09] and now my updater is a bit messed up and im afraid if I restart my grub wont work [19:22] hmm nevermind restarted fine [19:22] probably gonna ask me to update grub again though :/ === musician20008 is now known as musician2000 [20:29] Hi, 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:34] scottj: Depending on what you want it to do, you could set HandleLidSwitch= in the file /etc/systemd/logind.conf to: suspend, hibernate, or lock [20:35] There might be some other ones but those are the ones I remember [20:36] genii: 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:38] Should blank then want password [20:38] genii: Can be tricky to verify if the lid is closed :) [20:39] genii: maybe I want IdleAction in that same file. [20:40] Yeah, there's a few different combinations to tinker with there [20:41] genii: do you happen to know what is require to load changes to that file? [20:41] sudo service systemd-logind restart ...this will log you out too [20:42] genii: thanks [20:49] genii: odd, that did not log me out, and does not appear to have made any difference. [20:58] scottj: There's also settings related to lid switches in /etc/UPower/Upower.conf [21:03] in 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 programatically [21:03] for the following ineterace [21:04] *interface : enp0s3 [21:04] On a fresh install .. what are the default settings? [21:13] So. 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] This is what i use and it work-ish: https://github.com/johannesjo/linux-window-session-manager [21:13] Better than manual placing anyhow. [21:15] elfatherbrown: x has a protocol for session management, but it's up to applications to support it [21:17] :( [21:17] @ducasse, mkay... :| [21:18] elfatherbrown: you could look at something like devilspie for automatically placing windows, though [21:20] @ducasse, it looks nice. Kind of like going i3wm and configuring it to start up how one wants it [21:21] ducasse, its nice though. Much Very. [21:21] Thanks ;) [21:22] np. i3 is another way to solve the problem, it's what i run === ircuser-1 is now known as netlensbot [21:27] Hello everybody [21:27] is there a problem with dash to dock and dash to panel extensions? [21:27] as soon as I reboot my system I have to disable and enable the extensions in order for them to appear [21:27] this 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" === netlensbot is now known as ircuser-1 === ircuser-1 is now known as chasmo_ [22:07] Hi, 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 it [22:07] either 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:08] restarted networking after those changes? [22:09] yes, went as far as rebooting to be sure [22:09] or a cold reboot, like windows users like to do? [22:11] when 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 in [22:12] oh, don't edit /etc/systemd/resolved.conf as it gets reset after boot.. i guess that is in the header too [22:13] your 2nd part would be right; /etc/NetworkManager/conf.d/ .conf [22:13] then your dns would be polpulated in networkmanager, iirc [22:13] I believe /etc/resolv.conf that is auto-generated, not /etc/systemd/resolved.conf [22:20] Has anybody had synaptics touchpad issues since upgrades today? [22:21] Checking 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 touchpad [22:21] The touchpad shows up in libinput list-devices [22:23] Anyway, commented out my changes for the systemd/resolved.conf and set [global-dns-domain-*] servers= ... but that left me with no DNS configured at all [22:24] (On a ThinkPad T480 on 18.04 BTW) [22:24] (Also I booted up Windows and it worked, so hardware isn't broken) [22:26] I've never *not* had synaptics touchpad issues. [22:27] There seems to be a bug where synclient and syndaemon use the wrong device (psmouse or trackpoint) instead of the actual synaptics [22:27] and 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:29] @akk Hmm interesting - trackpoint doesn't work either in my case though [22:30] When you say modules do you mean DKMS or like xinput/libinput modules or something else? [22:30] I mean like modprobe -r psmouse [22:31] kernel modules [22:31] FWIW I also don't have syndaemon running [22:31] e.g. the solution here makes the trackpad work a lot better, but you lose the trackpoint: https://forums.linuxmint.com/viewtopic.php?t=229932 [22:34] @akk, Hmm i don't think that's the same issue I'm facing - synclient -l just silently exits with 1 [22:34] Will try blacklisting the kmods anyway [22:39] Dang still no touchpad [22:40] Not a good day for this Brit [22:41] which ubuntu version are you on there? [22:41] 18.04 [22:41] .3 [22:41] does this actually still work with pre libinput drivers? [22:42] tomreyn, Sorry can't say I know [22:43] did you upgrade to 18.04 or was this a fresh installation? [22:43] tomreyn, Must have been a fresh install this laptop is quite new [22:44] Yeah actually I remember [22:44] Was fresh [22:44] do you have xserver-xorg-input-synaptics-hwe-18.04 installed? [22:45] tomreyn, I have xserver-xorg-input-synaptics (as of when I installed it about 90 mins ago) [22:45] Eek if I try to install that full package name I get the old "you have held broken packages" [22:45] May be my issue [22:45] hmm maybe you didn't install 18.04.3 right away but an earlier point release [22:46] held broken packages cuold be related, shouldn't normally happen [22:46] Oh sorry yeah, would have been an earlier point release [22:46] I couldn't say which [22:47] Installing the -core-hw-18.04 package worked, that let me install the synaptics one [22:47] Will try rebooting I guess [22:47] so you'll be running the 4.15 kernel still, and the older X, and dont need the -hwe synaptics package [22:50] ... and now my keyboard doesn't work either :D [22:50] Time for bed I think. Your ideas are appreciated, thanks [22:52] fix apt first of all [22:52] you must have broken something by adding some PPAs or other 3rd party repositories. [23:20] On 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 how [23:20] to get through. I can only wait until the `google-chrome-stable` DNS cache is expire. Any idea what can I do? [23:20] Sorry, I meant linux ubuntu [23:23] dka: Have you tried: sudo systemd-resolve --flush-caches ..? [23:24] well, firefox can query, curl can query [23:24] only chrome can't [23:25] so no I didn't even had the idea [23:25] I only run system wide command for system wide issue [23:31] dka: when you clear'd chromes internal cache, did you restart the application? [23:31] nope still no luck trying to set the DNS server through NetworkManager [23:31] I'm having to.. sudo systemd-resolve --set-dns= --interface=enp7s0 [23:32] No i did not restart the application [23:33] but after a few minutes [23:33] I just refresh and it worked (without restarting) [23:34] dka: 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 record [23:35] 1) the domain was still active in a tab, 2) I don't understand sorry [23:40] dka: 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 had [23:40] no impact on the already open tab. [23:40] Personally, 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 use [23:53] Ok. I will do that next time. [23:54] But I think I have already been through that [23:54] and it does not clear the cache 100% of the time [23:54] But I will see when I will have that issue again, thanks for the advice