[00:00] Hi. Does anyone know if I can dedicate a hard disk to thw WSL Ubuntu root or at least user home directory? I would like to make Linux builds and need about 500 free GB. Thanks. [00:02] We know nothing about WSL here. Might want to msg /alis to find the WSL channel [00:03] I'd sure hope so, "real linux" lets you mount filesystems more or less anywhere.. hopefully microsoft's version of it does similar === jje_ is now known as jje [00:12] wsl is supported in a dedicated channel [00:12] !wsl [00:12] Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [00:20] oh nice === zbenjamin is now known as Guest1618 === zbenjamin_ is now known as zbenjamin [02:18] Hello :) Is there any way to PXE boot a Ubuntu Desktop iso? I tried to set it up but it does not have a netboot folder in the ISO' install folder. [02:27] hi guys === [b0b] is now known as b0b [03:56] Morning! [04:40] whoa! i just woke my computer from suspend and it looks like the displays are in 256 color mode [04:40] what gives [04:40] can anyone talk to me about suspend? what happens when i push the power button on my case [04:53] !details | Gallomimia [04:53] Gallomimia: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [04:54] the background is spackle, limited number of colors. happened after waking [04:54] !suspend [04:54] Gallomimia: ubuntu version, kernel version, graphics card chipset, driver version, computer brand, bios up to date? [05:02] Is it possible to downgrade to LTS? [05:02] leonardus: downgrading is not how ubuntu works [05:03] So I have to reinstall? [05:03] leonardus: yes [05:03] ok [05:04] leonardus: before using ubuntu, we reccomend thinking what you want first, the lts way, or the non-lts way [05:04] wanted non-lts until the announcement of dropping 32bit support [05:08] is it true I read in the news ubuntu is going to sell to microsoft??? [05:09] usney: ubuntu is a product, not a company, it cannot be sold to microsoft like that [05:09] and as far as i know, canonical is not being sold to microsoft [05:09] where did you read that? [05:10] !discuss | leonardus usney [05:10] leonardus usney: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! === AC3J_ is now known as AC3J [05:37] does ubuntu live ask you for a password when using sudo [05:38] no [05:43] bray90820: does it work for you? [05:43] I got it it does nopt ask for a sudo password [05:44] good, this looks solved then. do you have another question about it? [06:02] Sveta: I do not [06:03] nice. i am glad it is working well for you. if you have a question later you are welcome to ask [06:52] i want to install ubuntu on a dell inspiron 15-3567 [06:52] but i want to make sure that the touchscreen will work [06:52] how can I check on this? === VegetarianFalcon is now known as DarkNet === DarkNet is now known as greencode === greencode is now known as VegetarianFalcon [07:08] jurisdictator: try the live usb first maybe, and search online for experience with it [07:09] i mean if anyone else has tried before [07:17] https://pastebin.com/CS2d1Xy7 I get this error on apt --fix-broken install [07:27] usr123: what happens if you type "sudo apt-get -s remove libpython3.7-stdlib" ? [07:27] (note the -s) [07:30] https://dpaste.de/R4mM got this [07:34] usr123: what does 'apt-cache rdepends python3.7-distutils' give? [07:34] $ apt-cache rdepends python3.7-distutils python3.7-distutils Reverse Depends: [07:35] usr123: try "sudo apt-get -s remove python3.7-distutils libpython3.7-stdlib+" [07:37] Doesnt fix it. I still get error on apt --fix-broken install [07:37] The same [07:37] usr123: i wonder what depends on that python3.7-distutils package, i dont trust the rdepends (reverse dependencies) output [07:38] Can you explain what the issue is? [07:39] I'm a noob [07:40] usr123: well i dont know for sure but it seems like it's trying to overwrite some files of one package with another and after that some process is getting killed [07:40] the process that merges files together [07:41] usr123: can you type "apt-cache policy python3.7-distutils libpython3.7-stdlib" ? [07:41] those are the 2 packages btw [07:43] Patch level, 1000! [07:44] usr123: also, type 'grep "Depends.*python3.7-distutils" /var/lib/dpkg/status' that should show us which packages depend on it [07:45] grep is empty [07:45] ok, good, what about the policy command? [07:45] https://dpaste.de/Sy3e Output of the above command [07:46] Hello, I have Firefox 63.0.3 on Ubuntu 16.04 LTS. But I read an article that my current release has a big security issue and I must upgrade to Firefox 67. So far I didn't manage to do that. I tried "sudo apt-get update && sudo apt-get upgrade firefox" but it didn't work at all. I just received a message "firefox is already the newest version (63.0.3+build1-0ubuntu0.16.04.1)". So how should I do that upgrade? [07:47] !info python3.7-distutils bionic [07:47] Package python3.7-distutils does not exist in bionic [07:47] usr123: i guess you could try to remove python3.7-distutils to satisfy the dependencies, it's not supposed to be in bionic anyways, i guess it was from an earlier version [07:48] usr123: try "sudo dpkg -P python3.7-distutils" [07:48] usr123: if that fails, try "sudo dpkg -P --force-all python3.7-distutils" [07:49] if that works, then "sudo apt-get -f install" should work this time [07:49] But I have a project that depends on python3.7 [07:49] This is work PC [07:50] lsfc1914: type "sudo apt-get update && apt-cache policy firefox" and paste please [07:50] !paste | lsfc1914 [07:50] lsfc1914: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [07:50] Trying to run a bash script with parameters as another user from a git hook. I added a rule to /etc/sudoers to run this script without password. However, I get prompted for pw and then error 'not allowed to run /bin/bash -c path/to/file arg1 arg2...'. If I allow /bin/bash in /etc/sudoers it works. What I'm doing wrong? [07:51] rkta: what's the sudoers rule? [07:52] blackflow: git»···ALL=(build:build) NOPASSWD: /home/build/build.sh [07:53] EriC^^, https://paste.ubuntu.com/p/cBJbTb9HXT/ [07:53] EriC^^: Will that remove python3.7 from my PC? [07:54] usr123: i dont think so, the status files mentions nothing depending on it, but hold that thought, try "dpkg -L python3.7-distutils" it should list the files of the package [07:54] usr123: also type "apt-cache show python3.7-distutils" and paste the dependencies of the package [07:54] https://dpaste.de/zL0f Here is output [07:55] rkta: and how are you invoking build.sh ? [07:55] usr123: aha what about the Depends line of apt-cache show? [07:55] https://dpaste.de/uraK Here is the output of cache show [07:56] !info python3.7-lib2to3 bionic [07:56] Package python3.7-lib2to3 does not exist in bionic [07:58] usr123: i think nothing will be affected, you can try to reinstall it if it's offered in your system later after apt fixes itself i guess [07:58] Ok. [07:59] try the dpkg -P command, then apt-get -f install let me know how it goes [07:59] blackflow: exec sudo -i -u build /home/build/build.sh arg1 arg2 [07:59] apt --fix-broken install works now [07:59] Thanks. [07:59] usr123: great, it didnt remove any more packages right? during the -f install [08:00] rkta: that wont give 'build /home/build/build.sh' NOPASSWD rights [08:00] $ sudo dpkg -P python3.7-distutils (Reading database ... 299096 files and directories currently installed.) Removing python3.7-distutils (3.7.3-1+xenial1) ... [08:01] rkta: i guess you could make another command called 'start-build.sh' and use that with NOPASSWD and have that have the line build /home/build/build.sh [08:02] usr123: and the apt-get -f install? only fixed apt, no packages removed? [08:03] EriC^^: Didn't seem to remove anything [08:03] Corrected dependencies and set up a bunch of packages [08:03] EriC^^: Why it will not give NOPASSWD rigths? And why a wrapper? And why is it working with /bin/bash in sudoers? [08:03] EriC^^: I need to pass the args from the git hook [08:05] Or do I need to use a different wrapper for different args? Are the args the problem for the sudoers rule? [08:06] rkta: can you execute that sudo line directly on the command prompt, not as a hook but as a git user? [08:07] rkta: I suspect that build.sh calls sudo in turn [08:07] usr123: aha you can try reinstalling python3.7-distutils if you want and see what happens [08:08] rkta: in sudo you gave rights to exec build.sh, but you're not executing build.sh you'd executing the program "build" [08:08] that's why it doesnt work [08:08] EriC^^: uh no that's -u [08:08] oh, didnt notice that, thanks [08:09] blackflow: Can't execute build.sh in any way. And there is not sudo in build.sh. [08:10] maybe it doesn't like the "-i" cause that would end up doing bash -c 'command' [08:10] -i just means full login [08:10] blackflow: yeah but it would do bash -c 'command' [08:10] I don't think so [08:10] It's the -i [08:10] blackflow: "man sudo" [08:11] rkta: aha, cool [08:11] But without my script fails m( [08:12] rkta: probably it needs the $HOME variable set right [08:12] and possibly other stuff that -i does (like use ~/.profile etc) [08:13] I guess I'll figure it out. Thanks so far [08:13] no problem [08:14] EriC^^: And you are right, it was $HOME :) [08:15] :) [08:15] ubuntu should really adjust that default; it should change HOME by default [08:17] it's rarely useful to have HOME set to the homedir of the user you're sudoing from [08:21] some help about my firefox issue asked about half an hour ago? [08:25] lsfc1914: it probably involves adding a repo for the updated version of FF. [08:26] I'm new to Ubuntu sort of...not really sure of the Ubuntu way to do it. [08:26] lsfc1914: did you run `apt update` before that? [08:28] blackflow, I ran `apt-get update` [08:28] lsfc1914: what about 'apt-cache policy firefox' ? [08:29] EriC^^, https://paste.ubuntu.com/p/cBJbTb9HXT/` [08:29] lsfc1914: run 'apt-cache policy firefox' alone [08:29] it ended up not running cause apt-get update error'd out [08:31] EriC^^, here it is: https://paste.ubuntu.com/p/pjng5tQVFB/ [08:31] lsfc1914: i think first you need to fix apt-get update http://ppa.launchpad.net/venerix and http://ppa.launchpad.net/upubuntu-com have errors [08:32] i think it's trying to download the source info, i'm not sure though, and i dont know whether it actually needs that stuff or what, any idea about these ppas? [08:33] it seems last valid ppa for http://ppa.launchpad.net/upubuntu-com/mobile/ubuntu/dists/ was on 'precise' (12.04) [08:33] I can remove them if they are causing errors [08:34] yeah remove both of them using 'ppa-purge' [08:34] sudo apt-get install ppa-purge [08:34] !ppa-purge | lsfc1914 [08:34] lsfc1914: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [08:38] EriC^^, I can't remove them, no idea why. :x [08:39] lsfc1914: paste the command you're running and the output [08:39] I’ve an Ubuntu 16.04.4 LTS system with “4.4.0-66-generic” kernel version. I want to install lower version kernel “3.16.0-30-generic” , is there any command to install it? I just want to have dual boot option for both the kernels. [08:40] EriC^^, https://paste.ubuntu.com/p/ZJD6fXD8wQ/ [08:41] I also tried: `sudo apt-get install ppa-purge http://ppa.launchpad.net/venerix/pkg/ubuntu` [08:42] lsfc1914: "which ppa-purge" does it give back /usr/bin/ppa-purge? [08:42] *try "which ppa-purge" [08:43] sub526: no, that kernel version is no longer supported in Ubuntu. the only way is for you to manually back (forward?) port the kernel from archived src debs or build it from upstream source. [08:44] EriC^^, it gives /usr/sbin/ppa-purge [08:45] lsfc1914: ok try "sudo ppa-purge ppa:venerix/pkg" [08:47] EriC^^, here is the output: https://paste.ubuntu.com/p/xrYVyjRDdC/ [08:51] lsfc1914: ok seems like ppa-purge needs to use apt-get update before working, so that's a no-go for ppa-purge [08:51] lsfc1914: let's try to manually remove the sources for them and call it a day [08:51] lsfc1914: type "tail -v -n+1 /etc/apt/sources.list{,.d/*}" [08:52] EriC^^, I typed that [08:52] should I show the output? [08:55] lsfc1914: yes please [08:56] EriC^^, https://paste.ubuntu.com/p/ww73SGTZqX/ [08:58] blackflow: how to back port the kernel from archived src debs? [08:59] lsfc1914: type "sudo rm /etc/apt/sources.list.d/upubuntu-com-ubuntu-mobile-xenial.list /etc/apt/sources.list.d/venerix-ubuntu-pkg-xenial.list" [09:00] lsfc1914: then try "sudo apt-get update && sudo apt-get upgrade firefox" [09:00] you probably want to run "sudo apt-get dist-upgrade" as well when you have time [09:01] lsfc1914: sorry "sudo apt-get update && sudo apt-get install firefox" that should upgrade only firefox [09:02] EriC^^, it still says "firefox is already the newest version (63.0.3+build1-0ubuntu0.16.04.1)" [09:03] what was the output of sudo apt-get update? [09:05] EriC^^, https://paste.ubuntu.com/p/Nt4FNRKS45/ [09:05] blackflow: I can try build from upstream source, but don't know how to get the exact source code for 3.16.0-30-generic ? === guest is now known as rory [09:06] lsfc1914: that looks good, hmm what does 'apt-cache policy firefox' give? [09:07] lsfc1914: maybe that mirror has some problems? http://mirrors.neterra.net/ubuntu/ [09:07] for me firefox 67 shows from xenial-updates repository [09:08] https://paste.ubuntu.com/p/qXhKWfRWw2/ [09:08] I guess so because it shows 500 at the beginning [09:08] lsfc1914: i would switch to official ubuntu mirrors [09:09] ok, sound great, but how to do it? :) [09:10] from sources.list or software updater or somewhere else? [09:11] lsfc1914: type "sudo sed -i 's@http://mirrors.neterra.net/ubuntu/@http://bg.archive.ubuntu.com/ubuntu/@' /etc/apt/sources.list" [09:11] then sudo apt-get update again [09:12] EriC^^, ok I did it [09:13] lsfc1914: ok try 'sudo apt-get install firefox' again [09:13] and now should I do again apt-get install firefox? [09:13] yeah [09:15] well, I really don't know what to say [09:15] it is okay now, Firefox is version 67.0.2 [09:16] great [09:16] EriC^^, thank you very very much for the help and the patience [09:16] lsfc1914: you're welcome no problem :) [09:17] I wasted maybe an hour of your time [09:17] sorry about that and once again - thank you [09:17] no waste, np [09:17] have a good day :) [09:17] thanks you too :) [09:35] ello. i try to install Open office on ubuntu 18.04 following those instructions: https://tecadmin.net/install-apache-openoffice-on-ubuntu-debian/ , https://computingforgeeks.com/install-latest-apache-openoffice-on-ubuntu-18-04-debian-9/ [09:35] when i follow the mentioned step "sudo dpkg -i *.deb" , i get several errors which i cannot figure out how to solve them https://justpaste.it/1q2mp [09:39] sub526: take a look at these debs: https://kernel.ubuntu.com/~kernel-ppa/mainline/ HOWEVER... note that systemd expects certain kernel functionalities and is to be updated in step with the kernel. meaning, such an old kernel might render your system unusable. [09:40] Alarm_: any particular reason you want OpenOffice instead of the readily available fork of it, LibreOffice? [09:41] blackflow: i need it for an integration in a software application to convert some documents. i used an older version of it on SuSe (Open office 3.1) and now we move our development environment on Ubuntu . Changing from OpenOffice to Libre would mean also change in the source code [09:42] so , i want to give first openOffice a try if the newer version works as required before looking for alternatives. [09:42] Alarm_: would it? Libre is a fork of Open which is nowadays unmaintained afaik [09:43] i have no clue. this is what i am trying to do. but all the installation instructions i find, mention the "sudo dpkg -i *.deb" command, which raises errors on my environment [09:45] any ideas how to resolve those issue , would be helpful [09:45] Alarm_: I ask in order to avoid the XY problem and save yourself the trouble of potentially day-long yak shaving of installing unsupported software. As for those errors you pasted, I'd start with solving them top to bottom. For starters, unexpected end of stream suggest corrupt downloads. [09:45] !xy [09:45] The XY problem is when you need to do X, and you think you can use Y to do X, so you ask about how to do Y, when what you really should do is state what your X problem is. There may be a Z solution that is even better than Y, but nobody can suggest it if X is never mentioned. [09:46] So ideally, perhaps tell what exactly you need out of OO that LO doesn't offer. [09:54] blackflow: i am not familiar with LO . As i mentioned, we currently use the OpenOffice (3.1) engine to convert some documents through a java application . [09:54] blackflow: i am not sure if i use LO instead if i need also modifications in my source code [09:55] Alarm_: And my point is, did you try doing the same with LibreOffice. It is a fork of OpenOffice. [09:55] no i have not. so you suggest trying to install LO and try this instead first [09:55] i might give it a try then [10:25] Hey folks [11:12] where can I get a list of repository mirrors? [11:12] !mirrors | isomari [11:12] isomari: Ubuntu installation CDs can be downloaded from http://releases.ubuntu.com - Mirrors can be found at https://wiki.ubuntu.com/Mirrors - PLEASE use the !torrents to download !Disco, and help keeping the servers' load low! [11:12] thanks [11:13] happy2help! [12:24] im on ubuntu 16.04 (cant upgrade for reasons). the unity desktop seem to be messed up. i dont have the launcher, nautilus, apps are tiled on top of each other but i cant move them around. I have tried apt install --reinstall ubuntu-desktop but it did not help. [12:24] i3wm works perfectly fine though [12:41] https://www.irccloud.com/pastebin/2pQMQitx/ [12:45] Hey, can someone point me in the right direction to rebind my ALT_R key to Left arrow? [12:47] !wsl | cmosguy [12:47] cmosguy: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [12:51] cyphex: xmodmap could do it [12:51] eraserpencil2: does the guest account work? [12:52] oooh, should have tried that. [12:53] oh, I thought that was discontinued EriC^^ [12:53] I'll give it a shot, thanks [12:54] cyphex: https://askubuntu.com/a/347382 [12:56] eraserpencil2: I tried that method before, I couldn't find an entry for the right alt key in there. [12:57] I tried manually adding it, but it messed up my keyboard and I had to chroot from a live usb to fix it. [13:03] EriC^^: okay so i actually cant login with lightdm. Something wrong with my graphics drivers. When I try that, I cant go to tty7. And even at tty1-6, I cant login as my user. It has the error pam_nologin(8) error. Same when i try to login as root, just that i have the password prompt for root, but it dosent work [13:05] eraserpencil2: might be a bug, did you try restarting? [13:05] multiple times [13:05] eraserpencil2: sounds like you may have changed ownership of critical files and directories [13:05] that dosent sound good [13:06] eraserpencil2: can you login as root have you set a password? [13:06] i do not recall changing ownership . [13:06] eraserpencil2: you might have the file "/run/nologin" try to remove it either from root, recovery console, or a live usb [13:08] eraserpencil2: potentially you might be able to do "init=/bin/bash" in grub's kernel line and remove it from there instead of using a live usb [13:08] so i can only launch my DEs with lxdm. GDM3 and lightdm gives different results [13:08] i have full control of my system with lxdm and i3wm [13:09] eraserpencil2: aha, is there any "/var/run/nologin or /etc/nologin" [13:09] logging as root from the login page fails, but i can do sudo su [13:10] no such files [13:10] hmm odd [13:11] according to the man page, "pam_nologin is a PAM module that prevents users from logging into the system when /var/run/nologin or /etc/nologin exists. The contents of the file are displayed to the user. The pam_nologin module has no effect on the root user's ability to log in." [13:12] it is odd how the different dm's gives me different useability [13:15] eraserpencil2: try running "while true; do ls -l /var/run/nologin 2>/dev/null || ls -l /etc/nologin 2>/dev/null && touch /tmp/found; done" [13:16] eraserpencil2: keep that running somehow, then try using gdm and see if the file /tmp/found exists, it means the file somehow got there temporarily or something, not sure how it may help but who knows [13:24] would switching tty make that command persists? [13:28] eraserpencil2: yeah [13:29] eraserpencil2: this is a neater version of it "while true; do if [[ -e /var/run/nologin ]] || [[ -e /etc/nologin ]]; then touch /tmp/found; fi done" [13:31] oh gdm3 works [13:33] there is no /tmp/found though [13:34] I have a system with a graphics card that isn't supported by the ubuntu install cd/usb which causes me to receive a black screen right after grub [13:34] The system seems to run fine (i can ping it) but pretty useless since i have no form of output [13:35] garo: Try booting the live disk with the kernel option "nomodeset" [13:35] I tried turning of 'quiet' and 'splash' in the kernel messages, i now see the kernel messages (no errors) but after that completely black [13:35] garo: Or if you have it installed, add the option to your grub config file [13:35] pragmaticenigma: good idea, thanks [13:35] !nomodeset | garo [13:35] garo: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter [13:36] garo: which ubuntu version is this, which graphics card? [13:36] (if i manage to install i'll probably find good drivers) [13:36] I want to say intel 630 but am not completely sure [13:37] it's a precision 3630 of dell which should be working on ubuntu 16.04 according to https://certification.ubuntu.com/hardware/201803-26183/ [13:37] (so i tried 16.04) [13:38] eraserpencil2: aha, i think it's some bug that's intermittent then [13:38] ah, progress ! nomodeset did the trick ! [13:39] Actually it looks quiet fine, now i am wondering if i need to search extra drivers... [13:39] lotuspsychje today the Xorg is taking 5.4 gigs of memory [13:40] garo: i would actually recommend you install ubuntu 18.04.2 on this system [13:41] lotuspsychje https://imgur.com/a/8rOT4GG [13:41] Can anybody see what the problem with Xorg is ? [13:42] garo: and you won't need to "find good drivers" usually, since most of the time, your hardware is fully supported out of the box (apparently this wasn't the case for your intel GPU with the 16.04 version you tried for some reason) [13:44] Xorg is taking too much memory(close to 5.4 gigs) I am not sure what's the problem. Here is a screenshot : https://imgur.com/a/8rOT4GG. [13:44] Do i lose anything by using nomodeset ? (I assume this is the case, otherwise it would have been set as option by default...) [13:45] garo: yes, you loose acceleration ("3D") [13:46] oh well... I'll survive... [13:47] garo: your system will be running in "low graphics mode" (SVGA) now. if it's just the installer it's not much of an issue, i guess, since this may be fixable by installing and fully updating the system, but i'd definitely prefer the latest LTS release on modern hardware like yours. [13:49] If I set up a gateway/router with 18.04, do I have to use ufw or can I just use straight up iptables? [13:49] garo: do not rely on hardware certifications so much (they mostly indicate that a company was willing to pay for them), better do your own tests and find orientation in what people here and elsewhere suggest. [13:51] I first tried bionic (to be really honest: it was mint 19, so bionic plus some extras...). i i only tried xenial after noticing it didn't work [13:52] But everything is fixed now, thank you all very much ! [13:52] Anybody ? [13:52] This is computer is not usable and I am not sure if I can reproduce the issue later. [13:53] shinoda: which ubuntu version are you running there, is it fully updated, which other processes is this system running, which hardware (especially graphics card) do yu have there, when was it last rebooted, did you suspend in between? [13:55] JuJUBee: you can and should use iptables directly or via some more potent firewalling frontend then. [13:55] Kubuntu (bionic), Updated, GTX 960m, reboot : yesterday, suspend : yes, last night. [13:56] shinoda: review the system's logs ("journalctl -b -e") for clues. [13:56] tomreyn, how do I deal with the problem with netplan not supporting the post-up iptables-restore ? [13:57] JuJUBee: i'm not familiar with this problem. is there a related bug report? [13:57] !info netfilter-persistent | JuJUBee [13:57] not a but, just lack of support [13:57] JuJUBee: netfilter-persistent (source: iptables-persistent): boot-time loader for netfilter configuration. In component universe, is optional. Version 1.0.4+nmu2ubuntu1 (bionic), package size 6 kB, installed size 36 kB [13:58] OK thanks tomreyn [13:58] !info iptables-persistent | JuJUBee also see this one for iptables rules [13:58] JuJUBee also see this one for iptables rules: iptables-persistent (source: iptables-persistent): boot-time loader for netfilter rules, iptables plugin. In component universe, is optional. Version 1.0.4+nmu2ubuntu1 (bionic), package size 6 kB, installed size 42 kB [13:59] JuJUBee: those packages are controlled from a systemd service at boot-time, independent of the network config via netplan/systemd-networkd etc. [13:59] TJ- https://pastebin.com/nFEnHvwC [13:59] thanks tj [14:00] tomreyn will changing from xorg to wayland help ? [14:01] shinoda: i could not tell at this point. changing software stacks can be done as a last resort, a better approach is reviewing log files and handling errors reported there. [14:02] I'm running a survey about backup software to learn more about what people are using to do their backup and why they are using it. I invite individual and business to answer the survey. https://www.surveymonkey.com/r/HKSB6FG [14:02] shinoda: can you run this and report the output? nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "$XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";) [14:02] !ot | ikus060 [14:02] ikus060: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [14:03] tomreyn sure. [14:03] tomreyn https://termbin.com/4ac3 [14:04] shinoda: you're not on the latest GA kernel, this would be linux-image-4.15.0-52-generic version 4.15.0-52.56. that's not going to be the issue, though. [14:05] shinoda: can you post your full system log: journalctl -b | nc termbin.com 9999 [14:05] https://termbin.com/lv18 [14:06] "| nc termbin.com 9999" wut, does that really work? [14:06] garo: I noticed in looking at the certification for your Dell, it doesn't mention any GPU at all! THat seems *unusual* [14:08] shinoda: have you got something enabled to do debugging? It doesn't look good if it is spamming the logs so rapidly (multiple messages per second). "[iptables.stdout][posix/posix_firewall_iptables.cpp:34][info]" - don't think this is related to Xorg memory but..! [14:09] :-) [14:09] garo: maybe it's supposed to be a headless desktop? :) [14:10] tomreyn I found that weird too. It looks like my VPN client. PIA multiple logs about iptables and such but not sure how that is related to Xorg. [14:10] shinoda: i think you meant to address TJ- [14:10] Ahh. Sorry my bad. [14:12] shinoda: the only things I've seen where Xorg ate memory like that was caused by a faulty external input device repeatedly failing to connect, which is why I suggested checking the boot log for such clues (originaly fault there was a broken USB hub) [14:13] shinoda: for some reason,t he system log you posted now (running the commands i provided) ends on "Jun 17 15:56:10", and i don't think this exceeded the maximum post length on termbin.com, yet. [14:14] Where can we go to give feedback about the removal of 32-bit libraries? This will break support for tens of thousands of proprietary applications still actively sold and supported today from companies which specifically target Ubuntu as their preferred Linux platform. [14:15] @TJ- Could be it due to an external monitor that's not the same resolution as my laptop display ? [14:15] It also breaks most things run in Wine as Windows is full of *new* 32-bit applications. The Canonical people on the mailing list seem to think 64-bit Wine can run 32-bit programs and don't realize they need the 32-bit libraries. [14:15] tomreyn anything else I can run which helps you debug the issue ? [14:15] shinoda: maybe let's try this instead: journalctl -b -p warning | nc termbin.com 9999 [14:15] EriC^^: thats a very difficult bug to report [14:15] Depending on the meaning of desktop it wouldn't be all that weird... Although with this size and form it will be really hard to place my feet under [14:16] shinoda: I wouldn't think so, but it could be due to the GPU drivers (they're the things that allocate memory for textures etc) [14:16] And placing a cup of coffee on top of it also doesn't look like a good idea... [14:16] tomreyn https://termbin.com/ox7b [14:17] Kon-: if those other companies are willing to fund the ongoing support of i386 then I suspect Canonical would be interested [14:17] If that's really their position, I think Canonical massively overestimates their influence in this regard. [14:18] Kon-: the point is, Ubuntu is an open source OS so its not too concerned about running proprietary binary blobs from other OSes [14:19] Wine is more of a (relatively) niche concern, but I was primarily talking about native applications. [14:19] TJ- http://paste.ubuntu.com/p/ZV4FVbWpbT/ I din't find anything related to USB fails. I am not sure though. See if you can take a look. [14:19] Kon-: Canonical makes its money from server deployments, not desktop. i386 doesn't figure in server deployments now [14:19] Kon-: there's a discourse forum for this if you want to make your points [14:20] Kon-: see https://discourse.ubuntu.com/t/i386-architecture-will-be-dropped-starting-with-eoan-ubuntu-19-10/11263 [14:21] shinoda: not a great log for information that, but it doesn indicate a lot of file-system damage being repaired [14:22] Thanks for the link TJ- [14:22] @TJ- LOL Ok. [14:23] I'm installing Ubuntu again (19.04 now) after a long time and I'm in the manual partitioning GUI. Do I create an EFI partition (vfat) first, and if so, what's a reasonable size for Ubuntu? (no Windows dualboot) [14:25] hi [14:26] !smart | shinoda: with this many file system errors, you should inspect your storages 'health' [14:26] shinoda: with this many file system errors, you should inspect your storages 'health': smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools [14:26] Looks like on my host the efi partition is only 6MB/196MB, so the generous recommendations found online are probably for different use cases, eh? [14:26] Is only *using 6MB/196MB [14:28] I have cpp-8.3.0-6~ (virtual package) installed in Cosmic, but I need to use cpp 8.2.0 so I download cpp-8_8.2.0-7ubuntu1_amd64.deb. If I try to dpkg -i cpp-8_8.2.0-7ubuntu1_amd64.deb it *only* downgrades the non-virtual cpp-8 package, but leaves the virtual cpp package at the undesired 8.3.0-6 version and lots of broken dependencies [14:28] adrian_1908: i'm not sure which recommendations you found / refer to, but > 250 MB, better 512 MB, is what is often recommended for the ESP, since there are (said to be) mainboard firmwares which won't detect / use it is it's smaller. [14:28] adrian_1908: yes, strangely the larger size requirement is to pander to some broken motherboard firmwares that fail with smaller EFI-SP. In fact the optimum size to avoid all known problems of that type is an EFI-SP of 550MiB [14:29] Ah ok, that makes sense then. Thanks. [14:29] and i'm happy to trust TJ-'s recommendation there. [14:29] adrian_1908: but if it works, make it small! Every MB counts [14:29] tomreyn any luck with xorg ? [14:30] adrian_1908: I generally make the eI-SP a FAT16 of no more than 128MB [14:31] shinoda: no, the log i looked at (which was again cut off) shows some ACPI errors and a few others but nothing immediately explaining a large X memory allocation. [14:32] tomreyn Ok. What do you suggest I do in the time being ? [14:33] shinoda: my primary suspects would be the nvidia and vmware drivers. but TJ- probably has a better support experience than me and thus you should also consider his hint on USB / input devices (there's one or two warnings about such on the log you posted at https://termbin.com/ox7b ). [14:33] shinoda: update your kernel, reboot, don't suspend if it's not strictly needed. [14:34] tomreyn Ok. I am not sure how such warnings are resolved. Will I have to change my USB hub or some other action ? [14:34] @tomreyn Actually suspending the system is something I need. Will reinstalling the system help ? [14:35] Also I think I should indicate that the system was working perfectly fine for about 1.5 years and this problem has surfaced about 2 weeks back. [14:36] shinoda: check your dpkg logs too, maybe you will see a relevant update recently that could be related [14:36] In this time of the problem I have only installed OBS [14:36] shinoda: reinstalling the system with the same configuration won't help (unless you somehow broke the system and didn't fully fix it at some point) [14:37] tomreyn about the USB logs what course of action do you suggest ? [14:38] shinoda: did you try that performance mode & driver switch we talked about yesterday? [14:38] tomreyn I always have the weirdest set of problems, Once my logrotate wasn't working and I accumulated a log of size 160 gigs. Now this. [14:39] lotuspsychje Yes. Switched to Nvidia. Today the size of xorg in 5 gigs. [14:39] shinoda: all the logs you've shown indicate little problems but there's nothing pointing towards a cause of Xorg eating memory [14:39] shinoda: you could review your log ("journalctl -b -p warning" returns any warnings logged since the last boot), and look up those messages you would not expect to see on the web, and see if others had similar issues and whether / how they solved them. [14:40] tomreyn Ok. I will look. I am not sure if I have the eye for details like you guys do. [14:40] shinoda: feel free to pastebin your findings, volunteers will take a look for you [14:40] shinoda: by the way, switching to wayland won't work with nvidia hardware, as far as i know. [14:41] lotuspsychje TJ- tomreyn Thanks. [14:41] shinoda: have you tried creating a new user account, logging into it and leave it overnight, and check when you return if Xorg has eaten memory? If it doesn't that'd point to something you have in your usual profile [14:43] TJ- Since you mentioned my Laptop remains on for about 18 hours a day. And since this issue has arised I have noted the memory used by Xorg. It doesn't spike that much. When freshly booted Xorg is at 40M then thorughout the session it spikes to 100M and remains there. When suspended it wakes up with more than 3G < . [14:44] shinoda: NOW you tell us a vital detail!!!! [14:44] shinoda: so a suspend-resume cycle seems to be the trigger ? [14:44] TJ- I am not sure. I am not qualified. [14:45] @TJ- yes. sorry misunderstood the question [14:45] shinoda: well, that is one easy test to do isn't it? do a series of suspend-resume cycles and measure Xorg memory use at each :) [14:45] that is, both before and after [14:45] shinoda: start from a fresh boot and note down the value each time you resume [14:45] ^^^ indeed [14:45] TJ- Ok. [14:46] shinoda: in this 'game' of debugging you have to collect facts and evidence and see where they lead [14:46] Without any applications running ? [14:47] shinoda: to being with, yes, don't have too many variables at play. If the memory is fine without applications running, then try adding in 1 at a time and try again, you may find 1 application is the cause [14:47] s/being/begin/ [14:47] TJ- Ok. On it. [14:47] * TJ- has almsot worn out laptop LCD hinges doing lid-close-suspend-resume tests this past week! [14:48] TJ- LOL [14:52] almsot, keep going then [14:53] Is there a timeshift alternative for ubuntu ? [14:54] (a frontend for "btrfs sub snap") [14:55] garo, why not use timeshift? I don't see it in the repos, but the github example picture is running in on Ubuntu 16.04. [14:56] it's in disco + eoan [14:57] i think there's a PPA for earlier ubuntu releases. [14:57] !ppa [14:57] A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [14:58] ppa:teejee2008/ppa [15:00] actually this https://launchpad.net/~teejee2008/+archive/ubuntu/timeshift [15:01] ok, thanks [15:05] !addppa [15:05] A !ppa can be added using a single command « sudo add-apt-repository ppa:user/ppa-name » See https://help.ubuntu.com/community/Repositories/Ubuntu#Adding%20PPAs for more details === patricia` is now known as patriciadomin [15:18] is there a tool that given two paths, finds what files are overlapping, and replaces one duplicated file with a link on the other path? [15:19] rdfind [15:19] !info jdupes | cgi [15:19] cgi: jdupes (source: jdupes): identify and delete or link duplicate files. In component universe, is optional. Version 1.9-1 (bionic), package size 35 kB, installed size 76 kB [15:21] I have Pop_OS! installed on my PC, but want to download all the tools available on Kali Linux. Is there a one-shot way to doing so? [15:21] sgt_chuckles, I do not see how this is an Ubuntu question? [15:22] Anyone got any reccommendations i can try - my laptop seems to be running quite warm [15:22] 60c in idle, Laptop is only week old works fine with windows [15:23] Jonopoly, install tlp and/or powertop [15:23] okay, will give it a go [15:26] TJ-, have you used jdupes. I still am trying to figure out, how to give it /path1 and /path2 and tell it to find every duplicate file in /path2 (that exists in /path1) and replace it with a link. [15:26] !alis | sgt_chuckles, start with finding the right channel to ask your question in [15:26] sgt_chuckles, start with finding the right channel to ask your question in: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [15:26] ok thanks [15:27] cgi, I have used jdupes. [15:27] cgi, you want to replace duplicates with symlinks? [15:27] yes [15:28] preferably do a dryrun - and see what it is going to do , before i fire the actual command [15:29] cgi: I used it a looooong time ago and I recall it did what I wanted back then [15:30] seems like rdfind takes only one directory as input [15:31] cgi, I would guess that if you put the one you want to keep first, the later ones will be considered duplicates? [15:32] fslint is a gui that will find duplicate files, and allow you to decide to delete, symlink or hardlink the dup files [15:33] it can take multiple paths and compare them together [15:33] cgi: ^ ^ [15:33] pragmaticenigma, installing fslint now [15:36] pragmaticenigma, I see "Find" - but i dont see an option of creating links in a particular path [15:37] cgi: The merge button [15:37] pragmaticenigma, what exactly does the merge button do? [15:38] after changing my look-and-feel options in kubuntu (mouse theme, widget style, etc), where is the file that this information is saved to? [15:39] cgi: Merge creates hardlinks, such that both files will appear in their respective directories, but refer to the same file block on the disk [15:39] Howdy folks. I just installed ubuntu but had to cancel extra software install due to slow mirror. Part of the stuff skipped was the nvidia prime selector gui app. Anyone know how to install this afterward? [15:40] jtreminio: the nvidia driver will install nvidia-prime with it [15:41] jtreminio: you can check software & updates/tab additional drivers to see your nvidia drivers [15:42] Thanks! [15:54] hello [15:54] can someone please help me? I can't type a persian letter unless I reboot [15:54] and it happened recently without me changing anything related to keyboard settings explicitly [15:55] it's very annoying [15:55] I tried xkbmap command to no avail [15:55] it's something to do with the xkb mapping I believe [15:58] sentiment: if rebooting fixes it, I suggest rebooting. [16:00] hi, I need to install this https://spot.lrde.epita.fr/install.html on Ubuntu 18.04. the library has two versions: "stable" and "unstable". the unfortunate thing is that stable has dependency python3 < 3.6, and unstable has python3 >= 3.7, but 18.04 comes with python 3.6.7 [16:01] I successfully installed python 3.7 from deadsnakes ppa [16:02] but even after the installation, when I do `sudo aptitude install python3-spot` (one of the packages in the library), I get "python3-spot: Depends python3 (>= 3.7~) but 3.6.7-1~18.04 is installed [16:02] I even ran update-alternatives to make python3.7 default [16:03] how can I force apt/apt-get/aptitude to realize that I already have python3.7 installed and the dependencies for the "unstable" version are met? [16:06] willksm: can you send the ir xkb mapping file please? that could sort it out [16:12] I'll just check the installation media [16:22] Hello. I am looking for recommendations for email server software. [16:33] hello xrandr [16:33] sendy is nice [16:33] oh wait [16:34] email or email campaigns? [16:34] MassDebates: looking for an app suite for email. So MTA, anti-spam/virus, webmail,etc. [16:35] xrandr: try #ubuntu-offtopic. This is a support channel [16:46] hi. i recently changed my gmail account password. When using kmail, i changed my password there as well. I am now getting an error. Could not read the password. User denied kwallet access. I tried opening kwallet and deleting my imap settings and then reopening kmail, but it didn't help. any ideas how to solve this? also tried googling but also had no luck. [16:55] Oderus: try logging out and back into KDE, then launching kmail [16:55] Oderus make use of your backup setup you configured in your web mail. So go to https://gmail.com and let yourself e.g. sms a recover code to your mobile phone. [16:56] what is the right way to deal with "Ubuntu Server 18.04 Temporary failure in name resolution" at custom DNS, solutions like these give no result: https://stackoverflow.com/questions/53687051/ping-google-com-temporary-failure-in-name-resolution only /etc/resolv.conf works as temporary solution [16:57] sfx2496: come join to #ubuntu-server [16:57] apt full-upgrade has stalled at Setting up linux-headers-4.15.0-52-generic, been sitting there for several minutes. any ideas? [16:58] pragmaticenigma: ok i will try that [16:58] ty [16:58] coconut: i am not locked out of gmail though, i can access it on my phone just fine. its a kmail issue. [16:58] ne2k: could you pastebin the full output please? [16:58] pragmaticenigma: coconuti am relogging [16:59] Oderus ah, yes... that i do not know, sorry. [16:59] lotuspsychje, https://paste.ubuntu.com/p/Z2v592pJcD/ [17:00] lotuspsychje, pstree excerpt https://paste.ubuntu.com/p/mQ9GNCth5w/ [17:01] ne2k: not sure, but perhaps you might needed to apt autoremove first before updating [17:01] it doesn't appear to be using a particularly large amount of CPU or RAM according to top [17:02] lotuspsychje, never had to do that before [17:02] I dont' really want to just kill it [17:02] yeah better not kill [17:03] https://askubuntu.com/questions/1052000/all-kernel-upgrades-hang-on-update-secureboot-policy-enroll-key looks like this might be related [17:04] andy@andy-xenial-desktop:~$ ps auwx |grep whiptail [17:04] root 20044 0.0 0.0 20628 3276 pts/18 S+ 17:54 0:00 whiptail --backtitle Package configuration --title Configuring Secure Boot --output-fd 11 --inputbox -- Enter a password for Secure Boot. It will be asked again after a reboot. 10 77 [17:04] I've tended to do updates through the graphical thing before [17:07] is there a way to keep new windows from stealing focus? can't stand programs that are starting up while i'm trying to type. chat, passwords, terminal. so annoying. === theRealCraw is now known as Craw|work_inAirQ [17:17] im getting weird wifi errors on 18.04.2 kernel 4.18.0-22 with chipset Intel Wireless-AC 9260 driver= iwlwifi driverversion=4.18.0-22-generic https://hastebin.com/mikapovewo.xml === Craw|work_inAirQ is now known as Craw|work-WINK [17:26] thank you for all the ubuntu 8) [17:28] Hi, I was wondering if someone could help me with an issue installing grub. I have been following the tutorial for ManualFullSystemEncryption and I have ran out of ideas on how to solve it. Thanks [17:32] wawyed, please state the exact problem [17:35] this is the output I get when installing grub [17:35] https://paste.ubuntu.com/p/HrhhPwXwwr/ [17:35] wawyed: IO error? that's usually a hardware error. [17:36] wawyed: please also provide dmesg output. [17:37] from the live ubuntu? [17:37] it wont boot. I get grub command line if I try to boot [17:37] wawyed: i presume so. [17:38] did you forget to generate the grub config? [17:39] this https://paste.ubuntu.com/p/XyvSbyHCsn/ ? [17:39] how do you do that? [17:39] I followed this ttroubleshoot https://help.ubuntu.com/community/ManualFullSystemEncryption/Troubleshooting [17:44] wawyed: did you have linux running fine on this hardware before? [17:44] yes [17:44] linux mint [17:44] and that was also booting via grub? [17:44] + uefi? [17:45] secure boot was disabled [17:45] and secureboot is now enabled? [17:45] yes [17:45] try with it disabled then, and / or do a firmware upgrade [17:46] I tried disabled too but no luck :( [17:46] is it nothing to do with the encrpytion? [17:47] the error message you quoted is about a software called efibootmgr failing to read from / write to the mainboards' NVRAM. this can be due to buggy firmware. [17:47] this is unrelated to the full disk encryption [17:47] oh right [17:47] thats weird [17:49] so chances are that the secure boot implementation in your current mainboard firmware version is buggy. [17:49] can I install grub without uefi? [17:49] sure, if you boot in legacy bios / CSM mode [17:50] (not all systems support this) [17:50] but before you do that i'd just disable secure boot and try installing that way [17:51] that's how I installed it previously [17:51] (you can still try enabling secure boot later) [17:51] then enabled it after to see if that was the issue [17:53] https://www.asus.com/Motherboards/X99DELUXE/HelpDesk_BIOS/ latest 'BIOS' is version 3902 ("2018/04/26"), you have BIOS 3802 ("09/05/2017") === Evie is now known as Vie === Vie is now known as Evie [17:54] shall I try updating to latest? [17:55] up to you. its 'changelog' doesn't suggest that any UEFI Secure Boot related bugs were fixed: "Beta BIOS. Update CPU Microcode for Intel security issue." [17:56] yes, it's strange [17:56] wawyed: ^ also, i got to go. if i was you. i'd just install with full disk encryption and, once its all running fine, try re-enabling secure boot. [17:56] I'm updating to Ubuntu 19. not sure if that matters? [17:56] dual boot with windows [17:56] !yy.mm [17:56] Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [17:57] 19.04 [17:57] i doubt installing a different ubuntu version helps there [17:57] try the latest LTS, 18.04.2 [17:58] wawyed: does this look famiilar? X [17:59] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829620 [17:59] Launchpad bug 1829620 in linux-hwe-edge (Ubuntu) "intel-microcode on ASUS makes kernel stuck during loading initramfs on bionic-updates, bionic-security" [Undecided,Confirmed] [18:00] it's not the same. mine fails to install grub [18:00] I'm going to try installing without full disk encryption see if that makes a different by any chance [18:06] hi, if i want to update qt5 and use the latest version of the .run file, do i need to remove the installation from the repo of a previous version? [18:08] miu5: I would not recommend running .run files. It will mess with installed files on your machine. [18:09] so is there another way to update qt5 from its default version in Ubuntu repo? because i dont think there is https://wiki.qt.io/Install_Qt_5_on_Ubuntu [18:10] there was a recent update to libqt5 which has changed something because some programs keep crashing [18:15] connected to wifi but i want to connect via ethernet instead; how do i switch? if i turn off my wireless card, it seems i must manually configure the ethernet connection [18:17] rypervenche, then how is it possible to roll back certain updates that were made? [18:18] !latest | miu5 [18:18] miu5: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa. [18:19] sappheiros: normally ethernet should ascociate itself automaticly after disable wifi [18:19] sappheiros: did you try plug out/in cable? [18:22] Hi, looks like it was a problem with the ManualFullDiskEncription guide as it works without it [18:23] tomreyn sarnold ^ [18:24] to be fair it doesn't say that it has been tested on ubuntu 19.04 so that could be why [18:27] How does one roll back an update for example that happened with apt on packages related to qt5 ? [18:28] miu5: we are not sure what you did on your system, did you add packages with a ppa or manual? do you have apt logs of what you did? [18:28] apt-get install packagename=desired_version_number [18:29] usually with the backup you made before you updated [18:35] hello I just did a fresh install of ubuntu 19.04 and i dont seem to have any wifi just wired is there a package i need to install or is it best to just reinstall? [18:35] enduser00: did you update to latest? [18:36] yes and rebooted still no wifi [18:36] no, they're dropping wifi support [18:36] enduser00: can you pastebin: sudo lshw -C network please [18:36] !behelpful | swills [18:36] swills: As our !guidelines say, "When helping, be helpful". If you're not familiar with the issue at hand, let someone else handle it instead of making !offtopic comments or jokes. [18:36] i'm kidding, sorry... [18:37] nevermind i think i accidentally hit the hardware switch feel really dumb now haha [18:44] I am trying to install mariadb-server and I am seeing the following: http://dpaste.com/0JKVJWN mariadb-server is not a command on the server... [18:47] Fix that dependency issue first before trying to configure it [18:52] hmm looks like it was caused by mysql still running, not sure how that happened. mysql server still wont start, times out, systemd output super helpful :+1: [18:52] That's strange, it should have uninstalled when it got mariadb [18:52] usually a config issue. it should let you test the config somehow [18:56] apt-get remove --purge mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 && rm -Rf /etc/mysql && apt-get install mariadb-server; This is still failing the configure phase [18:57] Maybe a dpkg --configure -a will help [18:57] xamithan: yah I was trying that but it returns the same vague "something failed, sorry" output. [18:57] does dpkg not have verbose output? [18:57] or doing an apt clean all or whatever that one command is, then a purge on mariadb-server [19:05] Ehhh [19:05] lets ask this, where the hell is the post install script for this deb so I can read it and figure out what the hell its trying to do since it cannot omit any kind of usable error message. === enko-h is now known as enko [19:13] kwhat4: /var/lib/dpkg/info/.{pre,post}inst [19:32] What a load of shit, why is the /etc/apparmor.d/usr.sbin.mysqld file not shipped with mariadb if apparmor is going to be used by default?! [19:33] kwhat4: the mariadb devs wanted to let admins dump databases anywhere, or load data from anywhere [19:33] crud. remind me again, what's the terminal command to open things in the GUI? [19:33] kwhat4: so they've neutered the profile [19:33] Gallomimia: xdg-open ? [19:33] thanks. [19:34] sarnold: they also broke the installation of their software. A+ [19:35] kwhat4: being different from mysql in this case definitely makes it way harder to change your mind about which database you want touse [19:38] kwhat4, you had the mysql apparmor prfile still loaded ? [19:38] *profile [19:39] ioria: I still had the file and assume it was from mysql. mariadb didnt install any file for this purpose and a file is apparently required. [19:39] even doing a rm of the file and then reinstalling mariadb-server did not create an apparmor profile [19:40] kwhat4, echo -n "/usr/sbin/mysqld" | sudo tee /sys/kernel/security/apparmor/.remove ; apt install -f; apparmor_parser -r /etc/apparmor.d/usr.sbin.mysqld === miu1 is now known as miu5 [20:23] Is there a way to boot with a rotated grub that ubuntu will notice and carry through to both plymouth and x? [20:23] Thanks in advance for any help! [20:25] pardon me. what's a "rotated" grub? [20:29] What can i install on ubuntu Gaming laptop to prevent it overheating [20:29] Laptop gets warmer than it did with windows [20:30] Jonopoly: you can tweak powersaving, but the most effective solution involves throttling. [20:30] easy for novice? [20:31] Jonopoly: You can look at BIOS/UEFI does it have option to turn off hyperthreading [20:31] what does hyperthreading having to do with this? [20:31] jonopoly did you get those nvidia drivers installed? [20:31] Jonopoly: what type of hardware? nvidia or amd? [20:31] I got nvidia installed [20:32] nvidia settings has the ability to tweak for performance or economy [20:32] I got them from 'Additional Drivers [20:32] yes good [20:32] Yeah it has optiion power saving mode - intel [20:32] Gaming - Nvidia [20:33] Peformance Mode -NVIDIA , Power Saving Mode Intel [20:33] afaik his lappy has an i7 with integrated graphics, as well as a gtx dedicated chip [20:33] Yeah, is that common? [20:33] sounds like something is still a little wonky on drivers if it's warmer than in windows [20:33] it is fairly common yes [20:33] if i do 'sensors' [20:33] i get like 6/7 responses [20:33] there's one sitting here in front of me [20:34] iwlwifi - 32c, acpitz - 37, 27 etc.. [20:35] hi [20:36] should i create swap partition while installing 18.04.2 ? [20:36] is it necessary? [20:36] b1ack0p: not necessary if you have enough RAM, don't want to suspend to disk (default is to suspend to ram). a small one is still recommended, though. [20:36] Gallmima: rotated 90 degrees to the right for a vertical monitor [20:37] tomreyn: i have 4gb ram currently [20:37] Gallomima* [20:37] what is suggested? should i use swap? [20:37] Gallomimia: https://paste.ubuntu.com/p/qhxvYtDCZd/ [20:38] b1ack0p: yes, you should still have a small swap partition, maybe 512 MB. [20:38] b1ack0p: actually a swap file also works. [20:38] but someone told before swap area should be at least same with ram [20:38] or more [20:38] I created a partition and only created '/'.... [20:39] for example for 4gb ram - 4gb swap [20:39] if it is usefull i can create more [20:39] I was told you don't need swap now? i could be wrong though [20:40] maybe things changed by 18.04 [20:40] That was a recommendation from 20 years ago b1ack0p [20:40] b1ack0p: "depends". 'at least same size as RAM' applies if you intend to suspend-to-disk. 'enough swap' applies whenever you expect to have more memory allocated than you have physically available. [20:40] i read something about it other day but i dont remember details [20:40] b1ack0p: swap >= RAM when you want the system to hibernate [20:41] ok i better create swap [20:41] but other day i had a problem [20:41] i am trying to install dual boot with win10 [20:41] https://help.ubuntu.com/community/SwapFaq [20:41] first installed win10 then while installing ubuntu i created 8gb swap area first before creating ubuntu partition [20:42] but it didnt create swap area instead it did something to windows logical system partition [20:42] when i booted to windows system partition (about 600mb) was visible while it suppose to be hidden [20:43] Jonopoly, looks right to me. shame it won't show you the fan speeds. i'm also having problem getting my fan speeds [20:43] b1ack0p: you can always use a swap file instead of a partition. [20:43] it *USED* to work for me [20:43] kwhat4: how can i use swap file then? [20:43] which one is better? [20:44] neither [20:44] sudo swapon /path/to/swapfile [20:44] er, do you have to make something first? [20:44] b1ack0p: There is a section in the SwapFaq that tomreyn linked to called "How do I add a swap file?" [20:44] hmm [20:44] Sorry did somebody mention me? [20:44] Lost connection [20:44] yeah you gotta use dd or something to make a file of appropriate size [20:44] i did [20:45] just said it looks okay. but no fan speeds? i have that problem too [20:45] b1ack0p: there is probably not going to be any noticeable difference between the file and partition. If your into the swap, its going to be slow. [20:45] Gallomimia, I feel my fan might be on low setting... [20:45] what is i dont create any swap? [20:45] On windows i've got a fan-control function key [20:45] what effects me? [20:45] cant i hibernate? [20:45] yeah. the bios should have options to manage it by hardware only [20:46] if you run out of memory, programs die instead of going into swap [20:46] Gallomimia: I should be able to set it in bios? [20:46] b1ack0p: if your system tries to allocate more memory than you have (Ex: you run out of memory) your system will stop working. [20:46] depends on your machine really [20:46] Black0p how much ram do you have? [20:47] I think he said 4gb [20:47] 4gb ram currently [20:47] but i wanna add 4 more later [20:47] you should get yourself some swap [20:47] max 8gb supported [20:47] b1ack0p: right, you can't hibernate without swap. again, read the faq. [20:47] Is TLP still reccommended for laptops? [20:47] where'd it go? [20:47] !swap | black0p [20:47] black0p: swap is used to move unused programs and data out of main memory to make your system faster. It can also be used as extra memory if you don't have enough. See https://help.ubuntu.com/community/SwapFaq for more info [20:47] i better create swap partition [20:48] but it didnt work other day i dont know why [20:48] again, it's not required to have a partition. it can be nice [20:48] clicky that linky [20:48] i dont wanna make mistake again because re installing everything is tiring [20:48] instead of file parititon sounds more stable [20:48] yeah probably you changed somethings in the settings during install, and it didn't stick [20:48] When i created my linux partition... i didn't create swap >_> [20:48] Just '/' >_> [20:48] nor did i [20:49] everything seems ok so far.. [20:49] in fact, i asked for a reminder in here on how to get rid of the swap file [20:49] i even shredded it to prevent reading what was in there [20:49] alright ubuntu iso downloaded [20:49] swapfile will work just fine as long as the hosting partition has enough space. [20:49] i strongly recommend keeping a bootable USB on hand at all times [20:49] should i first create swap or later than Ext4 partition?_ [20:50] Gallomimia: sure but it doesnt ruin ubuntu only it ruins windows partition too [20:50] With 4gb, you are almost certainly going to need swap at some point, probably right after you launch chrome for the first time :D [20:50] Gonna install this TLP seems advised [20:50] to help keep laptop cool [20:50] hi - I apt-get distupgraded my ubuntu machine today, and it now is screwy with monitor placements and things [20:50] did you reboot after? [20:50] is this a good room to ask for help diagnosing this, or should I go to an xserver one or something? [20:51] i shouldnt make mistake this time otherwise both win and ubuntu should be installed from zero again [20:51] what reboot? [20:51] b1ack0p: are you using an SSD or spinning disk? [20:51] kwhat4: ssd [20:51] b1ack0p: then it doesnt matter where the partition is located on the disk. [20:51] right. you could make that partition without even rebooting [20:51] before i was using same ssd on dif. machine without problem. but on this machine same ssd did something wrong with swap other day [20:52] slice off the last 8gb of it [20:52] drdozer: do you mean you did an ubuntu release upgrade using this command (i.e. you also changed your apt sources.list to point to a different codename) or did oyu just install all the latest updates for your ubuntu installation [20:52] what i am asking is 1. create swap 2. create ext4 ? or opposite? [20:52] b1ack0p: it doesnt matter [20:52] ok lets try again.. [20:52] you shouldn't need to reinstall [20:53] generally I put swap at the end of the disk, but really it doesnt matter unless you care about what number the primary partition is. [20:53] Gallomimia: it does something to windows file system while creating swap that s what i am concerned [20:53] yeah. open the program called Disks [20:53] tomreyn: I'm on bionic bever and have been for a few weeks - the monitor placement went weird when I dist-upgraded today [20:53] can you change partitions on a device that is the boot drive? [20:53] there will be only 1 primary for ubuntu and other logical for swap [20:54] Gallomimia: i left some part for ubuntu not created anything yet [20:54] 145gb for win - 80gb for ubuntu i left [20:54] you can split that ubuntu partition without reinstalling [20:54] doesnt matter [20:54] i am concerned about win partition not ubuntu [20:54] drdozer: can you post this so we can tell how your apt sources are configured? sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -qqy update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 i dont want to ruin win partition while installing ubuntu that s my worry [20:55] b1ack0p: adding more partitions (<=4 of them) should have no effect on windows. [20:55] but while creating swap it did something to windows logical partition and it didnt create swap .. i dont want that happen again [20:56] it didnt happen before. why it happened other day i dont know [20:56] tomreyn: https://termbin.com/ra60 [20:56] b1ack0p: it could be possible that you specified the wrong disk? [20:56] i cant explain the problem. [20:56] maybe.. [20:56] let me install again see what happens [20:57] drdozer: this suggests you're running the in-development, unreleased ubuntu 19.10 [20:57] tomreyn: sorry - I've been in a training thing all day and my brain is melted - I'm on eoan [20:57] !ubuntu+1 | drdozer [20:57] drdozer: Eoan Ermine is the codename for Ubuntu 19.10 - Support only in #ubuntu+1 [20:58] thanks :) [21:34] hi [21:34] finally installed ubuntu again without problem [21:34] dual boot with windows 10 [21:34] but grub is missing [21:34] it directly boots to windows without asking me to choose what os to boot [21:34] what should i do- [21:34] ? [21:35] chroot into the install and install grub ? [21:36] b1ack0p: I haven't used windows in a while, but I heard that when you "shutdown" windows, it actually suspends to disk [21:36] b1ack0p: try to restart windows instead, and see if that gives you a different result [21:36] Oh if fast boot is enabled it won't work, yes [21:41] sarnold: and then after restart did it give you different result? [21:42] b1ack0p: yes [21:42] after restart grub sattles back/ [21:42] ? [21:42] restores- [21:43] I *think* so. I remember being *very* upset at windows while trying to get that machine installed. I wound up doing an extra six or seven reboots due to this stupid behaviour from windows [21:43] there must be easy way for that [21:44] boot repair something? [21:44] b1ack0p: if windows "fast startup" is the issue you're facing then disabling that setting (in windows, which is not difficult at all, just well hidden) should allow grub to boot [21:45] ok then i should disable fast startup right? [21:45] there are other issues which could result in the same symptoms (windows booting instead of grub/ubuntu), but this one is the most likely one. [21:46] bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi [21:46] i found this [21:46] for windows [21:46] cmd [21:46] yes, you need to disable this 'feature' to multi-boot windows with other OS. possibly repeatedly upon windows upgrades. but then, this is not a windows support channel ;) [21:46] ok thx [21:46] bbl [21:46] I solved it by wiping windows from the disk once I was done with bios updates :) [21:47] lol sarnold [21:47] i wish i could do that but i need windows [21:47] VMs can work well. [21:47] vms limit me [21:47] mostly about gaming etc [21:48] ok brb [21:50] I found I can play Dark Souls III on 19.04 just fine. That's all it took for me to be rid of Windows. [21:50] hi all, I am on Ubuntu 18.04.2 LTS and my /dev/random is not working. When I do cat /dev/random | strings --bytes 1 | tr -d '\n\t ' it just hangs. Any advice? [21:51] ironpillow: that's how it works, it blocks when out of entropy. use /dev/urandom instead [21:51] ironpillow: see if it works with urandom instead of random; then find out the difference between the two [21:52] !info haveged | or, even better, install and run something like [21:52] or, even better, install and run something like: haveged (source: haveged): Linux entropy source using the HAVEGE algorithm. In component universe, is extra. Version 1.9.1-6 (bionic), package size 28 kB, installed size 72 kB (Only available for linux-any) [21:52] hi, I want to make grub, and plymouth rotate to function on a vertical screen. I tried editing /etc/default/grub with fbcon=rotate:1, but this only rotated the tty consoles once I booted but no change to plymouth booth splash [21:52] Riviera: urandom works [21:53] the way I came across this problem is, when I run docker-compose, it just hangs. Apparently, docker-compose is using /dev/random. [21:54] install haveged [21:55] some kernel versions can let you use random.trust_cpu=on on the kernel command line to use the CPU's RNG [21:56] blackflow: yep checking haveged right now [21:56] also getrandom syscall is not available. [22:01] Hello? [22:01] hello [22:02] I'm trying to dual-boot Ubuntu and Windows 7, i have used Rufus 3.5, everytime i try to flash ubuntu 19.04, rufus asks me if i want to download Syslinux 6.04, i click yes but rufus never downloads the files. [22:02] I tried running rufus using admin [22:02] Sounds like a windows question Blurem [22:03] i'm currently running win7 [22:03] Maybe try something else like rawrite32 or etcher then [22:03] that sounds like a Rufus issue to me, certainly not an Ubuntu issue. [22:03] Because we can't help with rufus [22:03] or maybe disable AV scanners? those mess with everything [22:03] etcher flashes the imagine successfully but i can't boot into the usb stick, the volume size shrinks to 3.5mb [22:04] which is too weird [22:04] I have disabled AV already. [22:04] still nothing [22:04] you may have a corrupt iso image downloaded [22:04] !md5 [22:04] To verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see https://help.ubuntu.com/community/HowToMD5SUM or http://www.linuxquestions.org/linux/answers/LQ_ISO/Checking_the_md5sum_in_Windows [22:04] Blurem: when rufus starts, press alt-i once and it goes into the dd write mode [22:04] i have scanned the mds and others using the hash [22:04] Blurem: did you try Ubuntu's USB boot disk creator? [22:05] I'm on win7, not ubuntu [22:05] oh right [22:05] i'm going to verify the checksums again [22:06] MD5 is correct. [22:07] if you start rufus from a command prompt does it spit out any useful errors to the terminal? [22:07] Rufus doesn't report an error. [22:07] https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows for the rufus settings [22:07] It just never downloads the "idlinux" or something file [22:07] Blurem: when rufus starts, press alt-i once and it goes into the dd write mode. that way it doesn't try to mangle the image, just writes it [22:08] Alt-i doesn't work. [22:09] I use rufus 3.3 and do not have issues writing bootable images [22:09] Blurem: it prints disabling iso support at the bottom [22:09] i know it's misleading message [22:10] I'm going to try rawrite and see if it works or not. [22:10] oki :) [22:18] I went with haveged. worked like a charm [22:18] thanks blackflow! [22:18] thanks Riviera [22:27] my god [22:28] so i have written ubuntu 19.04 iso on 16gb flash drive [22:28] why does the volume size get to 3.63MB? [22:30] Blurem: maybe that's the actual capacity of the usb stick? is it new, have you used it before? [22:31] not really, i bought it last month [22:31] and yeah it's new, not that much usage since it's purchase date [22:31] I have a three year old Thinkpad with Ubuntu only on it. Got a new Thinkpad which I have put Ubuntu on. Now I want to install Windows on the older one again. Is that possible? There's no dual boot or recovery partition on the old one, just Ubuntu. [22:31] It should write to about the same size as the iso file [22:31] Are you sure that ISO is good ? [22:32] yes, i have confirmed the MD5, SHA1 checksums [22:32] MD5 6fa9686bc299c19c97d280f79a723868 SHA1 47064866141c7729b3f447890dd6d5bc2fc35cf7 SHA256 2da6f8b5c65b71b040c5c510311eae1798545b8ba801c9b63e9e3fd3c0457cbe SHA512 6a2c8acc42b2e2f5ae9f9382656a311f46b93983c9b5063b465c33c3da3fcd57 700d73f525d14ba420f598349787b1ab26b58b343c427975b77f53cd63cea316 1.95 GByte successfully written to disk. MD5 hash of output data: bd63fe9d7d73653204e2546b4f6c1705 [22:32] hi, i am doing "service apache2 status" and it shows the status, how will i exit from the status? it shows (END) [22:32] Blurem: since you're on win7, format the stick first, verify it is 16GB, then write ubuntu into it (about 2GB) [22:32] Does it have two volumes on it then ? [22:33] it doesn't. [22:34] i formatted the usb again [22:34] the size is 14.8GB [22:34] https://www.raymond.cc/blog/test-and-detect-fake-or-counterfeit-usb-flash-drives-bought-from-ebay-with-h2testw/ [22:34] Blurem: use Disk Management to view the partitions on the stick [22:37] Are you sure you downloaded the right rawrite tool anyway [22:37] im doing a write test [22:37] There is versions that only do floppy file size [22:37] i did yeah. [22:37] let me check really quick [22:37] its just rawrite32 1.0.7.0 [22:38] a 16GB stick formatted as fat32 shows on disk management as 14.54GB [22:38] That should be the right one if it's from the netbsd site [22:40] johnc--: press q [22:40] it shows up 14.91GB [22:41] formatted as FAT32 [22:41] pavlos, nice. thank you. :) [22:41] I'm pretty sure the stick isn't fake [22:42] Some of those fake ones show up correctly until you try to write to them [22:43] im currently writing on it using h2testw [22:52] Blurem: still? [22:52] still writing [22:53] its taking a long time.. [22:53] 5GB were written [22:53] hmm maybe that's normal, i never used it. could be a slow usb stick, too. [22:55] why 5GB ... the iso is about 2GB [22:56] im testing it [22:56] not writing actual isos [22:56] so yeah the usb stick isn't fake [22:58] could someone provide me with syslinux files, please? [22:58] im trying to get rufus running [22:59] Blurem: why don't you do as i instructed? [22:59] i did [23:00] i tried etcher, rufus, rawrite but they all wont work [23:00] 1) start rufus 2) press alt-i once 3) write the iso 4) ??? 5) profit [23:00] lol [23:01] i press alt i but nothing happens at all [23:01] the text in rufus' bottom shows "iso support disabled" [23:01] then it's in the dd write mode [23:01] nope, it just says "1 device found" [23:02] oh wait [23:02] i just tested it [23:02] i pressed right alt and it worked [23:02] left alt didnt work [23:02] you're probably using different software versions [23:02] it's been there for a couple of years [23:02] probably [23:02] so yeah, iso support disabled. [23:02] the ISO Support Disabld appears for 2-3 sec [23:02] what then? [23:03] select the iso and write [23:03] heeyyyyy its working [23:03] thanks a lot akik, tomreyn. [23:04] btw [23:04] when i install linux [23:04] i make the swap area partition then the root partition, correct? [23:04] https://github.com/pbatard/rufus/wiki/FAQ [23:04] If the ISO was created as hybrid, you may however be able to create a bootable USB image by disabling ISO suppport (Alt-I) and using DD-Image mode, or selecting "Write in DD-Image mode" when prompted. [23:05] good hint there, akik, this should go into the ubuntu tuorial, i guess. [23:06] this crap made me go stuck for more than 2 hours ;-; [23:06] let's see if it boots, i'm about 99.95% certain it does [23:06] oh it's probably alt vs altgr [23:07] I never understood that split [23:07] Blurem: the order in which you create them doe snot matter. you do not need to partition manually, it can be automatic. if you'll partition manually, whether or not you'll need to reserve a partition for swap depends on a few things. [23:07] altgr is the one which worked for me. [23:07] So do i select "install alongside windows 7"? [23:07] i just tried in a windows 7 vm where alt-i worked, but not altgr-i [23:07] that's hella weird. [23:08] install alongside windows if you'd like to keep windows, yes. [23:08] i have seen multiple dual-boot tutorials, they always choose "something else": [23:08] and then they make swap area and root partitions [23:09] you're free to do as you wish ;) [23:09] thanks haha [23:09] im just trying out to figure whats the best [23:10] windows installation is not like linux where you just select a goddamn partition and thats it [23:10] soo [23:10] rufus just finished writing the iso [23:10] and the volume size shrinked back to 3.63MB [23:11] maybe you're just looking at the wrong volume / partition [23:12] if i make the passphrases for two LUKS containers identical, what are the chances of someone breaking the key on one and then using that to break into the other? [23:13] tomreyn : https://imgur.com/a/TCuHJgt [23:13] if someone breaks one password they will immediately try it everywhere else it might be used. [23:14] Blurem: look at it in disk management or whatever it's called. [23:14] Blurem: it's normal. don't worry about it [23:15] I'm going to reboot, hopefully i will get something to boot from [23:15] Blurem: if you mount the iso it'll probably show that same 3.6 gigs(?) [23:16] i think there's two partitions on that usb now if you check with fdisk/parted [23:21] Hey! [23:21] im in live ubuntu [23:21] :) [23:25] Blurem: could you run "sudo parted -l" and see how many partitions you have on that usb stick?