/srv/irclogs.ubuntu.com/2018/10/26/#ubuntu.txt

bynwdoes 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 that00:06
wasanzyI can access remotely now00:06
tomreynwasanzy: great. please write my nickname when you would like to get my attention,00:08
tomreyn^ like i just did with you00:08
tomreynso 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:08
wasanzytomreyn: ok noted00:09
wasanzytomreyn: 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 too00:10
wasanzyone reason we are migrating to another server and boom the issue00:11
tomreynwasanzy: 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:12
wasanzythey are customed programs for managing fatigue00:13
wasanzywe have client devices in vehicles that sends events to this server00:13
tomreynhuman fatigue? does it give you little electro shocks when you are about to fall asleept? ;-)00:14
tomreynokay, let's not discuss the details00:14
wasanzytomreyn: Any idea what I should do next?00:14
wasanzytomreyn: yes human, it can cause your seat to vibrate00:15
tomreynthis sounds nicer00:15
tomreynso you're actuall yin a gold mine and this is for the drivers of these super huge trucks, i guess00:15
wasanzyyes00:15
tomreynwasanzy: 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 release00:16
tomreyn*custom kernel00:16
tomreynbut you are saying you can't run this if i got you right?00:16
wasanzyWe can give it a try00:17
tomreyni.e. i suspect it's a bug with this kernel version you have there00:17
wasanzythe server is already down00:17
tomreynthe server is down? you mean the service is not working currently, right?00:17
tomreynbut the server is still powered on?00:17
wasanzyapt-get can't get to the internet though00:17
wasanzyyea server up services down00:18
tomreynso is this server generally not able  to treach the internet, or is it a matter of configuration?00:18
Sir_AndreiHi00:18
Sir_AndreiTomreyn, are u always here?00:18
wasanzyI think I will have to add DNS00:18
wasanzylet me try00:18
tomreynSir_Andrei: no, still mostly human00:19
Sir_AndreiOh, nice.00:19
wasanzy# apt-get update Ign http://us.archive.ubuntu.com trusty InRelease 10% [Working]00:19
tomreynwasanzy: very well. then once it worked, you can: sudo apt-get -sfV dist-upgrade 2>&! | nc termbin.com 999900:20
tomreynwasanzy: actually it'd be good to see the apt-get update, too: sudo apt-get update 2>&1 | nc termbin.com 999900:21
tomreyntermbin.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:21
tomreynalternatively you could install the "pastebinit" utility00:22
tomreyn!pastebinit00:22
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit00:22
wasanzytomreyn: I mounted the filesystem as rw but still I can't edit any file00:22
wasanzyshows as read-only00:22
tomreynwasanzy: which file system exactly, / ?00:22
tomreyncan you: mount | nc termbin.com 999900:23
wasanzytomreyn: works now00:24
wasanzyI can run apt-get now00:24
tomreynokay, let me know when you got some output to look at00:25
wasanzyok00:25
tomreynsudo apt-get update 2>&1 | nc termbin.com 9999 ; sudo apt-get -sfV dist-upgrade 2>&! | nc termbin.com 999900:25
tomreynsudo apt-get update 2>&1 | nc termbin.com 9999 ; sudo apt-get -sfV dist-upgrade 2>&1 | nc termbin.com 999900:25
tomreyn^^typo fixed00:25
wasanzyok00:25
tomreynthe dist-upgrade is just simulated (-s), it doesn'T actually do it00:26
wasanzyfor some reason, I can run apt-get but I can't resolve domains so the error: nc: getaddrinfo: Name or service not known00:27
tomreynso you got a dns issue there00:27
tomreyndoes this work? "ping -c3 1.1.1.1"00:28
tomreynif it does, does this also work? ping abc.de00:28
wasanzydns-nameservers?00:29
tomreynthe's the name of an option you'd set in /etc/network/interfaces00:29
tomreynwhat is your actual question?00:30
tomreynnameservers are usually configured either there or in /etc/resolv.conf00:30
tomreynat least on ubuntu 14.0400:30
dos000Anyone 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 appreciated00:31
dos000i checked the DISPLAY inside vnc and it points to the right place00:31
dos000xyes works .. but not gnome-terminal00:32
dos000so is xterm00:32
dos000meaning xterm/xeyes both launch inside the vnc xsession00:32
wasanzycommand 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,  tomreyn00:33
tomreyndos000: 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 vnc00:33
dos000i even tried passin `--display=:2` to gnome-terminal with no success00:33
tomreyndos000: maybe just try setting up the ssh connection with out X forwarding if you dont striclty need it.00:34
dos000tomreyn: i verified the DISPLAY match the vnc session00:34
tomreynwasanzy: so can you resolve domain names, yet?00:34
wasanzyyes00:34
dos000tomreyn: let me restart the vnc server without ssh ..00:34
wasanzy# ping abc.de PING abc.de (213.238.32.180) 56(84) bytes of data00:35
tomreyndos000: you can also: ssh -o 'ForwardX11 no' myserver.lan00:36
tomreynwasanzy: it would always output this one line whether or not it worked.00:36
tomreynwasanzy: but i trust you if you say its working. no need to proove00:36
tomreynwasanzy: still, the apt commands should long have been done00:37
wasanzyit is done00:37
wasanzybut no output to the screen00:38
tomreyncan you: echo "hello world" | nc termbin.com 999900:38
tomreyndoes this return a http address?00:38
balsaqis 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 aproxhours00:38
dos000tomreyn: 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
balsaqthe battery willl  last 4 hours in windows00:38
dos000Thank yo uso much for your help !!!00:38
tomreyndos000: welcome, good luck00:39
wasanzytomreyn: taking forever to complete00:39
tomreynwasanzy: well then i think dns is still not working. or you got routing issues.00:39
tomreynor dns works but you are firewalled so you can't reach the target00:39
tomreyncan you run: host termbin.com00:40
tomreynwhat does it return?00:40
wasanzyI think firewall00:40
tomreynthinking is good, knowing is better00:40
wasanzytermbin.com has address 5.39.93.71 termbin.com mail is handled by 0 solusipse.net.00:40
tomreynok dns works00:41
wasanzyI don't control the firewall, the I.T guys for the mine does00:41
tomreynnc -vv termbin.com 999900:41
de-factoGreat: apt broke itself the second time "apt-utils : Depends: apt (= 1.6.3ubuntu0.1) but 1.6.6 is installed"00:41
tomreynwasanzy: you're right, port 9999 is likely an issue in an enterprise environment.00:42
balsaqdoes ubuntu offer a laptop version of iotself?00:42
balsaqitself00:42
balsaqthe dfesktop version does not know how to dim the display00:42
tomreynwasanzy: but apot-get update seems to work fine, you said? if so, can you: sudo apt-get install pastebinit00:42
wasanzytomreyn: installed00:44
tomreynbalsaq: 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
tomreynwasanzy: echo "hello world" | pastebinit00:44
tomreynwasanzy:does this return a URL?00:45
wasanzyhttp://paste.ubuntu.com/p/j4HWTf5vdt/00:45
tomreynwasanzy: yeay so this works. now do: sudo apt-get update 2>&1 | pastebinit ; sudo apt-get -sfV dist-upgrade 2>&1 | pastebinit00:46
tomreynthis should return 2 urls00:46
wasanzyhttp://paste.ubuntu.com/p/dRsQMZXC54/ http://paste.ubuntu.com/p/MGw8WGPCH4/00:47
balsaqubuntu deskptop does not know how to dim a displayu on a laptop00:48
balsaqthey simply did not code it in i tried all the commands00:48
tomreynwasanzy: then: pastebinit /etc/fstab; pastebinit <( cat /proc/version; cat/proc/cmdline; echo; dpkg -l linux-image\* ; )00:48
balsaqso its killing my battery dsince the display is so bright00:49
tomreynbalsaq: i think you generalizting things based on your experience with a single device.00:49
balsaqi doesnt work00:49
wasanzyhttp://paste.ubuntu.com/p/SF9QVknZH7/ http://paste.ubuntu.com/p/QnDbqPQyWP/00:49
balsaqi have also found others saying same thing looking baclk for YEARS00:49
wasanzytomreyn: ^00:49
balsaqthey have been leaving it out for many years00:49
tomreynwasanzy: 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
wasanzyI should do it now00:50
tomreynyou know how?00:51
wasanzythis could time?00:51
wasanzyapt-get upgrade?00:51
balsaqhere is a complaint form 2.5 years ago about the same thing https://askubuntu.com/questions/762764/cant-change-brightness-in-ubuntu-16-04-lts00:51
tomreynwasanzy: i would run: sudo apt dist-upgrade00:52
tomreynwasanzy: i would run: sudo apt-get dist-upgrade00:53
tomreyn^ sorry, this rather00:53
tomreyni'm not sure there is the "apt" command in 14.0400:53
wasanzyok00:53
wasanzylet me do that now00:53
tomreynalso i should point out that 14.04 will be end of life next year00:54
hggdhbalsaq: it can happen. Different hardware, different behaviour. Your best option is to open a bug on it00:54
tomreynwasanzy: but i think you already said you have plans to migrate the application00:54
wasanzyyes00:54
wasanzyas it stands now, can I boot the machine successfully without upgrading?00:55
balsaqi did open a bug on it but i see ppl telling them about for years now00:55
balsaqthey dont care00:55
hggdh...00:55
balsaqi wonder of this is because im running only linux drivers and no proprietary00:56
hggdhbalsaq: again: different hardware, different behaviour00:56
tomreynwasanzy: 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
hggdhbalsaq: now, that's enough00:56
balsaqsorry spelled that wrong it violin i think00:57
wasanzycan't I disable any network mounting in single mode? I have the shell now00:57
tomreynwasanzy: 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
hggdhbalsaq: I am trying to tell you to please stop.00:57
wasanzytomreyn: Ok00:58
dos000ok .. 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
tomreynwasanzy: oh single mode is before network is brought up so yes you should be able to boot to recovery as we just did just fine00:58
=== JoseeAntonioR is now known as jose
tomreynwasanzy: 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
wasanzytomreyn: ok, but I can't disable the network mount and reboot?00:59
tomreyni'll see if i can find out how to do this01:00
wasanzytomreyn: yes I wan to minimize downtime01:00
tomreynuuh this is the vivid lts kernel. surely this one hasn't been supported in a long time01:01
tomreyn!vivid01:01
ubottuUbuntu 15.04 (Vivid Vervet) was the 22nd release of Ubuntu. Support ended on February 4, 2016. See !eol and https://ubottu.com/y/vivid01:01
tomreyni mean the vivid HWE kernel01:01
tomreyn!hwe01:01
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack01:01
tomreynso we should install another kernel image. either the latest hwe kernel available, or the older (but still maintained) general availability (GA) kernel01:02
balsaqis it best to update using the software updater01:03
Kyrosbalsaq: it doesnt matter01:03
balsaqok01:03
wasanzytomreyn: ok01:04
tomreynwasanzy: i suggest you: sudo apt install linux-image-generic linux-image-hwe-generic-trusty01:04
dos000https://paste.ubuntu.com/p/94XnXnRrBz/ <--- this is what i get as an error now01:05
tomreynwasanzy: 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 menu01:05
wasanzyok good01:06
wasanzyam doing that01:06
tomreynwasanzy: to bring up the grub menu at boot, hold down shift. to choose these (non 3.19.x) kernels you can enter "Advanced" there01:07
tomreyni hope one of those will fix this issue.01:07
tomreynthis would be the proper fix. if this doesn't work we'll need to find out how to disable the network mount script01:07
wasanzytomreyn: the grub loader comes automatically. and also I don't see any ntfs service running on the system01:08
tomreynwasanzy: "ntfs service"? i don'T think i mentioned this.01:09
tomreyndid you?01:09
wasanzytomreyn: you didn't I did, I was thinking it was part of the problem01:10
tomreynwasanzy: ntfs is the 'NT file system' of windows. i don't see hwo this is related to this issue.01:11
tomreynwasanzy: 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 understanding01:12
wasanzythat is true01:12
tomreynwhich is related to /etc/init/mountall-net.conf01:12
wasanzyyes this is it: /etc/init/mountall-net.conf01:14
dos000whats the easiest way to remove all my .gnome settings ? i upgraded this machine from an old ubuntu version01:14
dos000would `rm -rf ~/.config/gnome*` do it ?01:15
wasanzytomreyn: installation done, I will try rebooting01:16
wasanzytomreyn: what will happen if I comment out the entry: start on net-device-up in /etc/init/mountall-net.conf ?01:17
tomreynwasanzy: i would not do it just not, since you want to know whethe rthe kernel update fixed it or your changes to this file did01:18
wasanzyok01:18
wasanzyrebooting01:18
tomreynso better just reboot into a supported kernel for now, then the other supported kernel if the first one did not work. and01:19
tomreyn.. then we can still edit the file if it's still not working01:19
tomreynwasanzy: here's a replacement for /etc/init/mountall-net.conf in case you should need it: https://paste.ubuntu.com/p/NyPKz7mZYD/01:22
wasanzytomreyn: I need it because the kernel install didn't solve it01:25
tomreynwasanzy: so neither of the two newly added kernels fixes it?01:25
wasanzytomreyn: v4 fixed it01:29
tomreynif 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
tomreynoh nice01:29
wasanzytomreyn: it took sometime but finally boot01:30
wasanzyI will want to disable the network filesystem  mounting so I will add your script01:30
tomreynwasanzy: 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:30
wasanzyyes sure01:32
tomreynwasanzy: it's also here in case you'd like to wget it: http://termbin.com/4u6401:33
tomreynunfortunatley this doesn't work over SSL. well it does, but verifying the certificate will fail.01:34
tomreynanyways, you can just: sudo mv /etc/init/{,.}mountall-net.conf ; wget http://termbin.com/4u64 | sudo tee /etc/init/mountall-net.conf01:35
tomreynanyways, you can just: sudo mv /etc/init/{,.}mountall-net.conf ; wget -O- http://termbin.com/4u64 | sudo tee /etc/init/mountall-net.conf01:36
tomreyn^ fixed01:36
wasanzytomreyn: thank you very much. I really appreciate your support.01:38
wasanzyI wish to keep in touch with you, I have a lot to learn from you01:38
tomreynwasanzy: you're welcome. let's hope none of your drivers have fallen asleep.01:38
wasanzyYes, am hoping too01:39
tomreynwasanzy: 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:39
tomreynwasanzy: 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
tomreynwasanzy: 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:43
tomreynhttps://askubuntu.com/questions/216398/set-older-kernel-as-default-grub-entry discusses how to do thi01:44
tomreyns01:44
wasanzytomreyn: That is fine, thanks a lot01:45
wasanzyit has given me an experience01:45
tomreynyou're welcome. and keep in mind this system will be end of life in april. ;)01:45
wasanzyyea, we are replacing it with 16.0401:46
tomreyn18.04 is out, too ;)01:46
tomreynalso LTS01:46
wasanzyyea the app can't work with 18.0401:46
tomreynoh and i recommend you look into configuring dell drac for out of band management / remote access01:47
wasanzyyea sure01:47
tomreynless walking into the server room ;)01:47
cyborgjeditomreyn sorry  yesterday i feel sleep bro01:53
cyborgjediu ask me if my linux is fully patch01:54
tomreyncyborgjedi: i don't remember the details, you'd need to sum it up again.02:13
cyborgjedilibcurl02:13
tomreynthis 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
cyborgjedii was installing ncmpcpp with  mpd using brew02:14
cyborgjediand i get an error on return02:14
cyborgjedithat  i need libcurl02:14
cyborgjedibut ubuntu dont recognize it02:14
tomreynbrew? i know this exists on os x, does it exist on linux, too?02:15
cyborgjediyes02:17
cyborgjediis perfect on linux02:17
tomreynok http://linuxbrew.sh/ suggests it does.02:17
tomreynwhich ubuntu version do you run?02:18
cyborgjedilast one02:18
cyborgjedi18.0402:19
tomreynthe latest (not last one, i hope) is 18.1002:19
tomreynif you run 18.04 lts, you can just sudo apt install ncmpcpp02:19
cyborgjedi18.10 still beta02:20
cyborgjedibro02:20
tomreyn!18.1002:20
ubottuUbuntu 18.10 (Cosmic Cuttlefish) will be the 29th release of Ubuntu.  Release annoucement at https://markshuttleworth.com/archives/152102:20
tomreynokay we should edit this02:20
tomreynit was released this month02:21
cyborgjedioh ok02:21
cyborgjedicool02:21
tomreyn18.10 is not an lts release. it also doesn'T provide this package02:23
cyborgjediso what distro you can suggest me to use02:28
gxnyneWhat do you plan to do? How experienced are you?02:28
gxnyneWhat are your system specs?02:29
cyborgjedii advance but many times i dont use my laptop02:29
cyborgjediim have different jobs02:30
cyborgjeditire shop thats what i do now02:30
cyborgjedibut i have done to much with ubuntu02:30
tomreyncyborgjedi: it's available in all supported releases, i was mistaken there https://packages.ubuntu.com/search?keywords=ncmpcpp02:38
dos000$gnome-terminal -p gives this `GNOME_TERMINAL_SERVICE=:1.102` <--- anyone know what this srvice is meant to do ?02:49
kaiserhello, im having issues getting my ssh keys added on login. everytime i open a new terminal, i have to add my keys manually.02:54
Sir_AndreiHi02:59
Sir_AndreiPeople, when I upgrade my computer said: Correcting dependencies... Done, no problem with that.02:59
Sir_AndreiMy problem is I have that into a script and it asks for confirmation.02:59
Sir_AndreiHow can I automate this confirmation?03:00
Sir_AndreiI mean, kinda -y or something like that.03:00
kaiserSir_Andrei: what?03:03
Sir_AndreiKaiser, Well, I'm the autor of a script called xubucleaner.sh03:06
Sir_AndreiI have it on my Github.03:06
Sir_AndreiWell, I want something like a -y to automatically confirm "Correcting dependencies..." message when uprgrading.03:07
kaiserdude03:07
kaiserwhat03:07
cyborgjedii kno tomreyn the problem is that becasue that library not work perfect03:16
th_any good command to dump midi file information? like tracks/sequences03:31
th_found one, mftext in abcmidi03:35
=== andyhuzhill_ is now known as andyhuzhill
=== fishfox__ is now known as fishfox
=== andyhuzhill_ is now known as andyhuzhill
gbellinozWhere should I go to ask about S/MIME and Thunderbird? #thunderbird only has 15 people so that can't be it...03:46
foureight84is 4.18 officially out for 18.04?03:47
foureight84i'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 officially03:47
cyborgjedito installed just type sudo apt install mime03:47
cyborgjediand sudo apt install thunderbird03:48
tomreynfoureight84: linux 4.18 wont be available via HWE on 18.04 until february.03:48
guiverc_dfoureight84, HWE kernel upgrades start at 18.04.2 I believe; we're at 18.04.1 only currently03:49
foureight84tomreyn, i see. so there's no way to even manually install officially signed kernels?03:49
cyborgjediwhy bro03:49
tomreynfoureight84: 'proposed' has the hwe package already, but i'm not sure whether it's secureboot signed.03:50
foureight84because hades caynon has the new vega m integrated chip. doesn't work properly on 4.1503:50
guiverc_dfoureight84, I've a 18.04 box using 4.18 kernel (kernel team ppa), so yes it's possible, but its for testing purposes, not production03:52
cyborgjediguys is true that deepin linux has a malware03:52
foureight84yea03:52
foureight84i'm actually on 4.19rc403:52
tomreyn!deepin03:53
foureight84but i am looking for secureboot signed 4.18 which isn't available03:53
tomreynfoureight84: i suspect ubuntu 18.10 provides secureboot signed 4.18, but as to whether that's enough motivation to upgrade ymmv03:55
tomreynmaybe just disable secureboot for now03:55
cyborgjediyes deepin03:55
foureight84tomreyn, yea i suspect that it does too but i don't want to upgrade it03:55
cyborgjedii saw a video03:55
tomreyncyborgjedi: we only support ubuntu here03:56
cyborgjedii know03:56
cyborgjedii was just curious03:56
cyborgjediabout me03:56
tomreynok there is #ubuntu-offtopic03:56
foureight84i 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 it04:02
tomreyn!latest04:02
ubottuPackages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa.04:02
=== capella|away is now known as capellaGoesBOO
=== capellaGoesBOO is now known as capellasGloom
arunangshuI 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 help04:08
cyborgjediinstall samaba server04:08
cyborgjedii will let you shared the file04:08
arunangshubut 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 machine04:10
foureight84what vm software are you using? if it's vbox or vmware you can create a shared folder04:10
foureight84that is if you don't need it available on the entire network04:10
cyborgjediexactly04:10
cyborgjedithats another way04:10
cyborgjedimaybe you have virtualbox04:10
arunangshuyes i using vmbox and i see see my shared folder in ubuntu file browser but  i am not able to get access04:11
arunangshuit says "You do not have the permissions necessary to view the contents of “sf_Virtual_Box”."04:12
foureight84look at the shared folder settings in vbox and see if it's set to readonly04:12
arunangshuvbox04:12
foureight84that usually what happens. and you need the vm off before settings will take place04:13
tomreynarunangshu: echo 'Virtual_Box /home/arunangshu/WindowsShare vboxsf defaults 0 0' | sudo tee -a /etc/fstab04:13
tomreynthis will mount it at VM boot04:13
foureight84so 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/u0e1K0Ep04:14
foureight84how do i check what's going on? syslog?04:15
tomreyndmesg may have hints on it, syslog is also worth a try, but this is very odd.04:16
foureight84strange not seeing anything odd04:17
tomreyneither 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 bandwidth04:18
foureight84hmm04:18
foureight84must be that 4.19 rc kernel doing its magic then04:18
tomreynvmstat should tell04:18
foureight84procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----04:18
foureight84 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st04:18
foureight84 0  0      0 16434776 330444 8757304    0    0    19    52  116   74  9  3 88  0  004:18
foureight84ops sorry should have used pastebin04:19
duoifoureight84 /topic04:21
tomreyn!paste | foureight8404:23
ubottufoureight84: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.04:23
tomreynthis system is mostly idle. another possible explanation is that /boot ran full04:24
tomreyndf -h | pastebinit04:24
foureight84yea i didn't see anything odd running df or free -m04:28
foureight84https://pastebin.com/v2rC0BtK04:29
tomreynlooks fine. no idea.04:30
foureight84ah crap04:30
tomreynnothing in dmesg?04:30
foureight84yea i'm not seeing anything related to kernel or apt04:31
foureight84this is a terrible idea but i'm going to restart04:31
foureight84famous last workds :/04:31
dlamim on 18.04, and my MSI GS60 laptop fan keeps turning off and on:   any ideas?04:48
dlamon how to debug?04:48
lotuspsychjedlam: you sure its an ubuntu issue and not like normal procedure?04:49
dlami dont think its an Ubuntu issue,  i updated the laptop's BIOS and it now has this issue  x__x04:50
lotuspsychjedlam: more a question for ##hardware mate04:50
dlamim wonderin' if there's maybe some command I can type to debug why the fan is turning off or on04:50
dlamooo kk #hardware04:51
lotuspsychjedlam: there are some tools you can install informative, like lm-sensors and cpufreq04:52
lotuspsychje!info laptop-mode-tools | dlam also usefull04:53
ubottudlam also usefull: laptop-mode-tools (source: laptop-mode-tools): Tools for Power Savings based on battery/AC status. In component universe, is optional. Version 1.71-2ubuntu1 (bionic), package size 83 kB, installed size 378 kB04:53
dlamthanks thx tanx04:58
=== nisanhindia is now known as nisankhindia
nisankhindia.05:12
=== nisankhindia is now known as cosmic
sofia07Hello guys- I installed ubuntu server 18.04 and I cannot see virt-manager there ?05:17
=== cosmic is now known as cosmo
=== cosmo is now known as cosmic_2019
lotuspsychjesofia07: join #ubuntu-server please05:19
=== cosmic_2019 is now known as nisankhindia
cyborgjedi1im back guys05:30
lotuspsychjecyborgjedi1: welcome back05:32
cyborgjedi1thks05:32
ZaZaQRhello05:33
lotuspsychjemorning ZaZaQR05:34
ZaZaQRits 10:35pm here05:35
kalikatzits 10:36pm here05:36
lotuspsychjeZaZaQR: yes #ubuntu has users all over the world with different timezones05:36
cyborgjedi1guys im having erros configuring mpd and ncmpcpp05:37
ZaZaQRlol i know05:37
nisankhindiacyborgjedi1: For MPD and MPD client configuration goto https://www.musicpd.org/ and for ncmpcpp goto their developer documentation guides05:40
UserInterfaceHey 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
lotuspsychjesee also the #mpd channel cyborgjedi105:40
nisankhindiacyborgjedi1: and after following the step from the above mentioned guide .. if still there you have issues than revert back to us05:40
nisankhindiaUserInterface: provide system information , distribution release version , Kodi log details05:42
cyborgjedi1ok thks for the help05:43
UserInterfaceubuntu 18, kodi from there homepage\wiki latest release. Nuc with Intel HD 5500 Graphics05:43
UserInterfaceoh kodi log.. let me see if i can find that.05:44
UserInterfacethat would help05:44
IniGithello05:44
IniGitWhen 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:45
lotuspsychjeIniGit: sudo apt install package does everything for you05:46
nisankhindiaUserInterface: 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 repositories05:46
UserInterfacesql error or missing database. I should be able to find that now.05:47
UserInterfaceyes. 18,04,105:47
lotuspsychjeIniGit: we strongly advice to install packages from the repos instead of building from source05:47
UserInterfacei can work it out now i know where problem is.. i should have thought of a log05:47
nisankhindiaUserInterface: 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 KODI05:49
ZaZaQRwhoa05:51
cyborgjedisup05:51
UserInterface: i installed with instructions from wiki05:54
nisankhindiaIniGit: The .deb-files you have allready downloaded are stored in /var/cache/apt/archives/05:55
=== anonimip_ is now known as anonymip
=== xerox123- is now known as xerox123
=== geheimni1` is now known as geheimnis`
=== vioan_ is now known as IonutVan_
=== StoneTable is now known as aisrael
UserInterfaceoh, you know what os updated whilst i was half way through commands.. ill see if i can uninstall05:56
UserInterfacewhats ppa?05:57
UserInterfaceoh, nevermind i see that was a command i ran05:57
nisankhindiaUserInterface: what is the output of " dpkg -s kodi "05:58
UserInterfacelots. but ends with this package contains all the architecture independent data needed to have working kodi.06:00
UserInterfacei'll just uninstall and install should fix it i think. guess it had locked files due to update06:01
=== RAX is now known as rax-
nisankhindiaUserInterface: give a try using ubuntu repository to check whether you face the same issue , instead of downloading / installing it from their website06:01
UserInterfacewhen i tried that it said not found06:03
UserInterfacewell i tried sudo apt-get install kodi.. assuming that is correct.06:03
UserInterfaceshould i install over the top or uninstall first?06:04
nisankhindiaUserInterface: do you have followed this https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux06:04
IniGitWhy is there no icecat package in the ubuntu repo?06:05
=== sauvin_ is now known as Sauvin
nisankhindiaIniGit: 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 forum06:08
IniGitisankhindia: The only way to install Icecat is to compile it from source, which is really unrealistic for any enduser06:09
IniGitIt's like a 2 page compile process06:10
UserInterfacewhen i do 'sudo apt-get install kodi' it says alredy newest version06:10
UserInterfacenot sure how to uninstall..06:10
nisankhindiaInitGit: IceCat used to be available in a repository created by the Gnuzilla Team, but that project is dead.06:11
IniGitnisankhindia: Icecat is dead?06:12
IniGitnisankhindia: I read that this is a high priority project06:12
=== andyhuzhill_ is now known as andyhuzhill
nisankhindiaUserInterface: 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 again06:12
nisankhindiaInitGit: Confused !!! read here https://wiki.ubuntu.com/IceCat06:13
IniGitnisankhindia: I already read that page before, what do I see there?06:14
UserInterfacei followed this https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux06:15
UserInterfaceand did these commands06:15
UserInterfacesudo apt-get install software-properties-common sudo add-apt-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install kodi06:15
IniGitI see that the link is broken06:15
nisankhindiaInitGit: i think there are more advanced browsers avaibale in the market than IceCat06:16
UserInterfacealso tried the unistall commands but they didnt uninstall06:16
IniGitnisankhindia: What is in your opinion the best choice from an free software standpoint? Firefox?06:17
Rembohello, is tzdata patch require reboot after patching on ubuntu 14.04?06:17
UserInterfaceman im dumb. found uninstall in ubuntu software.. what way did you recommend i install?06:20
nisankhindiaInitGit: It's upto you , choose any one of the available browser .. it's upto you .. chromium , firefox , yandex , chrome , Maxthon , Brave etc06:20
IniGitnisankhindia: I read that chrome has significant privacy issues06:21
Rembo?06:21
IniGitnisankhindia: ANd that Brave in the last release too06:21
UserInterfaceshould i use the 4 commands on the wiki again06:24
Rembohello, is tzdata patch require reboot after patching on ubuntu 14.04?06:26
tachikomasRembo, no .06:27
pukey420US Election Party Mon. 11/5/18 23:5906:28
nisankhindiaRembo: thus your system notified you to restart06:28
nisankhindiapukey420: this it related to Ubuntu ??06:29
nisankhindiapukey420: Is it related to Ubuntu06:29
pukey420Suck a bag of dicks.06:29
tachikomas:D really dont look like it :)06:29
nisankhindiapukey420: please maintain the rules . it's a public channel06:30
pukey420Please suck a bag of dicks.06:31
lotuspsychje!ops | pukey42006:31
ubottupukey420: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax06:31
nisankhindiapukey420: final request maintain the rules06:31
pukey420Shut the fuck up.06:31
pukey420Whiny little bitch.06:31
nisankhindiapukey420: triggered . You have violated rules . thanks for in this channel06:32
* pukey420 quietly masturbates.06:32
UserInterfacethanks nisankhindia it's working now06:33
nisankhindiaUserInterface: welcome06:34
UserInterfacenow i just need ot map drives and i can have a nap :)06:34
pukey420US Election Party Mon. 11/5/18 23:5906:35
tachikomasI 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:35
UserInterfacedoes someone have a link i can follow to permanently map a drive to my nas?06:36
lotuspsychjeUserInterface: feel free to showoff nuc in #ubuntu-discuss im interested06:36
lotuspsychje!nfs | UserInterface06:37
ubottuUserInterface: nfs is the network file system. See https://help.ubuntu.com/community/SettingUpNFSHowTo for information on installing and configuring NFS.06:37
UserInterfaceits nothing fancy, just a old faulty one from work i repaired06:37
UserInterfacethanks ubottu.. they are quite different to the link i had up06:38
lotuspsychjeUserInterface: always keep in mind there are 2 ways, the ubuntu way and the internet fishy tutorial way :p06:39
tachikomasOr even better way, if i have a Non lvm media, can i make it lvm without making a full format :)06:39
lotuspsychjeUserInterface: we always try to focus on the ubuntu way06:39
UserInterfacewhich is probably why i can even see my desktop.. lol06:40
lotuspsychje!lvm | tachikomas can this help?06:41
ubottutachikomas can this help?: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto06:41
tachikomasOk :) i'l take a look at the doc :)06:42
UserInterfacethat link appears to be setting up a NTFS server.. not connecting to one unless i am missing something06:44
UserInterfaceoh wait. i can see it already in 'files'06:46
gigirockUserInterface, so is already mounted...06:46
UserInterfaceguess so, it was under other locations.. does ubuntu assign drive letters or is that a windows thing?06:47
gigirockUserInterface, if oyu perform 'mount' you can see what is actually mounted06:47
nisankhindiaUserInterface: Good ! you seems to be sailing in the ocean of information . good luck06:47
nisankhindiaUserInterface: read the basics of  Linux . You will have these answers .. Linux Filesystem and Directory structures06:48
UserInterfacei 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:48
UserInterfaceYeah i just want to get kodi on, then i will learn everything when i switch my laptop from win 1006:49
UserInterfacei can take my time with everything else.06:49
UserInterfacewith out my flatmate asking me if it still broken every 2 min06:50
nisankhindiaUserInterface: see in the address of the path in files06:50
nisankhindiaUserInterface: what to put in kodi , the hint is in the files browser address bar06:51
=== chiluk_ is now known as chiluk
gigirock!info youtube-dl06:58
ubottuyoutube-dl (source: youtube-dl): downloader of videos from YouTube and other sites. In component universe, is extra. Version 2018.03.14-1 (bionic), package size 909 kB, installed size 5147 kB06:58
=== mceier_ is now known as mceier
nisankhindiagigirock: instead of youtube-dl try CLIPGRAB06:59
gigirocknisankhindia, never used... i will check for that07:00
nisankhindiagigirock: features are good , search integrated , including all other features that youtube-dl has , with graphical way07:01
gigirock!info clipgrab07:01
ubottuPackage clipgrab does not exist in bionic07:02
UserInterfaceis the only way to permanently mount a network share through fstab? Can i not just use the GUI?07:02
nisankhindiagigirock: it is not available through ubuntu repo , PPA or download from their website07:02
nisankhindiagigirock: PPA info --> https://launchpad.net/~clipgrab-team/+archive/ubuntu/ppa07:03
gigirockUserInterface, if you 'studied' , you can discover that you can 'mount' after the user login in some '.auto' directory under /home/dkg/.configure07:04
gigirockUserInterface, but you did not study07:05
UserInterfacei'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 complicated07:05
gigirockUserInterface, life is complicated07:05
lotuspsychjegigirock: UserInterface returned to ubuntu 1 after 15y, give him a little break07:06
gigirock15 years ?07:06
UserInterfacei 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 option07:07
UserInterfacehaha start with ubuntu.. i was just checking before i loose the little hair i have left07:08
=== acheronuk_ is now known as ackeronuk
nisankhindiasee you guys later .07:08
afx_Hello everyone! Does anyone know if you can detach an RDP connection with Remmina?07:10
afx_or how can you view 2 RDP connection windows at the same time?07:11
UserInterfaceall 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
UserInterfaceor 'smb://nas.local/share07:18
lotuspsychje!samba | UserInterface07:19
ubottuUserInterface: Samba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/lts/serverguide/samba.html07:19
UserInterfaceits a NAS not a windows share, but i'll look at those. ta07:23
lotuspsychjeUserInterface: did you get a manual with your nas? should not be too hard to access it over network right?07:26
UserInterfacei can access nas fine. If i go files\other locations then i can get to the contents.07:30
UserInterfaceI updated my fstab and can see my mount on the side of files but07:30
UserInterfaceit says operation permitted for root only..07:31
UserInterfacejust working through that07:31
=== enzotib_ is now known as enzotib
farnerupHow do I upgrade from 17.04 to 18.04?07:53
farnerup17.10 is no longer supported so do-release-upgrade will not allow me to upgrade to it07:53
farnerupTrying this: https://unix.stackexchange.com/questions/460306/ubuntu-upgrade-from-17-04-to-18-0407:57
=== capellasGloom is now known as capella|away
user53252hi, Im trying to use localectl to set layout switching config, but it doesnt work08:04
user53252how can I fix that?08:04
guiverc_dfarnerup, 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:12
baakohi 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:13
elias_abaako: Logfiles. What is it you are asking?08:15
nisankhindiabaako: they are the part of package for logging purpose and keeping old logs moved to such way in a specific time intervals08:15
baakoelias_a, want to know how the .gz files are created i have alot of them lising from 1 - 8708:15
baakonisankhindia, do the get created when the log file is full or something?08:16
elias_abaako: Are you really asking _how_ or are you asking _why_?08:16
nisankhindiabaako: logs handled daily , weekly , monthly basis , it is known as rotation ( automatic in this case )08:17
baakonisankhindia, thanks :)08:18
radkosis it possible to add more facilities then the defined one08:23
radkoslet'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 paths08:23
radkoswhat i tried to use is $template fail2ban,"/var/log/ServersLogs/%HOSTNAME%/%facilityname-text%.log"08:23
radkosand then fail2ban.* -?fail2ban08:23
zen_codercan anybody tell me how I can install pip3 for ubuntu 14.04?08:30
blackflowbaako: 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:31
zen_codersudo apt-get install python3-pip leads to =>08:33
zen_coderE: Unable to locate package python3-pip08:33
=== jelly-home is now known as jelly
blackflow!info python3-pip | zen_coder08:34
ubottuzen_coder: python3-pip (source: python-pip): Python package installer. In component universe, is optional. Version 9.0.1-2.3~ubuntu1 (bionic), package size 111 kB, installed size 585 kB08:34
blackflow!info python3-pip trusty08:34
ubottupython3-pip (source: python-pip): alternative Python package installer - Python 3 version of the package. In component universe, is optional. Version 1.5.4-1ubuntu4 (trusty), package size 78 kB, installed size 437 kB08:34
osa1how 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 it08:34
zen_coderblackflow: what does this mean?08:34
blackflowzen_coder: it means you need to enable the universe repository08:35
zen_coderhow to do this?08:35
blackflowzen_coder: https://help.ubuntu.com/community/Repositories08:36
zen_codersudo add-apt-repository universe => 'universe' distribution component is already enabled for all sources.08:36
blackflowzen_coder: you ran   apt update   ?08:37
baakohttps://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 timestamp08:38
blackflowbaako: have you installed php7.2-mysql ?08:39
blackflowPDO is just an API, you need the database driver too08:39
baakoblackflow, let me run the install common again08:40
baakocommand08:40
baakoblackflow, it was already installed08:41
UserInterfaceI 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*god08:44
UserInterfaceso painful for what is essentially a short cut to a network location..08:45
blackflowbaako: which ubuntu?08:45
UserInterfacethis 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:46
baakoblackflow, 16.04.5 AWS08:47
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
blackflowbaako: there's no 7.2 for xenial, are you using a PPA (in which case you'd have to talk to the maintainer)08:48
blackflowbaako: 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 paste08:49
baakoblackflow, okay need to call amazon asw team08:49
baakoblackflow, i did check and didnt see pdo_mysql.so08:49
UserInterfaceanyway 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 forgot08:50
blackflowbaako: dpkg -L php7.2-mysql | grep pdo_mysql.so   lists the correct path?08:50
blackflowbaako: the one PHP is apparently trying in that log entry08:50
baakoblackflow, /usr/lib/php/20170718/pdo_mysql.so08:52
baako thats what the command return08:52
blackflowbaako: reinstall php7.2-mysql then, if that file is missing, but dpkg lists it in the package.08:52
baakowhere do i get/how to get a copy of the pdo.myql.so08:52
blackflowapt install --reinstall php7.2-mysql08:52
gigirockUserInterface, ok for bourbon08:53
baakoblackflow, seems like it has install the pdo_mysql file08:55
blackflowbaako: so, problem solved?08:55
baakoblackflow, i think so08:56
UserInterfacegigrock.. took 5 hours to reinstall kodi and map a drive.. i think a whole bottle is in order!08:58
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 delete09:12
MIST__i'm trying to use find with regex but to be honest, my regex could need some work09:12
MIST__is there any other simpler way to do this?09:12
MIST__looks like i just fixed my regex, thanks anyway xD09:13
blackflowMIST__: you can use ? to mean one character, in bash expansion. for example    rm -i /path/to/*\ -\ 0?\ -\ *.log09:19
iceweweI'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 console09:27
iceweweTERM=vt102 debian-installer/framebuffer=false console=ttyS1,115200n8 console=tty0 console=tty109:28
iceweweafter the installation completes and the server reboots, serial console works through boot and up to a login console09:28
icewewebut 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 work09:28
inkymy keyboard backlight is not turning back on on lid open. how can i fix this?10:16
JimBuntuinky, it may be helpful to paste more info... such as Ubuntu flavor, kernel version, laptop make/model /etc10:25
JimBuntu!paste | inky10:25
ubottuinky: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.10:25
=== Richard is now known as Guest78003
jophishHi all10:54
EriC^hello10:54
jophishI'm running some software installed with the Nix package manager and it fails to find some ubuntu gtk modules10:54
=== EriC^ is now known as EriC^^
jophishI reported the issue here: https://github.com/NixOS/nixpkgs/issues/2400610:55
jophishI'm wondering if anyone here has any insight into why this is happening and how I might go about fixing it10:55
TJ-jophish: nixpkgs isn't a supported package management tool on Ubuntu10:59
=== Richard is now known as Guest61600
akkonradi 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 chars11:00
TJ-akkonrad: welcome to the world of regular expressions :)11:00
akkonradEriC^^, I will show you the snippet in the second.11:01
TJ-akkonrad: are you using extended regexps? as in "sed -E ..."  ?11:02
akkonradhttps://www.pastery.net/kmddtf/11:03
akkonradwhat I get is error: sed: -e expression #1, char 45: unknown option to `s'11:03
jophishTJ-: Sure, I'm aware of that11:04
akkonradcan I escape it before I pass it to sed?11:05
akkonradI mean can I escape the variable11:05
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 expression11:07
coconutCan lines in txt files be endless long?11:10
roryno because a "line" is just a series of bytes terminated by a newline11:11
roryso at what position would the newline be? infinity? doesn't work11:11
rorywhy do you ask?11:12
macopythonIs bootsect.S still used ?11:13
coconutrory: not really a reason, just was thinking about line endings in general because of sed topic above. :)11:14
roryI guess /dev/zero is endless, and /dev/urandom11:17
rorybut it's not a line because it doesn't have a line ending11:17
=== tridde is now known as trident
coconutrory: so by spec this is not limited?11:20
roryno /dev/zero is a "file" that will continue to give zero bytes forever when read11:21
roryit's not a "real" file11:21
coconutno i meant for txt files only11:21
rorymy 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 newline11:22
JimBuntuDepending 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 newline11:22
roryand in our universe you cannot create an infinite sequence of bytes AND set the last one to a particular value11:22
roryyou could consider "endless" to be "the amount of memory available" then the answer would be yes11:23
coconut:)11:23
FishBone000I have problem booting up my ubuntu11:27
FishBone000Could anyone here give a hand?11:27
roryprobably, what happens when you try to boot?11:27
FishBone000it stucked at Started Hold untill boot finishes up11:28
roryyou see this? A start job is running for Hold until boot process finishes up (Xmin Xs/no limit)11:28
FishBone000i have the same problem last weekend and i fixed it by removing an broken package in mantenance mode, but this time no more broken pakages11:29
FishBone000well, no11:29
FishBone000it just says11:29
FishBone000eh, let me reboot it, i forgot what it said11:30
roryif 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
FishBone000so it said [   OK   ]Started Hold until boot process finishes up.11:31
FishBone000well let me try it11:32
FishBone000i hold shift but no such maintanence mode showed up11:33
EriC^^FishBone000: it's under advanced > recovery mode11:34
FishBone000well, i have been to recovery mode11:34
FishBone000but if i chose "resume normal boot", it will then ask the root password and root shell prompt showed up11:36
FishBone000i could reboot from it though11:36
FishBone000So what now? Both booting up normally and from recovery menu wont work11:38
sta7icgood morning, i have a virtualization question regarding iommu. Ubuntu defaults group my LSI controller with my GPU and wondering if anyone has an advice11:51
JimBuntusta7ic, Ubuntu or Fedora 28 ?11:53
sta7ici think both, going to reboot into ubuntu to double check.. not sure which channel would be best for this topic11:54
JimBuntusta7ic, 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:00
sta7icill boot back into ubuntu to double check.. either way i dont think anyone will know or care but thats ok too =P12:01
cyphexHey, could someone let me know if the latest (non-LTS) release plays well with ryzen chips?12:04
cyphexI read there were some issues in the past (GCC crashing, no SMT, etc.) that's why I'm asking.12:06
adikwokhello ..12:13
adikwokplease help, how to merge partitions to / at /dev/sda8 ? i have /dev/sda1,2,5,6,7 and unallocated space.12:14
adikwoki has not find refference solution from askubuntu that works in my situation .12:15
adikwoki tried mount --bind --verbose /dev/sda7 /dev/sda8 .. and it made all apps can not work after mounted.12:19
cryptodanadikwok: can you run this in a terminal "sudo parted -l | nc termbin.com 9999" and share the link12:19
qwebirc85113Basic 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 found12:20
qwebirc85113Of course the MYUSER is my actual user... they are both given +x using chmod.. any advice?12:20
qwebirc85113Both scripts are located in that Downloads folder, and I am standing in it when executing sudo ./fourprog.sh12:21
JimBuntuqwebirc85113, Did you mean to use './home/MYUSER' instead of '/home/MYUSER/ ?12:22
cryptodanqwebirc85113: does the file exist there?12:22
john_ramboI am having trouble updating 18.04 >>> https://paste2.org/EEnm08Ve ....What's the solution ?12:22
qwebirc85113JimBuntu: I don't know the difference :S I am not clear on what the dot does...12:23
qwebirc85113cryptodan: I do suspect the path is wrong, but I don't know how to check it12:23
JimBuntu./ means it's the current directory12:23
qwebirc85113Oh it makes it a relative path?12:23
JimBuntuYes, it's not looking for /home/blah12:24
qwebirc85113Great, thanks. It works now.12:24
qwebirc85113Told you it was basic :D thanks a lot12:24
JimBuntuyw12:24
adikwokcryptodan: http://termbin.com/u2cp12:25
cryptodanadikwok: for that work youll need to likely backup your data and reinstall12:28
adikwokcryptodan: i had made image, saved to my ext hdd, i just dont know if it can be used to restore or not.12:29
adikwokcryptodan: is there any other way instead of re-install ?12:30
hc3Hi 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 work12:30
cryptodanadikwok: if the partitions were closer together then it would be easier but the way the partitions are setup it would be quite difficult12:31
adikwokcryptodan: wait.. i try to understand what you mean .12:33
EriC^^adikwok: you want to make sda8 with sda7?12:33
EriC^^sda7 is the current root fs and sda8 is empty?12:34
EriC^^sda5 looks like the current fs12:34
adikwokEriC^^: yes, i need more space for / which i thought it was located at /dev/sda812: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:35
cryptodanEriC^^: this is adikwok's partition lay out http://termbin.com/u2cp12:38
EriC^^yeah i have that12:38
EriC^^thanks though12:38
john_ramboI 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 end12:40
FunnyLookinHatAnyone know if there are plans to backport libinput 1.12 from cosmic to bionic with a HWE?12:41
john_ramboEriC^^, Any workarounds ?12:41
EriC^^john_rambo: do you have another internet connection? mobile tethering for example12:41
EriC^^(just for the apt update command)12:41
john_ramboEriC^^, No ... Only got cable broadband12:41
john_ramboEriC^^, I changed the mirror from my country to main12:42
john_ramboEriC^^, But same thing12:42
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 expected12:43
john_ramboEriC^^, https://paste2.org/dfZJO2yy12: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 stuff12:44
EriC^^yeah the md5sum isn't right, your isp has a cached version12:44
john_ramboEriC^^, Do you think changing the mirror will work ?12:45
EriC^^i doubt12:45
EriC^^or you could wait til your isp's cache expires12:45
john_ramboEriC^^, Okay12:46
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 level12:47
EriC^^TJ-: the same wget command gave me the expected 6a hash though12:47
adikwokEriC^^: here is df -h  && swapon -s  http://termbin.com/9dq412:50
EriC^^adikwok: hmm, something isn't right there, can you run "df -h | nc termbin.com 9999" ?12:51
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/PhasedUpdates12:53
TJ-When I do a diff on the 2 files it shows for each package:12:54
TJ--Phased-Update-Percentage: 3012:54
TJ-+Phased-Update-Percentage: 4012:54
EriC^^hmm12:55
=== bildramer1 is now known as bildramer
adikwokEriC^^: here is df -h .. http://termbin.com/yk1012:55
EriC^^adikwok: ok, so sda8 is "/", what is sda5 ?12:57
EriC^^it doesn't appear to be "/home" from that list12:58
adikwokEriC^^: sda5 is not mounted12:59
EriC^^do you know what it is?12:59
adikwoki dont know where goes my /home is12:59
EriC^^adikwok: it could be a part of "/" sda813:00
adikwoksda 5 is empty space, which i used to install windows13:00
EriC^^adikwok: ah nice, you could expand sda8 using sda5, it's right next to it13:00
adikwoki dont use it, since i hope someday can get back my corrupted windows file from that sda513:00
EriC^^what windows file?13:00
adikwokpagefile.sy13:01
adikwok*.sys13:01
EriC^^hmm what happens when you try mounting it?13:01
EriC^^sudo mount /dev/sda5 /mnt13:01
adikwokwait.13:01
adikwokEriC^^: /dev/sda5 on /mnt type ext4 (rw,relatime)13:02
EriC^^adikwok: any files there? what does "ls -l /mnt" give?13:03
adikwokonly adi .. lost+found13:03
adikwokseems like folders, i guess13:03
EriC^^aha i guess it's been formatted over the windows fs13:04
EriC^^adikwok: did you ever try using photorec to get the file back?13:05
adikwokEriC^^: didnt understand how to use photorec, .. only ever tried testdisk13:05
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 matches13:06
adikwokso, in the meantime, i left unmount sda5, .. EriC^^13:06
EriC^^yeah that's a good idea13:06
BluesKajHowdy folks13:07
EriC^^if there's no 'windows pagefile' file format there you can make your own custom one by giving it the file headers13:07
adikwokwait... i will try photorec.13:08
EriC^^ https://www.cgsecurity.org/wiki/Add_your_own_extension_to_PhotoRec13:08
adikwokyet im in love with ubuntu, try to get fastest gnome can be13: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 uses13:08
EriC^^adikwok: what is sda6 and sda7?13:09
EriC^^you could possibly use those 10gb + the extra 5gb unallocated as a separate /home partition and get more space on sda813:10
adikwoksda6 and sda7 .. not mounted .. it was my previous ubuntu installation13:10
adikwokEriC^^: 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 space13:11
adikwoki hadnt find how .. i tried reff from askubuntu .. using gparted, disks, none of those reff worked for my situation13:12
adikwokEriC^^: sudo cfdisk /dev/sda  .. i tried this today .. yet i confused in the numbers start, end, default,13:12
EriC^^adikwok: use the default starting sector13:13
EriC^^and for ending same thing, the default will let it use all the space it can13:13
EriC^^for type use '83' which just means ext fs13:14
adikwokwhich one i delete13:14
EriC^^sda6 and sda7, if you're sure you dont need them13:15
PaddyF:)13:15
adikwokwait .. i re-check it first13:15
adikwokEriC^^: .. i go to cfdisk and delete sda6,7 ?13:18
EriC^^yeah adikwok13:18
adikwokwait13:18
EriC^^this is what my pagefile.sys starts with http://termbin.com/31rn13:19
EriC^^which windows version was yours?13:20
leonardusDoes this affect Ubuntu 18.10? https://twitter.com/hackerfantastic/status/105551780122439680013:21
adikwoki deleted sda6,7 and got 8,9gb .. so . whats next?13:21
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
leonardusheres the CVE https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1466513:23
adikwokEriC^^: 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:23
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 affected13:24
blackflowactually....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:24
EriC^^adikwok: which windows version was it btw?13:25
TJ-leonardus: see https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-14665.html13:26
blackflowthe point is not setuid, but running xorg server as root, which is running as root in ubuntu if you use say nvidia proprietary driver13:26
adikwokEriC^^: in cfdisk, . im facing .. new partition , home-ext, 4,7gb, but it was from my unallocated space, instead of sda6,713:26
cryptodanpagefile.sys contains memory information on processes running over time13:27
EriC^^adikwok: odd, try to delete it, then write the new partition table13:27
EriC^^cryptodan: aha13:27
adikwokcryptodan: 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
adikwokworth lesson to experienced13:28
TJ-blackflow: ahhh, thanks for correcting me. Looking at the matrix it seems like 18.04+ is affected13:29
adikwokdelete home-ext partition too?13:29
EriC^^i've rm'd my home dir as well, nowi have a backup script :D13:29
EriC^^adikwok: yeah13:29
TJ-blackflow: I guess it depends on if you can cause the DM to add options to the X server command line13:29
TJ-blackflow: after all, if you can execute the X server as root you don't need the exploit13:30
immuhi13:31
immuhow do i copy files to my root partition folder13:31
immuor start nautilus with elevated privileges13:32
EriC^^immu: gksu nautilus then copy the files13:32
adikwoki deleted home-ext too. it made a new free space, and asking what to do with it13:32
immuhey EriC^^13:32
EriC^^or sudo -H nautilus  , hey immu13:32
immuhow u doing EriC^^13:32
EriC^^adikwok: ok, write the new partition table and exit and type "sudo partprobe"13:32
EriC^^immu: good thanks what about you?13:33
adikwokok. wait. i try it now. write the new partition .13:33
immui am good, cant find gsku13:34
EriC^^immu: np, use sudo -H nautilus instead13:35
k0smoor cp works too.13:35
adikwokEriC^^: are you sure want to write partition to disk?  ( it can destroy data )13:35
EriC^^adikwok: type yes13:35
adikwokyes. the partition tab had been altered.13:36
adikwokexit.13:36
adikwokpartprobe13:36
EriC^^adikwok: ok, try sudo cfdisk /dev/sda again13:37
EriC^^and try creating a partitiong using the whole 15gb or so13:37
adikwokEriC^^: Error: Partition(s) 6, 8 on /dev/sda have been written, but we have been unable to inform the kernel of the change,13:37
EriC^^adikwok: what does "sudo parted -l | nc termbin.com 9999" show now?13:38
adikwokEriC^^: http://termbin.com/pbqc13:39
EriC^^adikwok: it looks good13:40
EriC^^adikwok: try sudo cfdisk /dev/sda13:40
granitosaurusI need to apt download `make` so I could install it on machine that has no connection; how do I go about it?13:44
adikwokEriC^^: /dev/sda .. /dev/sda1, 2, 5, free space, 6, free space .. from cfdisk /dev/sda13:44
TJ-!info apt-offline | granitosaurus13:45
ubottugranitosaurus: apt-offline (source: apt-offline): offline APT package manager. In component universe, is optional. Version 1.8.1 (bionic), package size 45 kB, installed size 223 kB13:45
EriC^^adikwok: hmm that doesnt add up13:46
EriC^^adikwok: what does "sudo fdisk -l /dev/sda" give?13:46
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 there13:47
adikwokEriC^^: http://termbin.com/zu5m13:48
adikwokEriC^^: so i delete that 75gb extended too?13:49
EriC^^adikwok: yeah13:51
adikwokas you wish ...13:51
EriC^^adikwok: you need to recreate it at exactly sector 100147013:51
immuEriC^^, hi again13:52
EriC^^hi immu13:52
immuumm i still cannot copy files13:52
immuits says error no permission13:52
k0smowhat are you using, immu?13:53
adikwokEriC^^: you need to recreate it at exactly sector 1001470 .. Primary or Extended?13:54
EriC^^adikwok: extended13:54
k0smoshould 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 fdisk13:54
immumeaning? 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 questions13:55
ioriaimmu, if you're using nautilus,i suggest you use :  nautilus-admin13:55
ioria!info nautilus-admin13:55
ubottunautilus-admin (source: nautilus-admin): Extension for Nautilus to do administrative operations. In component universe, is optional. Version 1.1.3-1 (bionic), package size 7 kB, installed size 56 kB13:55
EriC^^adikwok: "d" to delete a partition13:55
EriC^^adikwok: do it all from fdisk, nevermind cfdisk13:55
immui have mounted a ISO file and try to copy files from it to a folder created in root13:55
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:56
immunope that option is blurred out13:57
immui have created the folders13:58
immubut cannot copy the files13:58
adikwokEriC^^: and then "n" to create a new one then follow the questions .. default num is 1001472 .. where i must write 100147013:58
EriC^^you could always use sudo cp /path/to/mounted/iso /dir to copy the files13:58
adikwokcan i just write that 1001470?13:58
EriC^^adikwok: no i dont think it would let you13:58
adikwokso, 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 one13: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.13:59
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 fine14:00
EriC^^adikwok: carry on using default starting sector, make sure to encompass the whole drive with the ending sector for the extended partition14:00
adikwokEriC^^:   Created a new partition 5 of type 'Linux' and of size 74,1 GiB.14:00
adikwokPartition #5 contains a ext4 signature.14:00
EriC^^adikwok: ok, great14:01
TJ-limbo_: sounds like something that needs reporting via snapcraft or Canonical14:01
adikwokEriC^^: Do you want to remove the signature? [Y]es/[N]o:14:01
EriC^^adikwok: wait14:02
adikwokok. waiting14: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 100147214:02
EriC^^i thought it'd be at 3029811214: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 good14:03
EriC^^sorry about that14:04
EriC^^adikwok: ah wait, you didnt actually write anything yet in fdisk, right?14:05
EriC^^*whew*14:05
adikwokEriC^^: .. ah wait, you didnt actually write anything yet in fdisk, right? .. not right.14:06
adikwokit has written to disk :[14:06
EriC^^adikwok: what does "sudo fdisk -l /dev/sda | nc termbin.com 9999" show right now?14:07
adikwokDevice     Boot  Start       End   Sectors  Size Id Type14:07
adikwok/dev/sda1  *      2048    999423    997376  487M 83 Linux14:07
adikwok/dev/sda2       999424 156301487 155302064 74,1G  5 Extended14:07
=== gotpunk_ is now known as gotpunk
EriC^^that's from the "p" or fdisk -l command?14:07
Gargravarrhey 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. any14:07
Gargravarridea what's causing this, Ubiquity, 18.04 or the disk itself?14:08
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 it14:09
EriC^^what does "sudo fdisk -l /dev/sda | nc termbin.com 9999" show?14:09
adikwokwait. its creating termbin14:09
granitosaurusTJ-, and how do I install a specific package with apt-offline?14:12
granitosaurusI've tried `apt-offline set apt-offline.sig --install-packages make`14:13
adikwokEriC^^: cant create termbin. .. name or service not known14:14
adikwokDevice     Boot  Start       End   Sectors  Size Id Type14:14
adikwok/dev/sda1  *      2048    999423    997376  487M 83 Linux14:14
adikwok/dev/sda2       999424 156301487 155302064 74,1G  5 Extended14:14
adikwokEriC^^: that was from fdisk -l /dev/sda14:14
EriC^^ok that looks good actually14:15
EriC^^adikwok: start up sudo fdisk /dev/sda again, then press "n"14:16
EriC^^for the starting sector type 100147214:16
EriC^^ending sector type 3029811114:16
EriC^^that's the main root fs14:16
adikwokwait.14:16
=== stoffepojken_ is now known as stoffepojken
immui have the nautilus-admin option installed14:18
adikwokEriC^^: Created a new partition 5 of type 'Linux' and of size 14 GiB.14:18
adikwokPartition #5 contains a ext4 signature.14:18
EriC^^adikwok: aha, also press "n" again14:18
EriC^^adikwok: for starting sector type 3029811214:18
adikwokDo you want to remove the signature? [Y]es/[N]o:14:18
immuwould it be possible if i burned the iso to a usb key and then copy the files14:18
EriC^^adikwok: say no14:18
adikwokok. no14:19
EriC^^adikwok: for the 2nd partition use starting sector 30298112 ending sector 12795289514:19
adikwokEriC^^: for starting sector type 30298112 .. default is different number.14:19
adikwokFirst sector (30300160-156301487, default 30300160):14:20
adikwokEriC^^: i can not input 30298112 . . value is out of range14:22
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:23
adikwokEriC^^: Created a new partition 6 of type 'Linux' and of size 46,6 GiB.14:25
EriC^^sounds good14:25
adikwokreal good..14:25
adikwoki think its like cut n paste the sda .. hopefully so .. *praying14:26
EriC^^:D14:26
EriC^^adikwok: what does "p" show?14:27
adikwokEriC^^: p . ..14:28
adikwokDevice     Boot    Start       End   Sectors  Size Id Type14:28
adikwok/dev/sda1  *        2048    999423    997376  487M 83 Linux14:28
adikwok/dev/sda2         999424 156301487 155302064 74,1G  5 Extended14:28
adikwok/dev/sda5        1001472  30298111  29296640   14G 83 Linux14:28
adikwok/dev/sda6       30300160 127952895  97652736 46,6G 83 Linux14:28
immuEriC^^, sorry to disturb finally i got the files copies by mounting the iso and then copying the file14:28
immuthru ISO master14:28
EriC^^fdisk is kinda being odd though, if it had that exact partition layout before why wont it let us recreate it14:28
EriC^^adikwok: the ending sector is right at 30298111, i dont know why fdisk wont let us create the next one at 3029811214:30
Az0dHello to all I'm looking to install UML but I can't it's normal ?14:30
immuhey EriC^^ why does during file copy operations does the whole system goes sluggish?14:30
EriC^^immu: i guess it's using a lot of i/o or something14:31
adikwokEriC^^: from sda 2 and 5 there is jumping numbers too.14:31
EriC^^yeah14:32
adikwoksda2 start -end .14:32
adikwokDevice     Boot    Start       End   Sectors  Size Id Type14:32
adikwok/dev/sda1  *        2048    999423    997376  487M 83 Linux14:32
adikwok/dev/sda2         999424 156301487 155302064 74,1G  5 Extended14:32
adikwok/dev/sda5        1001472  30298111  29296640   14G 83 Linux14:32
adikwok/dev/sda6       30300160 127952895  97652736 46,6G 83 Linux14:32
EriC^^adikwok: try to write the table for now using "w"14:32
EriC^^so the main root is still accessible as usual14:32
EriC^^and the windows one would still be untouched so no worries there14:33
EriC^^adikwok: see if cfdisk let's you create it at 30298112 where we want it14:33
adikwokEriC^^: Failed to add partition 5 to system: Device or resource busy14:33
adikwokThe kernel still uses the old partitions. The new table will be used at the next reboot.14:33
adikwokSyncing disks.14:33
EriC^^adikwok: also use http://paste.ubuntu.com for long pastes do the bot doesn't +q you14:34
EriC^^adikwok: no worries14:34
adikwokEriC^^: also use http://paste.ubuntu.com for long pastes do the bot doesn't +q you ... ooo . i c14:34
immuthis actually made me remove Ubuntu 18.0414:35
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 noticed14:36
EriC^^adikwok: give sudo cfdisk /dev/sda a shot14:36
adikwokEriC^^: im in cfdisk14:36
adikwokdeleted win part14:37
adikwokcreated new14:37
EriC^^hmm cfdisk is actually worse, i just tried it here it gives a bigger space between them14: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:38
immubrb14:39
Az0dNo one for a helping hand ?14:42
OerHeksAz0d, what are you trying to do, installing uml = Unified Modelling Language ?14:46
Az0dOerHeks: No User Mode Linux14:47
OerHeksoh, that package was unmaintained, Deleted on 2016-02-04 by Steve Langasek14:50
OerHeks(From Debian) RoQA; RC-buggy, low popcon, unmaintained; https://bugs.debian.org/81250114:50
ubottuDebian bug 812501 in ftp.debian.org "RM: user-mode-linux -- RoQA; RC-buggy, low popcon, unmaintained" [Normal,Open]14:50
OerHekstrusty was the last version that gave that package, https://packages.ubuntu.com/search?keywords=user-mode-linux14:50
OerHeksyou could have a look at KVM, to run virtual instances, or docker14:51
Az0dOk so no more the possibility to install UML ?14:51
Az0dKVM is similar to UML ?14:52
OerHeks!kvm14:52
ubottukvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM14:52
OerHeksoh, that url is dead14:53
OerHeksI think KVM is better, as it is ready in the kernel14:54
Az0dOkay 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 take14:56
leftyfbAz0d: you could also look into LXD containers14:58
OerHeksAz0d, sure, there are many howto's .. https://blacks3pt3mb3r.wordpress.com/linux-stuffz/264-2/ but honeypots are not supported here.14:58
tomreynAz0d: 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:58
tgm4883better isolation14:59
Az0dtomreyn: so you recommend KVM ?15:00
tomreynAz0d: for a honeypot i would, yes15:00
tgm4883Don't forget to split it out into it's own network segment15:01
Az0dtomreyn: Okay, and you don't recommend KVM for what kind of project?15:01
naptasticIf 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:02
tgm488316.04 -> 18.0415:03
tomreynAz0d: 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:03
Az0dtomreyn: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
tomreynAz0d: 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:05
Az0dtomreyn: ok15:06
tomreynAz0d: 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:08
Az0dtomreyn: And you have in mind an application that plays this role ?15:09
tomreynAz0d: 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:09
Az0dtomreyn: because I am new to the use of virtualization15:11
tomreynAz0d: i very much suggest you spend time on understanding these concepts throughly before you even think of running a honeypot.15:13
tgm4883Az0d: you really shouldn't be creating a honeypot unless you have a plan on how to isolate it from the rest of your machines15:13
countryexecI 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
Az0dtomreyn & tgm4883: I have a plan of my course in the same way except that it is based on UML15:14
tgm4883countryexec: hit enter?15:14
tgm4883Az0d: if your course of isolation is limited to putting it in a VM, you're going to have a bad time15:15
countryexectgm4883: thank you hahaha that solved it15:15
tgm4883countryexec: yw. Sometimes the login screen gets extra messages on it for some reason15:16
Az0dtgm4883: what do you mean?15:16
tomreynAz0d: by course, you mean learning material, studies?15:16
tgm4883Az0d: 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 segment15:16
Az0dyes15:17
tgm4883Az0d: which from the questions you're asking and the answers you are providing, it sounds like that would be your entire network15:17
leftyfbAz0d: 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:17
tomreynAz0d: you should get current training matieral, basically nobody uses user mode linux in 201815:18
Az0dYou 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 Q215:19
leftyfbAz0d: If this is for a class, you should be looking for additional help from your teacher. Not IRC15:21
Az0dit'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 deploy15:23
=== solsTiCe is now known as crazyman
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 image15:25
tomreynTJ-: i just read up on it and you're right, thanks for pointing this out.15:26
tomreynstill, 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 kernel15:26
TJ-tomreyn: oh indeed, but it is has some advantages from an educational aspect15:27
tomreyni think it was the commenly used tool for this purpose back then15:27
tomreynTJ-: introspection and maybe simplicity, i assume.15:28
TJ-Yes; around 2005ish I was doing ubuntu package builds in UML15:28
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
Az0dT-J : ;)15:30
* tomreyn kexec windows.exe15:33
* TJ- hands tomreyn a BSOD15:33
* 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 me15:34
=== ezzieygu1wuf is now known as ezzieyguywuf
TJ-  Bug #178496415:36
ubottubug 1784964 in policykit-1 (Ubuntu) "Regression due to CVE-2018-1116 (processes not inheriting user's supplementary groups )" [Undecided,Confirmed] https://launchpad.net/bugs/178496415:36
EriC^^this is odd, my desktop's screen won't turn on :/15:38
EriC^^it's powered but it wont show anything15:38
tomreynTJ-: 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 lightdm15:38
TJ-tomreyn: or they don't realise the cause; the effects don't really lead to the explanation15:39
TJ-EriC^^: does it show the firmware POST messages?15:39
EriC^^nope not that too15:39
tomreynEriC^^: pull monitor plug + connectors, wait 30s, reconnect?15:39
TJ-EriC^^: usual solution: unplug and reconnect15:39
EriC^^let me try hooking it up to the tv to see if it's a monitor issue15:39
EriC^^TJ-: i tried, no luck15:40
TJ-EriC^^: does the monitor blink LEDs if it doesn't have a signal?15:41
ioriaTJ-, not sure, but i guess it was 'lightdm' related15:41
EriC^^it's also not working on the other tv15:42
EriC^^i guess it's the graphics card?15:42
ioriaTJ-,  Comment #5   for a workaround : https://bugs.launchpad.net/lightdm/+bug/178141815:42
ubottuLaunchpad bug 1781418 in kwallet-pam (Ubuntu) "User not being initialized correctly on login" [Undecided,Confirmed]15:42
EriC^^the vga port of the desktop works, the hdmi fo the card no15:44
EriC^^lshw doesn't list the card neithre does lspci15:45
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:48
ioriayep15:49
TJ-ioria: Nice find! I'll investigate that here15:51
ioriaxok15:51
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 bugs16:01
pragomerin 18.04 I can install the new yaru-icon-theme via snap install communitheme16:03
ioriaTJ-, good luck16:03
pragomerbut 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 tomreyn16:03
faliesonso 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/md016:04
faliesondoes anyone know what I'm missing? is this recoverable?16:05
TJ-EriC^^: the wonders of mondern technology :)16:06
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:07
TJ-falieson: does "sudo blkid" report the RAID metadata is found16:08
faliesonTJ-: 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:10
TJ-falieson: did you try "mdadm --assemble --scan" ?16:11
faliesonTJ-: thanks, that did it16:15
ducasseadikwok: what do you expect that command to do? that's not how mount works16:16
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/1516:29
ubottuLaunchpad bug 1781418 in kwallet-pam (Ubuntu) "duplicate for #1784964 User not being initialized correctly on login" [Undecided,Confirmed]16:29
=== SimonNL is now known as SimonNL_Afk
erichlfI 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 installed16:33
erichlf texlive : Depends: texlive-fonts-recommended (>= 2017.20170525) but it is not going to be installed16:33
erichlf           Depends: texlive-latex-base (>= 2017.20170525) but it is not going to be installed16:33
erichlf           Depends: texlive-latex-recommended (>= 2017.20170525) but it is not going to be installed16:33
erichlfE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.16:33
OerHeks!paste16:34
ubottuFor posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.16:34
dportoHi 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:34
erichlfI should have used pastebin so that so many people wouldn't give me crap. lol It was 5 lines geeze16:35
OerHeksdporto, for testing, use the mainline repo16:35
OerHeks!mainline16:35
ubottuThe kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds16:35
OerHeksand https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel is certainly not outof date16:35
dportothanks for the pointer OerHeks I will try to build the kernel 4.18 for bionic .16:38
dportoI need linux-tools :-/ it's a requirement16:39
TJ-dporto: 4.18 is available for Bionic; currently in -proposed16:39
TJ-dporto:  linux-image-lowlatency-hwe-18.04-edge/bionic-proposed,now 4.18.0.8.58 amd64 [installed]16:40
dportoI will enable the propose repo and try to download just the linux-tools16:41
erichlfSo 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
erichlfand how do I fix it?16:42
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 enabled16:45
TJ-erichlf: have you done "sudo apt update" and "sudo apt -f install" to check the current state is sane?16:46
erichlfyes16:46
=== fotato is now known as votato
=== votato is now known as fotato
BluecoatAnyone know why going from 18.04->18.10 would make my font rendering look terrible?16:48
erichlfTJ-, 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
erichlfmaybe16:49
erichlfthe pastebin command results in E: Unable to locate package texlive-201716:50
erichlfah, I see the issue, let me fix the command.16:52
erichlfTJ-, https://pastebin.com/6EcHsGtZ16:53
tomreynTJ-: i was testing the default desktop installer, i.e. ubiquity.16:53
tomreynTJ-: 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
erichlfBTW TJ- none of the stderr goes into the pastebin with that command. How would I pipe that to pastebin?16:54
countryexecI 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
tomreynTJ-: the 16.04.5 installation was xubuntu16:54
erichlfnm, I figured that out. Here you go https://pastebin.com/Dkkayqqq16: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 wider16:55
TJ-erichlf: sorry, my fault16:56
TJ-erichlf: show us "pastebinit <( sudo apt install -o=Debug::pkgProblemResolver=true texlive 2>&1 )"16:56
erichlfTJ-, I did.16:56
tomreynTJ-: it must be then, i certainly used the standard ubuntu desktop installer.16:56
TJ-tomreyn:  on my affected system it had both kubuntu and xubuntu installed, which I thought was the reason16:57
TJ-tomreyn: hmmm, just when I thought I had it pinned down :D16:57
TJ-erichlf: notice the 2>&1 at the end (redirects stderr to stdout16:57
tomreynTJ-: oh, wait a minute, it is entirely possible that i had xubuntu-desktop installed in addition to the default ubuntu installation16:57
TJ-tomreyn: oh... please let that be so :)16:58
erichlfTJ-, Yeah, I notice. I had already figured it out and pasted it to https://pastebin.com/Dkkayqqq16: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:58
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 run16:59
tomreynTJ-: i'm afraid it looks like i deleted this VM since.17:00
erichlfTJ-, https://pastebin.com/Gim91tWz I think you mean sudo apt install -f?17:00
erichlfTJ-, the result of sudo apt install -f https://pastebin.com/PgseyCtX17:01
TJ-tomreyn: no worries, I'm a lot closer to the cause now thanks to ioria finding that other report17:02
TJ-erichlf: something is fundamentally wrong there, with the packages!17:03
erichlfWhich is why I am here TJ-17:03
erichlfIf it were simple I would have fixed it myself.17:03
=== boshhead_ is now known as boshhead
tomreynTJ-: 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
erichlfTJ-, 18.04 and I have used both commands17:04
erichlf4.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/Linux17:04
erichlfwhat?!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 bug17:04
erichlfwhy does it say 16.0417:05
erichlfwhat is wrong with this system?17:05
TJ-erichlf: what does "lsb_release -r" report?17:05
erichlf18.317:05
TJ-erichlf: that isn't Ubuntu!17:06
TJ-erichlf: I'd guess it is Linux Mint17:06
erichlfYeah, 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 irc17:07
tomreyncountryexec: 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:07
Bluecoathuh... maybe it's just webkit fonts that look awful.17:08
TJ-countryexec: you can also use 'udisksctl mount -b /dev/sdXY' to auto-mount under /media/$USER/<file-system-id>17:13
PaddyFhello fellow ubuntarians, do i need to consider something before switching to gnome-shell?17:20
PaddyF!runlevel17:27
ubottuIn Ubuntu all runlevels except 0,1 and 6 are by default equal. Also keep in mind that Ubuntu now uses !Upstart instead of System V init so there is normally no /etc/inittab.17:27
PaddyF!upstart17:27
ubottuUpstart is meant to replace the old Sys V Init system with an event-driven init model.  For more information please see: http://upstart.ubuntu.com/17:27
rfmUh, that'17:28
rfmUh ubuntu now uses systemd, not upstart, for several releases now...17:28
PaddyFi see, hmmm17:29
PaddyFwhich target do i need to shut down with systemctl to bring the gui down?17:30
PaddyFlightdm maybe, hmmm17:31
PaddyFno, gdm3 then?17:32
gpunknothing special ...17:32
rfmPaddyF, graphical.target and multi-user.target are the main targets that fill in for the old runlevels.17:32
* PaddyF scribbles that on a piece of paper17:33
PaddyFrfm: merci17:34
rfmPaddyF, and I think you have to use "systemctl isolate <target>" to go "backwards" in the sequence17:34
rfmPaddyF, I just tried "sudo systemctl isolate multi-user.targer" and the display manager neatly dropped out...17:34
PaddyFokay, lets see if i come back in tears :P17:36
Bluecoatanyone know how to fix font rendering in 18.10?  Webkit looks awful.17:37
=== capella|away is now known as capellasGloom
=== gotpunk_ is now known as gotpunk
=== Class7_ is now known as Class7
nshany reason that sleep 10 & killall -SIGSEGV sleep # would generate a core in working directory18:01
nshbut atril when it segvs and says "core dumped" no core to be found18:01
nshapport is disabled and ulimit -c is unlimited and core_pattern=core18:01
nshit's not landing in some tmp dir afaict18:01
=== SimonNL_Afk is now known as SimonNL
rfmnsh, no idea what atril is, does it run setuid?  linux wont drop cores if effective uid  ever changes from the real uid...18:05
nshit's a document viewer, replaced evince as default in [x]ubuntu18:05
nshnot setuid18:05
nshit did coredump to apport previously but i want a vanilla core18:05
TJ-nsh: have you checked under /var/crash/ ?18:07
qwebirc97152I 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:07
nshyeah, not there either18:08
TJ-qwebirc97152: there is no such thing as Ubuntu Beta18:08
qwebirc97152Well18:08
qwebirc97152The development one18:08
tomreyn!+118:08
tomreyn!ubuntu+118:08
ubottuCosmic Cuttlefish is the codename for Ubuntu 18.10 - Support only in #ubuntu+118:08
qwebirc97152One sec18:08
qwebirc97152Yeah18:08
tomreynignore this, sorry18:08
qwebirc97152Cosmic Cuttlefish18:09
qwebirc97152That one18:09
tomreynthat's not a pre-release version, it was released thi smonth18:09
TJ-Ahhh, so not Drowsy Donkey then?18:09
qwebirc97152No18:09
qwebirc97152Cosmic18:09
qwebirc97152Had it since last month18:10
TJ-qwebirc97152: sounds rather typical for nvidia drivers recently I'm afraid.18:10
qwebirc97152I have some photos18:10
rfmnsh, "cat /proc/sys/kernel/core_pattern" to see where cores are being sent..18:11
nshi set it to 'core'18:11
nshsleep(1) cores18:11
nshjust something weird happening with atril18:11
nshcan generate-core-file if i catch the crash in gdb18:11
qwebirc97152So, any ideas?18:11
qwebirc97152Oh, I also tried installing ubuntu mate desktop with bo success18:13
cryptodanqwebirc97152: does ctrl+alt+f1 generate a tty?18:13
qwebirc97152Wait18:13
qwebirc97152No18:13
cryptodando you get a grub screen?18:14
qwebirc97152Only ctrl alt f218:14
qwebirc97152No18:14
cryptodanso ctrl+alt+f2 produces a text based login screen?18:14
qwebirc97152Yea18:14
gpunkhi, on nvidia-settings , I have selected prime->intel , now i cant go back to nvidia18:15
UberPopeHey 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
cryptodanlogin and run "sudo apt-get purge nvidia*" and reboot18:15
qwebirc97152I did18:15
gpunkcryptodan: i have , and rebooted still no luck, nvidia-settings doent load anymore18:15
qwebirc97152Well, rip18:16
cryptodanqwebirc97152: so after purging the nvidia packages you can't get back to your regular ubuntu?18:18
gpunki have this while trying to load the module:18:21
gpunkmodprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='off'18:21
gpunkseems like disabled somewhere, but i cant find a thing in /etc18:21
qwebirc97152No18:23
qwebirc97152.i cannot18:23
qwebirc97152Now i entered recovery mode18:23
cryptodanqwebirc97152: then it wasn't the nvidia driver that caused it something else broke it18:23
qwebirc97152Hmm18:24
qwebirc97152Wait18:24
qwebirc97152Ill send u my command history18:24
qwebirc97152Oh no18:25
qwebirc97152Is too big to fit on my screen18:25
qwebirc97152Asdf18:26
qwebirc97152https://paste.ubuntu.com/p/JGb6pTqWZY/18:29
qwebirc97152the first lines i see on my screen18:30
qwebirc97152Starts at 790 ends at 86318:30
=== medberry is now known as med_
banyantreeHi Guys is someone using i3 and bluetooth?18:32
gpunki fixed it :)18:36
gpunknvidia.ko was blacklisted here /lib/modprobe.d/blacklist-nvidia.conf18:37
cryptodanweird18:37
on3pkI 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:41
tomreynon3pk: did you chekc its man page, yet?18:42
on3pkI didn't see anything about it in the man page, no :\18:44
tomreynon3pk: i just checked, too, and can't find anythign either. looks like you'd need to edit its source code.18:45
Nellukive 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:49
tomreynno idea. maybe try $(date +'%Y%m%d%H%M')18:51
tomreynor rather $(date '+%Y%m%d%H%M')18:51
Nelluksame result tomreyn18:53
tomreynNelluk: dunno then. maybe seek help in #python18:53
Nellukyeah im asking in there simultaneously18:53
on3pktomreyn, it may also be a good idea to use a more resilient vpn solution for tunneling instead of ssh18:54
tomreynon3pk: quite likely18:58
TJ-Nelluk: use "/bin/date" not "date" else you're relying on PATH19:00
Nellukyes that fixed it thank you19:01
blackflowNelluk: begs the question why not use the datetime module19:03
Nellukwell its a standalone shell script that is running on cron, that i occasionally will execute via a python module as well19:04
Sqweebcould i easily install a mobile ubuntu client onto a vile microsoft smartphone?19:13
majnoon ok i can connect to my ubuntu box using EXTENAL ip address but not LOCAL ip address (192.168.1.77)19:15
swenssonI'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:18
pragmaticenigmaswensson: 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:21
swenssonpragmaticenigma, Thanks! =)19:23
transhumanisthi! I have an iscsi question, anyone know a good place to ask?19:35
=== TheSilentLink_ is now known as TheSilentLink
uBUXUBuhello ubuntites19:56
uBUXUBui 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.19:59
jcduttonuBUXUBu, that sort of problem is laptop specific.20:00
uBUXUBuyes it sure is specicif, to millions of laptops, check google and check you tube...20:00
uBUXUBuit has been going on forever20:00
OerHeksfile a bugreport then, name ubuntu version, and hardware model and so on20:01
jcduttonuBUXUBu, which laptop make, model.  FYI, brightness works find on my laptop20:01
uBUXUBuoh 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:01
OerHeksyeah, right.20:02
uBUXUBuim not OerHeks20:02
uBUXUBuim not kidding20:02
uBUXUBui guess ill try it again20:02
uBUXUBuis a gateway nv59 laptop jcdutton20:03
uBUXUBua simple i5 processor with intel graphics20:03
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 (192.168.1.77)20:05
uBUXUBuno i havent EriC^^20:05
uBUXUBubut for an advanced world beater OS like ubuntu i should not have to do that with this laptop20:06
jcduttonuBUXUBu, ls /sys/class/backlight20:06
jcduttonare there any files there20:06
EriC^^uBUXUBu: it's not really an ubuntu problem, acpi_osi tricks the BIOS into thinking it's windows to give more features20:06
EriC^^if that's the actual problem20:06
uBUXUBubuntu@buntu-NV59:~$ ls /sys/class/backlight20:07
uBUXUBuacpi_video0  intel_backlight20:07
uBUXUBubuntu@buntu-NV59:~$20:07
uBUXUButhere it is20:07
jcduttonuBUXUBu, cd /sys/class/backlight20:07
jcduttoncd intel_backlight20:07
jcduttoncat max_brightness20:08
jcduttonwhat number does it have?20:08
jcduttoncat brightness20:08
jcduttonwhat number does that have.20:08
jcduttonbrightness is the current brightness20:08
jcduttonmax_brightness is the max value20:08
uBUXUBui dont see that what cmd do i run now20:09
younderHow do I set up PAm for facial recognition in 18.0420:09
EriC^^uBUXUBu: what does "sudo strings /sys/firmware/acpi/tables/DSDT | grep -i windows" give as the latest windows?20:09
jcduttonuBUXUBu, are you in folder /sys/class/backlight/intel_backlight20:09
EriC^^uBUXUBu: type "cat /sys/class/backlight/intel_backlight/{brightness,max_brightness}"20:09
uBUXUBupermission denied20:10
EriC^^add sudo at the start20:10
EriC^^also please run the command that starts with sudo strings20:10
RhapsodyHey 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
uBUXUBui odnt want it at max i want a lot less i want to be able to use the slider in ubuntu20:10
EriC^^uBUXUBu: yeah20:10
jcduttonuBUXUBu, echo 4000 > brightness        that should make the screen bright. A smaller value will make it dimmer20:11
uBUXUBui want the slider in ubuntu to work20:11
uBUXUBunot me using termial to change it everytime20:11
EriC^^uBUXUBu: yeah we get that, run the commands..20:12
Bashing-omRhapsody: As a 1st time installer .., choose 18.04 as it is a Long Term Support release .20:12
RhapsodyAlrighty. Anything I should really know diving in?20:12
younderRhapsody, 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.0420:12
EriC^^Rhapsody: +1 on the LTS20:12
RhapsodyI've used Ubuntu before so I'm not completely lost, but yeah20:12
Rhapsodyyounder: This is a personal PC so no serious work20:13
uBUXUBubuntu@buntu-NV59:~$ cat /sys/class/backlight/intel_backlight/{brightness,max_brightness}20:13
uBUXUBu24120:13
uBUXUBu97620: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 sorted20:13
RhapsodyGotcha.20:13
EriC^^uBUXUBu: ok what about the sudo strings command? what's the latest windows it outputs20:13
uBUXUBui missed that strinf plx put in in here20:13
jcduttonuBUXUBu, echo 400 > brightness      will make it brighter20:14
EriC^^uBUXUBu: what does "sudo strings /sys/firmware/acpi/tables/DSDT | grep -i windows"20:14
RhapsodyMight 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
RhapsodyDoes that actually simulate surround sound or just change the OS's perception?20:14
uBUXUBuwants my password then tells me itswrong20:15
uBUXUBucommand not fdound20:15
EriC^^uBUXUBu: do you have sudo access as your user?20:15
uBUXUBuplease type the exact command20:15
uBUXUBuyes i do i made error20:16
EriC^^uBUXUBu: sudo strings /sys/firmware/acpi/tables/DSDT | grep -i windows20:16
uBUXUBuok that worked20:16
uBUXUBuWindows 200120:17
uBUXUBuWindows 2001 SP120:17
uBUXUBuWindows 2001 SP220:17
uBUXUBuWindows 200620:17
uBUXUBuWindows 200920:17
EriC^^ok20:17
uBUXUBunow what?20:17
younderRhapsody, Dolby Almos is a part of the motherboard, not windows. It should work fine under Ubuntu as well20:17
EriC^^uBUXUBu: try typing "sudo nano /etc/default/grub"20:17
Rhapsodyyounder: It's more of a matter of enabling it since you need to activate the option on Windows20: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:18
younderHow do I set up PAM for facial recognition in 18.04?20:20
=== Guest4103 is now known as kdbeall
euxnekshow do I set up focus follows mouse in ubuntu 18.10?20:40
=== capellasGloom is now known as capella|away
HexicPythOops20:48
HexicPythI think I found a way to DoS multi-NIC ubuntu installs with ssh enabled20:49
HexicPythThat's not good :)20:50
UbuXubUwe edited my grub nd updated and still i cannot dim or brighten my screen20:59
EriC^^UbuXubU: try sudo apt-get install xbacklight21:00
EriC^^UbuXubU: then type "xbacklight -20%"21:01
EriC^^see if it dims a little21:01
UbuXubUit kloookes like instlled but that next cmd did nothing21:02
EriC^^UbuXubU: try "xbacklight -40%"21:02
UbuXubUbuti didint realize that was to dim it21:02
UbuXubUnuttin21:02
UbuXubUaand i was watchin21:02
UbuXubUis it cuz i hav nite light on?21:03
EriC^^UbuXubU: try "sudo -c 'echo 100 > /sys/class/backlight/intel_backlight/brightness'"21:03
EriC^^wait i think sudo -c doesnt exist21:04
UbuXubUok21:04
UbuXubUi didint do it21:04
EriC^^UbuXubU: try "echo 100 | sudo tee /sys/class/backlight/intel_backlight/brightness"21:04
digimonstahI 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
UbuXubUover 10 yrs i have neve ..even will help fixed ubuntu21:04
UbuXubUdo i need the "21:05
EriC^^UbuXubU: no21:05
UbuXubUin the front and back?21:05
UbuXubUok21:05
UbuXubUthattd diummed it21:05
EriC^^UbuXubU: ok21:06
digimonstahWhy ain't the input language changing? Pls help21:06
EriC^^UbuXubU: you could install xbindkeys and bind ctrl+f1 to dim the backlight and ctrl+f2 to brighten it21:07
UbuXubUthanks might save my battery eric21:07
UbuXubUwill it rememebr what we did21:08
=== daniel is now known as Guest11049
UbuXubUi like this amount of dimmness21:08
EriC^^the command would be "echo $(($(cat /sys/class/backlight/intel_backlight/brightness) - 100)) | sudo tee /sys/class/backlight/intel_backlight/brightness"21:09
UbuXubUmy dimmer is supposed top be Fn   and   the up and down arrow keys21:09
EriC^^that'd dim it roughly 10% with each tap21:09
EriC^^for the brightening same command except + 100 instead of - 10021:10
UbuXubUif i just run the cmd can i do it21:10
UbuXubUwith no binding21:10
EriC^^UbuXubU: sure but it's very easy to bind it, i think you can do it without xbindkeys too21:10
UbuXubUwill it just stay as is if we leave everythingalone21:11
EriC^^with the keyboard shortcuts stuff, like make a file called /opt/dimbacklight.sh and another /opt/brightenbacklight.sh and put the commands there21:11
EriC^^UbuXubU: i think it will reset every time the laptop turns off and on, not sure21:11
UbuXubUguess ill find out now21:12
ubUXUbuit remained dim for me eric21:15
EriC^^cool21:15
ubUXUbuso my battery should last longer21:15
ubUXUbuwhen this laptop was new the original battery lated 4 hrs i just bought new one it last only 2 hours21:16
ubUXUbuthis might help me21:16
EriC^^yeah might help a bit21:16
ubUXUbui did by 2 batteries to be safe though21:16
EriC^^yeah batteries seem to die quickly on laptops21:18
EriC^^mine's down to half it's original time 1 year later21:18
EriC^^actually almost 2 years later, time flies21:18
ubUXUbuyeah these china batteries i get off ebay (new) dont work as good as the real ones21:19
EriC^^i just get a new laptop, it's hard to ship batteries overseas and stuff, they're so paranoid these days21:19
ubUXUbuwell i paid 25 for 2 new battery free shipping 1 yr warranty21:20
EriC^^yeah i'd ship if i could21:20
ubUXUbui think this dimmer wil get me to 3 hrs on a charge21:20
ubUXUbuand thats acceptable21:20
EriC^^if you have any weird services running that use a lot of cpu or something it would help to disable them too21:21
ubUXUbuhgmm no idea dont linux very well21:21
EriC^^nevermind then, the usual stuff installed is ok21:22
EriC^^you never actually had the brightness to full though, if you want to try it out, type21:23
EriC^^UbuXubU: echo 976 | sudo tee /sys/class/backlight/intel_backlight/brightness21:23
ubUXUbuok but i want it dimmer ill keep that command in case i want it bright21:24
ubUXUbuit kills my battery21:24
EriC^^alright21:24
ubUXUbudo i use the entire thing'21:24
ubUXUbuecho and all?21:24
EriC^^yeah the whole line21:24
ubUXUbuso 100 is the lowesrt 976 highest21:25
ubUXUbuits plenty bright for beoing on 10021:26
EriC^^lowest is maybe 1021:26
EriC^^at some point it'll just go blank i think21:26
ubUXUbuwe did 100 right?21:26
EriC^^let me try here21:26
EriC^^yeah 10 is pretty dark i can barely see21:27
EriC^^it goes down to 1 really, but it's pretty useless21:27
EriC^^0 is off21:27
ubUXUbuwhat di we do 100?21:28
EriC^^yeah21:28
ubUXUbuand the hughest is 976  right21:28
EriC^^right21:28
ubUXUbugood im about as low as i wann go then21:28
ubUXUbuthats a lot of percentge of savings21:28
EriC^^yeah21:29
=== caravena_ is now known as caravena
ubUXUbuwow says i have 1.5 hrs left hehe i been on here for hour and 40 min already'21:30
ubUXUbubig difference21:30
EriC^^nice21:31
ubUXUbuhad i stsarted the night like this maybe can get 4 hrs21:31
ubUXUbuplus i used opaque on the chat so its a lot dimmer21:31
ubUXUbukindas transparent now21:31
EriC^^aha21:32
ubUXUbuhuge diff21:32
ubUXUbuthanks alot21:32
ubUXUbui wiped win 10 for ubuntu haha21:34
ubUXUbubut i have that on lots of other things21:34
EriC^^no problem21:36
ubUXUbu±±surely any brightness control software in the ubuntu repository wont work21:43
=== LevierMRQ1 is now known as LevierMRQ
=== NickG365_ is now known as NickG365
=== PityDaFool is now known as PityDaFool_
=== PityDaFool_ is now known as AfroThundr|enwik
=== AfroThundr|enwik is now known as AfroThundr|wiki
thirassorry i've lost my connection. again; will bionic have systemd 239?22:17
EriC^^!Info systemd22:23
EriC^^!info systemd22:23
ubottusystemd (source: systemd): system and service manager. In component main, is important. Version 237-3ubuntu10.3 (bionic), package size 2877 kB, installed size 12604 kB (Only available for linux-any)22:23
OerHeksi think not that number, https://packages.ubuntu.com/bionic-updates/systemd22:23
OerHeksbut patches are backported IIRC22:23
=== PityDaFool is now known as AfroThundr|02
=== [1]MrMobius is now known as MrMobius
=== deepfreez_ is now known as deepfreez
fradi 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:36
TJ-frad: have you checked the kernel log for possible errors? ("dmesg")22:37
blackhazehello everyon I need some help22:37
blackhazeI need to find the efl version for ubuntu 18.1022:38
TJ-blackhaze: what is an efl version?22:38
frad scsi host2: uas_eh_device_reset_handler start , what does that mean TJ- ?22:39
blackhazeenlightenment fundation library22:39
TJ-frad: uas == USB Attached SCSI22:40
fradok, and why does it keep resetting itself?22:40
blackhazeTJ efl Enlightenment fundation libraries22:40
TJ-!info libecore1 | blackhaze22:41
ubottublackhaze: libecore1 (source: efl): Core abstraction layer for enlightenment DR 0.17. In component universe, is optional. Version 1.8.6-2.5build1 (bionic), package size 115 kB, installed size 391 kB22:41
TJ-!info libecore1 cosmic | blackhaze22:42
ubottublackhaze: libecore1 (source: efl): Core abstraction layer for enlightenment DR 0.17. In component universe, is optional. Version 1.20.7-7 (cosmic), package size 192 kB, installed size 750 kB22:42
TJ-frad: something broken on the device?22:42
fradTJ-, 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:44
fradTJ-, the attached unit gets its power exclusively from the usb3 cable22:45
fradfrom my computer22:45
TJ-frad: hmmm, I'd try providing it with its own supply if that is possible22:47
fradcrap... but why is this happening just now? It was never a problem in the last 8 years22:47
TJ-frad: although the ports are supposed to be able to supply up to 900mA22:47
fradI own the unit since that long22:47
TJ-frad: they get tired, things wear out, tolerances of components change22:48
fradTJ-, what command could I use to get more information about the external drive?22:48
fradlike, assembly year22:48
cryptodan_mobilePower 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'22:49
runc1t3rHi, Hwo can I run the last version of firefox as root? (possibly a permanent solution)23:56
runc1t3rhow*23:56
blackflowrunc1t3r: why would you want that?23:58
runc1t3rbecause I am working with a crowdsensing simulator which shows the results on a webpage at the end of the computation23:59

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