[00:04] <glitsj16> sadtaco: https://www.howtogeek.com/116742/how-to-create-a-separate-home-partition-after-installing-ubuntu/ might be an alternative, a bit more work but worthwhile
[00:38] <psychoticwarrior> hey
[00:39] <unholymachine> yes?
[00:39] <unholymachine> hi
[00:40] <psychoticwarrior> whatsu p
[00:40] <psychoticwarrior> up
[00:55] <sadtaco> yeah. thanks
[00:55] <tharkun> So I used an 8GB usb dongle to install ubuntu. How can I get the usb back to its original clean state with 8GB storage?
[00:57] <lunagirl> clean state?
[00:57] <tharkun> empty
[00:58] <lunagirl> destroy the partition, create a new one and format it?
[00:59] <tharkun> lunagirl: destroy... lets start with that . How?
[01:00] <lunagirl> fdisk /dev/sdb if thats the device, p to display the partitions, d to delete, n if i remember correctly and allocate all the space, wq and then mkfs.ext4 /dev/sdb1
[01:01] <lunagirl> or plug it into a windows machine and use the disk manager to do pretty much the same stuff but with extfs or ntfs
[01:02] <tharkun> lunagirl: Thanks a lot. But the filesystem will have to remain Fat32 I use it accross several OS and it seems to be the only one that is recognized by mac and windows at the same time.
[01:02] <lunagirl> tharkun: i think extfs can do the same for you
[01:03] <tharkun> lunagirl: Thanks I will google it now. :)
[01:03] <lunagirl> check what you options are on filesystem are in win diskmanager
[01:03] <lunagirl> tharkun: :)
[01:04] <tharkun> That would be the way to go if I had a windows system but then none availabel at the moment.
[01:05] <Ben64> tharkun: just use gparted
[01:05] <tharkun> Ben64: Headless server.
[01:05] <Ben64> then parted
[01:05] <tharkun> Ben64: noted. Thanks.
[01:05] <tharkun> How can I get a root user?
[01:06] <Ben64> sudo parted will work
[01:06] <tharkun> Ben64: yes it will. The question still stands.
[01:06] <Ben64> well can you give context
[01:06] <lunagirl> Ben64: why use parted and not fdisk etc
[01:07] <Ben64> parted is smarter
[01:07] <lunagirl> that depends on the user
[01:07] <tharkun> lunagirl: like everything else in linux is a matter of personal choice.
[01:07] <tharkun> no underlying reason. Why use aptitude instead of apt-get or viceversa. Arguments are endless
[01:08] <lunagirl> tharkun: its about what works for you, not others
[01:08] <Ben64> aptitude had a lot of issues for a bit
[01:09] <tharkun> lunagirl: pick your own poison is the motto around here :)
[01:09] <lunagirl> but as of how to get root, sudo su - and then passwd, whola, you dont have to use this sudo crap anymore
[01:09] <tharkun> I have used fdisk before and parted also. But it is not everyday work so I tend to forget.
[01:09] <lunagirl> tharkun: yeah and mine is beer right now :)
[01:09] <Ben64> sudo is a good idea
[01:09] <tharkun> lunagirl: That is a good idea :D
[01:09] <lunagirl> Ben64: yes for people who dont understand root
[01:09] <Ben64> no
[01:10] <Ben64> for people who care about security
[01:10] <lunagirl> please explain
[01:10] <tharkun> Ben64: sudo has its own isues. And those are huge ones. OT for the level of expertise around here.
[01:10] <Ben64> tharkun: what issues
[01:10] <tharkun> Ben64: sorry I have to go now I'm late for an appointment but will discuss it gladly on Monday.
[01:10] <Ben64> lol
[01:11] <tharkun> You can google them and get the hang of them the underlying isue the more root you have the more knowledge you also need to hardened your server.
[01:11] <lunagirl> sudo is an illusion of security through obscurity
[01:11] <Ben64> lunagirl: that is not correct
[01:11] <tharkun> Been around long enough to see sudo fail epic
[01:12] <tharkun> GTG
[01:12] <lunagirl> well, if you need to fear root and accept ubuntu state of rights mechanism youre done for in hardening
[01:13] <Ben64> that makes no sense
[01:13] <lunagirl> that makes all sense, just ask aix, hpux, gentoo, openbsd, freebsd and others
[01:13] <Ben64> your logic is not sound
[01:14] <lunagirl> i never said it was sound, i just dont buy into this sudo saves us all crap, coming from hardened unix systems it doesnt make sense
[01:14] <Ben64> well then this is pointless to continue, please don't suggest bypassing sudo in this channel though
[01:14] <lunagirl> why not?
[01:15] <Ben64> because sudo is the way ubuntu does things, this is the ubuntu support channel
[01:15] <lunagirl> what is wrong advocating responsible root
[01:16] <lunagirl> sounding like a true beliver hiding the scriptures from the masses
[01:17] <lunagirl> and btw, i have three machines in front of me running ubuntu on two different architectures so dont lecture me on religion
[01:17] <Ben64> i'm not?
[01:18] <lunagirl> yes you are, sudo is the way of ubuntu bla bla bla <--- nothing to do with linux which is what ubuntu is
[01:19] <Ben64> feel free to join #ubuntu-ops if you'd like to discuss policies with the channel ops
[01:19] <lunagirl> no, i like to discuss real usage of a good OS
[01:19] <Ben64> do that crap in ##linux
[01:21] <akiva> Hello all. I am trying to upgrade my system wide qt version to 5.8 or higher. possible?
[01:29] <tomreyn> akiva: why would you want / need to do so?
[01:30] <tomreyn> here are some unsupported PPAs for updated QT versions in /opt https://launchpad.net/~beineri
[01:41] <akiva> tomreyn: i need a class available for oauth that was introduced in 5.8 to run my software
[01:54] <doc|work> hey. I'm trying to set up a nic alias for my wifi card (so I have a static ip at all times - no matter where my laptop is used). The last /etc/network/interfaces I tried contained http://paste.ubuntu.com/24993215/ but it never comes up with ifup -a or network-manager restart. Anyone got any ideas where I'm going wrong?
[01:59] <_28Kb> why i can't use .ico for my "desktop configuration file (application/x-desktop)"?
[02:00] <_28Kb> same .ico was there, but now it does not even prompt me when i browse to it trying to change icon
[02:01] <Ben64> why not rename it to .desktop ?
[02:02] <Ben64> oh wait i misunderstood your question
[02:02] <_28Kb> it's a dosbox louncher for a game
[02:02] <Ben64> convert it to a png?
[02:02] <_28Kb> it worked few days earlier..
[02:03] <Ben64> weird
[02:03] <_28Kb> i think so also
[02:03] <_28Kb> now my icon is blank page and i don't like it :)
[02:04] <_28Kb> i moved folder recently to another location.. maybe that messes up stuff
[02:08] <thallada> what do I do if postgresql is "active (exited)" and sudo less /var/log/postgresql/postgresql-9.5-main.log is completely empty?
[02:10] <_28Kb> tricked it... edited manually .desktop file
[02:11] <santost12> I ran "apt build-dep nginx" because I was going to compile it. I've decided to use the pkg that is already in the repos instead. How do I undo "apt build-dep nginx"?
[02:15] <doc|work> ok, so it turns out if I restart networking it works, but if I restart network-manager it loses the ip address again, which presumably means it will be lost when I come out of suspend too. Anyone?
[03:03] <SuperPulseaudio> sup! need help with this https://askubuntu.com/questions/930168
[03:08] <SuperPulseaudio> anybody here?
[03:25] <SuperPulseaudio> anyone?
[03:26] <SuperPulseaudio> 16.04 audio problem
[03:27] <SuperPulseaudio> https://askubuntu.com/questions/930168/ anyone?
[03:46] <Nilesh_> Hi
[03:47] <Nilesh_> msg NickServ identify yukossyukoss
[03:47] <Ben64> time to change your password Nilesh_
[03:47] <Nilesh_> Yeah
[03:47] <Nilesh_> :)
[03:48] <SuperPulseaudio> hehe XD
[03:51] <Nilesh_> I have problem joining #ubuntu ...it redirects to #ubuntu-unregged ..even my IRC name  is registered
[03:51] <Ben64> you're in #ubuntu
[03:52] <Nilesh_> But why #ubuntu-unregged is joined automatically when I join #ubuntu
[03:52] <Nilesh_> That confuses me
[03:52] <Ben64> idk?
[03:53] <Nilesh_> What's that?
[03:53] <Ben64> i don't know
[03:55] <Nilesh_> Fine
[03:56] <blkadder> Nilesh_, Timing I imagine. It happens to me when I first login as well. I just haven't bothered tracking it down.
[03:56] <Nilesh_> Ah I see
[04:01] <capella> heh, my chatzilla dumps me into #android-unregistered instead of #android-dev and i've not figured it out yet either ;)
[04:04] <kode54> lots of clients aren't made for services
[04:04] <kode54> and will automatically join you to all channels before authenticating completely with services
[04:07] <capella> mmmm, looks like it barfs on my |/set irc_join_delay 8| cmd ... "[WARNING] Extra parameters “8” ignored." ...
[04:07] <capella> bah, what'd I do wrong .... :/
[04:08]  * capella reading...
[04:08] <nostalgiccloud> hey Nach0z
[04:08] <Nach0z> suh
[04:17] <blkadder> So fixed it for Hexchat.... http://hexchat.readthedocs.io/en/latest/faq.html
[04:18] <blkadder> Just upped the delay before joining so ident has time to occur.
[04:22] <elky> blkadder: you should use sasl https://freenode.net/kb/answer/hexchat
[04:24] <blkadder> Well, a) I didn't really care that much to bother looking at this until someone else mentioned it, and b) I just made a change that works fine so I don't see the need to do anything else, but thanks for the suggestion.
[04:32] <Xadow> Hi guys! I'm having what seems to be an small, yet fatal problem with xorg, it seems not to be able to find screens on my virtual system, the version is xorg-server 2:1.15.1-0ubuntu2.7
[04:37] <capella> guess Ill try sasl then
[04:39] <chamunks> https://hastebin.com/erojawajib.scala anyone know whats wrong with the default apt package for gitlab in the ubuntu repo's?
[04:42] <kode54> ubuntu has a default package?
[04:42] <kode54> I just use the omnibus mess
[04:43] <chamunks> kode54 https://about.gitlab.com/installation/#ubuntu I was going to try this but it doesn't include all of the https fanciness etc.
[04:43] <kode54> oh
[04:44] <kode54> I use the gitlab.yml config variable for declaring a custom import to the nginx config
[04:44] <kode54> which declares it to import files from /etc/nginx/conf.d/
[04:44] <kode54> and there, I declare the same letsencrypt magic as I use on my other servers
[04:52] <chamunks> This is why I like docker for this kinda stuff.
[04:52] <capella> oh ah... /set and /Set ain't the same !? oO
[04:54] <chamunks> Anyways, anyone have a solution rather than telling me that this way isn't good?
[04:54] <chamunks> I need a way to get this thing working.
[04:55] <Jakethepython> Sub-process /usr/bin/dpkg returned an error code (1)
[04:55] <Jakethepython> i tried to install bind9
[04:56] <Ben64> put the whole command and output on paste.ubuntu.com
[04:58] <Jakethepython> http://paste.ubuntu.com/24994235/
[05:00] <Ben64> whats the output of uname -a
[05:00] <Jakethepython> uname -a
[05:00] <Jakethepython> Linux Gandalf 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[05:01] <Ben64> weird, it thinks you have some old kernel installed
[05:02] <Jakethepython> weird is not what i wanted to hear haha
[05:02] <Ben64> 16.04 never ran on a 3.x kernel
[05:02] <Ben64> theres no reason that should be there
[05:02] <blkadder> Jakethepython, Bind was already installed.
[05:03] <Jakethepython> I know it was more of a why all the errors
[05:03] <blkadder> Old kernel cruft.
[05:03] <blkadder> I imagine...
[05:03] <blkadder> Some screwy stuff...
[05:03] <Ben64> Jakethepython: sudo dpkg --force-all -P linux-image-extra-3.16.0-77-generic linux-image-3.16.0-77-generic
[05:05] <Jakethepython> paste bin it
[05:05] <Jakethepython> ?
[05:05] <Ben64> unless it errors no, should just fix it
[05:06] <chamunks> kode54 did you have a guide that you followed?
[05:07] <chamunks> It seems that there is a significantly lacking amount of intuitiveness to the documentation.
[05:07] <Jakethepython> http://paste.ubuntu.com/24994267/
[05:08] <blkadder> Yeah...
[05:08] <blkadder> Didn't think that was going to work.
[05:08] <chamunks> It seems that there is a significantly lacking amount of intuitiveness to the documentation.
[05:08] <blkadder> Because it was already erroring previously
[05:08] <chamunks> https://hastebin.com/abuyuxupen.rb not sure what this means.
[05:09] <Ben64> that usually works though
[05:09] <blkadder> Right, but it was already trying to remove stuff and errored out on it.
[05:10] <blkadder> Based on the previous output he provided.
[05:10] <Ben64> right, but what i suggested usually works with errors
[05:10]  * blkadder shrugs
[05:11] <blkadder> I haven't seen these particular errors before (especially the YOUR SYSTEM IS NOW UNBOOTABLE) :-)
[05:12] <Jakethepython> yeah thats really the one that scares me
[05:12] <blkadder> Jakethepython, dpkg -l | grep linux-image
[05:13] <Jakethepython> http://paste.ubuntu.com/24994277/
[05:14] <blkadder> And uname -r
[05:15] <Jakethepython> jacob@Gandalf:~$ uname -r
[05:15] <Jakethepython> 4.4.0-59-generic
[05:15] <blkadder> Well that's good.
[05:17] <Jakethepython> at least somethign is good i guess
[05:23] <Jakethepython>   is it better to just clean insatll or can we fix the paths that are screwed
[05:23] <blkadder> Can probably fix, but I don't want to give you bad info so I am looking...
[05:23] <Jakethepython> packages* not paths
[05:24] <blkadder> Since you aren't using the old kernel I don't think all the scary warnings are relevant.
[05:24] <Jakethepython> thats fine thank you very much in advance even if we don't find it
[05:24] <Jakethepython> ok thats also good news
[05:25] <Jakethepython> should i upgrade to 16.04?
[05:25] <blkadder> I'd suggest getting everything in order before upgrading...
[05:28] <Jakethepython> agreed it was more of a general question
[05:28] <blkadder> So I am pretty sure the "pH" flags on the kernel version that is throwing errors means it was half-installed.
[05:29] <blkadder> Which is probably why it can't uninstall cleanly.
[05:30] <Jakethepython> ok
[05:31] <blkadder> So for giggles let's try dpkg --purge linux-image-extra-3.16.0-77-generic
[05:32] <blkadder> I don't think it will work but let's see...
[05:32] <Jakethepython> looks very simliar to what was tried earlier
[05:32] <blkadder> That's what I thought...
[05:33] <blkadder> That's the half-installed issue...
[05:35] <Jakethepython> ok
[05:35] <blkadder>  dpkg --force-remove-reinstreq --remove linux-image-extra-3.16.0-77-generic
[05:38] <Jakethepython> same error
[05:38] <blkadder> Ok how about apt install --reinstall linux-image-extra-3.16.0-77-generic
[05:42] <Jakethepython> same error
[05:43] <blkadder> Yikes.
[05:43] <Jakethepython> thats not what i wanted to hear
[05:44] <blkadder> I'm out of my element at this point so you probably want someone more clued.
[05:44] <Jakethepython> im way out of mine right now too
[05:45] <Jakethepython> thank you for trying though :)
[05:45] <blkadder> But as I said you aren't using that kernel so I don't think it a real issue, just more of an annoyance.
[05:49] <Jakethepython> i would like to upgrade but i don't want to break it
[05:55] <Jakethepython> i don't even know if an upgrade will work
[05:57] <doc|work> I have a ip address alias set up in /etc/network/interfaces, but when I come out of suspend it's not visible. I need to run /etc/init.d/networking restart to get it to show up. Anyone got any ideas how to make it always show up?
[06:26] <glitsj16> doc|work: Have you looked for errors in your logs after resuming from suspend? What ubuntu version are you seeing this behavior on by the way?
[06:27] <doc|work> glitsj16, xubuntu 16.04, only thing in dmesg that looks relevant and perhaps out of place is: iwlwifi 0000:04:00.0: set key failed
[06:29] <glitsj16> doc|work: that might be related somehow yes.. I wouldn't know how to fix that, but you could try a custom systemd service file to run /etc/init.d/networking commands on sleep/resume
[06:30] <DeaDSouL> hi, does anyone know what 'i801_smbus' driver is for?
[06:30] <doc|work> glitsj16, thanks. Was hoping to avoid that. That's slow :/
[06:31] <glitsj16> doc|work: yup, a crude hack indeed..
[08:06] <mojtaba> Helo, does anybody know how to connect ios 10.2.1 to Ubuntu 16.04?
[08:08] <c|oneman> ew
[08:09] <c|oneman> give up, use iTunes in a VM
[08:13] <mojtaba> c|oneman: Thanks for the thought.
[08:51] <hosas> I'm having this errors http://paste.ubuntu.com/24995125/  while trying to install pygtk using  pip install pygtk
[08:54] <Exterminador> hosas: maybe a little look at this would help. I've never tried, so I don't know if it will help or not. https://launchpad.net/ubuntu/+source/pygtk
[08:54] <hosas> thanks
[08:59] <Exterminador> perhaps: apt install python-gtk2 python-gtk2-dev
[09:22] <hosas> Exterminador: I already install all those packages....but still having same error when starting hackertray
[09:23] <Exterminador> hosas: I can't help you much. as I'm here for get help also. :/
[09:24] <hosas> Exterminador: :) thanks
[09:44] <simso> hi, guys can you plz help enable radeon driver , dual gpu hp laptop, amd intel
[09:46] <simso>            GLX Renderer: Mesa DRI Intel Sandybridge Mobile
[09:53] <simso> anyone ?
[09:54] <discovered> Is there any kubuntu channel?
[09:58] <BluesKaj> Howdy folks
[10:04] <thyriaen> is it possible to mount two SSDs in the same mountpoint ?
[10:05] <thyriaen> and how about nested once like i mout one to /home/data and one to /home/data/dat2
[10:05] <thyriaen> and what will happen if i save files to /home/data and there are two SSDs mounted to
[10:05] <thyriaen> does that even make sense at all
[10:12] <fallentree> thyriaen: mount two ssds in the same mountpoint? no, but you can achieve the goal of having multiple drives cooperate in single storage scenario via mdadm/raid
[10:12] <fallentree> there's also LVM where you can combine multiple physical drives into single, contiguous logical volume / storage space
[10:13] <fallentree> thyriaen: so for example, if you want /home/data to be on both disks, each having the same copy of data, that's basically raid-1 (mirror)
[10:19] <thyriaen> fallentree, can i use raid 0 with two ssds wich are not of the same size ?
[10:20] <simso> plz guys someone help enabling radeon driver
[10:20] <fallentree> thyriaen: I think so, but it will use the smaller disks's size as reference
[10:20] <fallentree> thyriaen: btw, don't use raid-0 unless you're okay with losing data on it
[10:22] <thyriaen> fallentree, i think i dont want to use a raid anyways - i still want to have the data saperated on it - i guess i just have to use two mountpoints
[10:25] <arun_t> my system is not performing well with ubuntu so i created the backup in deja-dup directory, after creating the backup i need to copy that backup in external drive or what to do with backup?
[10:26] <arun_t> please help
[10:38] <necrophcodr> Hi everyone. If I've backed up an SD card with a few filesystems on it, using dd, is it then possible for me to restore ONLY the _written_ data, and not also all the zero's?
[10:38] <necrophcodr> I'd like to be able to not restore, say, 16GB backup, where only 2GB are used.
[10:39] <necrophcodr> Then it'd work better if I only restored the 2GB parts.
[10:42] <sary> simso: Which ubuntu/kernel version! And are you asking how to enable the AMD Catalyst (fglrx), the amdgpu or radeon driver ?
[10:44] <thyriaen> i got a question about the amd driver too
[10:44] <thyriaen> the raedeon driver is for the old crads i read the info correctly
[10:45] <thyriaen> what is the difference between amdgpu and amdgpu pro ?
[10:45] <thyriaen> and is there a repository for the amdgpu-pro available so i get automatic updates pushed via apt ?
[10:54] <frostschutz> necrophcodr, unused space is not necessarily zero. you can loop-mount and only copy files. if it's actually zero dd has conv=sparse but the target drive has to be zero for that (zero does not necessarily mean free space, so if you make dd skip zero, it should be zero at the target, or it may be corrupt).
[10:55] <simso> guys, can someplz help enable radeon , i dont have no amd options in driver manager
[10:56] <frostschutz> necrophcodr, or maybe you want something like partimage but it depends on the filesystem
[10:57] <oerheks> filezilla could do that, restoring data/partial data only
[10:58] <necrophcodr> frostschutz: okay, so the situation i'm specifically asking for is I have a RPi2 sd card with a system on it, running ext4 filesystem and all the sd card is partitioned.
[10:58] <necrophcodr> and i'd like to back that up effectively, but even more importantly i want to be able to restore in less than an hour, and that's not happening if i have to restore all of the sd card sadly
[11:00] <frostschutz> necrophcodr, so... copy files instead of dd? copying files (or even then only the files that changed using rsync) will always be faster than anything else. dd is only faster if you prepare another SD card beforehand and then switch cards entirely.
[11:00] <necrophcodr> i also don't mind getting my hands dirty and looking partitions and mangling data into submission. that's fine for me in this case, so long as the data remains non-corrupt and restorable.
[11:00] <necrophcodr> frostschutz: i'll look into making the sd card reproducable with copying then, if that's the faster method
[11:01] <frostschutz> it is, the only thing that needs special treatment is the bootloader
[11:01] <necrophcodr> I'll also look into partimage
[11:01] <frostschutz> but you should ask in a raspi channel
[11:01] <necrophcodr> frostschutz: on rpi2, isn't the bootloader just in the /boot partition only? i think that may be the case, so i should be alright there. that can be backed up in full anyway.
[11:02] <necrophcodr> frostschutz: thanks for your help! :D
[11:08] <BluesKaj> necrophcodr, if it's like RPI3 the bootloader has it's own partition on the sdcard
[11:17] <simso> guys so amd radeon is no longer supported in ubuntu 16 ?
[11:18] <oerheks> open amdradeon and open amdgpu/amdgpu-pro are..
[11:18] <oerheks> !amd
[11:20] <simso> typed man radeon , i dont see my model in the supported list
[11:23] <necrophcodr> simso: which model is it?
[11:23] <BluesKaj> simso, type amdgpu
[11:24] <simso> radeon hd 7450
[11:24] <simso> VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] [1002:6760] (prog-if 00 [VGA controller])
[11:26] <simso> info in the wiki is for ubuntu 12 , im on 16
[11:26] <necrophcodr> simso: your card is caicos, it appears to be compatible with 6400M (or a model base on that card)
[11:27] <necrophcodr> the 6400 appears in the man radeon, along with other caicos stuff, so I'm guessing your system is using the `radeon` driver for the GPU.
[11:27] <necrophcodr> simso: if you run `sudo lsmod | grep radeon` you'll know for sure.
[11:27] <simso> its not 6400 its 7450
[11:28] <simso> i have dual gpu
[11:28] <simso> nxi -Gx
[11:28] <simso> Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
[11:28] <simso>            Card-2: Advanced Micro Devices [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] bus-ID: 01:00.0
[11:28] <simso>            Display Server: X.Org 1.18.4 drivers: (unloaded: fbdev,vesa) Resolution: 1366x768@59.99hz
[11:28] <simso>            GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
[11:28] <necrophcodr> Yes, which is probably based off of the 6450, and running the same architecture, which means it's supported by the same driver. That's as much as I can assertain from the wikipedia sites.
[11:29] <BluesKaj> hybrid graphics , with amd ..good luck
[11:29] <BugzBunny> ^
[11:30] <simso> any suggestions ?
[11:31] <oerheks> i run radeon 5450 with 2 screens fine
[11:31] <oerheks> 2 movies, no problems
[11:32] <simso> guide me plz to install and enable it instead of the intel one
[11:33] <necrophcodr> simso: i think you might need to blacklist the intel driver, so the radeon driver is loaded instead, but i'm not sure.
[11:39] <ahmed751995> how can i change file from -rw------- to  -rw-r--r--
[11:40] <rud0lf> from command line?
[11:40] <ahmed751995> yes
[11:40] <rud0lf> chmod 644 filename
[11:41] <kristhian> question
[11:42] <ahmed751995> and the return file back
[11:42] <kristhian> is there a guide on installing asterisk voip server in ubuntu?
[11:42] <rud0lf> change back?
[11:42] <rud0lf> chmod 600 filename
[11:42] <kristhian> and how do i connect it to a local phone?
[11:43] <BluesKaj> !crosspost | ahmed751995
[11:43] <ahmed751995> rud0lf: thanks
[11:43] <rud0lf> glad to help
[11:44] <ahmed751995> ubottu: iam sorry
[11:44] <tomreyn> simso: i won't guide you but this is the general approach i would take: first of all check whether the radeon driverwas loaded to support this device (lspci -knn | grep -A3 VGA | egrep 'VGA|Kernel driver in use'), then blacklist the intel driver (create /etc/modprobe.d/blacklist-nameoftheintelkernelmodule.conf and type 'blacklist' followed by the name of the intel kernel module you are currently using into it), then reboot.
[11:46] <adamitsch> how to find all files which contain some string? and you also know how the name of file starts* Thanks for help
[11:52] <tomreyn> adamitsch: find /path/to/base/directory -type f -iname 'case_insensitive_filenamepattern*' -exec grep -il 'case_insensitive_searchterm' '{}' \;
[11:53] <oerheks> grep -R "text" .
[11:54] <tomreyn> that wont respect the file name pattern limitation, though
[11:54] <oerheks> err no, indeed
[11:56] <azaki> when ubuntu ships gnome, i wonder if they're going to ship it with wayland as default or if they will stick to xorg for now.
[11:56] <oerheks> !u+1
[11:57] <adamitsch> tomreyn thanks ! :D
[12:07] <beefjoe> Why does Facebook take forever to load ? on FF and Chromium
[12:14] <thewillo> hey guys, how do I install a newer libc without replacing everything? I understand linux supports having multiple libc builds/versions but I don't know how to install one without messing up everything
[12:15] <Wulf> thewillo: okay... why?
[12:16] <Wulf> thewillo: can you use a VM or chroot or similar?
[12:16] <thewillo> Wulf, Why, because I'm recompiling everything to be ryzen comaptiable
[12:16] <thewillo> and no, VM will not work
[12:17] <thewillo> or chroot
[12:17] <thewillo> I asked in #linux because I realized it's not an ubuntu question
[12:18] <Wulf> thewillo: and why wouldn't it work? Get a compiler with ryzen as target, compile call your stuff and put it into a chroot if you want to run it
[12:42] <MarkB2> I have two Intel Joule boards and am trying to copy the system from one to another.  The system on the first is on an internal MMIC memory, the second I want onto an SDHC (which, on the Joule, is a bootable object).
[12:43] <MarkB2> A dd(1) of the internal MMIC to SDHC failed because the internal MMIC is larger than the SDHC.  I went to Plan B...
[12:44] <BluesKaj> it will
[12:44] <MarkB2> .. and created partitions on the SDHC.  From there, file systems were set up (one parttion gets mkfs.vfat, the other gets mkfs.ext4) and I used tar(1) to copy everything from each partition on the MMIC to the corresponding partition on the SDHC.
[12:45] <MarkB2> Then I used blkid and some editing of fstab on the SDHC to get that straightened out.
[12:46] <MarkB2> Then used some mount and chroot chicanery to get grub2 installed on the SDHC.
[12:46] <MarkB2> All of this worked on the original system.  The SDHC would boot up and all was good.
[12:46] <MarkB2> Then the SDHC was plugged into the SECOND Joule board... and grub complained that a device was missing.
[12:47] <MarkB2> The error message blipped by too fast for me to read.. but I think it was a UUID.
[12:49] <MarkB2> I know grub2 starts up before the system has a chance to look at /etc/fstab .  But now I can't figure out why grub2 boots the system on the original host but fails on a different computer with identical hardware.
[12:50] <MarkB2> The "chicanery" mentioned above was that of binding SDHC partitions to the running system then chroot'ing to the SDHC system and installing grub2.
[12:54] <MarkB2> Suggestions would be appreciated.  Once grub2 is installed on the new SDHC device, what is the step to get the thing bootable on another, identical, piece of hardware?
[13:27] <cariveri> Hi. does anyone here know how to enable username@url for a website on apache?
[13:33] <ikonia> cariveri: you don't just enable that
[13:33] <ikonia> cariveri: you need an auth system, I assume you're probably talking about the htaccess list ?
[13:37] <antilogic> Hello is there another way to stop gdm/lightdm services? i need it to install nvidia drivers.  'service lightdm/gdm3 stop' do not appear to do anything
[13:38] <antilogic> im using ubuntu-gnome btw
[13:39] <ikonia> antilogic: use the systemd command systemctl
[13:39] <BluesKaj> antilogic, which nvidia gpu?
[13:39] <antilogic> 760M
[13:39] <ikonia> however if you install the nvidia drivers via the package manager it does it all for you
[13:39] <ikonia> are you using the ubuntu package manager to install the nvidia packages ?
[13:39] <antilogic> yah i need a specific version that came out recently
[13:40] <BluesKaj> antilogic, optimus? hybrid graphics I bet
[13:40] <antilogic> i did it before with systemctl command somehoe just forgot it
[13:40] <antilogic> BluesKaj: yah
[13:40] <antilogic> somehow*
[13:40] <ikonia> why can you not use the version ubuntu packages ?
[13:40] <antilogic> a bug fix came out in beta driver and i want to test it
[13:41] <ikonia> which bug fix ?
[13:41] <antilogic> "Fixed a bug that could sometimes cause OpenGL applications to lock up until the X server receives input."
[13:42] <ikonia> what's the bug id ?
[13:42] <antilogic> i dont know, it doenst matter i just want to install the driver :D
[13:43] <ikonia> get on with it then
[13:48] <cariveri> ikonia: htaccess and htpasswd is all in place and working. Im talking about the connection of the username@url to be passed along.
[13:50] <ikonia> cariveri: what do you mean ?
[13:52] <cariveri> ikonia: 1. enter username@mywebsite, 2. be prompted (basic auth already working), 3.  see that "username" is already entered in there (not working)
[13:54] <ikonia> cariveri: username@mywebsite - what is prompting for that ?
[13:55] <cariveri> ikonia: try this : https://ikonia@dialogium.de/arguedit/
[13:56] <leftyfb> cariveri: your question really has nothing to do with ubuntu. You need to look for help about web development.
[13:56] <Lenni> Heyo Guys! I'm a Windows Power User but I need to use Ubuntu for work on a daily bases. Any guides or stuff like that, that you could recommend to get into ubuntu as fast as possible?
[13:57] <cariveri> leftyfb: he seemed to have a clue. and I m asking here as a later resort, I already did ask somewhere else. little response on httpd e.g.
[13:58] <leftyfb> Lenni: https://goo.gl/9t3Zvv
[13:59] <EriC^^> !manual | Lenni
[13:59] <EriC^^> !tldp | Lenni
[14:00] <ikonia> cariveri: what is actually prompting the user for the user/password
[14:00] <ikonia> cariveri: as in what technology/part of the stack
[14:00] <Lenni> ay, thanks
[14:00] <leftyfb> ikonia: in that example, it's htaccess. The fact that there was a username in the URL is irrelevant and gets removed immediately.
[14:02] <leftyfb> cariveri: to be honest, there's no point in putting the username in the URL if you're just going to present a web asking for credentials. If you're going to put both the username and password in the URL, DON'T.
[14:02] <ikonia> leftyfb: I was wondering if it was a web app rather than htaccess
[14:02] <ikonia> leftyfb: some sort of auth service that is "infront" of the web application, eg: openam or something like that
[14:02] <leftyfb> ikonia: it's not. It's htaccess
[15:33] <lesshaste> is there any way to grep a pdf document for the math "2^n" ?
[15:54] <Speed_> i am trying to burn a windows iso to a DVD using my ubunto Live USB but when i open the immage writer the disc drive is greyed out so it woont let me use it
[15:54] <compdoc> sure its not a CD drive instead?
[15:55] <Speed_> it says DVD on it
[15:55] <Speed_> DVD-R-DL
[15:55] <compdoc> dont they make different dvd media? what brand and name are the DVDs youre using?
[15:56] <Speed_> windata
[15:57] <compdoc> companies make DVD+R, and DVD-R, and i think there one thats permanent, like writing on stone
[15:59] <tomreyn> https://en.wikipedia.org/wiki/Optical_disc_drive#Compatibility
[16:01] <tomreyn> you'll need to examine which device (use lspci and lsusb commands) and dvd recordables (check the label) you have there exactly to detemrine whether they're compatible.
[16:22] <BlackVenom> Hey folks
[16:22] <BlackVenom> When I log into the terminal via ssh sometimes i am told i need to restart the system because of an update
[16:23] <BlackVenom> is it possible to find out if the system needs to be rebooted after an update without logging out and then back in again?
[16:27] <pavlos> BlackVenom: you can look at /var/run/reboot-required. If it exists, a reboot is required.
[16:28] <BlackVenom> is that just a file thats created?
[16:28] <leftyfb> BlackVenom: that is the file that is cat'd to your MOTD upon logging in via ssh if it exists, yes
[16:29] <tomreyn> BlackVenom: yes, just check whether the file exists: [[ -f /var/run/reboot-required ]] && echo 'Please reboot me soon.'
[16:31] <BlackVenom> thanks folks
[16:31] <BlackVenom> what does the [[ command do tomreyn?
[16:31] <tomreyn> it invokes the bash built-in complement to the 'test' command
[16:32] <BlackVenom> thanks tomreyn
[16:33] <tomreyn> i meant to write equivalent, not completment, sorry ;)
[16:45] <JustTheDoctor> where can i find help with configuring my vncserver ?
[16:46] <tomreyn> JustTheDoctor: in its man page
[16:47] <tomreyn> also in the (possibly provided) ...-docs package
[16:50] <JustTheDoctor> I'm just trying to figure out why i did what it said and it doesnt load a gui just  blank screen with a x icon for a mouse pointer.
[16:52] <tomreyn> i'll be afk now, but if you'd like some help with this youp should discuss which software you are trying to get to work specifically (package name?), the ubuntu version you are tryin gto make it work on, your use case / overall goal, and your current configuration.
[17:15] <ducasse> JustTheDoctor: which desktop are you trying to use it with? if it's a 3d-accelerated one that's what happens.
[17:16] <JustTheDoctor> i followed this https://www.linode.com/docs/applications/remote-desktop/install-vnc-on-ubuntu-16-04 on 17.04
[17:21] <ducasse> JustTheDoctor: afaik you need to disable 3d accel, but not familiar with unity.
[17:31] <beefjoe> Why does Facebook take forever to load ? on FF and Chromium
[17:32] <beefjoe> And even after fully loading it takes a while to load every new page/chat window etc..
[17:42] <beefjoe> That's the chat window for example, just hangs like that https://imgur.com/rJXpano
[17:49] <JustTheDoctor> now when i try to login to my vnc i see this error https://prnt.sc/fqg0v2 but when i try to go create it its already there and owned by user.
[18:02] <JustTheDoctor> GOT IT
[18:05] <SchrodingersScat> JustTheDoctor: well done
[18:22] <streetwitch> When I'm logged into my shell I get messages when people try to access files, even simple ones like robos.txt .  It is really annoying when I'm in nano.  Anyone have ideas to help?
[18:23] <tomreyn> streetwitch: what do those messages say?
[18:23] <streetwitch> Just that they can't find certain files
[18:25] <tomreyn> streetwitch: those would be web server logs written to console. that's unusual, you must have modified your system logging configuration. on a default installation, this would not happen. which ubuntu version is it? have youi made any major modifications?
[18:25] <tomreyn> are we talknig about a web server ehre?
[18:25] <streetwitch> tomreyn, I'm using linode
[18:25] <streetwitch> Yes, web server messages
[18:26] <streetwitch> They get in the way when I'm editing files in the shell
[18:27] <tomreyn> so unless you modified the syslog configuration, it suggests they did it, and in that case i'd turn to them for support since this is not a standard ubuntu installation.
[18:28] <streetwitch> tomreyn that's $$$
[18:28] <streetwitch> expensive
[18:29] <tomreyn> i can't seem to find anything on the web swhich suggests that this is a generic issue with this hosting provider. so i'll assume it's modification syou made?
[18:29]  * faugusztin got a /64 IPv6 block from provider... but lost public IPv4 :(
[18:30] <faugusztin> (wrong channel, whoops)
[18:34] <genio> Is there a reason why apt autoremove just hangs like this? https://gist.github.com/genio/fd1dea91fff2c4efb22d74985796bc36
[18:34] <oerheks> genio, just be patient..
[18:35] <genio> over an hour stuck at 68%
[18:35] <oerheks> an hour is extreme, yes
[18:36] <tomreyn> might be a storage i/o issue or full file system. or it's ubuntu bash for windows hwere it's an output issue which can be worked around by pressing enter.
[18:36] <genio> FS isn't full. This is 17.04 (not bash for windows)
[18:37] <tomreyn> anything in 'dmesg -T | tail' ?
[18:38] <genio> just a poorly behaving Perl XS process I'm working on in another shell.
[18:39] <genio> oh well. I'll leave it alone while doing some yard work and see if it finishes up while I'm out
[18:39] <tomreyn> i'd do a long SMART self test on the backing devices of / and /boot next
[18:39] <tomreyn> also /var and /usr
[19:10] <arup_r> In my project npm start basically starts webpack-dev-server. I am trying to capture the pid of this process, so I did `nohup npm start > server.out & echo $! > run.pid` but run.pid is 1429 and webpack-dev-server pid is different. How can I make it correct? https://pastebin.com/iWa3ctCB
[19:10] <curlyears> \heigh hough
[19:10] <arup_r> I would like to capture the pid of webpac-dev-server process, so that I can kill it later
[19:12] <curlyears> how do I find out if my computer has bluetooth capability?
[19:12] <curlyears> and for that matter, is bluetooth supported under LYS16.04.2?
[19:13] <curlyears> LTS
[19:15] <Nicmavr> Hi, I was recently getting a lot of errors when I ran "sudo apt-get update" (must have been something to do with the recent ubuntu update). So I decided to purge all PPAs and keep just the default ones.
[19:15] <Nicmavr> Does removing a bunch of PPAs effect my system's ability to update software at all?
[19:15] <Nicmavr> Right now it says everything is up to date but I wanted to check if PPAs are necessary for program updates? I'm new to this stuff
[19:16] <arup_r> In my project npm start basically starts webpack-dev-server. I am trying to capture the pid of this process, so I did `nohup npm start > server.out & echo $! > run.pid` but run.pid is 1429 and webpack-dev-server pid is different. How can I make it correct? https://pastebin.com/iWa3ctCB . I would like to capture the pid of webpac-dev-server process, so that I can kill it later
[19:17] <arup_r> sorry quick enter ^ ignore
[19:18] <ryzokuken>   /sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link
[19:18] <EriC^^> Nicmavr: it's necessary for updating packages that came from a ppa
[19:18] <ryzokuken> I get this error
[19:18] <ryzokuken> ^^
[19:18] <ryzokuken> any idea what's causing this?
[19:19] <ryzokuken> and how to fix it?
[19:19] <EriC^^> arup_r: you mean echo $? ?
[19:19] <arup_r> let me try
[19:23] <curlyears> how do I find out if my computer has bluetooth capability?
[19:23] <ioria> curlyears, well, with an adapter every pc has
[19:24] <ioria> curlyears, try lspci or lsusb
[19:25] <Nicmavr> bump :)
[19:25] <arup_r> EriC^^: $? is giving 0
[19:26] <ioria> $? is the return status
[19:26] <EriC^^> ah right
[19:26] <acresearch> just looking at the latest macbook pro 13"   it seems it has less CPU power (2.3 GHz i5 intel), mine is 2011 and has (2.5 GHz i7 intel)    WHAT? Did they downgrade them?    this is important for linux because it is the future cheep computers that i will buy haha
[19:27] <curlyears> abd wht am I looking for in lspci or lsasausb?
[19:28] <ioria> curlyears, bluetooth device ?
[19:28] <curlyears> nothing labelled as an "Apple" product is ever inexpensive (e.g., "cheap")
[19:28] <ioria> curlyears, +1
[19:29] <curlyears> loria:  ah, OK, then, no such animal,  What do I have to get to provide bluetooth capability?
[19:29] <curlyears> ioria, I mean
[19:29] <ioria> curlyears, a usb adapter
[19:30] <ioria> curlyears, it's a little tooth :)
[19:30] <curlyears> ioria:   hmmm . . .
[19:31] <ioria> curlyears, https://www.newegg.com/Bluetooth-Adapters/SubCategory/ID-295
[19:31] <curlyears> OK, have any suggestions on where I could locate such an adaptor for sale (preferably inexpensively)?
[19:31] <curlyears> ah, you beat me to it, thanks, ioria
[19:31] <ioria> curlyears, no problem, it's very cheap
[19:34] <ioria> i'am wondering, if someone in here having problem with the new 4.4.0-83-generic kern and nouveau ...
[19:34] <curlyears> ioria:  natirally, they have stopck of the $15 one, and are out of stock on the $5 one
[19:34] <curlyears> naturally, that is
[19:35] <oerheks> test them first before buying :-D
[19:35] <curlyears> oerheks:  and how do you propose I accomplish that feat?
[19:35] <ioria> curlyears, try amazon
[19:36] <oerheks> curlyears, dunno, just a warning, 0,5% of the BT adapters won't work
[19:36] <curlyears> ioria:  yeah, that might be a good idea
[19:40] <curlyears> OK...here's one fore $6.99 that claims to be compatible with all the current  variatiopns of Winblowsd, dopesn't mention linuc, but does warn that it isn't compatible with Apple products
[19:40] <curlyears> oerheks:  what is it about them that fails to work, in general?
[19:41] <oerheks> curlyears, you just gave a good example, why would it not work with apple products? ching chang ping pang chipset?
[19:42] <genio> still stuck
[19:42] <oerheks> i would skip that adapter
[19:42] <curlyears> oerheks:  makes no sense to me, USB is supposed to be USB, be it on an Apple, a Winblows box or a linux bux
[19:42] <curlyears> genio???
[19:42] <oerheks> curlyears, uindeed, it makes no sense, why would it not work on apple... must be a cheap chipset then, unofficial
[19:43] <genio> apt autoremove frozen on removing old kernel packages
[19:43] <oerheks> anyway, there is a HW list, certification
[19:43] <curlyears> the only one I found that explicit states it is compatible with linux, is almost $16    too damned much, for all the use it will ever get
[19:44] <curlyears> genio:   kill the process
[19:44] <genio> then apt gets in its funky state of confusion
[19:44] <curlyears> the root process...all the forked processes should die when you kill the root process
[19:45] <ioria> genio, no good
[19:46] <genio> and now to deal with apt locks and cache and other fuckery. *sigh*
[19:47] <genio> would be nice if sudo dpkg --configure -a actually worked.  but it just hangs too
[19:47] <curlyears> thanks, guys, time for this decrepit old man to go take an afternoon nap
[19:47] <curlyears> something must be very wrong with your archives database
[19:48] <ioria> genio, is your hd ok ?
[19:48] <genio> yea. 1TB SSD. machine is only a couple of months old. I've booted into windows several times to run Dell's HW check utility
[19:49] <ioria> genio, did you install some funky kernels ?
[19:49] <genio> says the disk is ok
[19:49] <genio> nope
[19:49] <ioria> genio, have you dared to reboot ?
[19:49] <genio> well, half-lie. NVidia driver kernel plugins _could_ be causing weirdness
[19:50] <ioria> genio, oh, yeah
[19:51] <Seveas> genio: no sign of what it's doing (log messages, strace, dmesg, ps...)
[19:51] <Seveas> ?
[19:51] <ioria> genio, how did you install nvidia ?
[19:53] <genio> nothing being logged that I can tell from apt
[19:54] <Seveas> genio: ps auxf | cat
[19:54] <Seveas> and pastebin the result. Let's see what it's actually doing
[19:54] <genio> nvidia install:  sudo add-apt-repository ppa:graphics-drivers     sudo apt install nvidia-381
[19:57] <genio> gah. wont hang now. it's doing the never ending loop of this  https://gist.github.com/genio/8643d4bea3df8c77a0025f0bb1cd3cc3
[19:57] <genio> rebooting
[20:00] <genio> didn't clear it. let me reinstall all the other stuff for that kernel version
[20:03] <genio> heh.  sudo apt install --reinstall linux-image-extra-4.10.0-22-generic linux-image-4.10.0-22-generic     may not have been wise
[20:05] <sebsebseb> hi
[20:07] <genio> https://gist.github.com/genio/8643d4bea3df8c77a0025f0bb1cd3cc3#file-px-auxf-txt
[20:37] <Seveas> genio: hmm, that'll hang forever. Trying to find out if that plymouth --ping is safe to kill
[20:38] <Seveas> genio: yes, that is safe to kill. sudo kill 3556
[20:40] <CoderEurope> Still cant get the password dialogue box off chrome, any body to halp ?
[20:43] <Seveas> CoderEurope: if all else fails, a hammer to the harddrive gets rid of any problem, quite permanently :-)
[20:47] <badet0s> halp me
[20:47] <sebsebseb> badet0s: with what?
[20:49] <badet0s> getting souber
[20:49] <badet0s> I can´t type
[20:49] <badet0s> *sobr
[20:50] <TheOneMenzie> !ot | badet0s
[20:54] <badet0s> Im registered ty
[21:04] <isaaclw> Does anyone have any advice debugging full system freezes? I"m not sure if it's a kernel panic or what, but ctrl+alt+f1 etc doesn't respond, and the UI/mouse/keyboard aren't responding... I'm using ubuntu 16.04 and I can consistently duplicate it
[21:06] <CoderEurope> sebsebseb, sup ?
[21:11] <sebsebseb> CoderEurope: not much except.. pm me if you want :d
[21:13] <genio> Seveas: Killing that made it jump from 60 something percent to 80 something
[21:16] <isaaclw> ok, it's specifically this rosewill rikb-11003 keyboard
[21:16] <genio> Seveas++ # it finished!!
[21:16] <isaaclw> I thought it was the keyboard/mouse combo being removed
[21:24] <isaaclw> ok, well, I'll just ditch this keyboard I guess
[21:24] <isaaclw> kernel debugging sucks :/
[22:22] <blackbird1> Hi, guys what"s this code: http://paste.ubuntu.com/24999767/ ? and how to concert it to text ?
[22:30] <rud0lf> looks octal
[22:36] <blackbird1> How to fix a zip file ?
[22:48] <alexa> Is anyone here an employee at Canonical?
[23:03] <thewillo> can I add compression to a folder in with ext4 and still use the folder while it's compressed as if it wasn't?
[23:03] <thewillo> Like you can do with NTFS
[23:03] <thewillo> and if no, does linux's NTFS driver support the compression?
[23:04] <thewillo> I have a very large folder, that I need occasional access to, but which I don't need full speed when copying something from it
[23:32] <kode54> thewillo: it supports reading compressed data, but not compressing on rewrite
[23:32] <kode54> unless that's been newly added
[23:47] <thewillo> kode54, well I only need reading actually
[23:49] <thewillo> I mean, I need to write to it occasionally, but for the odd time I do, I can mount it in windows or just not have the new files compressed
[23:49] <thewillo> also, I can have them uncompressed until i feel like mounting it on windows, because it's an external drive