[00:06] <bynw> does bluetooth work on ubuntu 18.04? on the settings screen for bluetooth i watch it go from being on to being off to being on to being off again and just keeps cycling like that
[00:06] <wasanzy> I can access remotely now
[00:08] <tomreyn> wasanzy: great. please write my nickname when you would like to get my attention,
[00:08] <tomreyn> ^ like i just did with you
[00:08] <tomreyn> so you said you took over management of this server form someone else, right? do you know why it runs this older kernel? do you know which services it runs?
[00:09] <wasanzy> tomreyn: ok noted
[00:10] <wasanzy> tomreyn: The server is actually not a public facing one and the services are internal. They software run on them does not support most current kernels too
[00:11] <wasanzy> one reason we are migrating to another server and boom the issue
[00:12] <tomreyn> wasanzy: user space software which does not support kernel updates? this sounds interesting, can you tell more about it?
[00:12] <tomreyn> "interesting" as in, this should not exist.
[00:13] <wasanzy> they are customed programs for managing fatigue
[00:13] <wasanzy> we have client devices in vehicles that sends events to this server
[00:14] <tomreyn> human fatigue? does it give you little electro shocks when you are about to fall asleept? ;-)
[00:14] <tomreyn> okay, let's not discuss the details
[00:14] <wasanzy> tomreyn: Any idea what I should do next?
[00:15] <wasanzy> tomreyn: yes human, it can cause your seat to vibrate
[00:15] <tomreyn> this sounds nicer
[00:15] <tomreyn> so you're actuall yin a gold mine and this is for the drivers of these super huge trucks, i guess
[00:15] <wasanzy> yes
[00:16] <tomreyn> wasanzy: normally i would now guide you through the process of replacing this curom kernel you have installed to run the one which is default for this ubuntu release
[00:16] <tomreyn> *custom kernel
[00:16] <tomreyn> but you are saying you can't run this if i got you right?
[00:17] <wasanzy> We can give it a try
[00:17] <tomreyn> i.e. i suspect it's a bug with this kernel version you have there
[00:17] <wasanzy> the server is already down
[00:17] <tomreyn> the server is down? you mean the service is not working currently, right?
[00:17] <tomreyn> but the server is still powered on?
[00:17] <wasanzy> apt-get can't get to the internet though
[00:18] <wasanzy> yea server up services down
[00:18] <tomreyn> so is this server generally not able  to treach the internet, or is it a matter of configuration?
[00:18] <Sir_Andrei> Hi
[00:18] <Sir_Andrei> Tomreyn, are u always here?
[00:18] <wasanzy> I think I will have to add DNS
[00:18] <wasanzy> let me try
[00:19] <tomreyn> Sir_Andrei: no, still mostly human
[00:19] <Sir_Andrei> Oh, nice.
[00:19] <wasanzy> # apt-get update Ign http://us.archive.ubuntu.com trusty InRelease 10% [Working]
[00:20] <tomreyn> wasanzy: very well. then once it worked, you can: sudo apt-get -sfV dist-upgrade 2>&! | nc termbin.com 9999
[00:21] <tomreyn> wasanzy: actually it'd be good to see the apt-get update, too: sudo apt-get update 2>&1 | nc termbin.com 9999
[00:21] <tomreyn> termbin.com is a pastebin service, stores what you send to it with netcat (nc), returning a url so you can show it to me.
[00:22] <tomreyn> alternatively you could install the "pastebinit" utility
[00:22] <tomreyn> !pastebinit
[00:22] <wasanzy> tomreyn: I mounted the filesystem as rw but still I can't edit any file
[00:22] <wasanzy> shows as read-only
[00:22] <tomreyn> wasanzy: which file system exactly, / ?
[00:23] <tomreyn> can you: mount | nc termbin.com 9999
[00:24] <wasanzy> tomreyn: works now
[00:24] <wasanzy> I can run apt-get now
[00:25] <tomreyn> okay, let me know when you got some output to look at
[00:25] <wasanzy> ok
[00:25] <tomreyn> sudo apt-get update 2>&1 | nc termbin.com 9999 ; sudo apt-get -sfV dist-upgrade 2>&! | nc termbin.com 9999
[00:25] <tomreyn> sudo apt-get update 2>&1 | nc termbin.com 9999 ; sudo apt-get -sfV dist-upgrade 2>&1 | nc termbin.com 9999
[00:25] <tomreyn> ^^typo fixed
[00:25] <wasanzy> ok
[00:26] <tomreyn> the dist-upgrade is just simulated (-s), it doesn'T actually do it
[00:27] <wasanzy> for some reason, I can run apt-get but I can't resolve domains so the error: nc: getaddrinfo: Name or service not known
[00:27] <tomreyn> so you got a dns issue there
[00:28] <tomreyn> does this work? "ping -c3 <IP_ADDRESS>"
[00:28] <tomreyn> if it does, does this also work? ping abc.de
[00:29] <wasanzy> dns-nameservers?
[00:29] <tomreyn> the's the name of an option you'd set in /etc/network/interfaces
[00:30] <tomreyn> what is your actual question?
[00:30] <tomreyn> nameservers are usually configured either there or in /etc/resolv.conf
[00:30] <tomreyn> at least on ubuntu 14.04
[00:31] <dos000> Anyone can please help me figure why when i start gnome-terminal inside a vnc session it apears in the xsession i have running outside of vnc ? Any clues will be appreciated
[00:31] <dos000> i checked the DISPLAY inside vnc and it points to the right place
[00:32] <dos000> xyes works .. but not gnome-terminal
[00:32] <dos000> so is xterm
[00:32] <dos000> meaning xterm/xeyes both launch inside the vnc xsession
[00:33] <wasanzy> command apt-get update 2>&1 | nc termbin.com 9999 ; sudo apt-get -sfV dist-upgrade 2>&1 | nc termbin.com 9999 still running, no output yet,  tomreyn
[00:33] <tomreyn> dos000: the DISPLAY variable should match the VNC sessions'. you are probaly using ssh with X forwarding and so apoplication output is forwarded directly on ssh but not within vnc
[00:33] <dos000> i even tried passin `--display=:2` to gnome-terminal with no success
[00:34] <tomreyn> dos000: maybe just try setting up the ssh connection with out X forwarding if you dont striclty need it.
[00:34] <dos000> tomreyn: i verified the DISPLAY match the vnc session
[00:34] <tomreyn> wasanzy: so can you resolve domain names, yet?
[00:34] <wasanzy> yes
[00:34] <dos000> tomreyn: let me restart the vnc server without ssh ..
[00:35] <wasanzy> # ping abc.de PING abc.de (<IP_ADDRESS>) 56(84) bytes of data
[00:36] <tomreyn> dos000: you can also: ssh -o 'ForwardX11 no' myserver.lan
[00:36] <tomreyn> wasanzy: it would always output this one line whether or not it worked.
[00:36] <tomreyn> wasanzy: but i trust you if you say its working. no need to proove
[00:37] <tomreyn> wasanzy: still, the apt commands should long have been done
[00:37] <wasanzy> it is done
[00:38] <wasanzy> but no output to the screen
[00:38] <tomreyn> can you: echo "hello world" | nc termbin.com 9999
[00:38] <tomreyn> does this return a http address?
[00:38] <balsaq> is it possible ubuntu 18 04 01 is simply not meant for laptop, i have a 35watt intel laptop with a new 6 cell battery and it appears ubuntu is going to kill the battery in aproxhours
[00:38] <dos000> tomreyn: i just realised something funny .. both DISPLAY in vnc and the normal session are both using :2 .. lemme restart this machine . i have no clue what happened here.
[00:38] <balsaq> the battery willl  last 4 hours in windows
[00:38] <dos000> Thank yo uso much for your help !!!
[00:39] <tomreyn> dos000: welcome, good luck
[00:39] <wasanzy> tomreyn: taking forever to complete
[00:39] <tomreyn> wasanzy: well then i think dns is still not working. or you got routing issues.
[00:39] <tomreyn> or dns works but you are firewalled so you can't reach the target
[00:40] <tomreyn> can you run: host termbin.com
[00:40] <tomreyn> what does it return?
[00:40] <wasanzy> I think firewall
[00:40] <tomreyn> thinking is good, knowing is better
[00:40] <wasanzy> termbin.com has address <IP_ADDRESS> termbin.com mail is handled by 0 solusipse.net.
[00:41] <tomreyn> ok dns works
[00:41] <wasanzy> I don't control the firewall, the I.T guys for the mine does
[00:41] <tomreyn> nc -vv termbin.com 9999
[00:41] <de-facto> Great: apt broke itself the second time "apt-utils : Depends: apt (= 1.6.3ubuntu0.1) but 1.6.6 is installed"
[00:42] <tomreyn> wasanzy: you're right, port 9999 is likely an issue in an enterprise environment.
[00:42] <balsaq> does ubuntu offer a laptop version of iotself?
[00:42] <balsaq> itself
[00:42] <balsaq> the dfesktop version does not know how to dim the display
[00:42] <tomreyn> wasanzy: but apot-get update seems to work fine, you said? if so, can you: sudo apt-get install pastebinit
[00:44] <wasanzy> tomreyn: installed
[00:44] <tomreyn> balsaq: there's no separate variant for laptops, the desktop one usually works. if it doesn't work for you, try to get a better idea of what is not pokriung properly, then search the web for solutions and workarounds and file a bug if none exists.
[00:44] <tomreyn> wasanzy: echo "hello world" | pastebinit
[00:45] <tomreyn> wasanzy:does this return a URL?
[00:45] <wasanzy> http://paste.ubuntu.com/p/j4HWTf5vdt/
[00:46] <tomreyn> wasanzy: yeay so this works. now do: sudo apt-get update 2>&1 | pastebinit ; sudo apt-get -sfV dist-upgrade 2>&1 | pastebinit
[00:46] <tomreyn> this should return 2 urls
[00:47] <wasanzy> http://paste.ubuntu.com/p/dRsQMZXC54/ http://paste.ubuntu.com/p/MGw8WGPCH4/
[00:48] <balsaq> ubuntu deskptop does not know how to dim a displayu on a laptop
[00:48] <balsaq> they simply did not code it in i tried all the commands
[00:48] <tomreyn> wasanzy: then: pastebinit /etc/fstab; pastebinit <( cat /proc/version; cat/proc/cmdline; echo; dpkg -l linux-image\* ; )
[00:49] <balsaq> so its killing my battery dsince the display is so bright
[00:49] <tomreyn> balsaq: i think you generalizting things based on your experience with a single device.
[00:49] <balsaq> i doesnt work
[00:49] <wasanzy> http://paste.ubuntu.com/p/SF9QVknZH7/ http://paste.ubuntu.com/p/QnDbqPQyWP/
[00:49] <balsaq> i have also found others saying same thing looking baclk for YEARS
[00:49] <wasanzy> tomreyn: ^
[00:49] <balsaq> they have been leaving it out for many years
[00:50] <tomreyn> wasanzy: so that's quite some pending updates you have. i can't decide for you whether it's the right time to install them now. but generally you should do it soon, probably within a regular maintenance.
[00:50] <wasanzy> I should do it now
[00:51] <tomreyn> you know how?
[00:51] <wasanzy> this could time?
[00:51] <wasanzy> apt-get upgrade?
[00:51] <balsaq> here is a complaint form 2.5 years ago about the same thing https://askubuntu.com/questions/762764/cant-change-brightness-in-ubuntu-16-04-lts
[00:52] <tomreyn> wasanzy: i would run: sudo apt dist-upgrade
[00:53] <tomreyn> wasanzy: i would run: sudo apt-get dist-upgrade
[00:53] <tomreyn> ^ sorry, this rather
[00:53] <tomreyn> i'm not sure there is the "apt" command in 14.04
[00:53] <wasanzy> ok
[00:53] <wasanzy> let me do that now
[00:54] <tomreyn> also i should point out that 14.04 will be end of life next year
[00:54] <hggdh> balsaq: it can happen. Different hardware, different behaviour. Your best option is to open a bug on it
[00:54] <tomreyn> wasanzy: but i think you already said you have plans to migrate the application
[00:54] <wasanzy> yes
[00:55] <wasanzy> as it stands now, can I boot the machine successfully without upgrading?
[00:55] <balsaq> i did open a bug on it but i see ppl telling them about for years now
[00:55] <balsaq> they dont care
[00:55] <hggdh> ...
[00:56] <balsaq> i wonder of this is because im running only linux drivers and no proprietary
[00:56] <hggdh> balsaq: again: different hardware, different behaviour
[00:56] <tomreyn> wasanzy: i don't think we have solved the issue with network mounting, yet. my hope is that a kernel update will fix it. however, what is puzzling me is the kernel version it plans to upgrade to.
[00:56]  * balsaq plays the air violien...
[00:56] <hggdh> balsaq: now, that's enough
[00:57] <balsaq> sorry spelled that wrong it violin i think
[00:57] <wasanzy> can't I disable any network mounting in single mode? I have the shell now
[00:57] <tomreyn> wasanzy: so the upgrade you're doing now will bring the kernel to: linux-image-3.19.0-80-generic (3.19.0-80.88~14.04.1)
[00:57] <hggdh> balsaq: I am trying to tell you to please stop.
[00:58] <wasanzy> tomreyn: Ok
[00:58] <dos000> ok .. i did reboot and now my vnc is on :2 and the normal xsession is on :1 .. but still doing gnome-terminal --display=:2 inside the vnc sessions opens it in :1 :(
[00:58] <tomreyn> wasanzy: oh single mode is before network is brought up so yes you should be able to boot to recovery as we just did just fine
[00:59] <tomreyn> wasanzy: but this is not the default boot option, and you can only remote control the system from outside the server after you brought up networking. and the application only works after you brought up networking. you are asking because you need to minimize downtime, i suppose?
[00:59] <wasanzy> tomreyn: ok, but I can't disable the network mount and reboot?
[01:00] <tomreyn> i'll see if i can find out how to do this
[01:00] <wasanzy> tomreyn: yes I wan to minimize downtime
[01:01] <tomreyn> uuh this is the vivid lts kernel. surely this one hasn't been supported in a long time
[01:01] <tomreyn> !vivid
[01:01] <tomreyn> i mean the vivid HWE kernel
[01:01] <tomreyn> !hwe
[01:02] <tomreyn> so we should install another kernel image. either the latest hwe kernel available, or the older (but still maintained) general availability (GA) kernel
[01:03] <balsaq> is it best to update using the software updater
[01:03] <Kyros> balsaq: it doesnt matter
[01:03] <balsaq> ok
[01:04] <wasanzy> tomreyn: ok
[01:04] <tomreyn> wasanzy: i suggest you: sudo apt install linux-image-generic linux-image-hwe-generic-trusty
[01:05] <dos000> https://paste.ubuntu.com/p/94XnXnRrBz/ <--- this is what i get as an error now
[01:05] <tomreyn> wasanzy: this will add these two kernels, a newer and and older one than you currently run. both are still supported, and you can choose which one to boot at the grub menu
[01:06] <wasanzy> ok good
[01:06] <wasanzy> am doing that
[01:07] <tomreyn> wasanzy: to bring up the grub menu at boot, hold down shift. to choose these (non 3.19.x) kernels you can enter "Advanced" there
[01:07] <tomreyn> i hope one of those will fix this issue.
[01:07] <tomreyn> this would be the proper fix. if this doesn't work we'll need to find out how to disable the network mount script
[01:08] <wasanzy> tomreyn: the grub loader comes automatically. and also I don't see any ntfs service running on the system
[01:09] <tomreyn> wasanzy: "ntfs service"? i don'T think i mentioned this.
[01:09] <tomreyn> did you?
[01:10] <wasanzy> tomreyn: you didn't I did, I was thinking it was part of the problem
[01:11] <tomreyn> wasanzy: ntfs is the 'NT file system' of windows. i don't see hwo this is related to this issue.
[01:12] <tomreyn> wasanzy: what we are trying to solve here is that the system gets stuck booting with the "Starting Mount network filesystems" message on screen.
[01:12] <tomreyn> ... in my understanding
[01:12] <wasanzy> that is true
[01:12] <tomreyn> which is related to /etc/init/mountall-net.conf
[01:14] <wasanzy> yes this is it: /etc/init/mountall-net.conf
[01:14] <dos000> whats the easiest way to remove all my .gnome settings ? i upgraded this machine from an old ubuntu version
[01:15] <dos000> would `rm -rf ~/.config/gnome*` do it ?
[01:16] <wasanzy> tomreyn: installation done, I will try rebooting
[01:17] <wasanzy> tomreyn: what will happen if I comment out the entry: start on net-device-up in /etc/init/mountall-net.conf ?
[01:18] <tomreyn> wasanzy: i would not do it just not, since you want to know whethe rthe kernel update fixed it or your changes to this file did
[01:18] <wasanzy> ok
[01:18] <wasanzy> rebooting
[01:19] <tomreyn> so better just reboot into a supported kernel for now, then the other supported kernel if the first one did not work. and
[01:19] <tomreyn> .. then we can still edit the file if it's still not working
[01:22] <tomreyn> wasanzy: here's a replacement for /etc/init/mountall-net.conf in case you should need it: https://paste.ubuntu.com/p/NyPKz7mZYD/
[01:25] <wasanzy> tomreyn: I need it because the kernel install didn't solve it
[01:25] <tomreyn> wasanzy: so neither of the two newly added kernels fixes it?
[01:29] <wasanzy> tomreyn: v4 fixed it
[01:29] <tomreyn> if so, boot into the recovery shell again, configure the network manually (if you want to download the replacement file), move the existing /etc/init/mountall-net.conf out of the way and place my replacement there, then boot again.
[01:29] <tomreyn> oh nice
[01:30] <wasanzy> tomreyn: it took sometime but finally boot
[01:30] <wasanzy> I will want to disable the network filesystem  mounting so I will add your script
[01:30] <tomreyn> wasanzy: so for all we know this is a bug in the older kernels. it's quite bad if it affects the GA kernel, but the one you used to run may well be affected by many bugs, including numerous security vulnerabilities.
[01:32] <wasanzy> yes sure
[01:33] <tomreyn> wasanzy: it's also here in case you'd like to wget it: http://termbin.com/4u64
[01:34] <tomreyn> unfortunatley this doesn't work over SSL. well it does, but verifying the certificate will fail.
[01:35] <tomreyn> anyways, you can just: sudo mv /etc/init/{,.}mountall-net.conf ; wget http://termbin.com/4u64 | sudo tee /etc/init/mountall-net.conf
[01:36] <tomreyn> anyways, you can just: sudo mv /etc/init/{,.}mountall-net.conf ; wget -O- http://termbin.com/4u64 | sudo tee /etc/init/mountall-net.conf
[01:36] <tomreyn> ^ fixed
[01:38] <wasanzy> tomreyn: thank you very much. I really appreciate your support.
[01:38] <wasanzy> I wish to keep in touch with you, I have a lot to learn from you
[01:38] <tomreyn> wasanzy: you're welcome. let's hope none of your drivers have fallen asleep.
[01:39] <wasanzy> Yes, am hoping too
[01:39] <tomreyn> wasanzy: you can come here and ask your questions, sometimes i'm around, often someone else is, and several regulars here know more than i do.
[01:43] <tomreyn> wasanzy: you're right in that we should probably have taken the approach to move this file out of the way immediately, which would probably have allowed you to have a muc shorter maintenance. but then this would only have been a worse workaround than to run a supported kernel image (which seems to be the actual fix, not a workaround).
[01:43] <tomreyn> wasanzy: i recommend you either uninstall the kernel images you don't want to use now or to set which one to boot by default so that this system is reboot safe.
[01:44] <tomreyn> https://askubuntu.com/questions/216398/set-older-kernel-as-default-grub-entry discusses how to do thi
[01:44] <tomreyn> s
[01:45] <wasanzy> tomreyn: That is fine, thanks a lot
[01:45] <wasanzy> it has given me an experience
[01:45] <tomreyn> you're welcome. and keep in mind this system will be end of life in april. ;)
[01:46] <wasanzy> yea, we are replacing it with 16.04
[01:46] <tomreyn> 18.04 is out, too ;)
[01:46] <tomreyn> also LTS
[01:46] <wasanzy> yea the app can't work with 18.04
[01:47] <tomreyn> oh and i recommend you look into configuring dell drac for out of band management / remote access
[01:47] <wasanzy> yea sure
[01:47] <tomreyn> less walking into the server room ;)
[01:53] <cyborgjedi> tomreyn sorry  yesterday i feel sleep bro
[01:54] <cyborgjedi> u ask me if my linux is fully patch
[02:13] <tomreyn> cyborgjedi: i don't remember the details, you'd need to sum it up again.
[02:13] <cyborgjedi> libcurl
[02:14] <tomreyn> this is possibly the name of a package, not a summary of what the issue is about or what you're like to do and where / which environment.
[02:14] <cyborgjedi> i was installing ncmpcpp with  mpd using brew
[02:14] <cyborgjedi> and i get an error on return
[02:14] <cyborgjedi> that  i need libcurl
[02:14] <cyborgjedi> but ubuntu dont recognize it
[02:15] <tomreyn> brew? i know this exists on os x, does it exist on linux, too?
[02:17] <cyborgjedi> yes
[02:17] <cyborgjedi> is perfect on linux
[02:17] <tomreyn> ok http://linuxbrew.sh/ suggests it does.
[02:18] <tomreyn> which ubuntu version do you run?
[02:18] <cyborgjedi> last one
[02:19] <cyborgjedi> 18.04
[02:19] <tomreyn> the latest (not last one, i hope) is 18.10
[02:19] <tomreyn> if you run 18.04 lts, you can just sudo apt install ncmpcpp
[02:20] <cyborgjedi> 18.10 still beta
[02:20] <cyborgjedi> bro
[02:20] <tomreyn> !18.10
[02:20] <tomreyn> okay we should edit this
[02:21] <tomreyn> it was released this month
[02:21] <cyborgjedi> oh ok
[02:21] <cyborgjedi> cool
[02:23] <tomreyn> 18.10 is not an lts release. it also doesn'T provide this package
[02:28] <cyborgjedi> so what distro you can suggest me to use
[02:28] <gxnyne> What do you plan to do? How experienced are you?
[02:29] <gxnyne> What are your system specs?
[02:29] <cyborgjedi> i advance but many times i dont use my laptop
[02:30] <cyborgjedi> im have different jobs
[02:30] <cyborgjedi> tire shop thats what i do now
[02:30] <cyborgjedi> but i have done to much with ubuntu
[02:38] <tomreyn> cyborgjedi: it's available in all supported releases, i was mistaken there https://packages.ubuntu.com/search?keywords=ncmpcpp
[02:49] <dos000> $gnome-terminal -p gives this `GNOME_TERMINAL_SERVICE=:1.102` <--- anyone know what this srvice is meant to do ?
[02:54] <kaiser> hello, im having issues getting my ssh keys added on login. everytime i open a new terminal, i have to add my keys manually.
[02:59] <Sir_Andrei> Hi
[02:59] <Sir_Andrei> People, when I upgrade my computer said: Correcting dependencies... Done, no problem with that.
[02:59] <Sir_Andrei> My problem is I have that into a script and it asks for confirmation.
[03:00] <Sir_Andrei> How can I automate this confirmation?
[03:00] <Sir_Andrei> I mean, kinda -y or something like that.
[03:03] <kaiser> Sir_Andrei: what?
[03:06] <Sir_Andrei> Kaiser, Well, I'm the autor of a script called xubucleaner.sh
[03:06] <Sir_Andrei> I have it on my Github.
[03:07] <Sir_Andrei> Well, I want something like a -y to automatically confirm "Correcting dependencies..." message when uprgrading.
[03:07] <kaiser> dude
[03:07] <kaiser> what
[03:16] <cyborgjedi> i kno tomreyn the problem is that becasue that library not work perfect
[03:31] <th_> any good command to dump midi file information? like tracks/sequences
[03:35] <th_> found one, mftext in abcmidi
[03:46] <gbellinoz> Where should I go to ask about S/MIME and Thunderbird? #thunderbird only has 15 people so that can't be it...
[03:47] <foureight84> is 4.18 officially out for 18.04?
[03:47] <foureight84> i've been using rc build for hades canyon nuc. but i hear that 18.10 has support for it because it's on 4.18 officially
[03:47] <cyborgjedi> to installed just type sudo apt install mime
[03:48] <cyborgjedi> and sudo apt install thunderbird
[03:48] <tomreyn> foureight84: linux 4.18 wont be available via HWE on 18.04 until february.
[03:49] <guiverc_d> foureight84, HWE kernel upgrades start at 18.04.2 I believe; we're at 18.04.1 only currently
[03:49] <foureight84> tomreyn, i see. so there's no way to even manually install officially signed kernels?
[03:49] <cyborgjedi> why bro
[03:50] <tomreyn> foureight84: 'proposed' has the hwe package already, but i'm not sure whether it's secureboot signed.
[03:50] <foureight84> because hades caynon has the new vega m integrated chip. doesn't work properly on 4.15
[03:52] <guiverc_d> foureight84, I've a 18.04 box using 4.18 kernel (kernel team ppa), so yes it's possible, but its for testing purposes, not production
[03:52] <cyborgjedi> guys is true that deepin linux has a malware
[03:52] <foureight84> yea
[03:52] <foureight84> i'm actually on 4.19rc4
[03:53] <tomreyn> !deepin
[03:53] <foureight84> but i am looking for secureboot signed 4.18 which isn't available
[03:55] <tomreyn> foureight84: i suspect ubuntu 18.10 provides secureboot signed 4.18, but as to whether that's enough motivation to upgrade ymmv
[03:55] <tomreyn> maybe just disable secureboot for now
[03:55] <cyborgjedi> yes deepin
[03:55] <foureight84> tomreyn, yea i suspect that it does too but i don't want to upgrade it
[03:55] <cyborgjedi> i saw a video
[03:56] <tomreyn> cyborgjedi: we only support ubuntu here
[03:56] <cyborgjedi> i know
[03:56] <cyborgjedi> i was just curious
[03:56] <cyborgjedi> about me
[03:56] <tomreyn> ok there is #ubuntu-offtopic
[04:02] <foureight84> i find it odd that 18.10 gets 4.18 official support but 18.04 won't be available until february. i don't understand the reason behind it
[04:02] <tomreyn> !latest
[04:08] <arunangshu> I am using ubuntu 14 on virtual machine and my host machine is windows i want to share folder between them . how can i do so . please help
[04:08] <cyborgjedi> install samaba server
[04:08] <cyborgjedi> i will let you shared the file
[04:10] <arunangshu> but for now i am using "sudo mount -t vboxsf Virtual_Box /home/arunangshu/WindowsShare" to share my folder each time i log on to virtual machine
[04:10] <foureight84> what vm software are you using? if it's vbox or vmware you can create a shared folder
[04:10] <foureight84> that is if you don't need it available on the entire network
[04:10] <cyborgjedi> exactly
[04:10] <cyborgjedi> thats another way
[04:10] <cyborgjedi> maybe you have virtualbox
[04:11] <arunangshu> yes i using vmbox and i see see my shared folder in ubuntu file browser but  i am not able to get access
[04:12] <arunangshu> it says "You do not have the permissions necessary to view the contents of “sf_Virtual_Box”."
[04:12] <foureight84> look at the shared folder settings in vbox and see if it's set to readonly
[04:12] <arunangshu> vbox
[04:13] <foureight84> that usually what happens. and you need the vm off before settings will take place
[04:13] <tomreyn> arunangshu: echo 'Virtual_Box /home/arunangshu/WindowsShare vboxsf defaults 0 0' | sudo tee -a /etc/fstab
[04:13] <tomreyn> this will mount it at VM boot
[04:14] <foureight84> so i was doing an apt upgrade while talking to you guys and it looks like the 4.15 kernel update has been frozen during the upgrade process for the past 15 minutes https://pastebin.com/u0e1K0Ep
[04:15] <foureight84> how do i check what's going on? syslog?
[04:16] <tomreyn> dmesg may have hints on it, syslog is also worth a try, but this is very odd.
[04:17] <foureight84> strange not seeing anything odd
[04:18] <tomreyn> either the system is so busy that there are not enough cpu cycles to process or, more likely, but still a bad and unusual situation , there is almost no i/o bandwidth
[04:18] <foureight84> hmm
[04:18] <foureight84> must be that 4.19 rc kernel doing its magic then
[04:18] <tomreyn> vmstat should tell
[04:18] <foureight84> procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
[04:18] <foureight84>  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
[04:18] <foureight84>  0  0      0 16434776<PHONE_NUMBER>304    0    0    19    52  116   74  9  3 88  0  0
[04:19] <foureight84> ops sorry should have used pastebin
[04:21] <duoi> foureight84 /topic
[04:23] <tomreyn> !paste | foureight84
[04:24] <tomreyn> this system is mostly idle. another possible explanation is that /boot ran full
[04:24] <tomreyn> df -h | pastebinit
[04:28] <foureight84> yea i didn't see anything odd running df or free -m
[04:29] <foureight84> https://pastebin.com/v2rC0BtK
[04:30] <tomreyn> looks fine. no idea.
[04:30] <foureight84> ah crap
[04:30] <tomreyn> nothing in dmesg?
[04:31] <foureight84> yea i'm not seeing anything related to kernel or apt
[04:31] <foureight84> this is a terrible idea but i'm going to restart
[04:31] <foureight84> famous last workds :/
[04:48] <dlam> im on 18.04, and my MSI GS60 laptop fan keeps turning off and on:   any ideas?
[04:48] <dlam> on how to debug?
[04:49] <lotuspsychje> dlam: you sure its an ubuntu issue and not like normal procedure?
[04:50] <dlam> i dont think its an Ubuntu issue,  i updated the laptop's BIOS and it now has this issue  x__x
[04:50] <lotuspsychje> dlam: more a question for ##hardware mate
[04:50] <dlam> im wonderin' if there's maybe some command I can type to debug why the fan is turning off or on
[04:51] <dlam> ooo kk #hardware
[04:52] <lotuspsychje> dlam: there are some tools you can install informative, like lm-sensors and cpufreq
[04:53] <lotuspsychje> !info laptop-mode-tools | dlam also usefull
[04:58] <dlam> thanks thx tanx
[05:12] <nisankhindia> .
[05:17] <sofia07> Hello guys- I installed ubuntu server 18.04 and I cannot see virt-manager there ?
[05:19] <lotuspsychje> sofia07: join #ubuntu-server please
[05:30] <cyborgjedi1> im back guys
[05:32] <lotuspsychje> cyborgjedi1: welcome back
[05:32] <cyborgjedi1> thks
[05:33] <ZaZaQR> hello
[05:34] <lotuspsychje> morning ZaZaQR
[05:35] <ZaZaQR> its 10:35pm here
[05:36] <kalikatz> its 10:36pm here
[05:36] <lotuspsychje> ZaZaQR: yes #ubuntu has users all over the world with different timezones
[05:37] <cyborgjedi1> guys im having erros configuring mpd and ncmpcpp
[05:37] <ZaZaQR> lol i know
[05:40] <nisankhindia> cyborgjedi1: For MPD and MPD client configuration goto https://www.musicpd.org/ and for ncmpcpp goto their developer documentation guides
[05:40] <UserInterface> Hey guys, i installed Kodi on a fresh install of ubuntu and when i launch it nothing happens or i get a blank window.  Do you think I have a problem with Kodi or with Graphic driver?
[05:40] <lotuspsychje> see also the #mpd channel cyborgjedi1
[05:40] <nisankhindia> cyborgjedi1: and after following the step from the above mentioned guide .. if still there you have issues than revert back to us
[05:42] <nisankhindia> UserInterface: provide system information , distribution release version , Kodi log details
[05:43] <cyborgjedi1> ok thks for the help
[05:43] <UserInterface> ubuntu 18, kodi from there homepage\wiki latest release. Nuc with Intel HD 5500 Graphics
[05:44] <UserInterface> oh kodi log.. let me see if i can find that.
[05:44] <UserInterface> that would help
[05:44] <IniGit> hello
[05:45] <IniGit> When I download and install  something from the Ubuntu repository via apt-get install, do I download and install a binanry there or does it build something from source and install?
[05:46] <lotuspsychje> IniGit: sudo apt install package does everything for you
[05:46] <nisankhindia> UserInterface: There is no Ubuntu 18 such thing , it should be 18.04 / 18.04.1 / 18.10 .. and remove the kodi from your system for now , reinstall the same using terminal or software managment package which is available in your system .. KODI is availbale using ubuntu official repositories
[05:47] <UserInterface> sql error or missing database. I should be able to find that now.
[05:47] <UserInterface> yes. 18,04,1
[05:47] <lotuspsychje> IniGit: we strongly advice to install packages from the repos instead of building from source
[05:47] <UserInterface> i can work it out now i know where problem is.. i should have thought of a log
[05:49] <nisankhindia> UserInterface: remove the package for now . if you have not used any PPA for the installation than install the same directly from ubuntu repository .. software-common-properties dependencies may need to be installed in your system along with KODI
[05:51] <ZaZaQR> whoa
[05:51] <cyborgjedi> sup
[05:54] <UserInterface> : i installed with instructions from wiki
[05:55] <nisankhindia> IniGit: The .deb-files you have allready downloaded are stored in /var/cache/apt/archives/
[05:56] <UserInterface> oh, you know what os updated whilst i was half way through commands.. ill see if i can uninstall
[05:57] <UserInterface> whats ppa?
[05:57] <UserInterface> oh, nevermind i see that was a command i ran
[05:58] <nisankhindia> UserInterface: what is the output of " dpkg -s kodi "
[06:00] <UserInterface> lots. but ends with this package contains all the architecture independent data needed to have working kodi.
[06:01] <UserInterface> i'll just uninstall and install should fix it i think. guess it had locked files due to update
[06:01] <nisankhindia> UserInterface: give a try using ubuntu repository to check whether you face the same issue , instead of downloading / installing it from their website
[06:03] <UserInterface> when i tried that it said not found
[06:03] <UserInterface> well i tried sudo apt-get install kodi.. assuming that is correct.
[06:04] <UserInterface> should i install over the top or uninstall first?
[06:04] <nisankhindia> UserInterface: do you have followed this https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux
[06:05] <IniGit> Why is there no icecat package in the ubuntu repo?
[06:08] <nisankhindia> IniGit: it's depends ... availability of apps in ubuntu repository has a complicated background work , details are available in ubuntu wiki or any other FOSS discussion forum
[06:09] <IniGit> isankhindia: The only way to install Icecat is to compile it from source, which is really unrealistic for any enduser
[06:10] <IniGit> It's like a 2 page compile process
[06:10] <UserInterface> when i do 'sudo apt-get install kodi' it says alredy newest version
[06:10] <UserInterface> not sure how to uninstall..
[06:11] <nisankhindia> InitGit: IceCat used to be available in a repository created by the Gnuzilla Team, but that project is dead.
[06:12] <IniGit> nisankhindia: Icecat is dead?
[06:12] <IniGit> nisankhindia: I read that this is a high priority project
[06:12] <nisankhindia> UserInterface: do you have followed the process mentioned in kodi wiki?? if so that use purpe-ppa to complete remove of PPA and package than install it again
[06:13] <nisankhindia> InitGit: Confused !!! read here https://wiki.ubuntu.com/IceCat
[06:14] <IniGit> nisankhindia: I already read that page before, what do I see there?
[06:15] <UserInterface> i followed this https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux
[06:15] <UserInterface> and did these commands
[06:15] <UserInterface> sudo apt-get install software-properties-common sudo add-apt-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install kodi
[06:15] <IniGit> I see that the link is broken
[06:16] <nisankhindia> InitGit: i think there are more advanced browsers avaibale in the market than IceCat
[06:16] <UserInterface> also tried the unistall commands but they didnt uninstall
[06:17] <IniGit> nisankhindia: What is in your opinion the best choice from an free software standpoint?  You have violated rules . thanks for in this channel
[06:32]  * pukey420 quietly masturbates.
[06:33] <UserInterface> thanks nisankhindia it's working now
[06:34] <nisankhindia> UserInterface: welcome
[06:34] <UserInterface> now i just need ot map drives and i can have a nap :)
[06:35] <pukey420> US Election Party Mon. 11/5/18 23:59
[06:35] <tachikomas> I have a question (non specific ubuntu) but its actually happening on my ubuntu. I have a encryptfs home. Dropbox scream that it's not supported anymore, and i should change filesystem. Is there anyway to decrypt the /home ? Or i need to create a new partition (with ecryptfs) and transfer everything on it ?
[06:36] <UserInterface> does someone have a link i can follow to permanently map a drive to my nas?
[06:36] <lotuspsychje> UserInterface: feel free to showoff nuc in #ubuntu-discuss im interested
[06:37] <lotuspsychje> !nfs | UserInterface
[06:37] <UserInterface> its nothing fancy, just a old faulty one from work i repaired
[06:38] <UserInterface> thanks ubottu.. they are quite different to the link i had up
[06:39] <lotuspsychje> UserInterface: always keep in mind there are 2 ways, the ubuntu way and the internet fishy tutorial way :p
[06:39] <tachikomas> Or even better way, if i have a Non lvm media, can i make it lvm without making a full format :)
[06:39] <lotuspsychje> UserInterface: we always try to focus on the ubuntu way
[06:40] <UserInterface> which is probably why i can even see my desktop.. lol
[06:41] <lotuspsychje> !lvm | tachikomas can this help?
[06:42] <tachikomas> Ok :) i'l take a look at the doc :)
[06:44] <UserInterface> that link appears to be setting up a NTFS server.. not connecting to one unless i am missing something
[06:46] <UserInterface> oh wait. i can see it already in 'files'
[06:46] <gigirock> UserInterface, so is already mounted...
[06:47] <UserInterface> guess so, it was under other locations.. does ubuntu assign drive letters or is that a windows thing?
[06:47] <gigirock> UserInterface, if oyu perform 'mount' you can see what is actually mounted
[06:47] <nisankhindia> UserInterface: Good ! you seems to be sailing in the ocean of information . good luck
[06:48] <nisankhindia> UserInterface: read the basics of  Linux . You will have these answers .. Linux Filesystem and Directory structures
[06:48] <UserInterface> i just right clicked and said mount and i can see my files.. not sure how i add that ass a path in kodi though.. do i still just do \\NAS\Path?
[06:49] <UserInterface> Yeah i just want to get kodi on, then i will learn everything when i switch my laptop from win 10
[06:49] <UserInterface> i can take my time with everything else.
[06:50] <UserInterface> with out my flatmate asking me if it still broken every 2 min
[06:50] <nisankhindia> UserInterface: see in the address of the path in files
[06:51] <nisankhindia> UserInterface: what to put in kodi , the hint is in the files browser address bar
[06:58] <gigirock> !info youtube-dl
[06:59] <nisankhindia> gigirock: instead of youtube-dl try CLIPGRAB
[07:00] <gigirock> nisankhindia, never used... i will check for that
[07:01] <nisankhindia> gigirock: features are good , search integrated , including all other features that youtube-dl has , with graphical way
[07:01] <gigirock> !info clipgrab
[07:02] <UserInterface> is the only way to permanently mount a network share through fstab? Can i not just use the GUI?
[07:02] <nisankhindia> gigirock: it is not available through ubuntu repo , PPA or download from their website
[07:03] <nisankhindia> gigirock: PPA info --> https://launchpad.net/~clipgrab-team/+archive/ubuntu/ppa
[07:04] <gigirock> UserInterface, if you 'studied' , you can discover that you can 'mount' after the user login in some '.auto' directory under /home/dkg/.configure
[07:05] <gigirock> UserInterface, but you did not study
[07:05] <UserInterface> i'm still looking but i just wanted a gui. my share doesn't even require permissions so the guides ive found so far are overly complicated
[07:05] <gigirock> UserInterface, life is complicated
[07:06] <lotuspsychje> gigirock: UserInterface returned to ubuntu 1 after 15y, give him a little break
[07:06] <gigirock> 15 years ?
[07:07] <UserInterface> i only had it last time for a about a week. It was the fstab that made me give up last time because I could never get it to work.. hence why i am trying to avoid it. Seems that if i can click mount in 'files' it should just have a start with windows option
[07:08] <UserInterface> haha start with ubuntu.. i was just checking before i loose the little hair i have left
[07:08] <nisankhindia> see you guys later .
[07:10] <afx_> Hello everyone! Does anyone know if you can detach an RDP connection with Remmina?
[07:11] <afx_> or how can you view 2 RDP connection windows at the same time?
[07:18] <UserInterface> all these instructions are complicated because i don't use permissions to connect to this drive. its public. Can i just add '//NAS/Share' to the fstab and thats all because i don't require any of the rest of it?
[07:18] <UserInterface> or 'smb://nas.local/share
[07:19] <lotuspsychje> !samba | UserInterface
[07:23] <UserInterface> its a NAS not a windows share, but i'll look at those. ta
[07:26] <lotuspsychje> UserInterface: did you get a manual with your nas? should not be too hard to access it over network right?
[07:30] <UserInterface> i can access nas fine. If i go files\other locations then i can get to the contents.
[07:30] <UserInterface> I updated my fstab and can see my mount on the side of files but
[07:31] <UserInterface> it says operation permitted for root only..
[07:31] <UserInterface> just working through that
[07:53] <farnerup> How do I upgrade from 17.04 to 18.04?
[07:53] <farnerup> 17.10 is no longer supported so do-release-upgrade will not allow me to upgrade to it
[07:57] <farnerup> Trying this: https://unix.stackexchange.com/questions/460306/ubuntu-upgrade-from-17-04-to-18-04
[08:04] <user53252> hi, Im trying to use localectl to set layout switching config, but it doesnt work
[08:04] <user53252> how can I fix that?
[08:12] <guiverc_d> farnerup, I would suggest just install 18.04 LTS using something-else, selecting your partitions & not-format ... 17.04 to 18.04 is not tested as not supported officially.   only use an LTS if you don't want to upgrade every 9 months.
[08:13] <baako> hi guys, just had a look at my var/log/apach2 directoy and i can see alot of files ending with .1, .10.gz any idea how this is created?
[08:15] <elias_a> baako: Logfiles. What is it you are asking?
[08:15] <nisankhindia> baako: they are the part of package for logging purpose and keeping old logs moved to such way in a specific time intervals
[08:15] <baako> elias_a, want to know how the .gz files are created i have alot of them lising from 1 - 87
[08:16] <baako> nisankhindia, do the get created when the log file is full or something?
[08:16] <elias_a> baako: Are you really asking _how_ or are you asking _why_?
[08:17] <nisankhindia> baako: logs handled daily , weekly , monthly basis , it is known as rotation ( automatic in this case )
[08:18] <baako> nisankhindia, thanks :)
[08:23] <radkos> is it possible to add more facilities then the defined one
[08:23] <radkos> let's say i want to have facility named asterisk, this is due to making external (centralized) rsyslog server and i want to place the program's logs into their correct paths
[08:23] <radkos> what i tried to use is $template fail2ban,"/var/log/ServersLogs/%HOSTNAME%/%facilityname-text%.log"
[08:23] <radkos> and then fail2ban.* -?fail2ban
[08:30] <zen_coder> can anybody tell me how I can install pip3 for ubuntu 14.04?
[08:31] <blackflow> baako: the logrotate package does that, and log rotation rules defined under /etc/logrotate.d  which various other packages, like apache, drop in their rotation rules.
[08:33] <zen_coder> sudo apt-get install python3-pip leads to =>
[08:33] <zen_coder> E: Unable to locate package python3-pip
[08:34] <blackflow> !info python3-pip | zen_coder
[08:34] <blackflow> !info python3-pip trusty
[08:34] <osa1> how do I reset the software repos used in Ubuntu 18.04? the mirrors I'm using somehow got bad (I'm having hash mismatch), I want to switch to some other mirror but not sure how to do it
[08:34] <zen_coder> blackflow: what does this mean?
[08:35] <blackflow> zen_coder: it means you need to enable the universe repository
[08:35] <zen_coder> how to do this?
[08:36] <blackflow> zen_coder: https://help.ubuntu.com/community/Repositories
[08:36] <zen_coder> sudo add-apt-repository universe => 'universe' distribution component is already enabled for all sources.
[08:37] <blackflow> zen_coder: you ran   apt update   ?
[08:38] <baako> https://kopy.io/FeqOv i tried sudo apt install php7.2-pdo and after restart apache but log file still shows this error with an updated timestamp
[08:39] <blackflow> baako: have you installed php7.2-mysql ?
[08:39] <blackflow> PDO is just an API, you need the database driver too
[08:40] <baako> blackflow, let me run the install common again
[08:40] <baako> command
[08:41] <baako> blackflow, it was already installed
[08:44] <UserInterface> I followed 6 guides.. got only know what i have installed or edited.. in the end i followed this (except had to install smbclient) . but that still disappeared with a reboot. Then i found that i could add to favourites and it remembers on restart except that i had to turn automatic logon off which sucks because its just a media centre..
[08:44] <UserInterface> *god
[08:45] <UserInterface> so painful for what is essentially a short cut to a network location..
[08:45] <blackflow> baako: which ubuntu?
[08:46] <UserInterface> this is one of those things that you want to do immediately when you get a new machine or try a new OS. should not be so stupidly complicated.
[08:47] <baako> blackflow, 16.04.5 AWS
[08:48] <afx_> Hello ! On Ubuntu 18.04 with stacked monitors I have problem moving from a corner on a bottom screen to top screen! Is there a way to fix this?
[08:48] <blackflow> baako: there's no 7.2 for xenial, are you using a PPA (in which case you'd have to talk to the maintainer)
[08:49] <blackflow> baako: but otoh, check that the module is installed. on bionic, it would be /usr/lib/php/20170718/pdo_mysql.so .  Also check the FULL log entry, it's cut out in your paste
[08:49] <baako> blackflow, okay need to call amazon asw team
[08:49] <baako> blackflow, i did check and didnt see pdo_mysql.so
[08:50] <UserInterface> anyway i think i have solved it. i'll try and map it to my apps tomorrow after a bottle of bourbon. Thanks nisankhinda and gigirock and anyone else i forgot
[08:50] <blackflow> baako: dpkg -L php7.2-mysql | grep pdo_mysql.so   lists the correct path?
[08:50] <blackflow> baako: the one PHP is apparently trying in that log entry
[08:52] <baako> blackflow, /usr/lib/php/20170718/pdo_mysql.so
[08:52] <baako>  thats what the command return
[08:52] <blackflow> baako: reinstall php7.2-mysql then, if that file is missing, but dpkg lists it in the package.
[08:52] <baako> where do i get/how to get a copy of the pdo.myql.so
[08:52] <blackflow> apt install --reinstall php7.2-mysql
[08:53] <gigirock> UserInterface, ok for bourbon
[08:55] <baako> blackflow, seems like it has install the pdo_mysql file
[08:55] <blackflow> baako: so, problem solved?
[08:56] <baako> blackflow, i think so
[08:58] <UserInterface> gigrock.. took 5 hours to reinstall kodi and map a drive.. i think a whole bottle is in order!
[09:12] <MIST__> hey guys, got some files in a directory called xxxxxxx - 01 - yyy.log that i'd like to delete. There are also files called xxxxxxx - 001 - yyy.log that i must not delete
[09:12] <MIST__> i'm trying to use find with regex but to be honest, my regex could need some work
[09:12] <MIST__> is there any other simpler way to do this?
[09:13] <MIST__> looks like i just fixed my regex, thanks anyway xD
[09:19] <blackflow> MIST__: you can use ? to mean one character, in bash expansion. for example    rm -i /path/to/*\ -\ 0?\ -\ *.log
[09:27] <icewewe> I'm trying to install 18.04 on a server using serial console via the BMC. I can see kernel messages, but as soon as the Ubuntu/Debian installer starts, I lose serial console
[09:28] <icewewe> TERM=vt102 debian-installer/framebuffer=false console=ttyS1,115200n8 console=tty0 console=tty1
[09:28] <icewewe> after the installation completes and the server reboots, serial console works through boot and up to a login console
[09:28] <icewewe> but I *need* the serial console to work during the installer as we are using the sol from the BMC to log the installation. Without serial output, this doesn't work
[10:16] <inky> my keyboard backlight is not turning back on on lid open. how can i fix this?
[10:25] <JimBuntu> inky, it may be helpful to paste more info... such as Ubuntu flavor, kernel version, laptop make/model /etc
[10:25] <JimBuntu> !paste | inky
[10:54] <jophish> Hi all
[10:54] <EriC^> hello
[10:54] <jophish> I'm running some software installed with the Nix package manager and it fails to find some ubuntu gtk modules
[10:55] <jophish> I reported the issue here: https://github.com/NixOS/nixpkgs/issues/24006
[10:55] <jophish> I'm wondering if anyone here has any insight into why this is happening and how I might go about fixing it
[10:59] <TJ-> jophish: nixpkgs isn't a supported package management tool on Ubuntu
[11:00] <akkonrad> i have an issue with the sed command. I have a html snippet that contains a lot of special characters and I want to replace it with command, but beacuse of the snippet content it fails.
[11:00] <EriC^^> akkonrad: try using backslash to escape the special chars
[11:00] <TJ-> akkonrad: welcome to the world of regular expressions :)
[11:01] <akkonrad> EriC^^, I will show you the snippet in the second.
[11:02] <TJ-> akkonrad: are you using extended regexps? as in "sed -E ..."  ?
[11:03] <akkonrad> https://www.pastery.net/kmddtf/
[11:03] <akkonrad> what I get is error: sed: -e expression #1, char 45: unknown option to `s'
[11:04] <jophish> TJ-: Sure, I'm aware of that
[11:05] <akkonrad> can I escape it before I pass it to sed?
[11:05] <akkonrad> I mean can I escape the variable
[11:07] <TJ-> akkonrad: simple: "sed -i "s@$LOOKUP@$REPLACEMENT@g" index.html "
[11:07] <TJ-> akkonrad: in other words, use different delimiters (that do not exist in your search/replace strings) in the sed expression
[11:10] <coconut> Can lines in txt files be endless long?
[11:11] <rory> no because a "line" is just a series of bytes terminated by a newline
[11:11] <rory> so at what position would the newline be? infinity? doesn't work
[11:12] <rory> why do you ask?
[11:13] <macopython> Is bootsect.S still used ?
[11:14] <coconut> rory: not really a reason, just was thinking about line endings in general because of sed topic above. :)
[11:17] <rory> I guess /dev/zero is endless, and /dev/urandom
[11:17] <rory> but it's not a line because it doesn't have a line ending
[11:20] <coconut> rory: so by spec this is not limited?
[11:21] <rory> no /dev/zero is a "file" that will continue to give zero bytes forever when read
[11:21] <rory> it's not a "real" file
[11:21] <coconut> no i meant for txt files only
[11:22] <rory> my point is it's impossible IN PRINCIPLE for a "line" to have infinite length, becuase "a line" is just a sequence of bytes, the last one of which is a newline
[11:22] <JimBuntu> Depending on the situation, some editors will detect the lack of a newline char at the end of a document and alert the user of the missing ending newline
[11:22] <rory> and in our universe you cannot create an infinite sequence of bytes AND set the last one to a particular value
[11:23] <rory> you could consider "endless" to be "the amount of memory available" then the answer would be yes
[11:23] <coconut> :)
[11:27] <FishBone000> I have problem booting up my ubuntu
[11:27] <FishBone000> Could anyone here give a hand?
[11:27] <rory> probably, what happens when you try to boot?
[11:28] <FishBone000> it stucked at Started Hold untill boot finishes up
[11:28] <rory> you see this? A start job is running for Hold until boot process finishes up (Xmin Xs/no limit)
[11:29] <FishBone000> i have the same problem last weekend and i fixed it by removing an broken package in mantenance mode, but this time no more broken pakages
[11:29] <FishBone000> well, no
[11:29] <FishBone000> it just says
[11:30] <FishBone000> eh, let me reboot it, i forgot what it said
[11:31] <rory> if you hold Shift while starting up and select maintenance mode, then from that menu select "start ubuntu normally" or similar, does it work fine? or same problem.
[11:31] <FishBone000> so it said [   OK   ]Started Hold until boot process finishes up.
[11:32] <FishBone000> well let me try it
[11:33] <FishBone000> i hold shift but no such maintanence mode showed up
[11:34] <EriC^^> FishBone000: it's under advanced > recovery mode
[11:34] <FishBone000> well, i have been to recovery mode
[11:36] <FishBone000> but if i chose "resume normal boot", it will then ask the root password and root shell prompt showed up
[11:36] <FishBone000> i could reboot from it though
[11:38] <FishBone000> So what now? Both booting up normally and from recovery menu wont work
[11:51] <sta7ic> good morning, i have a virtualization question regarding iommu. Ubuntu defaults group my LSI controller with my GPU and wondering if anyone has an advice
[11:53] <JimBuntu> sta7ic, Ubuntu or Fedora 28 ?
[11:54] <sta7ic> i think both, going to reboot into ubuntu to double check.. not sure which channel would be best for this topic
[12:00] <JimBuntu> sta7ic, either, so long as you apply whatever suggestions to the correct distro. It's not cross-posting unless you are in multiple Ubuntu channels :)
[12:01] <sta7ic> ill boot back into ubuntu to double check.. either way i dont think anyone will know or care but thats ok too =P
[12:04] <cyphex> Hey, could someone let me know if the latest (non-LTS) release plays well with ryzen chips?
[12:06] <cyphex> I read there were some issues in the past (GCC crashing, no SMT, etc.) that's why I'm asking.
[12:13] <adikwok> hello ..
[12:14] <adikwok> please help, how to merge partitions to / at /dev/sda8 ? i have /dev/sda1,2,5,6,7 and unallocated space.
[12:15] <adikwok> i has not find refference solution from askubuntu that works in my situation .
[12:19] <adikwok> i tried mount --bind --verbose /dev/sda7 /dev/sda8 .. and it made all apps can not work after mounted.
[12:19] <cryptodan> adikwok: can you run this in a terminal "sudo parted -l | nc termbin.com 9999" and share the link
[12:20] <qwebirc85113> Basic ubuntu terminal script issue... I am not experienced with linux at all. I have a working script given to me by a colleague. I have tested it. But I have written my own script which should call that script four times with different arguments in the call. However, I keep getting ./fourprog.sh 13: ./fourprog.sh: ./home/MYUSER/Downloads/write_sdcard.sh: not found
[12:20] <qwebirc85113> Of course the MYUSER is my actual user... they are both given +x using chmod.. any advice?
[12:21] <qwebirc85113> Both scripts are located in that Downloads folder, and I am standing in it when executing sudo ./fourprog.sh
[12:22] <JimBuntu> qwebirc85113, Did you mean to use './home/MYUSER' instead of '/home/MYUSER/ ?
[12:22] <cryptodan> qwebirc85113: does the file exist there?
[12:22] <john_rambo> I am having trouble updating 18.04 >>> https://paste2.org/EEnm08Ve ....What's the solution ?
[12:23] <qwebirc85113> JimBuntu: I don't know the difference :S I am not clear on what the dot does...
[12:23] <qwebirc85113> cryptodan: I do suspect the path is wrong, but I don't know how to check it
[12:23] <JimBuntu> ./ means it's the current directory
[12:23] <qwebirc85113> Oh it makes it a relative path?
[12:24] <JimBuntu> Yes, it's not looking for /home/blah
[12:24] <qwebirc85113> Great, thanks. It works now.
[12:24] <qwebirc85113> Told you it was basic :D thanks a lot
[12:24] <JimBuntu> yw
[12:25] <adikwok> cryptodan: http://termbin.com/u2cp
[12:28] <cryptodan> adikwok: for that work youll need to likely backup your data and reinstall
[12:29] <adikwok> cryptodan: i had made image, saved to my ext hdd, i just dont know if it can be used to restore or not.
[12:30] <adikwok> cryptodan: is there any other way instead of re-install ?
[12:30] <hc3> Hi is there kind of guide how to troubleshoot nvidia driver issues causing black screen on boot? Black screen itself mended by nomodeset but there is more troubles. Want to find the problem and make it work
[12:31] <cryptodan> adikwok: if the partitions were closer together then it would be easier but the way the partitions are setup it would be quite difficult
[12:33] <adikwok> cryptodan: wait.. i try to understand what you mean .
[12:33] <EriC^^> adikwok: you want to make sda8 with sda7?
[12:34] <EriC^^> sda7 is the current root fs and sda8 is empty?
[12:34] <EriC^^> sda5 looks like the current fs
[12:35] <adikwok> EriC^^: yes, i need more space for / which i thought it was located at /dev/sda8
[12:35] <EriC^^> aha sda8 is root fs sda5 is /home?
[12:35] <EriC^^> adikwok: can you pastebin the output of "df -h && swapon -s"
[12:38] <cryptodan> EriC^^: this is adikwok's partition lay out http://termbin.com/u2cp
[12:38] <EriC^^> yeah i have that
[12:38] <EriC^^> thanks though
[12:40] <john_rambo> I am having trouble updating 18.04 >>> https://paste2.org/EEnm08Ve ....What's the solution ?
[12:40] <EriC^^> john_rambo: it might be a bad cache on your isp's end
[12:41] <FunnyLookinHat> Anyone know if there are plans to backport libinput 1.12 from cosmic to bionic with a HWE?
[12:41] <john_rambo> EriC^^, Any workarounds ?
[12:41] <EriC^^> john_rambo: do you have another internet connection? mobile tethering for example
[12:41] <EriC^^> (just for the apt update command)
[12:41] <john_rambo> EriC^^, No ... Only got cable broadband
[12:42] <john_rambo> EriC^^, I changed the mirror from my country to main
[12:42] <john_rambo> EriC^^, But same thing
[12:43] <EriC^^> john_rambo: what does "wget -O /tmp/file http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/Packages.xz && md5sum /tmp/file" give?
[12:43] <EriC^^> mine ends with 6a as expected
[12:44] <john_rambo> EriC^^, https://paste2.org/dfZJO2yy
[12:44] <EriC^^> john_rambo: you could always try downloading manually bypassing the cache somehow and copy the file to its expected location in the apt stuff
[12:44] <EriC^^> yeah the md5sum isn't right, your isp has a cached version
[12:45] <john_rambo> EriC^^, Do you think changing the mirror will work ?
[12:45] <EriC^^> i doubt
[12:45] <EriC^^> or you could wait til your isp's cache expires
[12:46] <john_rambo> EriC^^, Okay
[12:47] <TJ-> john_rambo: the files aren't corrupt - both those SHA256 hashes exist in the archive - could be something weird going on at the archive level
[12:47] <EriC^^> TJ-: the same wget command gave me the expected 6a hash though
[12:50] <adikwok> EriC^^: here is df -h  && swapon -s  http://termbin.com/9dq4
[12:51] <EriC^^> adikwok: hmm, something isn't right there, can you run "df -h | nc termbin.com 9999" ?
[12:53] <TJ-> EriC^^: if you check the files you'll see the Phased-Update-Percentage fields are different; That means different users get different files for a while after the update was published to the archive. Looks like the user got caught in the middle of the window. See https://wiki.ubuntu.com/PhasedUpdates
[12:54] <TJ-> When I do a diff on the 2 files it shows for each package:
[12:54] <TJ-> -Phased-Update-Percentage: 30
[12:54] <TJ-> +Phased-Update-Percentage: 40
[12:55] <EriC^^> hmm
[12:55] <adikwok> EriC^^: here is df -h .. http://termbin.com/yk10
[12:57] <EriC^^> adikwok: ok, so sda8 is "/", what is sda5 ?
[12:58] <EriC^^> it doesn't appear to be "/home" from that list
[12:59] <adikwok> EriC^^: sda5 is not mounted
[12:59] <EriC^^> do you know what it is?
[12:59] <adikwok> i dont know where goes my /home is
[13:00] <EriC^^> adikwok: it could be a part of "/" sda8
[13:00] <adikwok> sda 5 is empty space, which i used to install windows
[13:00] <EriC^^> adikwok: ah nice, you could expand sda8 using sda5, it's right next to it
[13:00] <adikwok> i dont use it, since i hope someday can get back my corrupted windows file from that sda5
[13:00] <EriC^^> what windows file?
[13:01] <adikwok> pagefile.sy
[13:01] <adikwok> *.sys
[13:01] <EriC^^> hmm what happens when you try mounting it?
[13:01] <EriC^^> sudo mount /dev/sda5 /mnt
[13:01] <adikwok> wait.
[13:02] <adikwok> EriC^^: /dev/sda5 on /mnt type ext4 (rw,relatime)
[13:03] <EriC^^> adikwok: any files there? what does "ls -l /mnt" give?
[13:03] <adikwok> only adi .. lost+found
[13:03] <adikwok> seems like folders, i guess
[13:04] <EriC^^> aha i guess it's been formatted over the windows fs
[13:05] <EriC^^> adikwok: did you ever try using photorec to get the file back?
[13:05] <adikwok> EriC^^: didnt understand how to use photorec, .. only ever tried testdisk
[13:06] <EriC^^> adikwok: in photorec there's the "file opts" tab at the bottom, you select the type of file you want back and it goes searching for any matches
[13:06] <adikwok> so, in the meantime, i left unmount sda5, .. EriC^^
[13:06] <EriC^^> yeah that's a good idea
[13:07] <BluesKaj> Howdy folks
[13:07] <EriC^^> if there's no 'windows pagefile' file format there you can make your own custom one by giving it the file headers
[13:08] <adikwok> wait... i will try photorec.
[13:08] <EriC^^>  https://www.cgsecurity.org/wiki/Add_your_own_extension_to_PhotoRec
[13:08] <adikwok> yet im in love with ubuntu, try to get fastest gnome can be
[13:08] <EriC^^> i dont see any windows pagefile in the list of files, you can add it though assuming there's a common file headers it uses
[13:09] <EriC^^> adikwok: what is sda6 and sda7?
[13:10] <EriC^^> you could possibly use those 10gb + the extra 5gb unallocated as a separate /home partition and get more space on sda8
[13:10] <adikwok> sda6 and sda7 .. not mounted .. it was my previous ubuntu installation
[13:11] <adikwok> EriC^^: this is what i had trying to do ..
[13:11] <EriC^^> aha, type "sudo cfdisk /dev/sda"
[13:11] <EriC^^> then delete them, and make a new partition using the whole space
[13:12] <adikwok> i hadnt find how .. i tried reff from askubuntu .. using gparted, disks, none of those reff worked for my situation
[13:12] <adikwok> EriC^^: sudo cfdisk /dev/sda  .. i tried this today .. yet i confused in the numbers start, end, default,
[13:13] <EriC^^> adikwok: use the default starting sector
[13:13] <EriC^^> and for ending same thing, the default will let it use all the space it can
[13:14] <EriC^^> for type use '83' which just means ext fs
[13:14] <adikwok> which one i delete
[13:15] <EriC^^> sda6 and sda7, if you're sure you dont need them
[13:15] <PaddyF> :)
[13:15] <adikwok> wait .. i re-check it first
[13:18] <adikwok> EriC^^: .. i go to cfdisk and delete sda6,7 ?
[13:18] <EriC^^> yeah adikwok
[13:18] <adikwok> wait
[13:19] <EriC^^> this is what my pagefile.sys starts with http://termbin.com/31rn
[13:20] <EriC^^> which windows version was yours?
[13:21] <leonardus> Does this affect Ubuntu 18.10? https://twitter.com/hackerfantastic/status/1055517801224396800
[13:21] <adikwok> i deleted sda6,7 and got 8,9gb .. so . whats next?
[13:23] <TJ-> leonardus: reading twitter? nope :)
[13:23] <EriC^^> adikwok: create a new partition there using default starting and ending sectors (just hit enter when they ask for them)
[13:23] <leonardus> heres the CVE https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14665
[13:23] <adikwok> EriC^^: i had ever rm -rf pagefile.sys once .. and in the panick situation . i try to fix , do this do that, download this ,that ,, recover from windows .. format it , boot repair, boot rescue, reinstall, reinstalled ..
[13:24] <TJ-> leonardus: if you read the CVE and look at Ubuntu you'll see it only affects distros that ship the Xorg binary as setuid root. That generally only applies to distros that don't use a display manager. So no, Ubuntu is not affected
[13:24] <blackflow> actually....
[13:24] <EriC^^> adikwok: aha im curious how would pagefile.sys help though? you can decode stuff from it? is it the hibernated state of windows?
[13:25] <EriC^^> adikwok: which windows version was it btw?
[13:26] <TJ-> leonardus: see https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-14665.html
[13:26] <blackflow> the point is not setuid, but running xorg server as root, which is running as root in ubuntu if you use say nvidia proprietary driver
[13:26] <adikwok> EriC^^: in cfdisk, . im facing .. new partition , home-ext, 4,7gb, but it was from my unallocated space, instead of sda6,7
[13:27] <cryptodan> pagefile.sys contains memory information on processes running over time
[13:27] <EriC^^> adikwok: odd, try to delete it, then write the new partition table
[13:27] <EriC^^> cryptodan: aha
[13:28] <adikwok> cryptodan: all i remembered just need one rm -rf .. and all file gone,,.. linux has no mercy.
[13:28] <EriC^^> it's very obedient ;)
[13:28] <adikwok> worth lesson to experienced
[13:29] <TJ-> blackflow: ahhh, thanks for correcting me. Looking at the matrix it seems like 18.04+ is affected
[13:29] <adikwok> delete home-ext partition too?
[13:29] <EriC^^> i've rm'd my home dir as well, nowi have a backup script :D
[13:29] <EriC^^> adikwok: yeah
[13:29] <TJ-> blackflow: I guess it depends on if you can cause the DM to add options to the X server command line
[13:30] <TJ-> blackflow: after all, if you can execute the X server as root you don't need the exploit
[13:31] <immu> hi
[13:31] <immu> how do i copy files to my root partition folder
[13:32] <immu> or start nautilus with elevated privileges
[13:32] <EriC^^> immu: gksu nautilus then copy the files
[13:32] <adikwok> i deleted home-ext too. it made a new free space, and asking what to do with it
[13:32] <immu> hey EriC^^
[13:32] <EriC^^> or sudo -H nautilus  , hey immu
[13:32] <immu> how u doing EriC^^
[13:32] <EriC^^> adikwok: ok, write the new partition table and exit and type "sudo partprobe"
[13:33] <EriC^^> immu: good thanks what about you?
[13:33] <adikwok> ok. wait. i try it now. write the new partition .
[13:34] <immu> i am good, cant find gsku
[13:35] <EriC^^> immu: np, use sudo -H nautilus instead
[13:35] <k0smo> or cp works too.
[13:35] <adikwok> EriC^^: are you sure want to write partition to disk?  ( it can destroy data )
[13:35] <EriC^^> adikwok: type yes
[13:36] <adikwok> yes. the partition tab had been altered.
[13:36] <adikwok> exit.
[13:36] <adikwok> partprobe
[13:37] <EriC^^> adikwok: ok, try sudo cfdisk /dev/sda again
[13:37] <EriC^^> and try creating a partitiong using the whole 15gb or so
[13:37] <adikwok> EriC^^: Error: Partition(s) 6, 8 on /dev/sda have been written, but we have been unable to inform the kernel of the change,
[13:38] <EriC^^> adikwok: what does "sudo parted -l | nc termbin.com 9999" show now?
[13:39] <adikwok> EriC^^: http://termbin.com/pbqc
[13:40] <EriC^^> adikwok: it looks good
[13:40] <EriC^^> adikwok: try sudo cfdisk /dev/sda
[13:44] <granitosaurus> I need to apt download `make` so I could install it on machine that has no connection; how do I go about it?
[13:44] <adikwok> EriC^^: /dev/sda .. /dev/sda1, 2, 5, free space, 6, free space .. from cfdisk /dev/sda
[13:45] <TJ-> !info apt-offline | granitosaurus
[13:46] <EriC^^> adikwok: hmm that doesnt add up
[13:46] <EriC^^> adikwok: what does "sudo fdisk -l /dev/sda" give?
[13:47] <EriC^^> adikwok: i just realized btw that the extended partition ends at the 75gb mark, so we have to extend that as well to 80gb to use the last 5gb there
[13:48] <adikwok> EriC^^: http://termbin.com/zu5m
[13:49] <adikwok> EriC^^: so i delete that 75gb extended too?
[13:51] <EriC^^> adikwok: yeah
[13:51] <adikwok> as you wish ...
[13:51] <EriC^^> adikwok: you need to recreate it at exactly sector 1001470
[13:52] <immu> EriC^^, hi again
[13:52] <EriC^^> hi immu
[13:52] <immu> umm i still cannot copy files
[13:52] <immu> its says error no permission
[13:53] <k0smo> what are you using, immu?
[13:54] <adikwok> EriC^^: you need to recreate it at exactly sector 1001470 .. Primary or Extended?
[13:54] <EriC^^> adikwok: extended
[13:54] <k0smo> should be as simple as `sudo cp source dest`
[13:54] <EriC^^> adikwok: i just tried with cfdisk, apparently it doesnt let you define the starting sector for extended, you'll need to do it from the fdisk
[13:55] <immu> meaning? k)
[13:55] <EriC^^> adikwok: sudo fdisk /dev/sda   press "p" to see the list of partitions, and then "n" to create a new one then follow the questions
[13:55] <ioria> immu, if you're using nautilus,i suggest you use :  nautilus-admin
[13:55] <ioria> !info nautilus-admin
[13:55] <EriC^^> adikwok: "d" to delete a partition
[13:55] <EriC^^> adikwok: do it all from fdisk, nevermind cfdisk
[13:55] <immu> i have mounted a ISO file and try to copy files from it to a folder created in root
[13:56] <EriC^^> immu: did you start nautilus using "sudo -H nautilus" ?
[13:56] <EriC^^> if you try creating a random folder in "/" does it work?
[13:57] <immu> nope that option is blurred out
[13:58] <immu> i have created the folders
[13:58] <immu> but cannot copy the files
[13:58] <adikwok> EriC^^: and then "n" to create a new one then follow the questions .. default num is 1001472 .. where i must write 1001470
[13:58] <EriC^^> you could always use sudo cp /path/to/mounted/iso /dir to copy the files
[13:58] <adikwok> can i just write that 1001470?
[13:58] <EriC^^> adikwok: no i dont think it would let you
[13:59] <adikwok> so, follow the default . 1001472?
[13:59] <limbo_> Is there any process for reporting snaps for being marked propietary when the source code/GPL liscensed release is availible elsewhere?
[13:59] <EriC^^> i dont necessarily think it matters, there's some free space in the extended partition before the main root one
[13:59] <limbo_> I'm not saying these people are scamming users, but I avoid installing propietary snaps, and this scares me off. Also, breaking GPL.
[14:00] <EriC^^> adikwok: i think as long as we point to the right partitions for "/" and the windows one using the extended partition we'll be fine
[14:00] <EriC^^> adikwok: carry on using default starting sector, make sure to encompass the whole drive with the ending sector for the extended partition
[14:00] <adikwok> EriC^^:   Created a new partition 5 of type 'Linux' and of size 74,1 GiB.
[14:00] <adikwok> Partition #5 contains a ext4 signature.
[14:01] <EriC^^> adikwok: ok, great
[14:01] <TJ-> limbo_: sounds like something that needs reporting via snapcraft or Canonical
[14:01] <adikwok> EriC^^: Do you want to remove the signature? [Y]es/[N]o:
[14:02] <EriC^^> adikwok: wait
[14:02] <adikwok> ok. waiting
[14:02] <EriC^^> it actually does matter, i didnt notice cause the partitions weren't in order, but the first sector of the main root fs is at 1001472
[14:03] <EriC^^> i thought it'd be at 30298112
[14:03] <EriC^^> i'm kinda worried it overwrite anything of the fs tbh, i'd rather we back out for now and try to restart etc see if everythings good
[14:04] <EriC^^> sorry about that
[14:05] <EriC^^> adikwok: ah wait, you didnt actually write anything yet in fdisk, right?
[14:05] <EriC^^> *whew*
[14:06] <adikwok> EriC^^: .. ah wait, you didnt actually write anything yet in fdisk, right? .. not right.
[14:06] <adikwok> it has written to disk :[
[14:07] <EriC^^> adikwok: what does "sudo fdisk -l /dev/sda | nc termbin.com 9999" show right now?
[14:07] <adikwok> Device     Boot  Start       End   Sectors  Size Id Type
[14:07] <adikwok> /dev/sda1  *      2048    999423    997376  487M 83 Linux
[14:07] <adikwok> /dev/sda2<PHONE_NUMBER>01487 155302064 74,1G  5 Extended
[14:07] <EriC^^> that's from the "p" or fdisk -l command?
[14:07] <Gargravarr> hey all, having some trouble with my PXE auto-deployment setup. trying to get my 16.04 preseed working with 18.04. using the file verbatim results in Ubiquity popping up an error message saying 'Attempt to mount a filesystem of type vfat at /boot/efi failed'. the disk in the machine has an MBR install of Devuan on it but on 16.04 it will nuke the hard drive and reinstall with auto-partitioning. any
[14:08] <Gargravarr> idea what's causing this, Ubiquity, 18.04 or the disk itself?
[14:09] <EriC^^> adikwok: i think it shouldn't have written anything yet, it usually lets you muck around organizing stuff and in the end you have to press "w" to write it
[14:09] <EriC^^> what does "sudo fdisk -l /dev/sda | nc termbin.com 9999" show?
[14:09] <adikwok> wait. its creating termbin
[14:12] <granitosaurus> TJ-, and how do I install a specific package with apt-offline?
[14:13] <granitosaurus> I've tried `apt-offline set apt-offline.sig --install-packages make`
[14:14] <adikwok> EriC^^: cant create termbin. .. name or service not known
[14:14] <adikwok> Device     Boot  Start       End   Sectors  Size Id Type
[14:14] <adikwok> /dev/sda1  *      2048    999423    997376  487M 83 Linux
[14:14] <adikwok> /dev/sda2<PHONE_NUMBER>01487 155302064 74,1G  5 Extended
[14:14] <adikwok> EriC^^: that was from fdisk -l /dev/sda
[14:15] <EriC^^> ok that looks good actually
[14:16] <EriC^^> adikwok: start up sudo fdisk /dev/sda again, then press "n"
[14:16] <EriC^^> for the starting sector type 1001472
[14:16] <EriC^^> ending sector type 30298111
[14:16] <EriC^^> that's the main root fs
[14:16] <adikwok> wait.
[14:18] <immu> i have the nautilus-admin option installed
[14:18] <adikwok> EriC^^: Created a new partition 5 of type 'Linux' and of size 14 GiB.
[14:18] <adikwok> Partition #5 contains a ext4 signature.
[14:18] <EriC^^> adikwok: aha, also press "n" again
[14:18] <EriC^^> adikwok: for starting sector type 30298112
[14:18] <adikwok> Do you want to remove the signature? [Y]es/[N]o:
[14:18] <immu> would it be possible if i burned the iso to a usb key and then copy the files
[14:18] <EriC^^> adikwok: say no
[14:19] <adikwok> ok. no
[14:19] <EriC^^> adikwok: for the 2nd partition use starting sector 30298112 ending sector 127952895
[14:19] <adikwok> EriC^^: for starting sector type 30298112 .. default is different number.
[14:20] <adikwok> First sector (30300160-156301487, default 30300160):
[14:22] <adikwok> EriC^^: i can not input 30298112 . . value is out of range
[14:23] <EriC^^> adikwok: odd, try for now the defaults, it wont actually write anything at those locations, just in the extended partition 'table'
[14:23] <EriC^^> then press 'p' to see, is the ending sector of the 14gb partition at 30298111?
[14:25] <adikwok> EriC^^: Created a new partition 6 of type 'Linux' and of size 46,6 GiB.
[14:25] <EriC^^> sounds good
[14:25] <adikwok> real good..
[14:26] <adikwok> i think its like cut n paste the sda .. hopefully so .. *praying
[14:26] <EriC^^> :D
[14:27] <EriC^^> adikwok: what does "p" show?
[14:28] <adikwok> EriC^^: p . ..
[14:28] <adikwok> Device     Boot    Start       End   Sectors  Size Id Type
[14:28] <adikwok> /dev/sda1  *        2048    999423    997376  487M 83 Linux
[14:28] <adikwok> /dev/sda2<PHONE_NUMBER>01487 155302064 74,1G  5 Extended
[14:28] <adikwok> /dev/sda5        1001472  30298111  29296640   14G 83 Linux
[14:28] <adikwok> /dev/sda6       30300160 127952895  97652736 46,6G 83 Linux
[14:28] <immu> EriC^^, sorry to disturb finally i got the files copies by mounting the iso and then copying the file
[14:28] <immu> thru ISO master
[14:28] <EriC^^> fdisk is kinda being odd though, if it had that exact partition layout before why wont it let us recreate it
[14:30] <EriC^^> adikwok: the ending sector is right at 30298111, i dont know why fdisk wont let us create the next one at 30298112
[14:30] <Az0d> Hello to all I'm looking to install UML but I can't it's normal ?
[14:30] <immu> hey EriC^^ why does during file copy operations does the whole system goes sluggish?
[14:31] <EriC^^> immu: i guess it's using a lot of i/o or something
[14:31] <adikwok> EriC^^: from sda 2 and 5 there is jumping numbers too.
[14:32] <EriC^^> yeah
[14:32] <adikwok> sda2 start -end .
[14:32] <adikwok> Device     Boot    Start       End   Sectors  Size Id Type
[14:32] <adikwok> /dev/sda1  *        2048    999423    997376  487M 83 Linux
[14:32] <adikwok> /dev/sda2<PHONE_NUMBER>01487 155302064 74,1G  5 Extended
[14:32] <adikwok> /dev/sda5        1001472  30298111  29296640   14G 83 Linux
[14:32] <adikwok> /dev/sda6       30300160 127952895  97652736 46,6G 83 Linux
[14:32] <EriC^^> adikwok: try to write the table for now using "w"
[14:32] <EriC^^> so the main root is still accessible as usual
[14:33] <EriC^^> and the windows one would still be untouched so no worries there
[14:33] <EriC^^> adikwok: see if cfdisk let's you create it at 30298112 where we want it
[14:33] <adikwok> EriC^^: Failed to add partition 5 to system: Device or resource busy
[14:33] <adikwok> The kernel still uses the old partitions. The new table will be used at the next reboot.
[14:33] <adikwok> Syncing disks.
[14:34] <EriC^^> adikwok: also use http://paste.ubuntu.com for long pastes do the bot doesn't +q you
[14:34] <EriC^^> adikwok: no worries
[14:34] <adikwok> EriC^^: also use http://paste.ubuntu.com for long pastes do the bot doesn't +q you ... ooo . i c
[14:35] <immu> this actually made me remove Ubuntu 18.04
[14:36] <EriC^^> immu: i notice mine gets sluggish too on ubuntu 16.04, it depends if im copying from ext hdd or just between the main disk i noticed
[14:36] <EriC^^> adikwok: give sudo cfdisk /dev/sda a shot
[14:36] <adikwok> EriC^^: im in cfdisk
[14:37] <adikwok> deleted win part
[14:37] <adikwok> created new
[14:38] <EriC^^> hmm cfdisk is actually worse, i just tried it here it gives a bigger space between them
[14:38] <EriC^^> maybe it's an old fdisk vs new fdisk thing, older versions let you create in the very next sector but newer versions dont or something?
[14:39] <immu> brb
[14:42] <Az0d> No one for a helping hand ?
[14:46] <OerHeks> Az0d, what are you trying to do, installing uml = Unified Modelling Language ?
[14:47] <Az0d> OerHeks: No User Mode Linux
[14:50] <OerHeks> oh, that package was unmaintained, Deleted on 2016-02-04 by Steve Langasek
[14:50] <OerHeks> (From Debian) RoQA; RC-buggy, low popcon, unmaintained; https://bugs.debian.org/812501
[14:50] <OerHeks> trusty was the last version that gave that package, https://packages.ubuntu.com/search?keywords=user-mode-linux
[14:51] <OerHeks> you could have a look at KVM, to run virtual instances, or docker
[14:51] <Az0d> Ok so no more the possibility to install UML ?
[14:52] <Az0d> KVM is similar to UML ?
[14:52] <OerHeks> !kvm
[14:53] <OerHeks> oh, that url is dead
[14:54] <OerHeks> I think KVM is better, as it is ready in the kernel
[14:56] <Az0d> Okay but the problem is that I plan to deploy a honeypot in a virtual linux system to make it highly interactive but isolated from my virtual machine so UML was a good choice that said if KVM does the same and better than UML I take
[14:58] <leftyfb> Az0d: you could also look into LXD containers
[14:58] <OerHeks> Az0d, sure, there are many howto's .. https://blacks3pt3mb3r.wordpress.com/linux-stuffz/264-2/ but honeypots are not supported here.
[14:58] <tomreyn> Az0d: UML was more like containerization, so you'd probably compare it to lxd or docker nowadays. but a honeypot should run within proper virtualization  to get the best isoloation possible. KVM is virtualization.
[14:59] <tgm4883> better isolation
[15:00] <Az0d> tomreyn: so you recommend KVM ?
[15:00] <tomreyn> Az0d: for a honeypot i would, yes
[15:01] <tgm4883> Don't forget to split it out into it's own network segment
[15:01] <Az0d> tomreyn: Okay, and you don't recommend KVM for what kind of project?
[15:02] <naptastic> If I want to upgrade a system from 16.04 to 18.04, should I dist-upgrade one major version at a time, or go directly, or reinstall from scratch?
[15:03] <tgm4883> 16.04 -> 18.04
[15:03] <tomreyn> Az0d: if you're just rapidly developing some web application (and do so behind a firewall, with no internet access this system) then virtualization may be more than you need and containerization becomes a good use case.
[15:03] <tomreyn> * become a good environment for this use case.
[15:05] <Az0d> tomreyn:Great, thank you, one last question. With KVM there is a way to monitor what is happening on virtual machines? or a tool that remotely supervises them all via a web or application interface ?
[15:05] <tomreyn> Az0d: this is a bit of personal opinion, others may be happier to run things in containers than i am. but i think pretty much everyone would agree that for good isolation you should use a VM (ieally one stripped down to low functionality) rather than containerization.
[15:06] <Az0d> tomreyn: ok
[15:08] <tomreyn> Az0d: VMs are effectively separate systems, though some basic measurements are usually possible. such as getting basic performance counters. of course you can also monitor them like you would monitor dedicated servers, by installing a mointoring agent in a VM which gathers information and reports it back to a monitoring server.
[15:09] <Az0d> tomreyn: And you have in mind an application that plays this role ?
[15:09] <tomreyn> Az0d: it is quite unusual that these concepts are new to someone who works with or even develops honeypot software. how comes is this the case for you?
[15:11] <Az0d> tomreyn: because I am new to the use of virtualization
[15:13] <tomreyn> Az0d: i very much suggest you spend time on understanding these concepts throughly before you even think of running a honeypot.
[15:13] <tgm4883> Az0d: you really shouldn't be creating a honeypot unless you have a plan on how to isolate it from the rest of your machines
[15:14] <countryexec> I have just installed ubuntu server. As I booted into my system for the first time I was greeted with a wall of text. Now it is stuck on "[ OK  ] Reached target Cloud-init target.", does anyone have a clue what to do?
[15:14] <Az0d> tomreyn & tgm4883: I have a plan of my course in the same way except that it is based on UML
[15:14] <tgm4883> countryexec: hit enter?
[15:15] <tgm4883> Az0d: if your course of isolation is limited to putting it in a VM, you're going to have a bad time
[15:15] <countryexec> tgm4883: thank you hahaha that solved it
[15:16] <tgm4883> countryexec: yw. Sometimes the login screen gets extra messages on it for some reason
[15:16] <Az0d> tgm4883: what do you mean?
[15:16] <tomreyn> Az0d: by course, you mean learning material, studies?
[15:16] <tgm4883> Az0d: I mean, if you create a honeypot and it gets compromised (since that's it's job), it now has access to attack anything on that network segment
[15:17] <Az0d> yes
[15:17] <tgm4883> Az0d: which from the questions you're asking and the answers you are providing, it sounds like that would be your entire network
[15:17] <leftyfb> Az0d: At this point, you are no longer seeking support with ubuntu. You are now at the stage where you need to research and learn the fundamentals of system isolation and virtual machines and honeypots.
[15:18] <tomreyn> Az0d: you should get current training matieral, basically nobody uses user mode linux in 2018
[15:19] <Az0d> You have to tell my teacher he's close to retirement and still thinks you have to program in cobol but I'm doing his exercise to validate my Q2
[15:21] <leftyfb> Az0d: If this is for a class, you should be looking for additional help from your teacher. Not IRC
[15:23] <Az0d> it's done I have to update the tutorials so I'm looking for tracks and as UML exist more ben I'm looking for information tools at the maximum to monitor the machines I would deploy
[15:25] <TJ-> tomreyn: I'd disagree with you about UML being more like containers than virtualisation - UML runs a full kernel in user-mode; from the inside it looks like a QEMU/KVM VM using an external kernel image
[15:26] <tomreyn> TJ-: i just read up on it and you're right, thanks for pointing this out.
[15:26] <tomreyn> still, it's old technology, there are better alternatives nowadays.
[15:26] <TJ-> tomreyn: s'ok ... I used to hack on UML when it was young before even virtuozzo/openvz concepts started being included in the kernel
[15:27] <TJ-> tomreyn: oh indeed, but it is has some advantages from an educational aspect
[15:27] <tomreyn> i think it was the commenly used tool for this purpose back then
[15:28] <tomreyn> TJ-: introspection and maybe simplicity, i assume.
[15:28] <TJ-> Yes; around 2005ish I was doing ubuntu package builds in UML
[15:30] <TJ-> one of the 'nice' things about it is it taught you that linux itself is just another executable with its own command-line , when many people assume/think it's some kind of magic :)
[15:30] <Az0d> T-J : ;)
[15:33]  * tomreyn kexec windows.exe
[15:33]  * TJ- hands tomreyn a BSOD
[15:34]  * tomreyn hmm, tasty.
[15:34] <TJ-> I'm /still/ trying to solve the regression where a GUI session doesn't get assigned the user's groups unless the user is first logged in on console! Excuse the pun but it is really bugging me
[15:36] <TJ->   Bug #1784964
[15:38] <EriC^^> this is odd, my desktop's screen won't turn on :/
[15:38] <EriC^^> it's powered but it wont show anything
[15:38] <tomreyn> TJ-: it doesn't seem to affect any new users anymore?
[15:38] <EriC^^> it doesnt show grub or anything anymore, i can just hear the ring of the lightdm
[15:39] <TJ-> tomreyn: or they don't realise the cause; the effects don't really lead to the explanation
[15:39] <TJ-> EriC^^: does it show the firmware POST messages?
[15:39] <EriC^^> nope not that too
[15:39] <tomreyn> EriC^^: pull monitor plug + connectors, wait 30s, reconnect?
[15:39] <TJ-> EriC^^: usual solution: unplug and reconnect
[15:39] <EriC^^> let me try hooking it up to the tv to see if it's a monitor issue
[15:40] <EriC^^> TJ-: i tried, no luck
[15:41] <TJ-> EriC^^: does the monitor blink LEDs if it doesn't have a signal?
[15:41] <ioria> TJ-, not sure, but i guess it was 'lightdm' related
[15:42] <EriC^^> it's also not working on the other tv
[15:42] <EriC^^> i guess it's the graphics card?
[15:42] <ioria> TJ-,  Comment #5   for a workaround : https://bugs.launchpad.net/lightdm/+bug/1781418
[15:44] <EriC^^> the vga port of the desktop works, the hdmi fo the card no
[15:45] <EriC^^> lshw doesn't list the card neithre does lspci
[15:48] <EriC^^> the card doesnt show up anywhere, though it is turned on and lit, maybe ill try to remove it and plug it back in?
[15:49] <ioria> yep
[15:51] <TJ-> ioria: Nice find! I'll investigate that here
[15:51] <ioria> xok
[16:01] <TJ-> ioria: that looks like it; tsimonq2 added some CVE patches that look to be responsible to kwallet-pam. I'll ping him on this and link the bugs
[16:03] <pragomer> in 18.04 I can install the new yaru-icon-theme via snap install communitheme
[16:03] <ioria> TJ-, good luck
[16:03] <pragomer> but can I also install the new version of the ambiance gtk theme?
[16:03] <EriC^^> i removed the card, put it back in, still didnt work, i replaced it with another card it worked, i put the bad one back in for good measure, it worked again, i have no idea :D thanks TJ- and tomreyn
[16:04] <falieson> so I probably am screwed. I reinstalled ubuntu on my primary disk (sda) and went to mount my luks raid (md0 < sdb,c,d) but I'm not getting a /dev/md0
[16:05] <falieson> does anyone know what I'm missing? is this recoverable?
[16:06] <TJ-> EriC^^: the wonders of mondern technology :)
[16:07] <EriC^^> :)
[16:07] <TJ-> falieson: you didn't install mdadm/cryptsetup in the new install? or you didn't configure /etc/crypttab and mdadm.conf ?
[16:08] <TJ-> falieson: does "sudo blkid" report the RAID metadata is found
[16:10] <falieson> TJ-: thanks i'll check those. i think i'm missing a step getting to luks, have to have my system recognize the raid (like you said)
[16:11] <TJ-> falieson: did you try "mdadm --assemble --scan" ?
[16:15] <falieson> TJ-: thanks, that did it
[16:16] <ducasse> adikwok: what do you expect that command to do? that's not how mount works
[16:29] <TJ-> tomreyn: would youu happen to recall if when you reproduced the missing supplementary groups which flavour you tested (Xubuntu maybe?) and whether you installed anything else? https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1784964/comments/15
[16:33] <erichlf> I have been trying to install texlive-2017 but I keep getting the following: The following packages have unmet dependencies:
[16:33] <erichlf>  dictionaries-common : Depends: libtext-iconv-perl but it is not going to be installed
[16:33] <erichlf>  texlive : Depends: texlive-fonts-recommended (>= 2017.20170525) but it is not going to be installed
[16:33] <erichlf>            Depends: texlive-latex-base (>= 2017.20170525) but it is not going to be installed
[16:33] <erichlf>            Depends: texlive-latex-recommended (>= 2017.20170525) but it is not going to be installed
[16:33] <erichlf> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
[16:34] <OerHeks> !paste
[16:34] <dporto> Hi there. I'm trying to compile the ubuntu kernel 4.18 for bionic but I'm unable to generate the linux-tools package with it. The documentation on how to generate a custom kernel seems outdated. can someone help?
[16:35] <erichlf> I should have used pastebin so that so many people wouldn't give me crap. lol It was 5 lines geeze
[16:35] <OerHeks> dporto, for testing, use the mainline repo
[16:35] <OerHeks> !mainline
[16:35] <OerHeks> and https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel is certainly not outof date
[16:38] <dporto> thanks for the pointer OerHeks I will try to build the kernel 4.18 for bionic .
[16:39] <dporto> I need linux-tools :-/ it's a requirement
[16:39] <TJ-> dporto: 4.18 is available for Bionic; currently in -proposed
[16:40] <TJ-> dporto:  linux-image-lowlatency-hwe-18.04-edge/bionic-proposed,now <IP_ADDRESS>.58 amd64 [installed]
[16:41] <dporto> I will enable the propose repo and try to download just the linux-tools
[16:42] <erichlf> So why would I get dictionaries-common : Depends: libtext-iconv-perl but it is not going to be installed if it is already installed?
[16:42] <erichlf> and how do I fix it?
[16:45] <TJ-> dporto: you don't need linux-tools - you can install the 4.18 kernel itself "sudo apt update; sudo apt install linux-image-generic-hwe-18.04-edge" is all you need once bionic-proposed is enabled
[16:46] <TJ-> erichlf: have you done "sudo apt update" and "sudo apt -f install" to check the current state is sane?
[16:46] <erichlf> yes
[16:48] <Bluecoat> Anyone know why going from 18.04->18.10 would make my font rendering look terrible?
[16:49] <erichlf> TJ-, Apparently I had some old texlive stuff installed.
[16:49] <TJ-> erichlf: show us "pastebinit <( sudo apt install -o=Debug::pkgProblemResolver=true texlive-2017)"
[16:49] <TJ-> erichlf: oh, you've solved it?
[16:49] <erichlf> maybe
[16:50] <erichlf> the pastebin command results in E: Unable to locate package texlive-2017
[16:52] <erichlf> ah, I see the issue, let me fix the command.
[16:53] <erichlf> TJ-, https://pastebin.com/6EcHsGtZ
[16:53] <tomreyn> TJ-: i was testing the default desktop installer, i.e. ubiquity.
[16:54] <tomreyn> TJ-: i can't be sure but i assume i did not install anything else at this point, it was a rather fresh installation.
[16:54] <erichlf> BTW TJ- none of the stderr goes into the pastebin with that command. How would I pipe that to pastebin?
[16:54] <countryexec> I need to mount and copy some file from a USB stick from a terminal. To what directory should I mount the USB stick?
[16:54] <tomreyn> TJ-: the 16.04.5 installation was xubuntu
[16:55] <erichlf> nm, I figured that out. Here you go https://pastebin.com/Dkkayqqq
[16:55] <TJ-> tomreyn: you were, and hit the issue!? that's very weird since the only flavour that seeds libpam_kwallet* is Kubuntu and it it seems/seemed that because /etc/pam.d/lightdm tries to include those, if they are installed the problem is caused. From your deescription that hypothesis is incorrect then and the issue is wider
[16:56] <TJ-> erichlf: sorry, my fault
[16:56] <TJ-> erichlf: show us "pastebinit <( sudo apt install -o=Debug::pkgProblemResolver=true texlive 2>&1 )"
[16:56] <erichlf> TJ-, I did.
[16:56] <tomreyn> TJ-: it must be then, i certainly used the standard ubuntu desktop installer.
[16:57] <TJ-> tomreyn:  on my affected system it had both kubuntu and xubuntu installed, which I thought was the reason
[16:57] <TJ-> tomreyn: hmmm, just when I thought I had it pinned down :D
[16:57] <TJ-> erichlf: notice the 2>&1 at the end (redirects stderr to stdout
[16:57] <tomreyn> TJ-: oh, wait a minute, it is entirely possible that i had xubuntu-desktop installed in addition to the default ubuntu installation
[16:58] <TJ-> tomreyn: oh... please let that be so :)
[16:58] <erichlf> TJ-, Yeah, I notice. I had already figured it out and pasted it to https://pastebin.com/Dkkayqqq
[16:58] <TJ-> tomreyn: although... what is bothering me is Xubuntu doesn't install libpam_kwallet*, only Kubuntu does, so I can't see how that is causing the issue if the packages aren't installed!
[16:59] <TJ-> erichlf: you've a LOT of broken packages there. You said you'd done "sudo apt -f install" but that doesn't look like it has been run
[17:00] <tomreyn> TJ-: i'm afraid it looks like i deleted this VM since.
[17:00] <erichlf> TJ-, https://pastebin.com/Gim91tWz I think you mean sudo apt install -f?
[17:01] <erichlf> TJ-, the result of sudo apt install -f https://pastebin.com/PgseyCtX
[17:02] <TJ-> tomreyn: no worries, I'm a lot closer to the cause now thanks to ioria finding that other report
[17:03] <TJ-> erichlf: something is fundamentally wrong there, with the packages!
[17:03] <erichlf> Which is why I am here TJ-
[17:03] <erichlf> If it were simple I would have fixed it myself.
[17:04] <tomreyn> TJ-: i certainly didnt install any parts of kde, if this helps.
[17:04] <TJ-> erichlf: oh, it's 16.04 isn't it? use apt-get instead: "sudo apt-get -f install"
[17:04] <erichlf> TJ-, 18.04 and I have used both commands
[17:04] <erichlf> 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[17:04] <erichlf> what?!
[17:04] <TJ-> tomreyn: it's a weird one. The CVE patches apparently causing this shouldn't make any difference so I still want to get a trace to see exactly what it is that triggers the bug
[17:05] <erichlf> why does it say 16.04
[17:05] <erichlf> what is wrong with this system?
[17:05] <TJ-> erichlf: what does "lsb_release -r" report?
[17:05] <erichlf> 18.3
[17:06] <TJ-> erichlf: that isn't Ubuntu!
[17:06] <TJ-> erichlf: I'd guess it is Linux Mint
[17:07] <erichlf> Yeah, and I actually should have been in the linuxmint irc but it auto opened ubuntu and I didn't notice the focus was on the wrong irc
[17:07] <tomreyn> countryexec: usually to /mnt or a directory you created in there (but be carefuly not to mount it to /mnt if something else is already mounted there - see "mount")
[17:08] <Bluecoat> huh... maybe it's just webkit fonts that look awful.
[17:13] <TJ-> countryexec: you can also use 'udisksctl mount -b /dev/sdXY' to auto-mount under /media/$USER/<file-system-id>
[17:20] <PaddyF> hello fellow ubuntarians, do i need to consider something before switching to gnome-shell?
[17:27] <PaddyF> !runlevel
[17:27] <PaddyF> !upstart
[17:28] <rfm> Uh, that'
[17:28] <rfm> Uh ubuntu now uses systemd, not upstart, for several releases now...
[17:29] <PaddyF> i see, hmmm
[17:30] <PaddyF> which target do i need to shut down with systemctl to bring the gui down?
[17:31] <PaddyF> lightdm maybe, hmmm
[17:32] <PaddyF> no, gdm3 then?
[17:32] <gpunk> nothing special ...
[17:32] <rfm> PaddyF, graphical.target and multi-user.target are the main targets that fill in for the old runlevels.
[17:33]  * PaddyF scribbles that on a piece of paper
[17:34] <PaddyF> rfm: merci
[17:34] <rfm> PaddyF, and I think you have to use "systemctl isolate <target>" to go "backwards" in the sequence
[17:34] <rfm> PaddyF, I just tried "sudo systemctl isolate multi-user.targer" and the display manager neatly dropped out...
[17:36] <PaddyF> okay, lets see if i come back in tears :P
[17:37] <Bluecoat> anyone know how to fix font rendering in 18.10?  Webkit looks awful.
[18:01] <nsh> any reason that sleep 10 & killall -SIGSEGV sleep # would generate a core in working directory
[18:01] <nsh> but atril when it segvs and says "core dumped" no core to be found
[18:01] <nsh> apport is disabled and ulimit -c is unlimited and core_pattern=core
[18:01] <nsh> it's not landing in some tmp dir afaict
[18:05] <rfm> nsh, no idea what atril is, does it run setuid?  linux wont drop cores if effective uid  ever changes from the real uid...
[18:05] <nsh> it's a document viewer, replaced evince as default in [x]ubuntu
[18:05] <nsh> not setuid
[18:05] <nsh> it did coredump to apport previously but i want a vanilla core
[18:07] <TJ-> nsh: have you checked under /var/crash/ ?
[18:07] <qwebirc97152> I have a laptop with ubuntu beta on it. I tried installing some NVidia drivers which went well, but i wa having some visual glitches. I tried searching the web and then i rebooted, the ubuntu loading appeared after that, nothing, just a black screen with nothing else but the _
[18:08] <nsh> yeah, not there either
[18:08] <TJ-> qwebirc97152: there is no such thing as Ubuntu Beta
[18:08] <qwebirc97152> Well
[18:08] <qwebirc97152> The development one
[18:08] <tomreyn> !+1
[18:08] <tomreyn> !ubuntu+1
[18:08] <qwebirc97152> One sec
[18:08] <qwebirc97152> Yeah
[18:08] <tomreyn> ignore this, sorry
[18:09] <qwebirc97152> Cosmic Cuttlefish
[18:09] <qwebirc97152> That one
[18:09] <tomreyn> that's not a pre-release version, it was released thi smonth
[18:09] <TJ-> Ahhh, so not Drowsy Donkey then?
[18:09] <qwebirc97152> No
[18:09] <qwebirc97152> Cosmic
[18:10] <qwebirc97152> Had it since last month
[18:10] <TJ-> qwebirc97152: sounds rather typical for nvidia drivers recently I'm afraid.
[18:10] <qwebirc97152> I have some photos
[18:11] <rfm> nsh, "cat /proc/sys/kernel/core_pattern" to see where cores are being sent..
[18:11] <nsh> i set it to 'core'
[18:11] <nsh> sleep(1) cores
[18:11] <nsh> just something weird happening with atril
[18:11] <nsh> can generate-core-file if i catch the crash in gdb
[18:11] <qwebirc97152> So, any ideas?
[18:13] <qwebirc97152> Oh, I also tried installing ubuntu mate desktop with bo success
[18:13] <cryptodan> qwebirc97152: does ctrl+alt+f1 generate a tty?
[18:13] <qwebirc97152> Wait
[18:13] <qwebirc97152> No
[18:14] <cryptodan> do you get a grub screen?
[18:14] <qwebirc97152> Only ctrl alt f2
[18:14] <qwebirc97152> No
[18:14] <cryptodan> so ctrl+alt+f2 produces a text based login screen?
[18:14] <qwebirc97152> Yea
[18:15] <gpunk> hi, on nvidia-settings , I have selected prime->intel , now i cant go back to nvidia
[18:15] <UberPope> Hey folks, I have 4xraid DD and a T410 server. When I install Ubuntu Server... do I split the drive into 4 partitions? Or keep it "as one" ?
[18:15] <cryptodan> login and run "sudo apt-get purge nvidia*" and reboot
[18:15] <qwebirc97152> I did
[18:15] <gpunk> cryptodan: i have , and rebooted still no luck, nvidia-settings doent load anymore
[18:16] <qwebirc97152> Well, rip
[18:18] <cryptodan> qwebirc97152: so after purging the nvidia packages you can't get back to your regular ubuntu?
[18:21] <gpunk> i have this while trying to load the module:
[18:21] <gpunk> modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='off'
[18:21] <gpunk> seems like disabled somewhere, but i cant find a thing in /etc
[18:23] <qwebirc97152> No
[18:23] <qwebirc97152> .i cannot
[18:23] <qwebirc97152> Now i entered recovery mode
[18:23] <cryptodan> qwebirc97152: then it wasn't the nvidia driver that caused it something else broke it
[18:24] <qwebirc97152> Hmm
[18:24] <qwebirc97152> Wait
[18:24] <qwebirc97152> Ill send u my command history
[18:25] <qwebirc97152> Oh no
[18:25] <qwebirc97152> Is too big to fit on my screen
[18:26] <qwebirc97152> Asdf
[18:29] <qwebirc97152> https://paste.ubuntu.com/p/JGb6pTqWZY/
[18:30] <qwebirc97152> the first lines i see on my screen
[18:30] <qwebirc97152> Starts at 790 ends at 863
[18:32] <banyantree> Hi Guys is someone using i3 and bluetooth?
[18:36] <gpunk> i fixed it :)
[18:37] <gpunk> nvidia.ko was blacklisted here /lib/modprobe.d/blacklist-nvidia.conf
[18:37] <cryptodan> weird
[18:41] <on3pk> I know this isn't exactly an ubuntu question, but is there a way to specify a "wait" time for autossh before it restarts the ssh process?
[18:42] <tomreyn> on3pk: did you chekc its man page, yet?
[18:44] <on3pk> I didn't see anything about it in the man page, no :\
[18:45] <tomreyn> on3pk: i just checked, too, and can't find anythign either. looks like you'd need to edit its source code.
[18:49] <Nelluk> ive got a script that makes a backup file with $(date +"%Y%m%d%H%M") in the name. im running this script via python's subprocess module, and that variable comes back as blank when executed that way. is that something to do with env vars?
[18:51] <tomreyn> no idea. maybe try $(date +'%Y%m%d%H%M')
[18:51] <tomreyn> or rather $(date '+%Y%m%d%H%M')
[18:53] <Nelluk> same result tomreyn
[18:53] <tomreyn> Nelluk: dunno then. maybe seek help in #python
[18:53] <Nelluk> yeah im asking in there simultaneously
[18:54] <on3pk> tomreyn, it may also be a good idea to use a more resilient vpn solution for tunneling instead of ssh
[18:58] <tomreyn> on3pk: quite likely
[19:00] <TJ-> Nelluk: use "/bin/date" not "date" else you're relying on PATH
[19:01] <Nelluk> yes that fixed it thank you
[19:03] <blackflow> Nelluk: begs the question why not use the datetime module
[19:04] <Nelluk> well its a standalone shell script that is running on cron, that i occasionally will execute via a python module as well
[19:13] <Sqweeb> could i easily install a mobile ubuntu client onto a vile microsoft smartphone?
[19:15] <majnoon>  ok i can connect to my ubuntu box using EXTENAL ip address but not LOCAL ip address (<IP_ADDRESS>)
[19:18] <swensson> I'm using apache2 and trying to get SSL (https) working on my two websites, should I use a single /etc/apache2/sites-available/myDomainName-ssl.conf and have both domains/sites in there or should I use two different sites?
[19:21] <pragmaticenigma> swensson: This is a question better suited for #ubuntu-server. It would probably be easier to maintain the site certs if they are in separate configurations.
[19:23] <swensson> pragmaticenigma, Thanks! =)
[19:35] <transhumanist> hi! I have an iscsi question, anyone know a good place to ask?
[19:56] <uBUXUBu> hello ubuntites
[19:59] <uBUXUBu> i would like to report a bug to the community, one that affect thousands of people worldwide and has beeen a bug for man man yearss; after installing ubuntu, the laptop screen display brightness control does not work.
[20:00] <jcdutton> uBUXUBu, that sort of problem is laptop specific.
[20:00] <uBUXUBu> yes it sure is specicif, to millions of laptops, check google and check you tube...
[20:00] <uBUXUBu> it has been going on forever
[20:01] <OerHeks> file a bugreport then, name ubuntu version, and hardware model and so on
[20:01] <jcdutton> uBUXUBu, which laptop make, model.  FYI, brightness works find on my laptop
[20:01] <uBUXUBu> oh i did but guess what the bug report is also broken , i have tried 4 times so far and each time it says sorry it timed out!
[20:02] <OerHeks> yeah, right.
[20:02] <uBUXUBu> im not OerHeks
[20:02] <uBUXUBu> im not kidding
[20:02] <uBUXUBu> i guess ill try it again
[20:03] <uBUXUBu> is a gateway nv59 laptop jcdutton
[20:03] <uBUXUBu> a simple i5 processor with intel graphics
[20:05] <EriC^^> uBUXUBu: did you try adding any acpi_osi tricks in grub?
[20:05] <majnoon>  ok i can connect to my ubuntu box using EXTENAL ip address but not LOCAL ip address (<IP_ADDRESS>)
[20:05] <uBUXUBu> no i havent EriC^^
[20:06] <uBUXUBu> but for an advanced world beater OS like ubuntu i should not have to do that with this laptop
[20:06] <jcdutton> uBUXUBu, ls /sys/class/backlight
[20:06] <jcdutton> are there any files there
[20:06] <EriC^^> uBUXUBu: it's not really an ubuntu problem, acpi_osi tricks the BIOS into thinking it's windows to give more features
[20:06] <EriC^^> if that's the actual problem
[20:07] <uBUXUBu> buntu@buntu-NV59:~$ ls /sys/class/backlight
[20:07] <uBUXUBu> acpi_video0  intel_backlight
[20:07] <uBUXUBu> buntu@buntu-NV59:~$
[20:07] <uBUXUBu> there it is
[20:07] <jcdutton> uBUXUBu, cd /sys/class/backlight
[20:07] <jcdutton> cd intel_backlight
[20:08] <jcdutton> cat max_brightness
[20:08] <jcdutton> what number does it have?
[20:08] <jcdutton> cat brightness
[20:08] <jcdutton> what number does that have.
[20:08] <jcdutton> brightness is the current brightness
[20:08] <jcdutton> max_brightness is the max value
[20:09] <uBUXUBu> i dont see that what cmd do i run now
[20:09] <younder> How do I set up PAm for facial recognition in 18.04
[20:09] <EriC^^> uBUXUBu: what does "sudo strings /sys/firmware/acpi/tables/DSDT | grep -i windows" give as the latest windows?
[20:09] <jcdutton> uBUXUBu, are you in folder /sys/class/backlight/intel_backlight
[20:09] <EriC^^> uBUXUBu: type "cat /sys/class/backlight/intel_backlight/{brightness,max_brightness}"
[20:10] <uBUXUBu> permission denied
[20:10] <EriC^^> add sudo at the start
[20:10] <EriC^^> also please run the command that starts with sudo strings
[20:10] <Rhapsody> Hey all. First time I'm going to try to mostly commit to Ubuntu; this will be a fresh install, dual booting with Windows 10. I heard that 18.10 is buggy; should I use 18.04 or 18.10?
[20:10] <uBUXUBu> i odnt want it at max i want a lot less i want to be able to use the slider in ubuntu
[20:10] <EriC^^> uBUXUBu: yeah
[20:11] <jcdutton> uBUXUBu, echo 4000 > brightness        that should make the screen bright. A smaller value will make it dimmer
[20:11] <uBUXUBu> i want the slider in ubuntu to work
[20:11] <uBUXUBu> not me using termial to change it everytime
[20:12] <EriC^^> uBUXUBu: yeah we get that, run the commands..
[20:12] <Bashing-om> Rhapsody: As a 1st time installer .., choose 18.04 as it is a Long Term Support release .
[20:12] <Rhapsody> Alrighty. Anything I should really know diving in?
[20:12] <younder> Rhapsody, I always stay with the LTS versions like 18.04. they have a 5 years support. 18.10 just has 10 months. So if uou are doing serios work. Stay with 18.04
[20:12] <EriC^^> Rhapsody: +1 on the LTS
[20:12] <Rhapsody> I've used Ubuntu before so I'm not completely lost, but yeah
[20:13] <Rhapsody> younder: This is a personal PC so no serious work
[20:13] <uBUXUBu> buntu@buntu-NV59:~$ cat /sys/class/backlight/intel_backlight/{brightness,max_brightness}
[20:13] <uBUXUBu> 241
[20:13] <uBUXUBu> 976
[20:13] <EriC^^> Rhapsody: installing in UEFI mode might be a tad tricky, if after the install windows keeps booting join the channel again to get sorted
[20:13] <Rhapsody> Gotcha.
[20:13] <EriC^^> uBUXUBu: ok what about the sudo strings command? what's the latest windows it outputs
[20:13] <uBUXUBu> i missed that strinf plx put in in here
[20:14] <jcdutton> uBUXUBu, echo 400 > brightness      will make it brighter
[20:14] <EriC^^> uBUXUBu: what does "sudo strings /sys/firmware/acpi/tables/DSDT | grep -i windows"
[20:14] <Rhapsody> Might as well ask; I know virtual surround sound is sort of a gimmick but I play some games where the positional tracking is useful in comparison to stereo. I use Dolby Atmos (built into Windows 10) for this. I see that there's no actual Dolby Atmos implementation for Ubuntu, but there is a way to make the headphones be seen as a 7.1 surround device?
[20:14] <Rhapsody> Does that actually simulate surround sound or just change the OS's perception?
[20:15] <uBUXUBu> wants my password then tells me itswrong
[20:15] <uBUXUBu> command not fdound
[20:15] <EriC^^> uBUXUBu: do you have sudo access as your user?
[20:15] <uBUXUBu> please type the exact command
[20:16] <uBUXUBu> yes i do i made error
[20:16] <EriC^^> uBUXUBu: sudo strings /sys/firmware/acpi/tables/DSDT | grep -i windows
[20:16] <uBUXUBu> ok that worked
[20:17] <uBUXUBu> Windows 2001
[20:17] <uBUXUBu> Windows 2001 SP1
[20:17] <uBUXUBu> Windows 2001 SP2
[20:17] <uBUXUBu> Windows 2006
[20:17] <uBUXUBu> Windows 2009
[20:17] <EriC^^> ok
[20:17] <uBUXUBu> now what?
[20:17] <younder> Rhapsody, Dolby Almos is a part of the motherboard, not windows. It should work fine under Ubuntu as well
[20:17] <EriC^^> uBUXUBu: try typing "sudo nano /etc/default/grub"
[20:18] <Rhapsody> younder: It's more of a matter of enabling it since you need to activate the option on Windows
[20:18] <EriC^^> uBUXUBu: then at the line that says GRUB_DEFAULT="....... quiet splash" make it GRUB_DEFAULT="bla bla bla....... quiet splash acpi_osi=\"Windows 2009\""
[20:20] <younder> How do I set up PAM for facial recognition in 18.04?
[20:40] <euxneks> how do I set up focus follows mouse in ubuntu 18.10?
[20:48] <HexicPyth> Oops
[20:49] <HexicPyth> I think I found a way to DoS multi-NIC ubuntu installs with ssh enabled
[20:50] <HexicPyth> That's not good :)
[20:59] <UbuXubU> we edited my grub nd updated and still i cannot dim or brighten my screen
[21:00] <EriC^^> UbuXubU: try sudo apt-get install xbacklight
[21:01] <EriC^^> UbuXubU: then type "xbacklight -20%"
[21:01] <EriC^^> see if it dims a little
[21:02] <UbuXubU> it kloookes like instlled but that next cmd did nothing
[21:02] <EriC^^> UbuXubU: try "xbacklight -40%"
[21:02] <UbuXubU> buti didint realize that was to dim it
[21:02] <UbuXubU> nuttin
[21:02] <UbuXubU> aand i was watchin
[21:03] <UbuXubU> is it cuz i hav nite light on?
[21:03] <EriC^^> UbuXubU: try "sudo -c 'echo 100 > /sys/class/backlight/intel_backlight/brightness'"
[21:04] <EriC^^> wait i think sudo -c doesnt exist
[21:04] <UbuXubU> ok
[21:04] <UbuXubU> i didint do it
[21:04] <EriC^^> UbuXubU: try "echo 100 | sudo tee /sys/class/backlight/intel_backlight/brightness"
[21:04] <digimonstah> I have a prob. I've added a russian keyboard layout - but when I start typing in the firefox - it still types in English. (however it is switched to russian).
[21:04] <UbuXubU> over 10 yrs i have neve ..even will help fixed ubuntu
[21:05] <UbuXubU> do i need the "
[21:05] <EriC^^> UbuXubU: no
[21:05] <UbuXubU> in the front and back?
[21:05] <UbuXubU> ok
[21:05] <UbuXubU> thattd diummed it
[21:06] <EriC^^> UbuXubU: ok
[21:06] <digimonstah> Why ain't the input language changing? Pls help
[21:07] <EriC^^> UbuXubU: you could install xbindkeys and bind ctrl+f1 to dim the backlight and ctrl+f2 to brighten it
[21:07] <UbuXubU> thanks might save my battery eric
[21:08] <UbuXubU> will it rememebr what we did
[21:08] <UbuXubU> i like this amount of dimmness
[21:09] <EriC^^> the command would be "echo $(($(cat /sys/class/backlight/intel_backlight/brightness) - 100)) | sudo tee /sys/class/backlight/intel_backlight/brightness"
[21:09] <UbuXubU> my dimmer is supposed top be Fn   and   the up and down arrow keys
[21:09] <EriC^^> that'd dim it roughly 10% with each tap
[21:10] <EriC^^> for the brightening same command except + 100 instead of - 100
[21:10] <UbuXubU> if i just run the cmd can i do it
[21:10] <UbuXubU> with no binding
[21:10] <EriC^^> UbuXubU: sure but it's very easy to bind it, i think you can do it without xbindkeys too
[21:11] <UbuXubU> will it just stay as is if we leave everythingalone
[21:11] <EriC^^> with the keyboard shortcuts stuff, like make a file called /opt/dimbacklight.sh and another /opt/brightenbacklight.sh and put the commands there
[21:11] <EriC^^> UbuXubU: i think it will reset every time the laptop turns off and on, not sure
[21:12] <UbuXubU> guess ill find out now
[21:15] <ubUXUbu> it remained dim for me eric
[21:15] <EriC^^> cool
[21:15] <ubUXUbu> so my battery should last longer
[21:16] <ubUXUbu> when this laptop was new the original battery lated 4 hrs i just bought new one it last only 2 hours
[21:16] <ubUXUbu> this might help me
[21:16] <EriC^^> yeah might help a bit
[21:16] <ubUXUbu> i did by 2 batteries to be safe though
[21:18] <EriC^^> yeah batteries seem to die quickly on laptops
[21:18] <EriC^^> mine's down to half it's original time 1 year later
[21:18] <EriC^^> actually almost 2 years later, time flies
[21:19] <ubUXUbu> yeah these china batteries i get off ebay (new) dont work as good as the real ones
[21:19] <EriC^^> i just get a new laptop, it's hard to ship batteries overseas and stuff, they're so paranoid these days
[21:20] <ubUXUbu> well i paid 25 for 2 new battery free shipping 1 yr warranty
[21:20] <EriC^^> yeah i'd ship if i could
[21:20] <ubUXUbu> i think this dimmer wil get me to 3 hrs on a charge
[21:20] <ubUXUbu> and thats acceptable
[21:21] <EriC^^> if you have any weird services running that use a lot of cpu or something it would help to disable them too
[21:21] <ubUXUbu> hgmm no idea dont linux very well
[21:22] <EriC^^> nevermind then, the usual stuff installed is ok
[21:23] <EriC^^> you never actually had the brightness to full though, if you want to try it out, type
[21:23] <EriC^^> UbuXubU: echo 976 | sudo tee /sys/class/backlight/intel_backlight/brightness
[21:24] <ubUXUbu> ok but i want it dimmer ill keep that command in case i want it bright
[21:24] <ubUXUbu> it kills my battery
[21:24] <EriC^^> alright
[21:24] <ubUXUbu> do i use the entire thing'
[21:24] <ubUXUbu> echo and all?
[21:24] <EriC^^> yeah the whole line
[21:25] <ubUXUbu> so 100 is the lowesrt 976 highest
[21:26] <ubUXUbu> its plenty bright for beoing on 100
[21:26] <EriC^^> lowest is maybe 10
[21:26] <EriC^^> at some point it'll just go blank i think
[21:26] <ubUXUbu> we did 100 right?
[21:26] <EriC^^> let me try here
[21:27] <EriC^^> yeah 10 is pretty dark i can barely see
[21:27] <EriC^^> it goes down to 1 really, but it's pretty useless
[21:27] <EriC^^> 0 is off
[21:28] <ubUXUbu> what di we do 100?
[21:28] <EriC^^> yeah
[21:28] <ubUXUbu> and the hughest is 976  right
[21:28] <EriC^^> right
[21:28] <ubUXUbu> good im about as low as i wann go then
[21:28] <ubUXUbu> thats a lot of percentge of savings
[21:29] <EriC^^> yeah
[21:30] <ubUXUbu> wow says i have 1.5 hrs left hehe i been on here for hour and 40 min already'
[21:30] <ubUXUbu> big difference
[21:31] <EriC^^> nice
[21:31] <ubUXUbu> had i stsarted the night like this maybe can get 4 hrs
[21:31] <ubUXUbu> plus i used opaque on the chat so its a lot dimmer
[21:31] <ubUXUbu> kindas transparent now
[21:32] <EriC^^> aha
[21:32] <ubUXUbu> huge diff
[21:32] <ubUXUbu> thanks alot
[21:34] <ubUXUbu> i wiped win 10 for ubuntu haha
[21:34] <ubUXUbu> but i have that on lots of other things
[21:36] <EriC^^> no problem
[21:43] <ubUXUbu> ±±surely any brightness control software in the ubuntu repository wont work
[22:17] <thiras> sorry i've lost my connection. again; will bionic have systemd 239?
[22:23] <EriC^^> !Info systemd
[22:23] <EriC^^> !info systemd
[22:23] <OerHeks> i think not that number, https://packages.ubuntu.com/bionic-updates/systemd
[22:23] <OerHeks> but patches are backported IIRC
[22:36] <frad> i have several large mkv files in an external hdd connected to my computer with a usb 3 cable. Lately I have experienced several unexpected pauses, like the computer cannot process large ammounts of data per second, but this never happened before. What could cause this?
[22:37] <TJ-> frad: have you checked the kernel log for possible errors? ("dmesg")
[22:37] <blackhaze> hello everyon I need some help
[22:38] <blackhaze> I need to find the efl version for ubuntu 18.10
[22:38] <TJ-> blackhaze: what is an efl version?
[22:39] <frad>  scsi host2: uas_eh_device_reset_handler start , what does that mean TJ- ?
[22:39] <blackhaze> enlightenment fundation library
[22:40] <TJ-> frad: uas == USB Attached SCSI
[22:40] <frad> ok, and why does it keep resetting itself?
[22:40] <blackhaze> TJ efl Enlightenment fundation libraries
[22:41] <TJ-> !info libecore1 | blackhaze
[22:42] <TJ-> !info libecore1 cosmic | blackhaze
[22:42] <TJ-> frad: something broken on the device?
[22:44] <frad> TJ-, if this not only happens with one external drive it means there is something broken in my computer... correct?
[22:44] <TJ-> frad: as it is attached by USB... does the device have sufficient power? Is it drawing power from the PC?
[22:45] <frad> TJ-, the attached unit gets its power exclusively from the usb3 cable
[22:45] <frad> from my computer
[22:47] <TJ-> frad: hmmm, I'd try providing it with its own supply if that is possible
[22:47] <frad> crap... but why is this happening just now? It was never a problem in the last 8 years
[22:47] <TJ-> frad: although the ports are supposed to be able to supply up to 900mA
[22:47] <frad> I own the unit since that long
[22:48] <TJ-> frad: they get tired, things wear out, tolerances of components change
[22:48] <frad> TJ-, what command could I use to get more information about the external drive?
[22:48] <frad> like, assembly year
[22:49] <cryptodan_mobile> Power management maybe got detected in a recent kernel update?
[22:49] <TJ-> frad: most of that is available under sysfs, or you can use 'hdparm -I /dev/sdX'
[23:56] <runc1t3r> Hi, Hwo can I run the last version of firefox as root? (possibly a permanent solution)
[23:56] <runc1t3r> how*
[23:58] <blackflow> runc1t3r: why would you want that?
[23:59] <runc1t3r> because I am working with a crowdsensing simulator which shows the results on a webpage at the end of the computation