[00:05] <serverissues> Hi everyone
[00:06] <serverissues> I'm having issues with my Ubuntu server. After about 20mins, all connections stop until I reboot again. Any thoughts?
[00:11] <serverissues> I'm having issues with my Ubuntu server. After about 20mins, all connections stop until I reboot again. Any thoughts?
[00:13] <chrometiger> So im using 18.04 fresh install,    created a photo server of sorts,  im going through all my external HD's copying photos over to this computer and my computer just hangs while copying.  sometimes reboots spontaniously.  I've noticed this only happens when I have external hard drives and copying from them.  Any thoughts why?
[00:17] <tomreyn> serverissues: got anything on this on your logs?
[00:17] <tomreyn> does disk i/o still work then?
[00:18] <tomreyn> which hardware (exacty computer or mainboard model), firmware?
[00:18] <serverissues> Which log would I be looking at?
[00:19] <tomreyn> serverissues: /var/log/syslog and, maybe more importantly, the output of the 'dmesg' command
[00:20] <tomreyn> chrometiger: you could actually do the same ^
[00:21] <serverissues> Looks like ufw is blocking connections. But I have allowed incoming, outgoing, routed. And I have tried disabling ufw
[00:24] <BlindWiz> I just installed mosquitto mqtt server, but when I try and do systemctl start mosquitto it doesn't start it. the only way it starts it is if I manually do it via mosquitto -d ... what can I check to see why its not starting with systemctl?
[00:26] <chrometiger> didn't see anything in my logs associated with my crashes   anywhere else log wize I could check ?
[00:28] <chrometiger> like right now i've been running for about a hour no crashes, its only when I start copying massive amounts of personal photos from one hdd to this computer
[00:29] <tomreyn> serverissues: disabling ufw is as complex as running "ufw disable". if it worked, iptables -L will list no rules in any 'ufw' chains
[00:33] <oerheks> sudo ufw enable && sudo ufw logging on && sudo ufw app list && sudo ufw allow 80 && sudo ufw status verbose
[00:33] <oerheks> or ssh something
[00:36] <hippie> hello
[00:36] <oerheks> hello hippies
[00:37] <dunnousernamefn> Hey, so I add PPA's sometimes, or sometimes they are added automatically by scripts, and a small but significant fraction of those PPA's give an error when you try to GET them for one reason or another, causing apt-get update to fail in an automatic mode. What's the best way to clear those entries?
[00:38] <dunnousernamefn> e.g. 404 because it's an old PPA that no longer exists
[00:38] <serverissues> Tried doing that and still can't get to port 80
[00:38] <dreamcat4> hi there. need assistance with my networking issue
[00:38] <oerheks> restarted apache?
[00:38] <serverissues> It won't even allow me to ping an outside IP
[00:39] <dunnousernamefn> nevermind lol
[00:39] <dreamcat4> after a reboot, my ping requests are responsive. however after a while (< 30 min kind of window)... ping then becaomes slow and unresponsive. and it takes several seconds to return. however other lookup cmds (like nslookup and dig) do not appear to be affected
[00:39] <dreamcat4> this is on ubuntu 18.04
[00:40] <dreamcat4> perhaps it was a recent update? because this problem has only started happening fairly recently, within the last week
[00:40] <dreamcat4> ...perhaps there is there a way i can check chronologically for past updates? and see if anything to do with the resolver has been updated? then i could roll it back
[00:42] <dreamcat4> currently at 5.2 seconds (for a ping request)
[00:42] <dreamcat4> vs nslookup which is 0.22 seconds
[00:42] <dreamcat4> *0.022 seconds
[01:02] <erwinnovo> sorry just want to ask what is the channel for users of apache using ubuntu as linux servers
[01:02] <erwinnovo> somebody once told me that channel here
[01:03] <easyOnMe> sorry just want to ask what is the channel for users of apache using ubuntu as linux servers
[01:03] <easyOnMe> somebody once told me that channel here
[01:03] <tomreyn> easyOnMe: we read you when you asked the same question as erwinnovo ;)
[01:04] <easyOnMe> tomreyn: I see do you know the channel
[01:05] <leftyfb> easyOnMe: what is your question about apache?
[01:06] <tomreyn> easyOnMe: if you're referring to apache httpd, there is #httpd. if you have questions about ubuntu server, there is #ubuntu-server
[01:06] <tomreyn> !alis | easyOnMe
[01:06] <easyOnMe> leftyfb: I wanted to know a linux terminal command to show me the apache error log if the url I entered into the browser is causing errors
[01:06] <easyOnMe> it was something like Catl that kind of thing but I forgot
[01:06] <easyOnMe> tomreyn: yes done already
[01:07] <easyOnMe> looking for it now
[01:07] <leftyfb> easyOnMe: Are you talking about you trying to go to a website that you host in your own browser or just a website on the internet that doesn't belong to you?
[01:08] <easyOnMe> leftyfb: my own website on the internet
[01:08] <easyOnMe> and it belongs to me
[01:08] <easyOnMe> ;)
[01:08] <leftyfb> easyOnMe: https://httpd.apache.org/docs/1.3/logs.html
[01:08] <MrAureliusR> easyOnMe, it's probably in /var/log/
[01:08] <leftyfb> easyOnMe: That is the official apache documentation found by googling for "apache logs"
[01:09] <MrAureliusR> poke around and you'll find it
[01:09] <tomreyn> 'catl' sound sa bit like 'catalina', which would be a main component of the apache tomcat java serlet container
[01:09] <leftyfb> ugh, tomcast ... ew
[01:09] <leftyfb> tomcat*
[01:09] <leftyfb> lol, I'm on the phone with comcast ... wonder how that came out :)
[01:10]  * tomreyn giggles
[01:10] <leftyfb> but are equally repulsive though
[01:10] <leftyfb> both*
[01:17] <jaydemir> I'm using Pop OS which is built directly on Ubuntu 18.04. I'm having terrible terrible random intermittent keyboard input lag which is driving me nuts. How can I fix this?
[01:18] <leftyfb> jaydemir: We do not support Ubuntu forks here.
[01:19] <leftyfb> jaydemir: https://system76.com/pop   that's where you get support.
[01:19] <jaydemir> well they don't have an IRC and it's literally the only thing that installs on this laptop. I try to boot the Ubuntu live CD and it freezes within seconds of booting
[01:19] <leftyfb> jaydemir: contact system76 support
[01:19] <jaydemir> it's after hours
[01:20] <jaydemir> I'm willing to install ubuntu on this machine if anyone can tell me why the stupid live image freezes on boot
[01:20] <jaydemir> its an acer nitro 5 with a 5th gen intel and gtx 1050
[01:20] <jaydemir> is the hardware just too new for it?
[01:21] <leftyfb> jaydemir: I would try the netboot installer
[01:21] <jaydemir> 8th gen intel core i5* not 5th gen
[01:21] <leftyfb> jaydemir: http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/mini.iso
[01:22] <MrAureliusR> I've always wondered how netboot installers worked
[01:22] <jaydemir> flashing that now. Hopefully this keyboard issue gets fixed along with taht
[01:22] <MrAureliusR> is it the built in keyboard
[01:22] <MrAureliusR> ?
[01:23] <jaydemir> yeah built into the laptop
[01:23] <MrAureliusR> have you tried an external keyboard?
[01:23] <jaydemir> I've never had such keyboard lag before and I realy dont want to use windows
[01:23] <MrAureliusR> well you've got about 50 different options before windows
[01:23] <MrAureliusR> lol
[01:23] <MrAureliusR> Ubuntu, Fedora, Debian, Arch, Mint etc
[01:24] <jaydemir> thast he thing hardly anything boots on this laptop. PopOS worked because their installer has built in nvidia drivers
[01:24] <MrAureliusR> it's almost certainly a quirk of pop os
[01:24] <jaydemir> anything pre 17.04 just wont even load xorg
[01:24] <MrAureliusR> wait, it doesn't have integrated graphics as well?
[01:24] <MrAureliusR> what's the model of laptop
[01:25] <jaydemir> Ive combed through the options to see if I could switch to it but nothing
[01:25] <jaydemir> acer nitro 5
[01:25] <jaydemir> dont know the exact model number off hand but its got the 8th gen intel core i5
[01:26] <jaydemir> it was basically on sale at bestbuy and absolutely destroys my best desktop in performance
[01:26] <MrAureliusR> did you see this?
[01:26] <MrAureliusR> https://ubuntuforums.org/showthread.php?t=2375169
[01:26] <MrAureliusR> oh wait that's with the other GPU option
[01:26] <MrAureliusR> hold on
[01:27] <MrAureliusR> https://askubuntu.com/questions/1039895/how-to-install-ubuntu-on-acer-nitro-5
[01:27] <MrAureliusR> the comment there has some tip
[01:27] <leftyfb> jaydemir: if you've got it booted, type: sudo dmidecode -t system|grep Product
[01:27] <leftyfb> that'll tell you the model
[01:28] <jaydemir> Nitro AN515-53
[01:29] <jaydemir> based on the comments in that last thread it seems like I'd have better luck with Ubuntu 16
[01:29] <jaydemir> which I have no issue with
[01:29] <leftyfb> jaydemir: I would try Ubuntu 18.04 that I linked you to
[01:29] <jaydemir> yeah. I can try that and see if I can brute my way with that F6 option or compatibility mode until I can get drivers installed
[01:30] <jaydemir> hopefully that'll do it
[01:30] <leftyfb> jaydemir: this is just false: "I know what is the problem. In ubuntu 18 you can’t install it if you have an Nvidia GPU"
[01:30] <leftyfb> jaydemir: just try the mini.iso I linked you to. Install the desktop when it asks for for packages to install
[01:30] <jaydemir> The keyboard lag doesn't happen with a USB keyboard plugged in it seems
[01:30] <jaydemir> but completely defeats the purpose of the laptop obviously. I find Pop tacky so I'm looking forward to getting something else on here
[01:31] <jaydemir> gonna go mess around with it now. Thanks guys!
[01:31] <ljetibo> Hey, I was ssh'd into a AWS machine and I was compiling something. I forgot to spin off a screen or tmux session to reattach later on. Naturally wireless dropped and now I had to log in again. This of course means that I have a new shell session and that that compilation continued in a detached shell now. Can I reattach it somehow? I
[01:31] <Xlusive> How do you like PoP so far and how is it compared to Bionic?
[01:33] <leftyfb> !ot | Xlusive
[01:33] <leftyfb> ljetibo: negative
[01:36] <Xlusive> lol
[01:37] <sonicwind> he may have accidentally turned sticky keys on
[01:37] <sonicwind> someone had that problem the other day in here
[01:39] <ljetibo> leftyfb: damn. Well, my bad... sonicwind: if you mean me, I didn't.
[01:39] <MrAureliusR> naw he was talking about jay
[01:39] <ljetibo> Thansk!
[01:39] <sonicwind> sorry, I meant jaydemir
[01:55] <lotuspsychje> !rootirc | rui
[02:16] <adminx> Greetings
[02:16] <lotuspsychje> welcome adminx
[02:16] <adminx> {^_^}
[02:16] <lotuspsychje> what can we do for you adminx ?
[02:16] <adminx> Thanks
[02:17] <adminx> I love meeting new friends
[02:17] <lotuspsychje> adminx: well, this is the ubuntu support channel here, so only ubuntu questions here
[02:18] <adminx> that is wonderful
[02:21] <easyOnMe> how to do use grep to find some word or set of words in a given folder with text file in it
[02:22] <adminx> Thanks 4 the visit..good night 2 all.
[02:23] <easyOnMe> is this the correct terminal command grep "application" /var/apache2/
[02:24] <lotuspsychje> !grep | easyOnMe
[02:25] <easyOnMe> lotuspsychje: my objective is to find all files in a given folder like in /etc/apache2
[02:26] <easyOnMe> containing the text 'application' in the all the text files in all the subfolders for /etc/apache2
[02:26] <easyOnMe> is this terminal command correct grep "application" *.* /etc/apache2
[02:27] <lotuspsychje> easyOnMe: read the url mate..use grep with a pipe | grep | ...
[02:36] <guiverc> easyOnMe, please note *.* is a windoze hack, * equates to any character(s) followed by a fullstop, followed by any character(s).  You mean "*" i'm betting  (ie. any files, with & without a full stop following by 0-more characters)
[02:37] <guiverc> sorry; *.* equates to ... typo mucked up my statement; hopefully it's still understood
[02:38] <easyOnMe> guiverc: yeah I got what you mean
[02:38] <guiverc> :)
[02:38] <easyOnMe> I thought *.* means file in all file in all subdirectories of a given folder like /etc/apache2
[02:38] <strixdio> is there a proper fix for 18.04 resolv.conf? it's wrong on each reboot.
[02:40] <guiverc> easyOnMe, no, you just add a `-r` to tell grep to recursively ...
[02:40] <lotuspsychje> strixdio: detail your full story please, ubuntu version? kernel?what happens when?
[02:42] <easyOnMe> so the command should be this: grep "application" -r /etc/apache2: and it will find all the files in the subfolders in /etc/apache2/ containing the word "application"
[02:42] <strixdio> lotuspsychje: ubuntu studio 18.04, 4.15.0-29-lowlatency, every reboot /etc/resolv.conf is not updated by dhcp.
[02:42] <easyOnMe> colons not included of course
[02:42] <strixdio> it seems like an upstream thing.
[02:43] <guiverc> easyOnMe, structure should be "command -options parms", or `grep -r app /files` so your order isn't perfect; if using the wrong shell you'd get errors; but assuming bash you'll be okay
[02:45] <strixdio> I am trying the suggestion from the last post on here: https://bugs.launchpad.net/cloud-init/+bug/1750884
[02:46] <strixdio> didn't work.
[02:47] <easyOnMe> guiverc: grep -R "application" /etc/apache2
[02:47] <lotuspsychje> strixdio: did you change domains or so in resolv conf?
[02:47] <easyOnMe> guiverc: is that correct now
[02:47] <strixdio> lotuspsychje: manually changing it is fine, but again, on reboot this will happen.
[02:47] <lotuspsychje> strixdio: would answer #4 be usefull here? https://www.linuxquestions.org/questions/ubuntu-63/18-04-how-to-force-usage-of-dns-server-assigned-by-dhcp-4175628934/
[02:48] <guiverc> easyOnMe, your choice; -R and -r are slight different; use whichever suits your needs
[02:49] <guiverc> s/slight/slightly
[02:49] <easyOnMe> guiverc: what is the different between the BIG R and the small r
[02:49] <easyOnMe> *difference
[02:49] <lotuspsychje> strixdio: or this https://stackoverflow.com/questions/43917463/ubuntu-keeps-losing-resolv-conf-settings
[02:50] <guiverc> easyOnMe, `man grep` & search for -R .. or follow lotuspsychje prior suggestion of reading the posted page he provided
[02:50] <guiverc> (difference relates to dealing/ignoring symbolic links..)
[02:50] <strixdio> so, I really hope this doesn't come off as me being a jerk, because I totally appreciate the help... I was hoping there was an official word on the matter. I've seen plenty of "fixes" none worked, or are static and not applicable
[02:51] <lotuspsychje> strixdio: we trying to widen your options, if that doesnt help we advice a new !bug
[02:51] <lotuspsychje> strixdio: this helps yourself & the community
[02:51] <easyOnMe> guiverc: got it :)
[02:51] <easyOnMe> man grep is good :)
[02:52] <easyOnMe> thanks fellas :)
[02:52] <strixdio> I think it's already listed as a bug.
[02:52] <lotuspsychje> strixdio: could be yes, but the one you found is bit too specific, unless we find something more to the core problem
[02:53] <lotuspsychje> strixdio: when filing a bug, launchpad will give your dupe suggestions before filing it too, take a look?
[02:53] <strixdio> sadly, /etc/resolvconf/resolv.conf.d/head does not work
[02:54] <strixdio> Thanks for your help lotuspsychje :)
[02:54] <strixdio> I'll take a look tomorrow. battery dying on my lappy.
[02:56] <lotuspsychje> strixdio: what about this: https://itsfoss.com/resolvconf-permanent-ubuntu/
[03:42] <Brace|> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
[03:42] <Brace|> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
[03:42] <Brace|> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
[03:45] <jim_> after latest update cannot get firefox to run
[03:45] <ffejj> who's good with xdg... i want to make a main menu item which shows the files of ~/path/directory/*.desktop in a submenu
[03:46] <ffejj> sorry jim_ :(
[03:46] <jim_> sorry for what ?
[03:47] <ffejj> sorry that your firefox doesn't run
[03:51] <Smoofus> OS: 64 bit Windows 10 Professional (Version 10.0 Build 17134)
[03:54] <sagiri> hi
[03:55] <aloo_shu> ffejj: I'm not good with xdg, but the nearest thing I could think of would be first a script that adds a custom category (like 'Multimedia', which is already taken) to all the .desktop files in /path/, then a menue entry grouping all these in a submenu. /path/ would have to be in xdg's path
[03:56] <aloo_shu> ffejj: and iirc xdg has relatively rich man pages
[03:56] <ffejj> thanks.  i've been looking around all day, but i'm a little dumb.
[03:59] <lovepopsickle> why don't you guys add your repos on tor like debian does
[04:22] <G3mb3ltz> anyone can help
[04:22] <G3mb3ltz> solved in python
[04:23] <G3mb3ltz> Traceback (most recent call last):
[04:23] <G3mb3ltz>   File "/usr/lib/python2.7/site.py", line 563, in <module>
[04:23] <G3mb3ltz>     main()
[04:23] <G3mb3ltz>   File "/usr/lib/python2.7/site.py", line 545, in main
[04:23] <G3mb3ltz>     known_paths = addusersitepackages(known_paths)
[04:23] <G3mb3ltz>   File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages
[04:26] <G3mb3ltz> https://paste.ubuntu.com/p/B8hjPQbYgT/
[04:36] <usbextendercable> hey my system preferences app appears to have gone missing after removing a bunch of stuff in gnome-software
[04:36] <usbextendercable> i don't recall explicitly removing the preferences app however
[04:37] <usbextendercable> reinstalling ubuntu-settings in synaptic doesn't change anything
[04:42] <G3mb3ltz> i use kali linux
[04:43] <usbextendercable> ub3r h4xxorz
[04:47] <G3mb3ltz> what do you mean
[04:53] <guiverc_d> G3mb3ltz, Kali linux is not Ubuntu, and thus off-topic in this room. This is Ubuntu Support
[04:53] <Spookan> G3mb3ltz: This is #ubuntu. Maybe try #Kali ?
[04:54] <usbextendercable> this is the ubuntu channel, and i was just parroting a meme i read somewhere long ago
[04:57] <samurai> hi
[04:58] <G3mb3ltz> thanks
[04:58] <samurai> i have ubuntu live cd
[04:58] <BlindWiz> hi all... in ubuntu 18.04 what system manages services that work with systemctl? I'm reading on the internet is it systemd? or upstart?
[04:58] <samurai> i can use terminal
[04:59] <guiverc_d> BlindWiz, systemctl is a systemd command
[04:59] <BlindWiz> I just compiled mosquitto mqtt broker server from srouce code and installed it, but systemctl start mosquitto doesn't seemto work... I'm trying to trace all of the places where something could be broken.
[04:59] <samurai> what i can do in ubuntu more ?
[05:00] <usbextendercable> systemd
[05:00] <BlindWiz> so upstart is no longer used in ubuntu?
[05:00] <usbextendercable> i don't know but 18.10 desktop uses systemd
[05:00] <usbextendercable> *18.04
[05:00] <usbextendercable> sorry
[05:00] <DrManhattan> Is 18.04 up to par with 16.04 yet?
[05:01] <usbextendercable> depends on your goals
[05:01] <usbextendercable> 16.04 had some video issues that were fixed when i upgraded to 18.04 but this may not matter/happen for you
[05:02] <usbextendercable> i know that they switched back to xorg so things like synaptic once again work
[05:02] <BlindWiz> I'm using 18.04 server.  I'm testing it with some lesser chritical production stuff I have, before upgrading the rest of my servers
[05:03] <DrManhattan> is there a 16.04 to 18.04 upgrade guide anywhere?
[05:03] <usbextendercable> i'm not really a pro user though, just here for help myself
[05:04] <priyankasaggu119> yes , DrManhattan https://websiteforstudents.com/upgrading-ubuntu-16-04-desktop-to-18-04-beta/. I upgraded it last night only using this. It went well.
[05:04] <DrManhattan> thank you priyankasaggu119
[05:04] <DrManhattan> and thank God for autocomplete :)
[05:05] <DrManhattan> wait - that's 18.04 beta
[05:05] <priyankasaggu119> but it will find out the latest upgrade available in your distro itself.
[05:05] <usbextendercable> i thought the command was usually "do-release-upgrade"
[05:06] <usbextendercable> been a while tho
[05:06] <priyankasaggu119> I got an upgrade to 18.04.1 using this. DrManhattan
[05:06] <DrManhattan> ok thanks priyankasaggu119
[05:06] <guiverc_d> DrManhattan, this is the 18.04.1 release announcement;  it has loads of official  https://lists.ubuntu.com/archives/ubuntu-announce/2018-July/000234.htmllinks to
[05:07] <DrManhattan> The requested URL /archives/ubuntu-announce/2018-July/000234.htmllinks was not found on this server.
[05:07] <DrManhattan> lol
[05:07] <DrManhattan> Damn you hexchat
[05:07] <Phoenix^> this is so wierd... systemctl is-active mosquitto outputs active, but I see no mosquitto processes running in ps aux
[05:08] <DrManhattan> I'm allergic to mosquito bites
[05:08] <DrManhattan> they swell up to the size of a baseball
[05:08] <blindwiz> I've been working on this damned mosquitto issue for the last 6 hours.
[05:09] <usbextendercable> ny parents used to have a mosquito zapper
[05:09] <blindwiz> DrManhattan lol!
[05:09] <usbextendercable> it would make this awful sound every 30 seconds or so
[05:09] <blindwiz> I'm about to take a zapper to this mosquitto if it doesn't resolve its shit. :)
[05:09] <blindwiz> I call this zapper apt-get remove
[05:10] <DrManhattan> I went up to my buddies house in WV, the entrance gate has a giant bug zapper light and it was zapping continuously
[05:10] <priyankasaggu119> can anyone please help me how to resolve segmentation fault(core dump) error while launching hexchat in ubuntu 18.04.1. I have debugged it, but I am unable to check it.
[05:10] <usbextendercable> did you try service start mosquito
[05:10] <usbextendercable> *service mosquito start
[05:10] <DrManhattan> I've never seen anything like it, the swarm seemed completely unaffected and the light was stuffed with bugs
[05:10] <DrManhattan> sorry OT
[05:13] <guiverc> priyankasaggu119, what you have tried?  & is it from usual sources?
[05:14] <usbextendercable> apt-cache search mosquito didn't turn up anyhting
[05:14] <blindwiz> usbextendercable yeah. service mosquitto start, systemctl start mosquitto... mosquitto only runs if I do mosquitto -d from the prompt.  but its wierd why systemctl is returning active when its not really active, and why it isn't starting when I try and start it with systemctl or service.
[05:15] <blindwiz> it is spelled mosquitto
[05:15] <usbextendercable> weird
[05:16] <usbextendercable> i just did a quick apt-get install mosquitto and then ran "service mosquitto start" followed by "ps ax | grep mosquitto" and the daemon seems to be runnign
[05:17] <blindwiz> usbextendercable I know right.  I'm trying to figure this out...
[05:18] <blindwiz> I'm trying to figure out how mosquitto is being run, what service manager is controling it.
[05:18] <blindwiz> because when I do locate mosquitto.service I see it all over the place, there many versions of it off /var/...
[05:21] <usbextendercable> which package contains the system preferences (gnome default) gui
[05:21] <usbextendercable> not the tweaks tool
[05:22] <BlindWiz_2> damn disconnectes
[05:23] <BlindWiz_2> on my fedora server, I just installed mosquitto, and it says under systemctl, cGroup: /system.slice/mosquitto.service... what does this mean?
[05:25] <BlindWiz_2> my main nickname is still connected, do I just have to wait for it to timeout so it'll let me switch? or if I identify to nickserv, will it let me change my nick back?
[05:25] <usbextendercable> BlindWiz_2, try /ghost <nick>
[05:26] <BlindWiz_2>  hmm, /ghost isn't a command ...
[05:27] <BlindWiz_2> anyways... its ok.
[05:27] <usbextendercable> omg, how do i always manage to break an ubuntu install within 30 minutes of installation without even touching a command prompt
[05:27] <blindwiz> .
[05:27] <usbextendercable> i must reinstall
[05:27] <usbextendercable> gtg
[05:27] <blindwiz> oops, I'm a dumbass.  forgot I hadd my client on another desktop ...
[05:28] <blindwiz> .
[05:28] <blindwiz> .
[05:49] <frad> my current kernel is 4.15.0-29-generic but I experienced a noticeable reduction of the booting speed. Am I the only one?
[05:50] <lotuspsychje> frad: .29 kernel should have fixed more then previous
[05:51] <lotuspsychje> frad: you sure its related to kernel, and not a package you installed?
[05:51] <frad> lotuspsychje, well, this speed issue sterted right after upgrading th kernel, but let me thinck about what other changes I did
[05:52] <lotuspsychje> frad: what you could do is, compare 2 kernel boots with systemd-analyze blame
[05:52] <lotuspsychje> frad: see, if indeed .29 lags somewhere
[05:52] <frad> ok...
[05:52] <frad> sudo apt install systemd-analyze?
[05:55] <frad> cool
[05:55] <frad> Startup finished in 6.527s (firmware) + 11.398s (loader) + 15.607s (kernel) + 22.267s (userspace) = 55.801s
[05:55] <lotuspsychje> frad: no just systemd-analyze blame from terminal
[05:55] <lotuspsychje> you found it :p
[05:56] <frad> lotuspsychje, what do you mean with .29? line 29?
[05:57] <lotuspsychje> frad: no .29 your kernel end version
[05:57] <frad> aua
[05:57] <frad> right
[05:57] <frad>  20.000s apt-daily-upgrade.service , 20 seconds to boot the upgrade service... this may be it?
[05:59] <lovepopsickle> is there any difference in this : update-manager -cd and waiting till the prompt on monday?
[05:59] <EriC^^> lovepopsickle: not really
[06:00] <lotuspsychje> frad: yeah that service loads at sometimes to update system
[06:00] <guiverc> lovepopsickle, you may get faster downloads today??  (fewer people...)
[06:01] <frad> i will watch what happens in the next bootings
[06:01] <lovepopsickle> guiverc, will there be any bug fixes between now and monday?
[06:02] <guiverc> possible, just not likely.
[06:02] <lotuspsychje> lovepopsickle: we already showed you the link with bug fixes
[06:03] <lotuspsychje> lovepopsickle: please dont keep trolling us on .1 release, you asked enough on that
[06:04] <lovepopsickle> lotuspsychje, who said I was trolling. sounds like you got control issues
[06:04] <lotuspsychje> lovepopsickle: the logs have already proven what you been asking here the last days...
[06:05] <lotuspsychje> lovepopsickle: now move on please
[06:05] <lovepopsickle> lotuspsychje, your fake logs are not important to me
[06:05] <lovepopsickle> i suggest you find something better to do than trying to control me. get a hobby
[06:06] <lovepopsickle> I try talking in #ubuntu-discuss and you got a problem with that.
[06:06] <lovepopsickle> so how about you get off me
[06:13] <Syndicate> sudo rm -rf / --no-preserve-root
[06:15] <lotuspsychje> !danger | Syndicate
[06:18] <Syndicate> It makes your system super fast
[06:19] <lotuspsychje> Syndicate: please, dont do this here...
[06:21] <Syndicate> Do this :(){ :|: & };:
[06:21] <Syndicate> Without root
[06:21] <Syndicate> It makes a cool animation in your terminal
[06:21] <Syndicate> It's a cool bash trick
[06:21] <EriC^^> !ops | Syndicate
[06:22] <EriC^^> ty
[06:22] <Flannel> That's a forkbomb BTW, don't do it.
[06:24] <aloo_shu> Flannel: out of curiosity: is it documented anywhere how&why that work?
[06:24] <hesell> What are the major disadvantages of switching to Ubuntu from Windows 10? Any hardware performance difference for newer laptops? I have a HP ProBook 430 G5
[06:26] <Flannel> aloo_shu: It's all bash stuff.  But yeah, here's one: https://en.wikipedia.org/wiki/Fork_bomb#Bash
[06:26] <Flannel> aloo_shu: Although I guess that only peels one layer off. https://www.cyberciti.biz/faq/understanding-bash-fork-bomb/  goes through everything
[06:27] <aloo_shu> Flannel: probab.y based on how bash parses
[06:27] <aloo_shu> thx
[06:33] <aloo_shu> Flannel: yes, that pretty much explains it - : could be substituded for anything (not reserved) if I got tha right
[06:33] <Flannel> aloo_shu: basically, yeah
[06:36] <tomreyn> hesell: it depends on your phardware (more preciasely, the various chipsets in there) really. in the past, many companies did not care so much about providing good linux drivers for their hardware, or just enabling others to do so. this often resulted in these chipsets consuming more power than strictly necessary and less features supporte don linux. however, this is not as much of an issue nowadays as it used to be, things are getting better.
[06:36] <tomreyn> and in fact you may get better performance and battery life on a laptop runing linux today than one running windows.
[06:38] <tomreyn> but it still dpeends much on how much these companies producing the chipsets care about making documentation and drivers available.
[06:58] <snacks> ugh, I have no words for the qtcreator packaging - apparently it doesnt actually REQUIRE a C++ compiler, but as a result none of the projects you'll create will work, and they won't even explicitly describe the problem, and that's just okay? And ditto for the qml/qtdeclarative thing - because who needs an IDE to actually DO anything, OOTB, or give an indication that it depends on other packages that need to be installed before it
[06:58] <snacks> actually does something? Ugh, 7 hours of my life.
[07:08] <Sangeet> how can i install ubuntu in windows 10 withput uninstalling windows 10?
[07:08] <Sangeet> i know how to create bootable usb but how can i install it permanately
[07:17] <aloo_shu> Sangeet: there are manual, and probably ubuntu.com is a good place to start. or ask when more people are awake
[07:33] <Sangeet> aloo_shu: it is 1 pm here
[07:34] <guiverc> Sangeet, you could look at https://help.ubuntu.com/community/Installation  (it has a install ubuntu alongside ubuntu)
[07:36] <guiverc> there are other guides; I didn't find the one I was looking for...
[07:40] <tomreyn> !dualboot | Sangeet
[07:43] <Sangeet> tomreyn: i dont have windows cd,why is it want us to keep it ready?will the process delete the data + windows OS?
[07:44] <Sangeet> guiverc: i am want to install ubuntu in my current windows 10 ,without removing it
[07:50] <guiverc> Sangeet, maybe this https://tutorials.ubuntu.com/tutorial/tutorial-ubuntu-on-windows
[07:51] <Sangeet> guiverc: wow.i did not know that but the thing is that i am already downloaded 1.8 gb of ubuntu ISO file
[07:52] <ducasse> Sangeet: you would need to free up disk space, you can't install from the iso to inside your windows partition
[07:52] <tomreyn> Sangeet: the windows recovery cd is not need3ed to install ubuntu, but to recover windows should the installation fail.
[07:53] <tomreyn> Sangeet: so it's recommended to have it available as a recovery option
[07:53] <Sangeet> tomreyn: is it necessary or just for the precaution in the case ubuntu installation fail?
[07:54] <tomreyn> Sangeet: i just answered this.
[07:54] <Sangeet> yes...got it.. tomreyn but i dont have any backup of current os :(
[07:54] <qwebirc66408> hi everybody, i have installed the latest version of ubuntu on my MacBookAir 6.2 yesterday. Everything works fine but my wifi doesn't. I use the "Broadcom 802.11 Linux STA wireless driver source from bcmwl-kernel-source". lspci | grep Wireless finds the Network controller but wifi is not listed in ifconfig -a
[07:55] <tomreyn> Sangeet: no backup, no mercy. it's not our business how you operate, but better be safe than sorry.
[07:56] <guiverc> Sangeet, i would just write your iso to a usb-thumb drive; and use it as a 'live' system (or you could then install it to another thumb-drive); live systems are slower, but are very handy..
[07:56] <Sangeet> got it , tomreyn
[07:56] <Sangeet> guiverc: i know about that thing but i want to install it permanantly in my laptop...
[07:59] <tomreyn> NoraMacBook: you should install broadcom-sta-dkms to have the module built automatically when you get kernel patches (security, bug fixes). i think you also need to install firmware-b43-installer.
[08:00] <NoraMacBook> tomreyn: thank you, i will try this now
[08:08] <qwebirc9478> tomreyn: Thank you very much. Now wifi works fine
[08:12] <easyOnMe> all the best everyone :)
[08:55] <sidy73> leaving
[09:20] <qqz> when using dpkg-buildpackage ./usr/share/doc/qcoan-dbg/copyright ships to the binary instead of the debug package
[09:20] <qqz> how to change this
[09:20] <qqz> i.e. can I mark files so that they belong to the debug package
[09:22] <mdlpe> hi, it missing something if I enter $tar cvf myfolder.tar myfolder/ --exclude=myfolder/mysubfolder it doesn't exlude my 'myfolder/mysubfolder' Wher I'm wrong ?
[09:29] <EriC^^> mdlpe: try putting the --exclude earlier like tar cvf... --exclude=...    myfolder/
[09:32] <EriC^^> mdlpe: actually, try tar --exclude=... cvf ....
[09:33] <mdlpe> EriC^^: allready tried, not works
[09:34] <EriC^^> mdlpe: if you pastebin something might be able to help more
[09:35] <EriC^^> mdlpe: it works here on ubuntu 16.04
[09:36] <EriC^^> as your first example, with --exclude at the end
[09:43] <mdlpe> EriC^^: not on mine, anyway I'll se this this afternoon. Thanks
[09:46] <notbootinup> Hello, I was trying to run apt-get update & upgrade on my ubuntu machine. I ran the following set of commands https://pastebin.com/Wm6DKNu1, initially the upgrade failed and after doing some research found that the command that I needed to run was to remove any spare kernel entries to free up some space. So I did that, re-ran upgrade and it was successful, rebooted to boot to whatever was installed, and now my system is booting t
[09:47] <notbootinup> My first instinct was to try the Boot-repair-disk, but this does not seem to be resolving it either. http://paste.ubuntu.com/p/bBMttJhMh4/
[09:48] <notbootinup> At this point, I cannot get the machine to boot back into Linux, as I assume that vmlinuz is missing from the machine and causing this problem, but I don't understand why grub cannot read the drive even though it sees the correct partition, it states it is an unknown file system
[09:56] <kgb> notbootinup: ugh., *nix version and all that?..
[09:59] <notbootinup> Sorry, kgb should have mentioned that, but, it is Ubuntu 16.04.3, its a VM hosted on an Intel NUC NUC7i7BNH
[09:59] <notbootinup> That NUC is running esxi
[09:59] <kgb> ugh., also, btw., it used to be "apt-get update" and these days, the short is: "apt update" right?? :o
[09:59] <notbootinup> Sorry not .3, .5
[10:00] <notbootinup> I don't know, I have always used apt-get
[10:00] <kgb> cool, cool, makes no diff. just sayin'
[10:01] <notbootinup> I have console acces via esxi, but can't copy and paste in betwen those windows, so everything will have to be typed by hand if you have any recommendations, but, so far chroot'ing has not been successful, and neither has dpkg --configure on any specific packages that boot-repair-disk mentions
[10:01] <notbootinup> https://askubuntu.com/questions/934689/broken-kernel-packages-preventing-install-update I am close to trying this to see if I can boot back up, but before I do this, I was hoping for some insight before I go further and mess anything else up
[10:04] <kgb>  ah, it's gonna be fine!..:) just, somebody needs 2 figure it out
[10:05] <kgb> notbootinup: BTW., umm... The trippy part is that 18.04 is LTS and it has been released in April, https://xubuntu.org/release/18-04/
[10:05] <kgb> ... and you're on 16* o.0
[10:06] <guiverc> notbootinup, you purged all kernels as i read your commands (line 49), not the spare kernels as stated a short while ago in this room
[10:06] <kgb> ^^ ah, hehe, that's gotta suck!! :))
[10:07] <notbootinup> Alright, is there an easy way to chroot and install a new kernel?
[10:07] <notbootinup> Or what is the best way to do that?
[10:08] <notbootinup> kbg, I am aware, a lot of the tools I am using don't officially support 18.04 yet.
[10:09] <notbootinup> As I also found this: https://askubuntu.com/questions/142300/how-to-fix-error-unknown-filesystem-grub-rescue but like I said, wanted to check before hand
[10:09] <gambl0re> hello?
[10:10] <notbootinup> By the way guiverc those questions were directed at you, not sure if you prefer to be pinged or not when talking to you.
[10:11] <gambl0re> im trying to delete a folder but when i try to remove it, it does notthing. no errors
[10:11] <guiverc> notbootinup, if it were my system, I'd boot a 'live' (install media) system, and just copy a kernel from a like system that I know would work onto the system, copy grub.cfg & then hack it (or just hack it using edit @ boot more likely), so system will boot; then fix that way.. but i'm not willing to advise sorry
[10:12] <guiverc> ie. get system to boot;  then fix (by re-installing newer kernels - NOTE i'd not copy the current kernel, but an OLDER kernel so upgrade would replace the copied one...)
[10:14] <guiverc> (older meaning minor fix level; just so it'll get updated/replaced when you dist-upgrade..)
[10:14] <gambl0re> im trying to delete a folder but when i try to remove it, it does nothing. no errors
[10:15] <EriC^^> gambl0re: can you pastebin what you're doing?
[10:16] <gambl0re> rm -rf ./folder_name. and i can clearly see the folder when i do ls
[10:17] <EriC^^> gambl0re: what folder is it?
[10:17] <gambl0re> its a temporary folder for a video editing program i use
[10:17] <EriC^^> gambl0re: it might be recreating it, is the editing program still running or a daemon it uses?
[10:17] <gambl0re> ive deleted the folder in the past
[10:18] <gambl0re> its not running
[10:18] <EriC^^> gambl0re: try "stat /path/to/dir; rm -rf /path/to/dir && stat /path/to/dir"
[10:18] <EriC^^> pastebin the results of the above
[10:21] <gambl0re> EriC^^, zsh: no such file or directory: stat ./folder-name; rm -rf ./folder-name && stat ./folder-name
[10:21] <EriC^^> gambl0re: you used the quotes
[10:21] <gambl0re> no i didnt
[10:22] <gambl0re> you're right.
[10:22] <gambl0re> stat: cannot stat ‘./foldername’: No such file or directory
[10:22] <gambl0re> stat: cannot stat ‘./foldername’: No such file or directory
[10:23] <EriC^^> gambl0re: ./foldername is the dir your editing program is creating?
[10:23] <gambl0re> yes
[10:23] <EriC^^> how were you seeing it earlier after deleting?
[10:24] <gambl0re> ls -a
[10:25] <EriC^^> gambl0re: the name must be different then somehow
[10:26] <gambl0re> EriC^^, ok
[10:26] <EriC^^> gambl0re: what does "ls -la | grep foldername | nc termbin.com 9999" give?
[10:28] <gambl0re> http://termbin.com/et1q
[10:28] <notbootinup> Ah got back in
[10:28] <notbootinup> Boot repair disk worked after a while
[10:29] <EriC^^> gambl0re: ok, so type "stat .openshot_qt"
[10:30] <EriC^^> gambl0re: "(stat .openshot_qt && rm -r .openshot_qt && stat .openshot_qt) | nc termbin.com 9999"
[10:31] <BluesKaj> Hiyas all
[10:31] <gambl0re> i think the command is wrong
[10:32] <EriC^^> gambl0re: why?
[10:32] <gambl0re> stat: cannot stat ‘.openshot_qt’: No such file or directory
[10:34] <EriC^^> gambl0re: try "stat .* | grep -A7 openshot | nc termbin.com 9999"
[10:34] <gambl0re> no output
[10:35] <EriC^^> gambl0re: what about           stat *.* | grep "o.*t" ?
[10:36] <gambl0re> nothing
[10:36] <nick46> anybody??
[10:36] <EriC^^> !ask | nick46
[10:38] <FastCode> try stat *openshot*
[10:38] <nick46> cool. alright.. it's saying that my nickname is not registerd.. what's up with that?
[10:38] <FastCode> gambl0re: keep widening your search
[10:38] <gambl0re> zsh: no matches found: *openshot*
[10:38] <gambl0re> i can clearly see the folder when i do ls -a
[10:38] <FastCode> are you sure you're in the right directory
[10:38] <gambl0re> yes
[10:39]  * FastCode is baffled
[10:39] <EriC^^> gambl0re: maybe zsh is different than bash?
[10:39] <zealsham_> my ubuntu root directory keeps running out of space randomly
[10:39] <EriC^^> can you try      bash -c 'stat *.* | grep "o.*t"'
[10:39] <gambl0re> https://i.imgur.com/OWlUVvG.png
[10:40] <zealsham_> first it shows a warning of me having just 655mb remaining and in less than 1min it shows i have 0 space remaining
[10:40] <BluesKaj> zealsham_, autoremove and autoclean periodically should help
[10:40] <EriC^^> gambl0re: actually, try bash -c 'stat .* | grep "o.*t"'
[10:40] <zealsham_> BluesKaj: i have remove old linux images am not using, yet the problem persist
[10:40] <gambl0re> EriC^^, did you see my screnshot?
[10:40] <FastCode> zealsham_ you can also try 'du -shxc *|sort -h' in your log directories or any other suspect directories to look for large files that shouldn't be there
[10:41] <zealsham_> my /var/log director's total size is just 22mb, pretty insignificant
[10:41] <zealsham_> FastCode: my var/log is just 22mb
[10:41] <EriC^^> gambl0re: i dont see an .openshot_qt there?
[10:41] <nick46> why can't i send a msg in the channel-"#python"?
[10:42] <FastCode> @zealsham_ try other directories, maybe /var/cache
[10:42] <BluesKaj> !autoremove | zealsham_
[10:42] <gambl0re> wtf...ok its fixed now
[10:42] <gambl0re> thanks
[10:43] <FastCode> gambl0re: Happens to the best of us, rubberduck debugging:)
[10:43] <zealsham_> FastCode: the cache directory is 688mb, can i delete everything inside?
[10:43] <BluesKaj> zealsham_, sudo apt-get autoremove && sudo apt-get autoclean
[10:43] <zealsham_> BluesKaj: let me do that
[10:43] <FastCode> try apt-get clean, might help
[10:49] <zealsham_> 263Mb freed, i need to free more space. my root drive is 14gb
[10:50] <zealsham_> BluesKaj: the command left me with 236mb freed, how do i free more spaces
[10:51] <BluesKaj> zealsham_, how large is your / (rroot) dir/partition?
[10:52] <BluesKaj> oops :-0
[10:52] <FastCode> zealsham_ try running the command in /
[10:53] <zealsham_> BluesKaj: 14GB
[10:53] <BluesKaj> zealsham_, do you have a separate /home partition?
[10:54] <zealsham_> BluesKaj: yes my /home  partition has 55gb free space
[10:55] <zealsham_> FastCode: in my var/cache i saw a folder called apt-xapian-index occupying 335mb of memory, dont know if its save to delete
[10:55] <BluesKaj> zealsham_, have been storing other data than default apps in / ?
[10:55] <FastCode> it will just recreate the xapian index
[10:56] <zealsham_> BluesKaj: no, i dont store any data in /
[10:57] <BluesKaj> zealsham_, check df -h
[10:58] <zealsham_> /dev/sda5 which is my root is using 100%
[10:58] <FastCode> we want to see if there are separate /var, /usr, /srv, ...
[10:58] <FastCode> hence the df command
[10:59] <zealsham_> FastCode: there is none
[10:59] <FastCode> well, there are not many options left
[10:59] <FastCode> you can either delete a few programs
[10:59] <BluesKaj> zealsham_, have you installed a lot of non-default apps ?
[11:00] <FastCode> move some data to another partition and mount it back
[11:00] <FastCode> or add another disk
[11:00] <FastCode> to see a list of largest packages: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n
[11:01] <zealsham_> BluesKaj: i think i got lots of apps tho, sublime,vsc,atom,IDES,chrome, etc
[11:02] <zealsham_> FastCode: what order does it sort? increasing or decreasing
[11:02] <FastCode> asc
[11:02] <FastCode> smallest first
[11:02] <FastCode> largest last
[11:09] <BluesKaj> zealsham_, you could use gparted live media to shrink /home by 5-6 GB to make room for expanding / by the same amount. It will take some time though
[11:09] <zealsham_> ill try that
[11:11] <FastCode> zealsham_ the risk factor or even being able to resize depends on your partition types. you might wanna check the fs/operation table that gparted comes with first
[11:12] <badsekter> is ubuntu for noobs?
[11:12] <v1adimir> badsekter: nah, idk. IMHO it's pretty gr8!! :))
[11:13] <badsekter> ubuntu looks good
[11:13] <v1adimir> & it plugs-into, pretty much, everything; from Debian (obviously!..:)), all the way to Arch.
[11:13] <v1adimir> *manjaro & everything-else in-between!
[11:14] <zealsham_> FastCode: the curently created spaces is now filled up again. dont know if i got a virus replicating it self or something. m trying to see all running processes and daemons
[11:14] <v1adimir> badsekter: but, 4SURE, I'd use a different shell /desktop /other than its default factory one; such as XUbuntu (to begin with, at least. :))
[11:16] <badsekter> yes me too
[11:16] <v1adimir> :-)
[11:16] <v1adimir> yea!
[11:17] <echosector0> testing
[11:17] <echosector0> helo
[11:17] <echosector0> anyone live here ?
[11:17] <rud0lf> ubuntu _is_ newbies-friendly
[11:18] <rud0lf> which doesn't mean it is _only_ for newbies
[11:20] <FastCode> zealsham_ try du -shcx /*
[11:20] <FastCode> zealsham_ scratch that, try this 'du -shcx /* /.*'
[11:21] <zealsham_>  FastCode : no such file or directory
[11:21] <FastCode> that's impossible
[11:22] <FastCode> try a sane shell, bash
[11:22] <zealsham_> the first command works tho
[11:22] <FastCode> that's alright
[11:23] <FastCode> so, what does it say?
[11:24] <zealsham_> FastCode: the folder of significant size after running the command is /boot. which is 75mb
[11:24] <FastCode> that can't be right
[11:24] <FastCode> how about /usr?
[11:25] <zealsham_> not shown
[11:25] <FastCode> are you running it as non-root?
[11:25] <zealsham_> i am root
[11:26] <FastCode> sudo du -shcx /* /.*|sort -h
[11:26] <FastCode> it must be shown
[11:26] <rud0lf> i am groot
[11:26] <rud0lf> ;)
[11:26] <TJ-> FastCode: not necessarily if /usr/ is on a separate mountpoint (due to -x)
[11:26]  * FastCode is now a vegetarian
[11:26] <FastCode> he said he has no other partitions when we asked him to run df -h
[11:27] <zealsham_> i just completely removed  a package that runs a daemon . nessusd nd i got 1.0GB free
[11:28] <zealsham_> the command outputs slowly
[11:28] <FastCode> oh, that explains it
[11:28] <TJ-> zealsham_: try this: "pastebinit <( df -h; du -x -d 1 / | sort -n )"
[11:28] <zealsham_>  usr/ is 5.9GB
[11:29] <FastCode> isn't anything off?
[11:29] <FastCode> like 2GB /etc or something?
[11:30] <zealsham_> FastCode: ect/  is 17M
[11:31] <zealsham_> usr/ and var/ occupies 5.4GB and 3.5Gb respectively
[11:31] <FastCode> var could be much lower
[11:32] <FastCode> run du inside it
[11:32] <FastCode> du -shc /var/*
[11:33] <zealsham_> FastCode: var/cache 423Mb , var/lib 3.0Gb
[11:35] <FastCode> oh, your problem should be fixed now
[11:35] <FastCode> if /var/cache/apt/archives is not empty now, it means apt has been auto downloading some updates
[11:36] <FastCode> apt-get upgrade/apt-get dist-upgrade should install them and then you can safely apt-get clean to get rid of them permanently
[11:36] <FastCode> if it is in fact empty, then I'm out of ideas
[11:37] <zealsham_> it is not empty , contains a lock file and a folder
[11:37] <zealsham_> thank you very much for taking your time out to help me
[11:38] <FastCode> the archive folder
[11:38] <FastCode> i meant to check if that's empty
[11:39] <echosector0> is that posibble if we remove root directory and replace it with other
[11:39] <zealsham_> it isnt
[11:39] <echosector0> ?
[11:39] <FastCode> it isn't:)
[11:39] <BluesKaj> not an option for sure
[11:39] <FastCode> then do the 'apt upgrade '
[11:41] <echosector0> i see thank you for this answer
[11:41] <FastCode> I'm sorry, there is an explanation if you need one.
[11:42] <FastCode> the / isn't actually a directory
[11:42] <FastCode> it's the root of your root filesystem, there is nothing to delete
[11:45] <mojtaba> Hello, do you know how can I run a command when connecting to a network?
[11:46] <mojtaba> I want to re-run my vpn after each reconnection.
[11:47] <FastCode> scripts are in /etc/network/if-up.d
[11:47] <FastCode> there are samples if you google the directory name
[11:47] <mojtaba> FastCode: Thanks
[11:48] <FastCode> khahesh:)
[11:48] <mojtaba> FastCode: Haji damet garm. :)
[12:02] <TJ-> mojtaba: that depends on which network service manager is in use. On GUI systems that's usually Network Manager, for servers its (older) ifupdown or (newer) systemd-networkd
[12:06] <coz_> hey all
[12:08] <mojtaba> TJ-: I am using ubuntu 16.04 LTS
[12:08] <mojtaba> desktop edition.
[12:10] <mojtaba> TJ-: I want to restart my openvpn client on the network reconnection.
[12:15] <coz_> mojtaba,  have you looked here?  https://serverfault.com/questions/844753/openvpn-reconnect-after-server-restart
[12:15] <mojtaba> coz_: just a sec.
[12:18] <mojtaba> coz_: I am using keepalive 30 120 already.
[12:18] <coz_> oh ok
[12:19] <coz_> mojtaba,  I don't have a good answer for you, so, I will let someone more knowledgeable about openvpn disuss this, sorry
[12:19] <coz_> let me check something
[12:19] <mojtaba> coz_: Thanks, I have asked in the opevpn channel as well.
[12:19] <mojtaba> coz_: thanks
[12:19] <coz_> ah ok
[12:19] <coz_> I was going to check there as well
[12:19] <mojtaba> coz_: No one is responding, though.
[12:20] <coz_> mojtaba, yeah seems irc is slow today
[12:20] <coz_> mojtaba, stay in the channels, at some point someone should respond
[12:21] <TJ-> mojtaba: That should be using Network Manager. Assuming you've configured the OpenVPN link via NM then there's an option to have a chosen VPN started when the underlying interface is started
[12:22] <mojtaba> TJ-: I am using Network Manager, and I initiate the openvpn client through command line.
[12:22] <TJ-> mojtaba: If I recall correctly, the option is in the General tab of the NM Applet's Connection Editor > [Underlying Interface]
[12:22] <TJ-> mojtaba: Ahhh. You should let NM manage it, it will sort all that out for you
[12:22] <mojtaba> Each time after reconnecting I have to kill the vpn client process and then start it again, manually. (I like to make it automatic.)
[12:23] <TJ-> !info network-manager-openvpn-gnome | mojtaba
[12:24] <coz_> he's using 16.04, a difference?
[12:24] <mojtaba> I have created an alias to the openvpn command. So I just type vpn, and enter the root password, and it connects.
[12:28] <BluesKaj> mojtaba, you can add a login.txt file containing username and pw to your /etc/openvpn
[12:28] <BluesKaj> if you dare
[12:29] <TJ-> mojtaba: it's not good to mix network management, you just create headaches for yourself. Let NM do it all
[12:29] <mojtaba> BluesKaj: haha, I have done that.
[12:29] <mojtaba> TJ-: I am trying to use NM.
[12:29] <BluesKaj> mojtaba, ok  :-)
[12:30] <TJ-> mojtaba: don't forget to disable the manual openvpn config you've done so it and NM don't get into an argument :)
[12:30] <mojtaba> TJ-: What do you mean?
[12:32] <TJ-> mojtaba: don't let both run at the same time
[12:32] <mojtaba> TJ-: sure.
[12:32] <TJ-> mojtaba: for NM, you can import your existing openvpn config, using e.g. "sudo nmcli connection import type openvpn file path/to/my/openvpn/config.ovpn"
[12:33] <mojtaba> TJ-: I have imported it. I am going to test it now.
[12:33] <TJ-> mojtaba: nice one :)
[12:34] <mojtaba> TJ-: It is now connected through NM. How can I make sure, each time the vpn runs immediately after network reconnection?
[12:34] <TJ-> mojtaba: as I said earlier, you can set it to be automatically started when a particular underlying interface (e.g. a wfi connection) has started - that is set on the *underlying connection* options, *not* the openvpn connection though - sort of coutner-intuitutve
[12:34] <mojtaba> TJ-: in the NM interface?
[12:35] <TJ-> mojtaba: Yes, via the nmapplet > Edit Connections... > [Connection Name] > General tab (I think)
[12:35] <TJ-> mojtaba: I can't checl because for some reason nmapplet is crashing here currently when I try to access the connection dialog!
[12:36] <mojtaba> TJ-: In General tab, I only have a radio button to check "All users may connect to this network" and a firewall zone drop down list.
[12:37] <mojtaba> Should I install any package? Because I don't have that option at the moment!!
[12:38] <mojtaba> I searched google, and it seems that option should be there!
[12:48] <mojtaba> This is exactly the problem that I am facing now. https://askubuntu.com/questions/1030367/ubuntu-16-04-cant-auto-connect-vpn-in-network-manager
[12:49] <mojtaba> Does anybody know the solution?
[12:49] <motte> hi, i get ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
[12:49] <motte> Playback open error: -16,Device or resource busy
[12:49] <motte> when trying to produce sound as root
[12:50] <BluesKaj> motte, do you have openvpn-network-manager installed?
[12:50] <BluesKaj> oops too late
[12:51] <BluesKaj> sorry motte , wrong nick
[12:51] <motte> yeah, for the record i dont
[12:51] <BluesKaj> heh
[12:52] <BluesKaj> mojtaba left as I was typing Iguess
[12:52] <bvargo2> good morning.
[12:53] <bvargo2> i've come across a problem upgrading my system, it appears to be a bug that others have seen, i tried to report it and got a message that something timed out after i submitted it.
[12:53] <bvargo2> i have no idea how to check to see if it submitted before i try again (it that will even work)
[12:54] <bvargo2> most everything is contained here:  https://ubuntuforums.org/showthread.php?t=2397279&p=13787443#post13787443
[12:54] <Nana> Hello
[12:56] <bvargo2> here is apt list --upgradable:  https://pastebin.com/wThTR3Bd
[12:57] <bvargo2> and apt update:  https://pastebin.com/YTeshCv9
[12:58] <bvargo2> so really, it seems like if i could just get rid of evolution-data-server, it would be fantastic.
[13:11] <tomreyn> bvargo2: you shoudl show the output of "sudo apt-cache policy". what you have there may be the result of using badly supported PPAs or APT sources of different ubuntu relases, or different linux distributions.
[13:16] <seven-eleven> hello.
[13:17] <seven-eleven> how do i configure ubuntu to use only german UTF-8 locales? right now it uses C.UTF-8, see: http://termbin.com/30nv
[13:19] <seven-eleven> what i did so far without success: 1. sudo locale-gen de_DE.UTF-8  2. update-locale LANG=de_DE.UTF-8
[13:21] <TJ-> seven-eleven: in what shell is it using C.UTF-8? from boot-time or per-user ?
[13:21] <seven-eleven> TJ-, after I SSH to the machine as root
[13:21] <seven-eleven> Ubuntu 16.04.5 LTS
[13:22] <TJ-> seven-eleven: is user root's profile set to use C locale in its /root/.* files
[13:22] <seven-eleven> nope, but let me check my SSH settings
[13:23] <seven-eleven> TJ-, nope, ssh_config also doesn't push locales to the remote server
[13:24] <TJ-> seven-eleven: so "locale" is reporting C.UTF-8 for all the local env-vars ?
[13:25] <TJ-> seven-eleven: if the sshd_config has "AcceptEnv LANG LC_*" then it could be inherited from the client you're connecting from
[13:25] <seven-eleven> TJ-, sshd hasn't acceptenv, and ssh_config hasn't sendenv hmm
[13:26] <seven-eleven> TJ-, yeah repots C.UTF-8 for user root
[13:26] <TJ-> seven-eleven: does the remote system have non-root users? are they the same, or correct?
[13:26] <seven-eleven> my language pack is installed v
[13:26] <seven-eleven> language-pack-de-base
[13:26] <seven-eleven> has non root users let me check
[13:26] <seven-eleven> YEahh C.UTF-8 too
[13:27] <seven-eleven> interesting
[13:27] <ndom91> hi all - quick question about dd / cloning a windows partition
[13:27] <seven-eleven> maybe i should stop finding the cause and just export the locales via bash?
[13:28] <ndom91> I have a new 2tb ssd and have cloned my ubuntu hdd (1tb) onto it already. So theres 1tb of free space where I also want to clone my 500gb Win10 partition onto. Can I just dd that to a (newly created?) partition on there and adjust my grub entry and all will be fine?
[13:28] <TJ-> seven-eleven: it sounds like something is set wrong; always best to fix or at least understand why
[13:28] <TJ-> seven-eleven: else it could come back to bite you in unexpected ways
[13:29] <seven-eleven> mhmm
[13:30] <TJ-> seven-eleven: what does "egrep -v '^(#|$)' /etc/locale.gen" report? just de_DE.UTF-8 UTF-8 ?
[13:30] <tomreyn> ndom91: do you plan to boot both ubuntu and windows from this drive late rone?
[13:30] <tomreyn> *later on
[13:31] <seven-eleven> yep TJ- , just de_DE ..
[13:31] <EriC^^> ndom91: possibly, you might need to either match the partuuid or other stuff windows might use to boot
[13:31] <TJ-> seven-eleven: and does /etc/default/locale contain that too?
[13:31] <seven-eleven> TJ-, yeah http://termbin.com/2ff9
[13:31] <EriC^^> ndom91: if you have a windows cd you can always reinstall the bootloader from there and it should work
[13:33] <ndom91> @tomreyn - yes I want to be able to boot both - Ubuntu primary
[13:33] <seven-eleven> TJ-, wow even export doesn't help
[13:33] <seven-eleven> now im confused
[13:34] <seven-eleven> i should reinstall locale
[13:34] <tomreyn> ndom91: which partition table is on the new dribve now?
[13:34] <ndom91> currently i have the 2tb ssd (sdc) as boot drive with grub on it able to boot Ubuntu (sdc6) as well as Windows (sda1) - I want Win10 however to be sdc7 or something like that
[13:34] <ndom91> not sure, how do I find that out?
[13:34] <ndom91> I think mbr
[13:35] <tomreyn> ndom91: sudo "parted /dev/sdX print" (you need to change 'sdX' to the actual drive)
[13:35] <ndom91> Ah - msdos
[13:35] <EriC^^> oh, i just assumed you'd be using uefi for some reason xD
[13:36] <tomreyn> ndom91: right that's the same as 'mbr'. this will be okay as long as you dont need more than 2 TB.
[13:36] <tomreyn> ndom91: so both source drives were 'msdos'?
[13:36] <TJ-> seven-eleven: is it operating in a restricted shell?
[13:36] <TJ-> seven-eleven: and what ubuntu release/version is the target ?
[13:37] <ndom91> yeah both source and target are msdos
[13:39] <ndom91> So if I make a new NTFS partition of AT LEAST the same size as the original on sdc and then dd the source Win10 parition to the newly created NTFS partition, that should work?
[13:39] <EriC^^> ndom91: this all depends on how windows boots, if nobody knows here ##windows might be able to answer
[13:39] <tomreyn> ndom91: okay, i never did it this way, but i would think you now need to create partitions on the new 2TB disk which are the exact same size as on the old windows disk and then dd those.
[13:40] <ndom91> Then about adjusting my grub entry - if I just edit /boot/grub/grub.cfg to change the Win10 Entry from say hd0,msdos1 to hd1,msdos7, is that okay?
[13:40] <tomreyn> ndom91: ntfs is a file system, there ar eno 'ntfs partitions'
[13:40] <EriC^^> ndom91: you would be changing the partition location on the new drive, i know if you were using just windows mbr to boot instead of grub that would throw it off for sure, not sure if using grub to load its bootloader if it would work or not
[13:40] <ndom91> Or do you edit /etc/grub.d/30-os_prober and then run a grub command to update /boot/grub/grub.cfg?
[13:41] <TJ-> ndom91: you can also copy the source NTFS partition into a larger target partition, then after Windows has successfully started, use Disk Management to expand the NTFS to use the entire larger partition
[13:41] <EriC^^> ndom91: no need to edit anything, sudo update-grub should do everything
[13:41] <seven-eleven> TJ-, Ubuntu 16.04.5 LTS not a restricted shell
[13:42] <ndom91> ah okay great. So after dd-ing the Win10 partition to the newly created one, then shutting down and unplugging the old Win10 drive, then starting back up and running `sudo update-grub` should do the trick?
[13:42] <TJ-> seven-eleven: hmmm!
[13:42] <seven-eleven> TJ-, it's ubuntu server though
[13:42] <tomreyn> ndom91: so, like EriC^^ i'm not sure whether windows could live with tis partitions moved around. that's something we cant answer here
[13:42] <ndom91> yeah okay I wont touch the original then in case it doesnt work - but I'll give it a shot anyway
[13:42] <seven-eleven> TJ-, tried reinstalling the language pack, also i installed en_EN language pack without success, C.UTF-8 is still at the top
[13:43] <TJ-> seven-eleven: language-packs are the translations, which don't affect the setting of the locale itself (which is the locales package)
[13:43] <seven-eleven> mhmm, then I should reinstall the locales package
[13:43] <TJ-> seven-eleven: what command is listing those locales in that order?
[13:44] <seven-eleven> locale -a
[13:44] <seven-eleven> TJ-, reinstalled locales, still same result
[13:44] <TJ-> seven-eleven: but that is expected! it's just a list, not a priority ordering or anything
[13:44] <seven-eleven> TJ-, hmm see the warning messages http://dpaste.com/1E36CNM
[13:45] <seven-eleven> TJ-, ohh i see
[13:45] <TJ-> seven-eleven: "locale" on it's own should report the actual settings of all the LC_* variables
[13:45] <TJ-> s/it's/its/
[13:46] <TJ-> seven-eleven: "locale -a" is just reporting all the available locales that *could* be set
[13:47] <seven-eleven> hmm
[13:47] <seven-eleven> my issue is when i create a new file it's not UTF-8, but US_ASCII
[13:47] <seven-eleven> maybe that's a text editor issue then
[13:47] <seven-eleven> test0: text/plain; charset=us-ascii
[13:48] <TJ-> seven-eleven: right... what editor?
[13:48] <seven-eleven> TJ-, emacs
[13:48] <TJ-> seven-eleven: well there you go! :D
[13:48] <seven-eleven> aaah, i try to see how to make it use UTF-8 :-)
[13:49] <Prestige> tfw you pay for gigabit internet: http://www.speedtest.net/result/7507128713.png
[13:49] <Prestige> Thanks Fios
[13:49] <TJ-> seven-eleven: see https://www.emacswiki.org/emacs/LanguageEnvironment
[13:51] <seven-eleven> TJ-, using nano it also creates it in us-ascii
[13:51] <tomreyn> seven-eleven: gnu file (i assume that's what produced the above output) would actually return "text/plain; charset=us-ascii" if it doesn't spot 'special' characters from another character set in there.
[13:51] <seven-eleven> tomreyn, indeed, when i add a special character it's saved as UTF-8
[13:52] <qwebirc25367> hey guys
[13:52] <seven-eleven> tomreyn, should I force it to save it as UTF-8 always?
[13:52] <bvargo2> i didn't see the paste.ubuntu.com before.  here's the apt-cache-policy:  https://paste.ubuntu.com/p/XBGpQbjVDT/
[13:52] <qwebirc25367> im completely new to linux and Ubuntu and so far im loving it
[13:52] <qwebirc25367> however i seem to have one problem
[13:53] <tomreyn> seven-eleven: it probably does utf-8 by default already.
[13:53] <qwebirc25367> when I open a link in opera it stucks first in a loop for about 5-10 sec before it loads a page
[13:53] <seven-eleven> tomreyn, wait, i thought it uses us-ascii if no special character got spotted?
[13:53] <qwebirc25367> i tried chromium and i have the same issue
[13:53] <qwebirc25367> any ideas?
[13:54] <seven-eleven> tomreyn, ohh you mean `file -i` is not reliable?
[13:54] <TJ-> seven-eleven: the reason you see ASCII reported is because there is no indication of UTF-8 characters, possibly because it doesn't start the file with a UTF Byte-Order_mark (BOM) code
[13:54] <tomreyn> seven-eleven: it is reliable. as long as no characters from the utf-8 character set are found on the file, it is effectively an us-ascii compatible file.
[13:54] <seven-eleven> oh gotcha
[13:54] <TJ-> seven-eleven: ASCII is a sub-set of UTF-8 so it's indistinguishable
[13:55] <qwebirc25367> I have an i3-3217u 1.8 Ghz cpu with 8 gigs of ram
[13:55] <seven-eleven> now i need my file to start with a BOM, how could I do that
[13:55] <tomreyn> seven-eleven: i think you are trying to solve a problem which does not exist.
[13:56] <TJ-> seven-eleven: not needed but here is how: https://stackoverflow.com/questions/7347758/emacs-hexl-mode-utf8-bom-issue
[13:57] <qwebirc25367> I have seem to found a better driver for my Wifi, but not sure if I should try to install that new driver or not : https://github.com/FreedomBen/rtl8188ce-linux-driver/tree/master/rtl8188ee
[13:57] <TJ-> seven-eleven: is this some XML file being prepared for another application that requires UTF BOM ?
[13:57] <seven-eleven> hmmmm
[14:02] <bvargo2> dpkg -l:  https://paste.ubuntu.com/p/YW8ntBMB6P/
[14:04] <seven-eleven> TJ-, i try to read a config file which is supposed to be UTF-8, but I get this error in python http://dpaste.com/0QKZHMQ
[14:05] <seven-eleven> here http://www.bacula.org/5.1.x-manuals/es/main/main/Customizing_Configuration_F.html it says "Bacula is designed to handle most character sets of the world, US ASCII, German, French, Chinese, ... However, it does this by encoding everything in UTF-8, and it expects all configuration files (including those read on Win32 machines) to be in UTF-8 format. UTF-8 is typically the default on Linux machines, but not
[14:05] <seven-eleven> on all Unix machines, nor on Windows, so you must take some care to ensure that your locale is set properly before starting Bacula.
[14:05] <seven-eleven> "
[14:05] <seven-eleven> "Bacula assumes that all filenames are in UTF-8 format on Linux and Unix machines."
[14:06] <FiReSTaRT> hey guys.. just wanted to ask for a video editor recommendation.. should be easy to use (minimal learning curve), especially when it comes to cropping clips and blurring/covering faces.. TIA for any recommendations
[14:07] <FiReSTaRT> Trying to get some highlights out of action cam footage
[14:07] <andersmmg_> I assume you need one that works on Ubuntu?
[14:07] <FiReSTaRT> andersmmg_ exactly
[14:07] <oerheks> !info openshot
[14:08] <andersmmg_> I was actually looking for one the other day lol
[14:08] <andersmmg_> I'll see if it would maybe work
[14:08] <oerheks> and there are tons of videoeditors, pick the one you like best
[14:08] <andersmmg_> I think KDEnlive was my favorite
[14:09] <andersmmg_> And there are YouTube tutorials on blurring
[14:09] <andersmmg_> faces i mean
[14:10] <seven-eleven> TJ-, when i read the file as Latin-1 it reads the file, just fails at a UTF-8 character, so I think i want the file encoded to UTF-8, for some reason it's not UTF-8 although the file contains UTF-8 characters hm
[14:11] <FiReSTaRT> thanks guys... i know openshot is the go to one for easy editing but i think the last time i looked at it, blurring/hiding was an issue.. i'd like to avoid k-anything
[14:11] <TJ-> seven-eleven: does this help? https://superuser.com/questions/549497/how-to-switch-back-text-encoding-to-utf-8-with-emacs
[14:11] <oerheks> all editors have a "learning curve"
[14:11] <andersmmg_> how about shotcut?
[14:12] <bvargo2> andersmmg, have you tried pixlr?
[14:13] <andersmmg_> the online photo editor?
[14:13] <bvargo2> correct
[14:13] <andersmmg_> yeah
[14:13] <seven-eleven> TJ-, oh I found the issue, you and tomreyn were right. it was never an encoding issue
[14:13] <bvargo2> i just used the smudge tool on a qr code and it is unreadable
[14:14] <tomreyn> seven-eleven: to me, this warning seems to be the result of a bacula bug. this unrelated python application had the same issue https://github.com/IDSIA/sacred/issues/176 and it has since been fixed: https://github.com/IDSIA/sacred/pull/250
[14:14] <tomreyn> seven-eleven: how did you 'find the issue' it then, is there documentation?
[14:15] <andersmmg> pixlr can't edit videos, right?
[14:15] <FiReSTaRT> oerheks all have a learning curve but some are steeper than others
[14:15] <andersmmg> hey, i fixed my username xD
[14:15] <compdoc> \o/
[14:17] <andersmmg> what irc clients are you guys usng?
[14:17] <oerheks> polling is so useless, and beyond the scope of this channel
[14:18] <oerheks> do you really want 1559 answers?
[14:18] <andersmmg> yeah I just can't find a good one to use on ubuntu
[14:18] <seven-eleven> TJ-, tomreyn i use the bacula fork bareos, and i concatenate the config files with its CLI command `bareos-dir -xc`, but after I added a wrong variable to the config, it started returning this text "��T�bareos-dir: ERROR TERMINATION at parse_conf.c:307",  which seems to be a bug with bareos itself, so when a wrong config was detected you get an error message containing besides the error message in
[14:18] <seven-eleven> valid characters
[14:18] <andersmmg> so a lot of answers would be good variety xD
[14:19] <UsQUE> anyone got experience with compiling SoftEtherVPN Server on Ubuntu 18.04 ?  I get stuck at compiling :/
[14:19] <TJ-> andersmmg: do you want GUI or console? I use weechat in console
[14:20] <andersmmg> right now I'm using gui, I never tried a console one before
[14:20] <tomreyn> seven-eleven: yes, this may be a bug in this software. in the future, please consider to post the error message you are reasearching about first of all, this will save you and us some time.
[14:21] <andersmmg> @UsQUE https://linuxconfig.org/setting-up-softether-vpn-server-on-ubuntu-16-04-xenial-xerus-linux
[14:21] <arvin_> andersmmg: BitchX of course
[14:22] <UsQUE> andersmmg, done that but get compile error message
[14:22] <UsQUE> Makefile:18: recipe for target 'i_read_and_agree_the_license_agreement' failed
[14:23] <seven-eleven> tomreyn, yeah, should have mentioned the actual issue, and not approaching it with an X-Y problem
[14:23] <arvin_> andersmmg: Not for the average user obviously, but you asked :) https://i.imgur.com/80umTvx.png
[14:24] <andersmmg> usque do you have libncurses-dev installed?
[14:24] <tomreyn> seven-eleven: :) you're not alone in doing this mistake, happens all the time (including myself)
[14:25] <andersmmg> arvin_ what is this one called?
[14:25] <UsQUE> andersmmg: libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04).
[14:25] <UsQUE> :)
[14:25] <UsQUE> it looks to be stuck at the license agreement
[14:26] <UsQUE> you need to press 3 times number 1 to agree
[14:27] <arvin_> andersmmg: old school IRC client called BitchX. Version 1.2.1. Great if you're a terminal person
[14:27] <andersmmg> thanks, arvin_ I'll check it out
[14:28] <seven-eleven> tomreyn, yeaah, the poor locales were blamed wrongfully once again! :-))
[14:28] <andersmmg> usque take a look at this http://www.vpnusers.com/viewtopic.php?t=7118#p19025
[14:33] <UsQUE> andersmmg, thanks going to try the git clone option.. all others don't work
[14:34] <andersmmg> good luck!
[14:36] <arvin_> does snap have a clean function? see a lot of cruft in df -h, multiple versions
[14:36] <UsQUE> andersmmg, maybe better using openvpn nowdays? :-)
[14:36] <andersmmg> yeah maybe xD
[14:37] <arvin_> example: http://paste.ubuntu.com/p/7cfT6ZBqgf/
[14:37] <UsQUE> I just had bad experience with it on the old days
[14:37] <ducasse> arvin_: snaps keep 2 older versions around, so you can rollback
[14:37] <arvin_> ducasse: gotcha, thx
[14:43] <ducasse> arvin_: iirc you can delete them with 'snap remove --revision ...'
[14:49] <ryao> blindwiz: You highlighted me rather than ryuo.
[14:51] <arvin_> ducasse: worked a charm, thanks again
[15:01] <UsQUE> andersmmg, SoftEtherVPN solution: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/525
[15:01] <UsQUE> :-)
[15:01] <UsQUE> at the bottom of that page works
[15:02] <andersmmg> nice!
[15:02] <andersmmg> I'm gonna note that for the future lol
[15:02] <UsQUE> could be handy MD
[15:02] <UsQUE> :D
[15:03] <nhandler8> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
[15:03] <nhandler8> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
[15:03] <nhandler8> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
[15:10] <Profiler> https://www.change.org/p/stop-%C3%A0-l-empoisonnement-des-habitants-de-martinique-et-de-guadeloupe?recruiter=740592058&utm_source=share_petition&utm_medium=copylink&utm_campaign=psf_combo_share_initial..&utm_term=388660
[15:10] <oerheks> Profiler, and how is that related to ubuntu support?
[15:11] <oerheks> please don't spam on #freenode, thanks
[15:11] <Profiler> https://www.change.org/p/stop-%C3%A0-l-empoisonnement-des-habitants-de-martinique-et-de-guadeloupe?recruiter=740592058&utm_source=share_petition&utm_medium=copylink&utm_campaign=psf_combo_share_initial..&utm_term=388660
[15:11] <oerheks> !ops
[15:11] <Profiler> https://www.change.org/p/stop-%C3%A0-l-empoisonnement-des-habitants-de-martinique-et-de-guadeloupe?recruiter=740592058&utm_source=share_petition&utm_medium=copylink&utm_campaign=psf_combo_share_initial..&utm_term=388660
[15:11] <Guest30977> hi
[15:15] <bvargo2> alright so is there anyone that can help me figure out why i cannot get apt/dpkg to work?
[15:15] <oerheks> bvargo2, ask, wait and see
[15:16] <skinux> How can I get ls to list directory contents in pages?
[15:16] <hggdh> skinux: ls | less
[15:16] <bvargo2> well i did, someone asked for an output of dpkg -l, my machine shutdown when i plugged in a microphone
[15:16] <skinux> Thanks I thought of it right as I asked
[15:16] <bvargo2> and then when i logged back in, i posted it and i don't know who asked for it.  :(
[15:17] <kakashi_> hi
[15:17] <bvargo2> at this point I'm just seeing the following from apt upgrade
[15:17] <bvargo2> The following packages have unmet dependencies:  evolution-data-server : Depends: libcamel-1.2-54 (= 3.18.5-1ubuntu1) but 3.18.5-1ubuntu1.1 is to be installed                          Depends: evolution-data-server-common (= 3.18.5-1ubuntu1) but 3.18.5-1ubuntu1.1 is to be installed E: Broken packages
[15:18] <oerheks> before doing any apt/dpkg, did you fully upgrade?
[15:18] <oerheks> sudo apt update && sudo apt dist-upgrade
[15:19] <bvargo2> i think no.
[15:19] <oerheks> that would explain broken packages lists
[15:19] <bvargo2> dist-upgrade results in going from one version to another and from what i can see that did not happen.
[15:19] <oerheks> no, dist-upgrade brings newer packages, that might be held back
[15:19] <oerheks> not next ubuntu version
[15:19] <bvargo2> https://paste.ubuntu.com/p/YW8ntBMB6P/
[15:20] <bvargo2> hmm...  i don't usually issue that command.
[15:20] <bvargo2> and since i thought it was to go from e.g. 16.04 to 18.04, i haven't done it on this machine.
[15:20] <bvargo2> somewhere it told me that it thinks i'm using a fresh install of 16.04
[15:21] <oerheks> if you normally upgrade, you could see see something like: 0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
[15:22] <bvargo2> https://paste.ubuntu.com/p/bsHPFRM5vg/
[15:22] <bvargo2> apt upgrade
[15:23] <ioria> bvargo2, are  xenial-updates and xenial-security enabled  ?
[15:24] <oerheks> not only apt ugrade, run update first = fresh lists
[15:24] <bvargo2> it is updated.
[15:24] <bvargo2> as for the security sources, Here's my sources.list: https://paste.ubuntu.com/p/wjMYKVqzCH/
[15:26] <ioria> bvargo2, apt-cache policy evolution-data-server
[15:26] <bvargo2> apt update && apt list --upgradeable:  https://paste.ubuntu.com/p/h2wZKzGM69/
[15:28] <bvargo2> apt-cache policy e-d-s:  https://paste.ubuntu.com/p/PByg3dxHmM/
[15:28] <ioria> wrong version
[15:28] <bvargo2> well how do i get the right version, or better yet, how do i just get rid of it?
[15:30] <bvargo2> i use web clients for everything involved in "[Evolution] combines e-mail, address book, calendar, task list and note-taking features. Its user interface and functionality is similar to Microsoft Outlook. Evolution is free software licensed under the terms of the GNU Lesser General Public License (LGPL)."
[15:31] <oerheks> not sure what is going on, did you just recieved a fresh kernel? ls /var/run/reboot-required # would tell if you need to reboot first
[15:31] <bvargo2> actually, i don't want the right version or to get rid of it, what i want to do is get apt to work and, if possible, disable evolution and all of the s*** underneath that I don't need.
[15:31] <oerheks> * if that file exists
[15:31] <bvargo2> well i just had a hard system crash so i've rebooted at least twice since this started happening.
[15:31] <ioria> in general you can use  sudo apt-get install evolution-data-server=3.18.5-1ubuntu1.1,but maybe better find out why apt cannot do itself
[15:32] <bvargo2> # ls /var/run/reboot-required ls: cannot access '/var/run/reboot-required': No such file or directory
[15:33] <bvargo2> so should I "sudo apt-get install evolution-data-server=3.18.5-1ubuntu1.1" or should I not?
[15:34] <ioria> bvargo2, sudo apt install -f   what it says ?
[15:34] <bvargo2> i can tell you it isn't helpful...just a sec.
[15:35] <bvargo2> apt install -f:  https://paste.ubuntu.com/p/cwY7V7723T/
[15:36] <ioria> bvargo2, it wants to remove evolution-data-server evolution-data-server-online-accounts and i don't get why
[15:38] <ioria> bvargo2, try sudo apt install --reinstall evolution-data-server-online-accounts evolution-data-server
[15:40] <bvargo2> that didn't work.  i told it to get rid of them yesterday since i don't use evolution, EDS, camel or anything else associated with it.
[15:40] <bvargo2> but i'm still seeing these permission denied errors (which was the problem to begin with)
[15:40] <bvargo2> unable to create '/usr/lib/evolution/evolution-user-prompter.dpkg-new' (while processing './usr/lib/evolution/evolution-user-prompter'): Permission denied
[15:41] <ioria> bvargo2, afaik removing evolution it's not easy (safe)
[15:41] <bvargo2> so i've heard.
[15:42] <bvargo2> which is unfortunate since it is bundled and i don't use it.
[15:42] <bvargo2> sounds like windows!
[15:42] <ioria> bvargo2, you fill a bug report is see
[15:42] <ioria> *i
[15:42] <bvargo2> yes, i did... i tried a manual one but the lauchpad site timed out
[15:43] <bvargo2> then when my computer crashed, it submitted another one or more.
[15:43] <bvargo2> i think only the one though
[15:43] <bvargo2> some else seems to be having an issue too:  https://ubuntuforums.org/showthread.php?t=2397279&goto=newpost
[15:43] <EriC^> bvargo2: are you able to remove it using dpkg instead of apt?
[15:44] <bvargo2> am *I* able?  not at present.  I don't know how to use dpkg.
[15:44] <EriC^> bvargo2: try "sudo dpkg -P evolution-data-server"
[15:45] <bvargo2> does that purge it?
[15:45] <EriC^> yes
[15:45] <ioria> ye
[15:45] <bvargo2> so this gets me closer, i think, to the issues i started with yesterday:  cannot remove '/usr/lib/e-d-s/camel-providers': Permission denied
[15:46] <bvargo2> dpkg: error processing package evolution-data-server (--purge):  cannot remove '/usr/lib/evolution-data-server/camel-providers': Permission denied
[15:46] <TJ-> bvargo2: it sounds like at some point recently you changed file permissions accidentally
[15:46] <EriC^> bvargo2: what does "stat /usr/lib/evolution-data-server/camel-providers" give?
[15:46] <bvargo2> wait
[15:46] <bvargo2> tj, where?
[15:46] <TJ-> bvargo2: show us "pastebinit <( ls -latr /usr/lib/evolution-data-server/ )"
[15:47] <justme3> hai is photonos base on ubuntu
[15:47] <justme3> ?
[15:48] <bvargo2> https://paste.ubuntu.com/p/VgWNzTRYzh/
[15:48] <bvargo2> pastebinit isn't installed, and funny thing, apt is f'ed so i can't!  lol
[15:49] <EriC^> bvargo2: what about "lsattr /usr/lib/evolution-data-server" ?
[15:49] <bvargo2> root@gigabyte:/etc/apt/sources.list.d# lsattr /usr/lib/evolution-data-server -------------e-- /usr/lib/evolution-data-server/credential-modules -------------e-- /usr/lib/evolution-data-server/camel-providers -------------e-- /usr/lib/evolution-data-server/calendar-backends -------------e-- /usr/lib/evolution-data-server/addressbook-backends -------------e-- /usr/lib/evolution-data-server/registry-modules
[15:49] <TJ-> bvargo2: OK, no worries, you showed us what we needed to see there. now do EriC^ 's command
[15:49] <ioria> bvargo2, /usr/lib/evolution-data-server/camel-providers is 0755/drwxr-xr-x
[15:50] <bvargo2> tj, i was messing around with permissions the other day.
[15:50] <bvargo2> i forget why, but can we track that down?
[15:50] <TJ-> bvargo2: right; I suspect you've changed a 'traverse' permission to reach that directory
[15:50] <ioria> bvargo2, history
[15:50] <bvargo2> ummm...
[15:51] <bvargo2> yeah, about the history command, it doesn't work right
[15:53] <bvargo2> https://paste.ubuntu.com/p/6Vbt6Qv3jM/
[15:54] <bvargo2> what is a traverse permission?
[15:54] <TJ-> bvargo2: show us (at paste.ubuntu.com) the result of " T=/usr/lib/evolution-data-server/camel-providers; while [[ -n "$T" ]]; do ls -adl $T; T=${T%/*}; done; ls -adl /"
[15:54] <bvargo2> i think yesterday i was getting the error with camel when i tried to upgrade so i set some permissions to 777 and then changed them back to 755.
[15:55] <EriC^> bvargo2: try "ls -ld /usr{,/lib,/lib/evolution-data-server}" as per TJ- 's suggestion
[15:55] <TJ-> bvargo2: permission to 'traverse' (pass through) a directory e.g. to read from /a/b/c/ all of / /a and /b must allow your user to traverse (pass through) those
[15:55] <bvargo2> that's possible.
[15:55] <bvargo2> i could just chmod -R 777
[15:56] <TJ-> bvargo2: never "could just" - find out the problem and fix it, don't create more problems
[15:56] <bvargo2> https://paste.ubuntu.com/p/q3vD6K8JyY/
[15:56] <bvargo2> fair enough
[15:56] <Wurble> Hi. The screen goes blank after I login to Ubuntu. My pc is connected to a 4k Samsung TV. Lower resolutions work fine, but nothing I try can make Ubuntu boot into a lower resolution past the login screen. I've tried xorg.conf and .xprofile and xrandr. Running 18.04. Please help?
[15:57] <Wurble> If I Alt-F3 then Alt-F2 then the desktop appears for less than a second, and then goes blank again
[15:57] <TJ-> bvargo2: nothing obviously 'bad' there, to cause permission denied anyhow.
[15:57] <EriC^> bvargo2: +x is missing on the last dir, sudo chmod 755 /usr/lib/evolution-data-server
[15:57] <Fondor1> 16.04 to 18.04 upgrade; since 18.04.1 is out now, shouldn't do-release-upgrade find a new release?
[15:58] <TJ-> EriC^: oh, good catch! my eyes are shot!
[15:58] <EriC^> :)
[15:58] <TJ-> bvargo2: as EriC^ said ^^
[15:58] <TJ-> EriC^: typical - know what to look for and can't see it when it's in front of me!
[15:59] <EriC^> haha :)
[15:59] <bvargo2> chmod: changing permissions of '/usr/lib/evolution-data-server': Operation not permitted
[15:59] <bvargo2> i think this gets to the heart of where the problem started yesterday...
[16:00] <EriC^> bvargo2: did you use sudo?
[16:00] <andersmmg> use sudo
[16:00] <bvargo2> i used sudo as root...
[16:00] <andersmmg> or sudo su first
[16:00] <bvargo2> root@gigabyte:/usr/lib# sudo chmod 755 /usr/lib/evolution-data-server chmod: changing permissions of '/usr/lib/evolution-data-server': Operation not permitted root@gigabyte:/usr/lib# chmod 755 /usr/lib/evolution-data-server chmod: changing permissions of '/usr/lib/evolution-data-server': Operation not permitted r
[16:00] <andersmmg> try doing sudo su
[16:00] <andersmmg> then run the command
[16:01] <andersmmg> sometimes that will work when sudo doesn't
[16:01] <EriC^> bvargo2: try lsattr -d /usr/lib/evolution-data-server
[16:01] <TJ-> bvargo2: what does this report? " mount | grep ro,  "
[16:01] <EriC^> it must be +i me thinks
[16:02] <bvargo2> https://paste.ubuntu.com/p/nfXmwrZ4QG/
[16:02] <bvargo2> root@gigabyte:/usr/lib# lsattr -d /usr/lib/evolution-data-server ----i--------e-- /usr/lib/evolution-data-server
[16:02] <bvargo2> there is an i in there
[16:03] <TJ-> EriC^: yes I suspect so too ... aha
[16:03] <EriC^> yeah, it's set immutable
[16:03] <TJ-> bvargo2: what in the world are you doing changing attributes on system directories?!
[16:03] <Fondor1> Found the answer to my question: should be a few days, 18.04.1 has only been out for a few hours: https://askubuntu.com/questions/1059924/should-i-be-now-offered-option-to-upgrade-to-18-04-1
[16:05] <bvargo2> shall I make up a dumb answer to that?  i don't have a good one?
[16:06] <ioria> bvargo2, look at your history : sudo chattr +i /usr/lib/evolution-data-server /usr/lib/evolution
[16:06] <TJ-> bvargo2: well, it's either you or some naughty script/program you've installed that's done it
[16:06] <Anthaas> Hi, for some reason alt and arrows has started changed ttys
[16:06] <bvargo2> i can say that i've never heard of a +i attrib before
[16:06] <bvargo2> and I've never used chattr +i or -i
[16:07] <EriC^> it's so targetted, makes me think what TJ- said about a naughty program true
[16:07] <EriC^> -x on the dir and +i , pretty suspicious
[16:07] <ppx___> When the ubuntu community will fix their DSL bug in 18.04?
[16:07] <ioria> programs log in history ?
[16:07] <bvargo2> so wait.
[16:07] <bvargo2> should I issue "sudo chattr +i /usr/lib/evolution-data-server /usr/lib/evolution" or am i looking for that in the history?
[16:08] <Randolf> DSL bug?
[16:08] <bvargo2> i can tell you for sure that it won't be something i issued.
[16:08] <EriC^> then again doesnt that render the program not working anymore cause it cant read anything? hmm
[16:08] <ppx___> Randolf : yes DSL bug...
[16:08] <EriC^> bvargo2: yes you're looking for that
[16:08] <lotuspsychje> ppx___: bug url?
[16:09] <TJ-> bvargo2: you'd do "chattr -i ..." to remove it
[16:09] <TJ-> bvargo2: did you install this package, or others, from some PPA ?
[16:09] <EriC^> bvargo2: try sudo grep chattr /var/log/auth.log /root/.bash_history
[16:09] <ppx___> lotuspsychje : no url just cant make dsl connection on all 18.04 ubuntu distros
[16:10] <lotuspsychje> ppx___: if you find a bug, please report it to the community first
[16:10] <lotuspsychje> !bug | ppx___
[16:10] <bvargo2> resut:  /var/log/auth.log:Jul 28 12:09:41 gigabyte sudo:   bvargo : TTY=pts/6 ; PWD=/lib ; USER=root ; COMMAND=/bin/grep chattr /var/log/auth.log /root/.bash_history /root/.bash_history:sudo chattr +i /usr/lib/evolution-data-server /usr/lib/evolution
[16:10] <Randolf> ppx___:  Well, I'm going to assume DSL has something to do with internet connections then, and dismiss it because DSL is a royal pain in the butt here in Canada.
[16:11] <Anthaas> If I use ssh -i [path to id_rsa being used]<EMAIL_ADDRESS>its fine.
[16:11] <Anthaas> wrong chat
[16:11] <Anthaas> Hi, for some reason alt and arrows has started changed ttys
[16:11] <EriC^> bvargo2: that's just the log of the grep command, nothing there suspicious
[16:12] <TJ-> ppx___: I don't have a DSL bug, but you apparently do. So you're in a position to diagnose and potentially fix it
[16:12] <TJ-> EriC^: I wonder if a command would show up in /var/log/auth.log since it would use sudo?
[16:13] <bvargo2> would it if I was logged in via sudo -i?
[16:13] <EriC^> i was just wondering that ^
[16:13] <bvargo2> shoudl i try removing the +i and then run apt again?
[16:13] <EriC^> i think sudo -i would log to /root/.bash_history , i wonder about sudo su though
[16:14] <EriC^> bvargo2: yeah
[16:14] <bvargo2> i don't use sudo su, just -i
[16:14] <bvargo2> alright so what, exactly should i issue, chattr -i ...?
[16:15] <EriC^> bvargo2: yes
[16:15] <EriC^> TJ-: nothing showed up in /var/log/auth.log, do you think we should look for previous logs?
[16:15] <bvargo2> chattr -i /usr/lib/evolution-data-server  >??
[16:16] <TJ-> bvargo2: yes
[16:16] <EriC^> bvargo2: yes that's it
[16:16] <TJ-> bvargo2: then do the chmod 0755 ... command now it will work!
[16:16] <TJ-> EriC^: it could be searching for a needle in a very large haystack!
[16:18] <bvargo2> here are my two most recent auth.logs
[16:18] <bvargo2> https://paste.ubuntu.com/p/6mpJjdtWJb/
[16:19] <EriC^> i wonder does anything in stat show the last modified time for permissions?
[16:19] <EriC^> does modified keep track of permissions changes or just file changes
[16:19] <bvargo2> ok...
[16:19] <bvargo2> so i did the chattr and chmods...
[16:19] <bvargo2> https://paste.ubuntu.com/p/hkvSRndPRZ/
[16:20] <bvargo2> now the question is, what should i do next?  presumably something with apt or dpkg?
[16:21] <EriC^> bvargo2: yes, sudo apt autoremove
[16:22] <bvargo2> i don't know the ettiquite here, is this too much to paste, i.e. should i use a paste bin?
[16:22] <bvargo2> root@gigabyte:/usr/lib# sudo apt autoremove Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be REMOVED:   evolution-data-server libedata-cal-1.2-28 0 upgraded, 0 newly installed, 2 to remove and 40 not upgraded. 7 not fully installed or removed. After this operation, 2,600 kB disk space will be freed. Do you want to continue? [Y/n]
[16:23] <oerheks> 40 not upgraded.
[16:23] <bvargo2> nb:  i'm at do the [Y/n] waiting...
[16:23] <oerheks> hit y
[16:24] <oerheks> then run a proper full upgrade, and try to install again
[16:24] <bvargo2> dpkg: error processing package evolution-data-server (--remove):  cannot remove '/usr/lib/evolution/evolution-scan-gconf-tree-xml': Permission denied Removing libedata-cal-1.2-28:amd64 (3.18.5-1ubuntu1.1) ... Processing triggers for libc-bin (2.23-0ubuntu10) ... Errors were encountered while processing:  evolution-data-server E: Sub-process /usr/bin/dpkg returned an error code (1)
[16:24] <oerheks> that full upgrade needs a reboot i guess
[16:25] <bvargo2> root@gigabyte:/usr/lib/evolution# ll total 268 drw-rw-rw-   2 root root   4096 Apr 20  2016 ./ drwxr-xr-x 202 root root  12288 Jul 28 07:58 ../ -rwxr-xr-x   1 root root  10232 Feb 23  2016 camel-index-control-1.2* -rwxr-sr-x   1 root mail  14336 Feb 23  2016 camel-lock-helper-1.2* -rwxr-xr-x   1 root root  10392 Feb 23  2016 evolution-addressbook-factory* -rwxr-xr-x   1 root root  14536 Feb 23  2016 evolution-addressbook-factory-subp
[16:27] <bvargo2> # lsattr -d /usr/lib/evolution-data-server -------------e-- /usr/lib/evolution-data-server
[16:27] <TJ-> bvargo2: "sudo chattr -R -i /usr/lib/evolution"  (this does it recursively to all dirs/files
[16:28] <bvargo2> done
[16:29] <bvargo2> thanks.
[16:29] <bvargo2> https://paste.ubuntu.com/p/NChzwqcTKR/
[16:29] <bvargo2> now what?  reboot?  apt upgrade?  apt dist-upgrade?
[16:32] <bvargo2> apt list --upgradeable:  https://paste.ubuntu.com/p/ST9JXB8H3d/
[16:32] <oerheks> after this succesfull removal, yes, i would safely do; reboot, and run dist-upgrade
[16:33] <oerheks> then those 40 packages are fixed
[16:33] <TJ-> bvargo2: "sudo apt update && sudo apt full-upgrade"
[16:34] <bvargo2> continue?
[16:34] <bvargo2> The following packages will be upgraded:   amd64-microcode appstream gir1.2-gdkpixbuf-2.0 gir1.2-packagekitglib-1.0 google-chrome-stable guile-2.0-libs hicolor-icon-theme intel-microcode libappstream3 libblkid1 libfdisk1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-0:i386 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev   libjs-sphinxdoc libmount1 libpackagekit-glib2-16 libslang2 libsmartcols1 libuuid1 libuuid1:i386 mount qemu qemu-block-extra qe
[16:34] <TJ-> bvargo2: yes, go ahead
[16:35] <TJ-> bvargo2: only really need a reboot if there is a linux kernel or glibc upgrade. Everything else will use the new versions correctly after a log-out/log-in cycle
[16:35] <bvargo2> see lines 10-12:  https://paste.ubuntu.com/p/Q8MZRMWPd2/
[16:36] <bvargo2> ok, so the full-upgrade did not end with any errors.
[16:37] <bvargo2> https://paste.ubuntu.com/p/SgMxPz69r8/
[16:37] <arvin_> I was wondering, I'm on 18.04, everything's great. I've built my own kernel and things are running very well. Did I miss out on anything from building kernel from mainline source as opposed to the kernel from launchpad (ubuntu-kernel-test)? I didn't apply any of the patches as I feel that doesn't pertain to my setup. Am I correct in my assumptions here?
[16:38] <bvargo2> so... it appears that apt installed pastebinit...  but it is still giving me those errors i mentioned earlier,  the sh: 0: getcwd() failed:  No scuh file or directory
[16:38] <myself> Okay, so while Shotwell is uploading photos to Flickr, my mouse pointer doesn't work in other apps. Keyboard navigation is fine. I can't even figure out where to search for bug reports to see if this is a known issue. 18.04 nothing special.
[16:38] <myself> It seems to be OK if I start the upload, alt-tab away, and just do whatever. But if I come *back* to shotwell to check on the status of the upload, and then alt-tab away *again*, my mouse is dead (pointer moves, clicks don't click, scroll doesn't scroll) until the upload completes.
[16:38] <TJ-> bvargo2: that "sh: 0: getcwd() failed: No such file or directory" is unexpected - possibly it came from a package's postinst or prerm scripts so don't worry about it for now unless you see it again
[16:39] <TJ-> bvargo2: we can enable some debugging to figure out where those errors are happening
[16:39] <bvargo2> that's the thing, i am seeing it agian.
[16:39] <bvargo2> i see it when i installed pastebinit
[16:39] <TJ-> bvargo2: do you see it doing "apt update" too?
[16:40] <TJ-> bvargo2:  ^sudo of course
[16:40] <bvargo2> hmmm.
[16:40] <bvargo2> before i do that...
[16:40] <bvargo2> https://paste.ubuntu.com/p/6KzwB96ByK/
[16:41] <bvargo2> does sh refer to the shell?  but no, I don't see the error on apt update
[16:42] <TJ-> bvargo2: yes,
[16:42] <bvargo2> http://paste.ubuntu.com/p/M2p2RYZswb/
[16:42] <TJ-> bvargo2: Good, so that means it is likely being generated when apt calls on dpkg to do the underlying work
[16:42] <bvargo2> so that came from apt update |pastebinit
[16:43] <bvargo2> cool, so that is hopefully one thing i'll retain (along with the immutable attrib which i'll have to look into if i find the time)
[16:44] <TJ-> bvargo2: try this: "pastebinit <( sudo apt-get -o Debug::pkgDPkgPM=true install --reinstall pastebinit)"
[16:46] <bvargo2> what do i use for s/s (screen shots)?
[16:46] <bvargo2> it just hung
[16:46] <Moondhum> I am trying to install ubuntu 18.04 with "use entire disk" as partitioning option. Somehow I am not able to install grub on /dev/sdb, it gives an error "can't install on /dev/sdb". What am I missing here?
[16:47] <bvargo2> https://imgur.com/a/zd7ZdGh
[16:47] <TJ-> Moondhum: partitioning mode may not support boot mode
[16:47] <lotuspsychje> myself: a few things to try: try this on another user, test shotwell from wayland? check if system is up to date? try another kernel?
[16:49] <oerheks> sh: 0: getcwd() failed: No such file or directory --->>>> This error is usually caused by running a command from a directory that no longer exist.
[16:50] <TJ-> Moondhum: if booting in UEFI mode, there needs to be an EFI system partition (usually combined with GPT). Or for BIOS/CSM mode  /dev/sdb would need a BIOS Boot Partition (if GPT)
[16:50] <TJ-> oerheks: or cannot be reached/traversed to :)
[16:50] <lotuspsychje> arvin_: we dont reccomend compiling own kernel here, use !mainline instead
[16:50] <TJ-> oerheks: it looks like a dpkg script warning
[16:51] <oerheks> jups, deleted and recreated
[16:51] <bvargo2> so should I break (^C)?
[16:52] <TJ-> arvin_: depends on what you left out. Ubuntu has addtional patches for ZFS and for apparmor to support lxc/lxd which is used by snaps
[16:53] <arvin_> TJ-: I see, thanks. I use EXT4 but I guess apparmor is running in the background. I've been monitoring logs and everything seems okay, but just wanted to make sure I understood
[16:53] <TJ-> bvargo2: interesting... shouldn't get stuck there but yes, Ctrl+C
[16:53] <oerheks> oink.. how many ppa's???
[16:53] <myself> lotuspsychje: I only have one user.... system should be up to date, I always install the stuff it prompts me to update. How do I do the Wayland thing?
[16:53] <bvargo2> that broke my terminal session.
[16:54] <bvargo2> doesn't echo, or CR.
[16:54] <arvin_> TJ-: What's interesting is when I built the kernel it's missing the abi-* and retpoline-* file (this file has no contents though). Could you shed any light on that?
[16:54] <TJ-> arvin_: those are generated as part of the Ubuntu linux-image-* build scripts
[16:55] <arvin_> I see, thank you
[16:55] <lotuspsychje> myself: logout to gdm login screen, then click the little gear ubuntu on wayland
[16:55] <hggdh> bvargo2: usually 'stty sane' recovers the common terminal settings
[16:55] <TJ-> bvargo2: hmmm, might need to create a separate terminal, rather than try to pull that back into sanity
[16:56] <TJ-> hggdh: that assumes you've got an interactive shell :)
[16:56] <TJ-> hggdh: I think it's stuck in a sub-shell command
[16:56] <hggdh> TJ-: indeed
[16:58] <bvargo2> https://imgur.com/a/Cvx9nrp
[16:59] <bvargo2> http://paste.ubuntu.com/p/Xxgpf5PGwq/
[16:59] <bvargo2> ^:  $ sudo apt-get -o Debug::pkgDPkgPM=true install --reinstall pastebinit |pastebinit
[16:59] <TJ-> bvargo2: hggdh's command "stty sane" should help you
[17:00] <bvargo2> ah, missed that but already killed that term session.  fwiw, i use guake
[17:00] <TJ-> bvargo2: try this: "sudo apt-get -o Debug::pkgDPkgPM=true install --reinstall pastebinit |& tee /tmp/apt.log; pastebinit /tmp/apt.log"
[17:00] <bvargo2> http://paste.ubuntu.com/p/39RpmN4BRW/
[17:01] <fr0xk> bvargo2: That syntax :D
[17:01] <bvargo2> @fr0xk, syntax?
[17:02] <t0rn3z> bvargo2: Debug::pkgDPkgPM=true||flase
[17:02] <bvargo2> with a capital D?
[17:03] <t0rn3z> bvargo2: I meant that command syntax needs powerful memory :D
[17:03] <bvargo2> k,
[17:04] <bvargo2> the debug command failed because Debug::pkgDPkgPM=true: command not found No command 'flase' found, did you mean:
[17:04] <t0rn3z> false :D
[17:04] <t0rn3z> OFMG
[17:04] <bvargo2> yeah i just noticed that...
[17:04] <bvargo2> debug::pkgDPkgPM=true: command not found
[17:05] <t0rn3z> I better 's/apt/pacman/g'
[17:05] <myself> lotuspsychje: the problem doesn't seem to happen in Wayland.... Should I just keep running this way indefinitely? (Is there a reason Wayland isn't the default?)
[17:05] <lotuspsychje> myself: no, i would file a bug for this one mate, and describe this whole story
[17:06] <t0rn3z> myself, I think so many nonfree app sucks with wayland
[17:06] <lotuspsychje> myself: ubuntu-bug xorg
[17:06] <lotuspsychje> t0rn3z: his case is the way around, shotwell faults in xorg
[17:08] <TJ-> bvargo2: my fault, apt has to be non-standard in handling single-letter options! try this: "sudo apt-get -o=Debug::pkgDPkgPM=true install --reinstall pastebinit |& tee /tmp/apt.log; pastebinit /tmp/apt.log"
[17:08] <myself> so xorg is the unnamed alternative to wayland in the gear menu at the gdm login screen? that's helpful to know!
[17:08] <TJ-> bvargo2: notice the "-o=..." not "-o ..."
[17:09] <lotuspsychje> myself: ubuntu(=xorg) and ubuntu on wayland
[17:09] <pragmaticenigma> what is a good tool for Kubuntu to write ISO images to thumb drives. I would prefer GUI or an application that aids in identifying the drive. Using 'dd' is an option I'd prefer to avoid, as I don't wish to overwrite the wrong device
[17:09] <t0rn3z> lotuspsychje, but here: fr0xk@eula47: ~ $ RET=1; shotwell; echo $? returns 0 Ubuntu 18.04 LTS
[17:10] <lotuspsychje> t0rn3z: sorry?
[17:10] <bvargo2> oh... i'm on board now i think
[17:10] <t0rn3z> lotuspsychje, I am not getting segfaults
[17:10] <bvargo2> http://paste.ubuntu.com/p/8wVvXnrRCf/
[17:11] <myself> I hate the bloatware of Etcher but it really makes USB-stick-image-writing idiotproof.
[17:11] <myself> No idea about kubuntu though. :P I'm... new here.
[17:16] <TJ-> bvargo2: no errors reported there, which is interesting
[17:17] <t0rn3z> lotuspsychje, check this out: https://imgur.com/Cem4IaO
[17:17] <TJ-> bvargo2: I wonder if the problem has gone away, or won't show up when there's an installed package already
[17:18] <TJ-> bvargo2: maybe we should try it with a very small dummy package that can be removed afterwards?
[17:19] <TJ-> bvargo2: try this: "sudo apt-get -o=Debug::pkgDPkgPM=true install xserver-xorg-video-dummy |& tee /tmp/apt.log; pastebinit /tmp/apt.log"
[17:19] <bvargo2> yes, i was trying to think of something i could do tha twith.
[17:19] <myself> lotuspsychje: thanks, I reported it here: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1784161
[17:19] <bvargo2> http://paste.ubuntu.com/p/JCRMd9V2hK/
[17:19] <bvargo2> this pastebinit think is the shit.
[17:19] <bvargo2> thing*
[17:19] <TJ-> bvargo2: I've also got you a C/C++ program here to find all immutable files, which you can download, compile, and run locally
[17:20] <TJ-> bvargo2: doesn't look like the "sh" error report is happening any more
[17:20] <TJ-> bvargo2: I think it was that shell you were in that you killed
[17:20] <bvargo2> do i have the compilers?  you can email it?
[17:20] <bvargo2> that could have done it.
[17:21] <bvargo2> since i'm here, i have a completely unrelated question...
[17:22] <bvargo2> i want to take an MPD m3u file and convert it into something vlc can use as an m3u.
[17:22] <TJ-> bvargo2: do "wget http://iam.tj/projects/ubuntu/find_immutable.cpp && g++ -o find_immutable find_immutable.cpp && sudo ./find_immutable / |& tee /tmp/immutable.files; pastebinit /tmp/immutable.files"
[17:22] <bvargo2> http://paste.ubuntu.com/p/yFtkmQH9Gw/
[17:23] <bvargo2> since mpd sets the music directory, it doesn't use absolute paths...  i need to add /library/music/ to every line in the mpd m3u.  any easy way to do that?  I did it with Calc, but there's got to be an easier way.
[17:24] <bvargo2> back to the immutable thing:  Connecting to iam.tj (iam.tj)|<IP_ADDRESS>|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1382 (1.3K) [text/x-c++src] find_immutable.cpp: Permission denied
[17:25] <lotuspsychje> myself: nice work! perhaps also add you running 18.04.1 up to date, mention your kernel version too?
[17:25] <TJ-> bvargo2: for M3U: "while read line; do echo "/library/music/$line"; done < <(cat find_immutable.cpp ) > vlc.m3u"
[17:25] <TJ-> bvargo2: oh darn, I forgot to enable it!
[17:27] <TJ-> bvargo2: scratch that - it is enabled. The problem is at your end. You must be trying to save it into a directory that is immutable :)
[17:28] <letty0> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
[17:29] <L0r4X> ow quick :D
[17:30] <myself> It would be nice if Settings/About would list my kernel version and that other stuff :)
[17:30] <lotuspsychje> myself: uname -a
[17:30] <TJ-> bvargo2: do "FI=/tmp/find_immutable; wget -O $FI.cpp http://iam.tj/projects/ubuntu/find_immutable.cpp && g++ -o $FI $FI.cpp && sudo cp $FI /usr/local/bin/ && sudo find_immutable / |& tee /tmp/immutable.files; pastebinit /tmp/immutable.files"
[17:31] <bvargo2> lol\
[17:31] <bvargo2> yep
[17:32] <bvargo2> ~/bin$ wget http://iam.tj/projects/ubuntu/find_immutable.cpp && g++ -o find_immutable find_immutable.cpp && sudo ./find_immutable / |& tee /tmp/immutable.files; pastebinit /tmp/immutable.files:  http://paste.ubuntu.com/p/nDNQXcTm9y/
[17:32] <TJ-> bvargo2: if the build fails at the g++ step, you may need to do "sudo apt install build-essential libboost-dev" first
[17:33] <hasell> Why did you choose Ubuntu over other Linux distros? ^_^
[17:33] <bvargo2> it doesn.t
[17:33] <L0r4X> hasell, because I value my time
[17:33] <TJ-> hasell: more developers, more eyeballs, more bugs (found) :)
[17:34] <bvargo2> so i suppose that means i have the compiler and that i don't have any other immutable files?
[17:34] <L0r4X> I think all Ubuntu users alone == total other distro users :D
[17:34] <hasell> L0r4X: Don't want to overcomplicate things? To much stuff to dig in?
[17:35] <lotuspsychje> !ot | hasell
[17:36] <L0r4X> hasell, Not like that, stability matters. I was at Arch, Gentoo, F28 before. You can see my helping Gentoo guys on IRCs too. But now I give up
[17:36] <TJ-> bvargo2: was that pastebin from running find_immutable ?
[17:36] <lotuspsychje> L0r4X: goes for you too ^
[17:37] <L0r4X> And not having codecs in repos is damn annoying, PPAs and
[17:37] <TJ-> bvargo2: what directory did you execute it from? what does "pwd" report ?
[17:37] <L0r4X> lotuspsychje, ha?
[17:37] <lotuspsychje> L0r4X: keep this chanel free for ubuntu issue sonly please, you disturb the helping of others
[17:37] <L0r4X> s/my/me/
[17:37] <bvargo2> ~/bin$
[17:37] <L0r4X> lotuspsychje, W00t?
[17:38] <TJ-> bvargo2: it looks like you *may* have solved the issues
[17:38] <bvargo2> then i changed directory to /tmp and so my pwd is /temp
[17:38] <bvargo2> it sure looks like i can move forward.
[17:38] <TJ-> bvargo2: right. did the m3u shell commands work?
[17:38] <L0r4X> lotuspsychje, I was relying to hasell
[17:38] <pragmaticenigma> L0r4X: do you have an Ubuntu related support question?
[17:39] <L0r4X> pragmaticenigma, No! I am helping someone!
[17:40] <bvargo2> ummm
[17:40] <TJ-> L0r4X: the point is, your conversation is off-topic, not a support issue. We want to keep this channel free from associated chatter so helpers can focus on support conversation
[17:40] <bvargo2> so with the m3u thing, I'm not sure what it is trying to do...  there aren't any immutable files there.
[17:41] <Wurble> Hi. The screen goes blank after I login to Ubuntu. My pc is connected to a 4k Samsung TV. Lower resolutions work fine, but nothing I try can make Ubuntu boot into a lower resolution past the login screen. I've tried xorg.conf and .xprofile and xrandr. Running 18.04. If I Alt-F3 then Alt-F2 then the desktop appears for less than a second, and then goes blank again. Please help?
[17:41] <bvargo2> oddly some files are root:root and some are mpd:audio
[17:41] <TJ-> bvargo2: the shell command I gave you needs to read the original file, I think I forgot to set that for you!
[17:41] <L0r4X> TJ-, Ow, understood. I'll remember it
[17:41] <lotuspsychje> Wurble: updated to 18.04.1? wich graphics card chipset?
[17:42] <TJ-> bvargo2: for M3U: "   M3U="/path/to/mpd.m3u"; while read line; do echo "/library/music/$line"; done < <(cat $M3U ) > vlc.m3u  "
[17:42] <Wurble> lotuspsychje, oh, when was 18.04 released? nvidia
[17:42] <EriC^^> Wurble: only recently
[17:42] <pragmaticenigma> Wurble: 18.04 was released in April, 18.04.1 was released a couple days ago. If you are running 16.04 you should start seeing a prompt to update to the latest
[17:42] <lotuspsychje> Wurble: check your lsb_release -a plz? and also need nvidia chipset + driver version (sudo lshw -C video)
[17:43] <TJ-> bvargo2: I tested it on the find_immutable.cpp just to check it'd prefix the text per-line :)
[17:43] <Wurble> Thanks guys
[17:43] <Wurble> lotuspsychje, Description:	Ubuntu 18.04 LTS
[17:43] <Wurble> Updating now
[17:43] <bvargo2> ah
[17:43] <bvargo2> so problem.  m3u file is "Bob Dylan.m3u"
[17:43] <lotuspsychje> Wurble: you can also check your available drivers with: ubuntu-drivers list
[17:44] <Wurble> lotuspsychje,  GP107 [GeForce GTX 1050 Ti]
[17:44] <bvargo2> and it is telling me it can't find "Dylan.m3u"
[17:44] <lotuspsychje> Wurble: ok try update first, if that doesnt work try nomodeset to enter your system
[17:44] <lotuspsychje> !nomodeset | Wurble
[17:44] <Wurble> lotuspsychje, nvidia-driver-390
[17:44] <lotuspsychje> Wurble: ok tnx!
[17:44] <TJ-> bvargo2: for M3U: "   M3U="Bob Dylan.m3u"; while read line; do echo "/library/music/$line"; done < <(cat "$M3U" ) > vlc.m3u  "
[17:45] <TJ-> bvargo2: because of the space in the name, the $M3U needs surrounding in " ... "
[17:45] <Wurble> ubottu, noted, thanks a lot
[17:45] <Wurble> Oh, now I see the thanks goes to you lotus ;)
[17:45] <lotuspsychje> Wurble: when you enter nomodeset, you could try different drivers, or add the more recent ubuntu drivers ppa
[17:46] <bvargo2> that's what i did...  didn't read it as being inside ""s
[17:46] <bvargo2> bvargo@gigabyte:/var/lib/mpd/playlists$ M3U="Bob Dylan.m3u"; while read line; do echo "/library/music/$line"; done < <(cat $M3U ) > "Bob Dylan vlc.m3u" cat: Bob: No such file or directory cat: Dylan.m3u: No such file or directory
[17:46] <bvargo2> anyway, i worked around it by renaming the directory
[17:47] <lotuspsychje> Wurble: sudo apt purge nvidia* makes you fallback to nouveau driver
[17:47] <TJ-> bvargo2: right, the <(cat $M3U) should be <(cat "$M3U")
[17:47] <Wurble> lotuspsychje, that's actually the last thing I did
[17:47] <bvargo2> got it
[17:48] <bvargo2> i knew there was an easy way to do it, i just don't have the shell skills.
[17:49] <bvargo2> well if this helps, Bob Dylan vlc.m3u and bob.dylan.vlc.m3u are both the same size and the latter is playing a willie nelson/dylan version of Heartland so it is working.
[17:50] <Wurble> lotuspsychje, going to try a bunch more stuff, thanks :)
[17:50] <bvargo2> it took me an embarassingly long time to realize that mpd was transcoding everything i was listening to on the localhost...
[17:51] <lotuspsychje> myself: to get you bug faster seen by devs, try to find more users affected to your same bug, and try a few steps yourself like different kernels, different shotwell version,..and keep your bug alive :p
[17:51] <bvargo2> i.e. the sound quality was suffering significantly
[17:54] <bvargo2> alright, well thank you very much everyone...
[17:55] <arvin_> !mainline
[18:00] <TJ-> arvin_: I have a script that automates fetching/installing mainline builds, it might be of interest to you. http://iam.tj/projects/ubuntu/wget_kernel_mainline.sh
[18:04] <myself> lotuspsychje: thanks, I've added a little :) I switched back to xorg when wayland died the moment I tried to launch Slack.. heh.
[18:04] <myself> this is definitely the weirdest bug I've encountered since coming to ubuntu!
[18:05] <lotuspsychje> myself: yeah nice work, i think ive seen issues like that passing by here, packages work either in wayland or xorg...but yours only partly works weird indeed
[18:06] <TJ-> myself: I've encountered that in Xorg many years ago, where one window will capture the mouse and not let it go. There was some almost-random sequence of events that would trigger it, and release it too
[18:07] <lotuspsychje> myself: just an idea, but have you tested to run shotwell from terminal in xorg, to see errors perhaps?
[18:07] <lotuspsychje> myself: perhaps a tail -f /var/log/syslog too
[18:07] <dan01> For users who have a 1366x768 resolution. Doesn't the UI look to big in 18.04?
[18:07] <Wurble> lotuspsychje, Sadly, none of that helped. nomodeset stripped away all resolutions apart from 1024x768
[18:08] <lotuspsychje> Wurble: so i understand neither 390 and nouveau works on you?
[18:08] <dan01> I mean I can get much more lines of text without scrolling in other DE that I do in Gnome
[18:09] <Wurble> lotuspsychje, nope both have the same problem. .xprofile should really fix it, but it doesn't. However, I have a keyboard shortcut to run .xprofile so that I can wait until everything is logged in and then i press the shortcut to fix the resolution to 1080p instead of 4k
[18:10] <EriC^^> Wurble: did you try ~/.profile ?
[18:10] <Wurble> EriC^^, nope, what should I try with it?
[18:10] <lotuspsychje> dan01: screenshot?
[18:10] <TJ-> Wurble: are you sure the TV can handle the modeline the GPU is using? What does "pastebinit <( xrandr -d :0 -q )" report?
[18:11] <Wurble> TJ-, http://paste.ubuntu.com/p/M8Z64fdxHd/
[18:14] <Wurble> TJ-, I'm really not sure. I get the feeling the TV doesn't like something
[18:14] <Wurble> Just being able to limit the max res to 1080p would be great
[18:14] <Wurble> I wish there was a way to do that
[18:16] <EriC^^> Wurble: if you select it from the display settings it doesnt save it on the next boot?
[18:16] <EriC^^> mine saves it across boots on unity though not gnome
[18:16] <Wurble> EriC^^, nope, I wish it did
[18:16] <Wurble> EriC^^, I'm on gnome flashback
[18:18] <EriC^^> you could try adding this line to ~/.profile "if [[ -n $DISPLAY ]]; then xrandr -s 1920x1080; fi"
[18:18] <EriC^^> Wurble: ^
[18:19] <Wurble> EriC^^, ok, then reboot?
[18:20] <EriC^^> Wurble: yes sure
[18:20] <Wurble> brb
[18:22] <Wurble> EriC^^, Nope, same
[18:22] <EriC^^> Wurble: does "xrandr -s 1920x1080" change the resolution if you type it into the terminal manually?
[18:23] <Wurble> EriC^^, you know, I actually think the login screen is in 4k, but there are no problems there
[18:24] <Wurble> EriC^^, yep, that's what's in the .xprofile, and i run the .xprofile with a keyboard shortcut after logging in so i can talk to you
[18:24] <Wurble> EriC^^, the 4k desktop does actually show initially, but only for less than a second
[18:25] <Wurble> EriC^^, perhaps flashback is just broken? Maybe I should try cinnamon or something?
[18:25] <EriC^^> Wurble: sorry to ask is there a normal gnome version?
[18:26] <Wurble> EriC^^, you mean the unity lookalike?
[18:26] <EriC^^> oh nevermind
[18:26] <EriC^^> i thought gnome flashback was like a low graphics kind of version or something
[18:27] <Wurble> EriC^^, nope. but that doesn't mean it's not the problem i guess
[18:27] <EriC^^> Wurble: could you run "sudo cat /var/log/Xorg.0.log | nc termbin.com 9999" and share the pastebin link? maybe there's some helpful info there
[18:28] <__Det> you need sudo for that?
[18:28] <lotuspsychje> __Det: can we help you?
[18:28] <__Det> no?
[18:29] <Wurble> http://termbin.com/d1q9
[18:29] <cholcombe24> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
[18:29] <cholcombe24> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
[18:29] <cholcombe24> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
[18:30] <EriC^^> Wurble: which graphics drivers have you tried til now?
[18:30] <Wurble> the single nvidia one in additional drivers, and the nouveau
[18:31] <ioria> Wurble, why are you using 'nomodeset ' ?
[18:31] <Wurble> ioria, I'm not...
[18:32] <ioria> Wurble, OOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=f79ad188-2945-497c-b839-db04c5294dca ro quiet splash amd_iommu=off nomodeset
[18:32] <Wurble> ioria, I did as a test though, is it showing up in the log?
[18:32] <EriC^^> Wurble: the log does show so
[18:32] <EriC^^> Wurble: what does "cat /proc/cmdline" give?
[18:32] <ioria> Wurble,  remove it
[18:32] <Wurble> Yeah I booted into it as a test but it didn't help
[18:32] <Wurble> ioria, it's already removed
[18:33] <Wurble> EriC^^,  options: ro quiet splash amd_iommu=off vt.handoff=1
[18:33] <ioria> Wurble,  ok
[18:33] <Wurble> no nomodeset
[18:33] <ioria> Wurble,  weird
[18:34] <ioria> Wurble,  old log then
[18:34] <Wurble> No as I said I just booted with nomodeset to test
[18:34] <Wurble> But it didn't help, so rebooted without it
[18:34] <ioria> ok
[18:35] <ioria> Wurble,  so you cannot set a lower resolution ? is that your issue ?
[18:35] <Wurble> I'll just paste my original question just in case it helps with context
[18:35] <Wurble> Hi. The screen goes blank after I login to Ubuntu. My pc is connected to a 4k Samsung TV. Lower resolutions work fine, but nothing I try can make Ubuntu boot into a lower resolution past the login screen. I've tried xorg.conf and .xprofile and xrandr. Running 18.04. If I Alt-F3 then Alt-F2 then the desktop appears for less than a second, and then goes blank again. Please help?
[18:36] <Wurble> ioria, any attempts to permanently set a lower resolution are ignored
[18:36] <ioria> Wurble,  could be also a gdm3 issue; there is lightdm to test
[18:36] <ioria> Wurble,  reading you have gnome-flashback --- have you try the default gnome-shell session ?
[18:37] <ioria> *tried
[18:37] <Wurble> ioria, not extensively, but I had the same results
[18:37] <Wurble> ioria, I could test it again just in case
[18:38] <ioria> Wurble,  ok
[18:38] <lotuspsychje> ioria: he tryed 390 and nouveau, both same issue
[18:39] <Wurble> yep
[18:39] <Wurble> Is there a new 18.04 thing that forces automatic resolution?
[18:39] <Wurble> Or anything new that might interfere
[18:40] <ioria> Wurble,  does the screen support the resolution you want ?
[18:40] <Wurble> It just seems really weird to me that .xprofile and .profile won't work, but the exact same script executed seconds later works
[18:41] <Wurble> ioria, i want 1080p, but ubuntu seems to want 4k. It's a 4k TV, and it even shows the 4k desktop for less than a second before going blank.
[18:41] <ioria> Wurble,  can you paste your .profile ? maybe the cmd it's not executed
[18:43] <Wurble> ioria, .profile http://paste.ubuntu.com/p/x4v3J6n6jY/ and .xprofile http://paste.ubuntu.com/p/XkbgQD5VM7/
[18:46] <EriC^^> Wurble: what happens if you press ctrl+alt+f1, login and type "DISPLAY=:1 startx xterm"
[18:47] <DWSR> Hey all, I'm trying to get the Ubuntu cloud images via uvtool on 18.04 as described in the Wiki, but `uvt-simplestreams-libvirt sync` is hanging indefinitely and `uvt-simplestreams-libvirt query arch=amd64` returns nothing. Is this broken on 18.04 or did I miss something?
[18:49] <brainwash> Wurble: those files are read before gnome is started I'd think
[18:49] <ioria> Wurble,  try a startup script (startup applications):  xrandr -d  :0 --output HDMI-0 --mode 1920x1080
[18:52] <sinceDapperDrake> ioria:  I just logged in and see that you you're talking about xrandr ... I have my setup how I want it now but my mouse pointer is flickering, do you happen to know why that might be?
[18:53] <solsTiCe> DWSR: try to ask in #ubuntu-server
[18:53] <DWSR> solsTiCe: Chan's dead.
[18:54] <Wurble> EriC^^, assuming you mean ctrl alt f3... the terminal is unreadable, the text is so small, must be 4k res
[18:54] <ioria> sinceDapperDrake, 18.04 gnome-shell ?
[18:54] <Wurble> brainwash, i see
[18:55] <Wurble> ioria, ok, good idea
[18:55] <sinceDapperDrake> ioria: that's correct, 18.04 gnome-shell
[18:55] <Wurble> trying it, brb
[18:56] <sinceDapperDrake> ioria: I'm using x.org driver (nouveau)
[18:57] <ioria> sinceDapperDrake, i see some issue for Dell XPS 15 ...
[18:58] <Wurble> ioria, didn't work, had to run it manually again
[18:58] <EriC^^> Wurble: interesting, so it works if you just load it up the xserver alone
[18:58] <EriC^^> Wurble: did you try making a second user or using the guest account if that's still available in 18.04?
[18:59] <Wurble> EriC^^, i couldn't try your suggestion, i couldn't see the terminal
[18:59] <EriC^^> Wurble: oh, i thought you meant it showed a tiny xterm
[18:59] <Wurble> nope the terminal is 4k and unreadable
[18:59] <Wurble> also i'm certain now that the login screen is 4k
[18:59] <ioria> Wurble,  try lightdm
[18:59] <sinceDapperDrake> ioria: that's so accurate, yeah I have a Dell XPS 15
[19:00] <Wurble> ioria, ok
[19:00] <brainwash> Wurble: try with an added delay. new command would be:  sh -c 'sleep 5; xrander blabla'
[19:00] <ioria> Wurble,  ^ brainwash ^
[19:00] <Wurble> brainwash, ok, i'll try that first
[19:00] <Wurble> i remember trying it before but not in a sh
[19:01] <Wurble> brb
[19:03] <bionic-upgr-ScUs> Hi all!
[19:03] <bionic-upgr-ScUs> upgrade 17.10 to 18.04 via no longer supported dialog. Left machine unattended. Returned to find machine idling at desktop, no upgrade dialog, no errors or warnings. last entry in /var/log/dist-upgrade/main.log: DEBUG running apport_crash()
[19:04] <__Det> 18.10 should be called the Blue Wave
[19:04] <lotuspsychje> __Det: please dont
[19:04] <ioria> sinceDapperDrake, i don't see a fix available or workarounds;maybe try a previous kernel
[19:04] <__Det> lotuspsychje: im not in chare of that
[19:05] <lotuspsychje> __Det: only ubuntu support questions here please
[19:05] <__Det> lotuspsychje: one thing
[19:05] <__Det> lotuspsychje: blue wave.
[19:06] <bionic-upgr-ScUs> figured i'd check here before i cross my fingers and reboot
[19:07] <lotuspsychje> !eolupgrade | bionic-upgr-ScUs start here
[19:07] <bionic-upgr-ScUs> ubottu, you good looking bot :) issue is that the upgrade to 18.04 hit an error
[19:08] <ioria> bionic-upgr-ScUs, do you have backups ?
[19:09] <lotuspsychje> bionic-upgr-ScUs: at wich time did you upgrade exactly?
[19:09] <EriC^^> bionic-upgr-ScUs: what does "cat /etc/issue" show? and sudo dpkg --configure -a ?
[19:09] <lovepopsickle> ubuntu bionic with the bar on the left does not want to scroll up and down as easy as it did using xenial
[19:09] <bionic-upgr-ScUs> not in a conventional sense, but home is on its own partition. i can recover if things go sideways. just hoping to avoid the pain, lol
[19:10] <bionic-upgr-ScUs> "2018-07-28 12:50:16,056 INFO release-upgrader version '18.04.21' started
[19:10] <bionic-upgr-ScUs> "
[19:10] <ioria> bionic-upgr-ScUs, cat /etc/apt/sources.list | nc termbin.com 9999
[19:11] <pap> Hello guys, I am kinda having an issue with mpt not properly mounting my android phone meaning the mtp  option is not functional in the phone.  Any thoughts?
[19:11] <bionic-upgr-ScUs> ioria, done
[19:11] <ioria> bionic-upgr-ScUs, the url,please
[19:12] <bionic-upgr-ScUs> http://termbin.com/ljhz
[19:12] <lotuspsychje> bionic-upgr-ScUs: you updated after artful was end of life
[19:13] <ioria> bionic-upgr-ScUs, sudo apt full-upgrade  and paste the the errors
[19:13] <bionic-upgr-ScUs> lotuspsychje, agreed
[19:13] <ioria> bionic-upgr-ScUs, sudo apt update && sudo apt full-upgrade  and paste the the errors
[19:15] <Wurble> brainwash, no effect
[19:16] <Wurble> ioria, lightdm displays for a second in 4k, then no signal, just like when i login. Otherwise it's the same
[19:16] <brainwash> Wurble: the startup application variant?
[19:16] <Wurble> yep
[19:16] <EriC^^> Wurble: you could always set the resolution from grub, just remembered
[19:16] <Wurble> EriC^^, awesome, i didn't know tha
[19:17] <EriC^^> Wurble: sudo nano /etc/default/grub
[19:17] <bionic-upgr-ScUs> ioria, http://termbin.com/f0bg
[19:17] <EriC^^> Wurble: GRUB_GFXMODE=1920x1080
[19:17] <EriC^^> Wurble: also GRUB_GFXPAYLOAD_LINUX=keep
[19:17] <EriC^^> then sudo update-grub
[19:18] <ioria> bionic-upgr-ScUs, uname -r
[19:18] <brainwash> Wurble: I would have made sure that the startup entry works properly by replacing xrandr with xterm
[19:18] <bionic-upgr-ScUs> ioria, 4.13.0-46-generic
[19:19] <ioria> bionic-upgr-ScUs, did you run  sudo apt full-upgrade ?
[19:20] <bionic-upgr-ScUs> ioria, ran your suggestion: sudo apt update && sudo apt full-upgrade
[19:21] <ioria> bionic-upgr-ScUs, please, again    sudo apt full-upgrade
[19:22] <redlegion> anyone know why gnome-terminal would fail to execute with a timeout?
[19:22] <lotuspsychje> !info linux-image-generic trusty
[19:22] <redlegion> recently upgraded to bionic myself
[19:22] <Wurble> EriC^^, ok i'm gonna look this up then try it
[19:22] <ceibal> hola
[19:22] <Wurble> brainwash, i'm gonna try the grub thing first, but then i'll try thar
[19:22] <lotuspsychje> !es | ceibal
[19:22] <Wurble> *that
[19:23] <ceibal> #ubutu-es
[19:23] <bionic-upgr-ScUs> ioria, http://termbin.com/10mg
[19:24] <ioria> bionic-upgr-ScUs, apt-cache policy apt
[19:25] <bionic-upgr-ScUs> ioria, http://termbin.com/zocen
[19:26] <ioria> bionic-upgr-ScUs, ok,  ls /boot
[19:27] <sinceDapperDrake> ioria: Ok, I'll try that, I just upgraded from 16.04 and got my self a new monitor so I was playing around setting things up and now I got this, it's either I live with it or try another previous kernel like you mentioned, thanks for your response.
[19:27] <ioria> sinceDapperDrake, you're welcome
[19:27] <bionic-upgr-ScUs> ioria, http://termbin.com/k1jq
[19:28] <ioria> bionic-upgr-ScUs, seems good
[19:29] <ioria> bionic-upgr-ScUs, afraid to reboot ?
[19:29] <bionic-upgr-ScUs> ioria, thanks for reviewing. fingers crossed!
[19:29] <ioria> bionic-upgr-ScUs, good luck
[19:30] <bionic-upgr-ScUs> ioria, the upgrade dialog just disappeared. i think it looks like the upgrade completed well enough, just wanted a sanity check from the community. i'm happy to roll the dice. i have alternate boot media, just in case, lol
[19:31] <ioria> bionic-upgr-ScUs, yeah
[19:31] <bionic-upgr-ScUs> thanks again and have a great weekend!
[19:31] <ioria> you too
[19:32] <lotuspsychje> ioria: cookie!
[19:32] <ioria> heheh, wait ...
[19:32] <lotuspsychje> lol
[19:37] <ioria> Wurble, give us good news
[19:37] <Wurble> EriC^^, GRUB_GFXPAYLOAD_LINUX=1920x1080 is I believe the right syntax, but it was ignored
[19:38] <Wurble> brainwash, terminal is loading, so it works in that sense
[19:38] <Wurble> ioria, no such luck :(
[19:38] <apetresc> Hey all - how can I convince Xorg of my correct display dimensions? EDID is incorrectly returning 520x321 for some reason (it should be 598x336) which means that X is calculating a totally wrong (non-square) DPI. I've tried creating a /usr/share/X11/xorg.conf.d/90-monitor.conf file that contains a Section "Monitor" with the right DisplaySize but it seems to be being ignored - Xorg.0.log still indicates it's
[19:38] <apetresc> using EDID. Any ideas?
[19:39] <brainwash> Wurble: terminal pops up after some seconds delay?
[19:39] <Wurble> However, I've determined that although the login screen is 4k (which makes it tiny and hard to read, so I need to fix that too), that .xprofile IS IN FACT FIRING and is changing res to 1080p, however THE RES GETS CHANGED BACK BY SOMETHING afterwards....
[19:40] <Wurble> brainwash, presumably, I can't see it happen because I manually have to press my shortcut, super+f, to run .xprofile and fix my graphics again
[19:40] <Wurble> brainwash, but it's there when I fix it
[19:41] <Wurble> So the question is, what is screwing with my res after I set it?
[19:41] <ioria> Wurble, if it works from command line, should work with startup script
[19:42] <Wurble> ioria, maybe it's beating a race with whatever is screwing up my res?
[19:42] <ioria> Wurble, looks like
[19:43] <ioria> Wurble, then script ie executable,right ?
[19:43] <Wurble> having sleep 20 on my startup to fix gfx doesn't seem like a great solution though
[19:43] <Wurble> yep
[19:43] <Wurble> and it's getting executed
[19:43] <Wurble> .xprofile is working
[19:43] <ioria> let's call TJ- in
[19:43] <Wurble> then the res is getting changed by an unknown process
[19:44] <Wurble> then i have to run .xprofile again
[19:44] <lotuspsychje> Wurble: try the ubuntu ppa graphics drivers perhaps
[19:44] <lotuspsychje> Wurble: i hear good things on 390.77
[19:45] <Wurble> lotuspsychje, sounds good, i'll try
[19:46] <Wurble> lotuspsychje, what am i looking for exactly? nvidia-390-dev?
[19:47] <ioria> nope
[19:47] <ioria> Wurble, what's your video card ?
[19:48] <Wurble> ioria, NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
[19:49] <ioria> Wurble, an now using nouveau ?
[19:49] <Wurble> yep
[19:49] <pragmaticenigma> apetresc: what kind of device are you attempting to run Ubuntu on? Those are really small display dimensions
[19:49] <Wurble> ioria, how can I check for sure though?
[19:49] <Wurble> the driver in use i mean
[19:49] <lotuspsychje> Wurble: 390.77-0ubuntu0~gpu18.04.1
[19:49] <apetresc> pragmaticenigma: huh? its a 27-inch display
[19:49] <apetresc> Millimeters are 1/10 of a centimeter, not 1/100 if that's what you're thinking
[19:49] <ioria> Wurble, sudo lshw -c video
[19:50] <apetresc> 598x336 is 59.8cmx33.6cm
[19:50] <Wurble> yep, confirmed
[19:50] <pragmaticenigma> apetresc: I'm assume the values you were giving us were resolutions ... not physical dimensions
[19:50] <Wurble> lotuspsychje, right, but that's not a package name right?
[19:50] <ioria> Wurble, already tried nvidia blob  ?
[19:50] <apetresc> pragmaticenigma: Nope, they're physical dimensions
[19:50] <lotuspsychje> Wurble: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
[19:50] <apetresc> The resolution is being correctly determined but the physical dimensions are not, which means the DPI comes out wrong
[19:51] <apetresc> DisplaySize in xorg.conf refers to physical dimensions
[19:52] <Wurble> lotuspsychje, I've already added the ppa but... Are you saying just install 390 now?
[19:52] <lotuspsychje> Wurble: yes try that
[19:52] <ioria> Wurble, wait,check in    ubuntu-drivers list
[19:53] <Wurble> too late, installing nvidia-390
[19:53] <Wurble> but it did say 390 earlier
[19:53] <pragmaticenigma> apetresc: Did you have the correct Identifier in xorg.conf file for that monitor?
[19:53] <apetresc> pragmaticenigma: I suspect that's the problem yeah
[19:53] <apetresc> I though "<default monitor>" would just resolve to the right thing
[19:54] <apetresc> Since there's only 1 monitor
[19:54] <lotuspsychje> ioria: he showed ubuntu-drivers list before
[19:54] <lotuspsychje> ioria: he had 390 by default
[19:54] <apetresc> Am I supposed to use the name I see in `xrandr -q`?
[19:54] <apetresc> (Which would be DP-4 in my case)
[19:54] <ioria> ok
[19:54] <pragmaticenigma> apetresc: It's been a long time since I tinkered in there... but I remember it needed an explicate value... since a monitor could be swapped out and you wouldn't want to send the wrong settings to a monitor that doesn't support it
[19:55] <apetresc> pragmaticenigma: ah okay, that makes sense. Let me try restarting with DP-4 set as the Identifier :) Thanks!