[00:00] <Kingpatzer> abort
[00:00] <Kingpatzer> abort
[00:10] <AlexMax> Synaptic is still the most common GUI tool for installing packages on Ubuntu these days, right?
[00:11] <lilkuz2005> hello all, i have an issue with a graphics driver, im using nvidia's non-free driver, its working, in the nvidia x server settings under GPU 0 it shows my bus type as being gen3 16x, but under the powermizer section its showing the current PCIe link width as x4, is this normal ?
[00:11] <AlexMax> Software & Updates has trouble with slightly obscure stuff
[00:11] <lilkuz2005> https://imgur.com/a/VoxLfiB
[00:12] <pragmaticenigma> AlexMax: are you experiencing an issue what we might be able to help with?
[00:13] <masaki> @AlexMax, There's the snap store too which might be gaining popularity.
[00:13] <pragmaticenigma> masaki: that's not what their asking
[00:13] <pragmaticenigma> *they're
[00:13] <AlexMax> pragmaticenigma: not paritcular
[00:13] <AlexMax> I haven't used Desktop Ubuntu in anger since 8.10
[00:14] <masaki> pragmaticenigma, my mistake
[00:14] <AlexMax> Is this channel only for issues?
[00:14] <AlexMax> and more social and fuzzy questions go elsewhere?
[00:14] <pragmaticenigma> AlexMax: Synaptic is still available and is used by some of the Ubuntu flavors. The desktop environments have been building their own using standardized hooks that give a native interface to the aptitude ecosystem
[00:15] <pragmaticenigma> Social and fuzzy questions typically go in #ubuntu-offtopic, or #ubuntu-discuss
[00:15] <lilkuz2005> yeah i use apt more then any software center or synaptic, i know they do the same thing, its just quicker to type what i want
[00:16] <pragmaticenigma> AlexMax: Define slightly obscure stuff? The official ubuntu package repos only contain stable and tested packages. there shouldn't be any issues with packages provided officially
[00:16] <lilkuz2005> im really unsure if my bus speed issue is causing performance issues with my gpu
[00:17] <TJ-> Well, there are 78,645 packages in 18.04, so it's no surprise the GUI struggles :)
[00:18] <pragmaticenigma> lilkuz2005: Do you know what the PCIe slot is rated for?
[00:18] <AlexMax> pragmaticenigma: Well, for example, I want to install the SDL2 development library
[00:18] <AlexMax> Which should be sdl2-dev
[00:19] <AlexMax> which is in universe
[00:19] <TJ-> !info libsdl2-dev
[00:19] <lilkuz2005> pragmaticenigma, yeah i sure do, the top PCIe slot is 16x, the bottom is 4x, i only have the gpu installed so nothing is sharing the pcie lanes
[00:20] <lilkuz2005> pragmaticenigma, https://imgur.com/a/VoxLfiB thats 2 pics of the nvidia control panel showing what im talking about
[00:21] <AlexMax> But if I put sdl2 or something like that into the "Ubuntu Software" app, I get nothing
[00:21] <AlexMax> which is why I wanted to install synaptic in the first place
[00:21] <TJ-> AlexMax: CLI using "apt-cache search ..." or "apt-cache search -n ..." (searches names only)
[00:21] <AlexMax> and I just wanted to make sure that's still the best GUI tool to use
[00:21] <lilkuz2005> AlexMax, open terminal and type sudo apt search sdl2
[00:22] <TJ-> AlexMax: the GUI is more aimed at locating executable applications rather then development libraries and source headers
[00:23] <AlexMax> TJ-: Exactly, which is why I was asking if Synaptic was still the best and most up to date GUI tool for installing arbitrary packages
[00:23] <AlexMax> I usually lean on aptitude in my debian, terminal-only VPS's
[00:23] <TJ-> AlexMax: I've not used that in over 10 years :)
[00:23] <AlexMax> Damg, it's that out of date?
[00:24] <TJ-> AlexMax: no, I've just become wedded to core command-line tools
[00:24] <AlexMax> eh, sometimes I just wanna....browse :P
[00:26] <oerheks> !info synaptic
[00:26] <oerheks> synaptic is fine
[00:28] <pragmaticenigma> lilkuz2005: it is possible that without anything demanding higher throughput it is throttling it self down
[00:29] <lilkuz2005> pragmaticenigma,  thanks for looking into it for me, i have the witcher 2 running via steam right now with high settings 1080p
[00:32] <qwebirc36342> hi, i deleted all the kernels on my system, apart from one, which i think is not finished with install process, i am now looking and trying guidelines to resolve this issue, but am getting stuck, anyone who might hekp me?
[00:32] <qwebirc36342> ups, help me
[00:34] <TJ-> qwebirc36342: deleted the files from /boot/ directory, or removed the linux-image* packages?
[00:35] <qwebirc36342> tryed to empty out space in /boot and then i removed all but latest kernel number, not thinking that i did so, because there was no space to finish install of kernel
[00:36] <qwebirc36342> found this now. would that work, i am on a live system on the same machine
[00:36] <qwebirc36342> https://askubuntu.com/questions/700214/how-do-i-install-an-old-kernel
[00:37] <TJ-> qwebirc36342: if you only deleted the files you only need to "apt install --reinstall linux-image-$VERSION" for each missing kernel
[00:37] <TJ-> qwebirc36342: you can get a list of the installed kernel image packages with " apt list --installed linux-image* 2>/dev/null | cut -d/ -f 1 | tail -n +2 "
[00:38] <qwebirc36342> so i have my boot partition mounted, i cd to it and run the command?
[00:39] <TJ-> qwebirc36342: no, you need to run that after chroot-ing into the root file-system
[00:39] <qwebirc36342> how do i chroot?
[00:39] <TJ-> !chroot
[00:40] <qwebirc36342> ubuntu@ubuntu:~$ !chroot bash: !chroot: event not found
[00:44] <qwebirc36342> TJ maybe i need some packages in a live system to chroot?
[00:46] <TJ-> qwebirc36342: "!chroot" is invalid; the "!" is not required, that's a bash internal construction
[00:48] <qwebirc36342> so chroot says its missing operand
[00:48] <qwebirc36342> i feel like such a newb/dork
[00:49] <TJ-> qwebirc36342: yes. First you need to mount the root-filesystem to some directory mountpoint, then "sudo chroot /path/to/mountpoint"
[00:49] <qwebirc36342> eg. my /boot
[00:50] <TJ-> qwebirc36342: e.g. "sudo mkdir /target; sudo mount /dev/sdX0 /target; for n in proc sys dev dev/pts run etc/resolv.conf; do sudo mount --bind /$n /target/$n; done; sudo chroot /target"
[00:50] <TJ-> qwebirc36342: once inside the chroot do "mount -a" and that'll automount all the entries in /etc/fstab that should be mounted - such as /boot/
[00:51] <TJ-> qwebirc36342: until you type "exit" you're 'root' user in the installed root file-system, not the Live USB
[00:52] <designbybeck> I had a main system SSD and a 2nd HDD for my Home folder. I cleaned off my SSD and did a clean install of Ubuntu 18.04 on it. Is there a way to still unencrypt my HDD so I can access those files?
[00:53] <qwebirc36342> feels like i am getting closer, but still something is wrong, i changed the device name to fit, but otherwise copied your code, which i failed to fully undertsand..and got this output>
[00:53] <qwebirc36342> ubuntu@ubuntu:~$ sudo mkdir /target; sudo mount /dev/sda1 /target; for n in proc sys dev dev/pts run etc/resolv.conf; do sudo mount --bind /$n /target/$n; done; sudo chroot /target mount: mount point /target/proc does not exist mount: mount point /target/sys does not exist mount: mount point /target/dev does not exist mount: mount point /target/dev/pts does not exist mount: mount point /target/run does not exist mount: mount poi
[00:53] <TJ-> designbybeck: encrypted home directory?
[00:54] <TJ-> qwebirc36342: your /dev/sda1 is NOT the root file-system, since it doesn't contain the correct directories
[00:54] <designbybeck> TJ-, yeah the setup I had before with 16.04, I set it up with encrypted home dir on the HDD
[00:55] <TJ-> designbybeck: so, in your new OS root-fs, in its /etc/fstab, you've an entry pointing to the 2nd hard drive mouted to /home/ ?
[00:55] <elim_garak> what is the suggested way that I can updated from Ubuntu 17.04 to whatever the lastest and greatest is ?
[00:55] <designbybeck> TJ-, well when I did this clean install, I unhooked all the other drives just to be safe
[00:56] <TJ-> designbybeck: did you install the "ecprytfs-utils" package ?
[00:56] <designbybeck> hmmmm not sure TJ- how do I find out
[00:56] <TJ-> designbybeck: if you installed that package, then at log-in time pam_ecryptfs will be triggered to unlock the user's home directory
[00:57] <TJ-> designbybeck: "apt list ecryptfs-utils" --- it should say "installed"
[00:57] <TJ-> designbybeck: if not then "sudo apt install ecryptfs-utils"
[00:57] <designbybeck> I can see the drive now and it has a readme.txt file but say /usr/share/ecryptfs-utiles/ecryptfs-mount-private.txt doesn't exist TJ- s
[00:58] <TJ-> designbybeck: right, so you've not installed this package. Do it and it'll all work (if the /home/ directory is mounted from the 2nd disk drive)
[00:58] <designbybeck> TJ-, ecryptfs-utils/bionic 111-0ubuntu5 amd64
[00:58] <designbybeck> ah, Yeah when I boot I do have the full disk encryption and can get on to the system, just not this second drive
[00:59] <designbybeck> so I can just do a sudo apt install ecryptfs-utils TJ- ?
[00:59] <elim_garak> is there any good way for me to update form ubuntu 17.04 to the lastest version?
[00:59] <designbybeck> elim_garak, I think you have to go to 17.10 first
[01:00] <elim_garak> designbybeck: when i try to update it says no way, not supported
[01:00] <elim_garak> designbybeck: either by command line or the update tool
[01:00] <Mead> not for cardasian spys
[01:00] <elim_garak> im just a tailor
[01:00] <elim_garak> and a rather good one
[01:01] <Mead> you are no more a tailer than I am a irc user
[01:01] <Mead> well that failed
[01:01] <FortunateSon> All: I have a 5 identical servers all running the latest version of 16.04 where the Intel NIC I am using randomly disappears after 16-48 hours of uptime.  I can't seem to find anything in the logs but I may be looking in the wrong place.  All I have been able to find is a couple lines reported by dmesg and all they say is "adapter removed" ... I promise it's still there ... any idea where I can look further to see if I can find
[01:01] <FortunateSon> out what is causing this issue?
[01:02] <elim_garak> im afraid the option is going to be for me to install fresh
[01:03] <qwebirc36342> sorry for being stupid here TJ i can see you are a busy man, but how do i found my root system
[01:07] <TJ-> designbybeck: did that fix it? my tablet went to sleep!
[01:09] <qwebirc36342>  sorry for being stupid here TJ i can see you are a busy man, but how do i found my root system
[01:10] <TJ-> qwebirc36342: if you've found the /boot/ file system, you should be able to get it from the kernel options in the /boot/grub/grub.cfg file
[01:14] <qwebirc36342> okay i am looking in the file, and i see it refers to the internal ssd disc, there is 3 partitions on this disc i can see from running parted -l
[01:14] <qwebirc36342> i see it named hd0
[01:14] <Nevolution21> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake
[01:15] <qwebirc36342> or should i look for the uuid
[01:15] <TJ-> qwebirc36342: e.g. if the boot file-system is /dev/sda1, then you've done "sudo mkdir /boot; sudo mount /dev/sda1 /boot" you can search using "grep -o 'linux.*root=[^ ]*' /boot/grub/grub.cfg"
[01:18] <qwebirc36342> what i did so far was to boot a live usb, and then i mounted /dev/sda1 to /mnt/sda1 that i created in the live system, sda1 is my boot partition on the broken system,
[01:19] <TJ-> qwebirc36342: use "grep -o 'linux.*root=[^ ]*' /mnt/sda1/grub/grub.cfg"
[01:20] <TJ-> qwebirc36342: if that gives you results, and the root= is a UUID, then do "sudo blkid" to match that to the correct partition
[01:21] <qwebirc36342> i do get a long list
[01:21] <qwebirc36342> entries like> linux	/vmlinuz-4.4.0-128-generic root=/dev/mapper/ubuntu--vg-root
[01:21] <TJ-> qwebirc36342: i'd expect all the root= entries to be then same
[01:21] <TJ-> right so it's an LVM volume, not a raw partition
[01:22] <qwebirc36342> yes, that seems true
[01:22] <TJ-> qwebirc36342: so now find out where that lives with "sudo pvscan"
[01:23] <TJ-> qwebirc36342: you'll get something like "PV /dev/sdXY ..."
[01:25] <TJ-> qwebirc36342: at this point you may only need to do "sudo vgchange -ay" to create the device-mapper node /dev/mapper/ubuntu--vg-root
[01:26] <Thanos> best ubuntu book or website for "full course" style introduction/learning?
[01:27] <qwebirc36342> sudo pvscan   No matching physical volumes found
[01:28] <qwebirc36342> sorry i think i missed the sudo blkid
[01:28] <TJ-> qwebirc36342: hmmm, pvscan should search all devices for it
[01:29] <qwebirc36342>  sudo blkid /dev/sda1: UUID="69d2df4e-74b0-42a8-9d9c-61da5438d55b" TYPE="ext2" PARTUUID="d9a34f73-01" /dev/loop0: TYPE="squashfs" /dev/sda5: UUID="1d0725f3-f39a-436f-8a46-0368e4ac572c" TYPE="crypto_LUKS" PARTUUID="d9a34f73-05" /dev/sdb1: UUID="2017-08-01-11-51-33-00" LABEL="Ubuntu 16.04.3 LTS amd64" TYPE="iso9660" PTUUID="0d66cd15" PTTYPE="dos" PARTUUID="0d66cd15-01" /dev/sdb2: SEC_TYPE="msdos" UUID="398E-230F" TYPE="vfat" PARTU
[01:30] <TJ-> qwebirc36342: oh, sda5 type crypto_LUKS ... you used full disk encryption?
[01:30] <qwebirc36342> yes, actually, i did not, its my fathers machine, he did
[01:31] <qwebirc36342> but full disc, i thought only the home drive
[01:31] <TJ-> qwebirc36342: right, but it has FDE so we have to install tools and open that first!
[01:31] <qwebirc36342> so no really sure if it is on the entire disc, i can mount the boot folder, so that is not at least
[01:31] <TJ-> qwebirc36342: looks like it might be FDE for the OS, and in addition user home directory encryption for /home/$USER/
[01:31] <TJ-> qwebirc36342: so, install the tools first: "sudo apt install cryptsetup"
[01:32] <qwebirc36342> should already be installed i am told
[01:33] <TJ-> qwebirc36342: that's good :) so let's try opening it. I hope you know the passphrase!
[01:33] <qwebirc36342> I Do!
[01:33] <TJ-> qwebirc36342: "sudo cryptsetup open --type=luks /dev/sda5 sda5_crypt"
[01:33] <TJ-> qwebirc36342: it might not like the "=" symbol, so replace that with a spac
[01:34] <TJ-> qwebirc36342: "sudo cryptsetup open --type luks /dev/sda5 sda5_crypt"
[01:34] <qwebirc36342> yup
[01:34] <TJ-> qwebirc36342: did that open it?
[01:35] <TJ-> qwebirc36342: you can check with "ls /dev/mapper" -- should see a sda5_crypt listed
[01:35] <qwebirc36342> well it did something..
[01:35] <qwebirc36342> i can now see it listed in nautilus, but clicking it gives me Error mounting /dev/sdb1 at /media/ubuntu/Ubuntu 16.04.3 LTS amd64: Command-line `mount -t "iso9660" -o "uhelper=udisks2,nodev,nosuid,uid=999,gid=999,iocharset=utf8,mode=0400,dmode=0500" "/dev/sdb1" "/media/ubuntu/Ubuntu 16.04.3 LTS amd64"' exited with non-zero exit status 32: mount: /dev/sdb1 is already mounted or /media/ubuntu/Ubuntu 16.04.3 LTS amd64 busy
[01:35] <TJ-> qwebirc36342: and if you're very luck, udev should have found the LVM too and added ubuntu--vg-root
[01:35] <TJ-> qwebirc36342: don't use GUI! stick with the shell
[01:36] <qwebirc36342> ubuntu@ubuntu:~$ ls /dev/mapper control  sda5_crypt  ubuntu--vg-root  ubuntu--vg-swap_1
[01:36] <TJ-> qwebirc36342: Yay, well done!
[01:36] <TJ-> qwebirc36342: right, lets get things fixed. first clean up: "sudo umount /mnt/sda1"
[01:37] <qwebirc36342> i just dont really know commands very well, so i have trouble working around in the shell alone, but am happy all the advise you are giving me
[01:38] <TJ-> qwebirc36342: now "sudo mkdir -p /target; sudo  mount /dev/mapper/ubuntu--vg-root /target; for n in proc sys dev dev/pts run etc/resolv.conf; do sudo mount --bind /$n /target/$n; done"
[01:38] <Goop> I want to install Ubuntu Desktop LTS 16.04 using an automated script that runs on a Ubuntu Live Disk.
[01:38] <TJ-> qwebirc36342: at this point, if you got no errors, it should be ready to chroot :)
[01:38] <TJ-> !kickstart | Goop
[01:40] <qwebirc36342> no errors
[01:40] <qwebirc36342> okay, i have to see if i can find my way thru the backlog, to the chroot commands..
[01:40] <TJ-> qwebirc36342: fab... now do "sudo chroot /target" and you're into the root FS
[01:40] <TJ-> qwebirc36342: you should see the shell prompt change to a # instead of a $
[01:40] <Goop> I haven't done professional I.T. before, but how do you create one physical image of something and the same thing on like 20 other computers?
[01:40] <qwebirc36342> indeed
[01:40] <TJ-> qwebirc36342: if so, do "mount -a" and it should read the /etc/fstab and mout /boot as well
[01:41] <TJ-> qwebirc36342: then do "ls -latr /boot/ and you should see the boot file-system content
[01:41] <TJ-> Goop: I just pointed you to the kickstart links
[01:41] <qwebirc36342> root@ubuntu:/# ls -latr /boot/ total 12826 -rw-r--r--  1 root root  184840 Jan 28  2016 memtest86+_multiboot.bin -rw-r--r--  1 root root  184380 Jan 28  2016 memtest86+.elf -rw-r--r--  1 root root  182704 Jan 28  2016 memtest86+.bin drwx------  2 root root   12288 Jul 27  2017 lost+found -rw-------  1 root root 7156160 Jun 14 15:24 vmlinuz-4.4.0-130-generic -rw-------  1 root root 3900257 Jun 14 15:24 System.map-4.4.0-130-generi
[01:42] <wudo_honour> hi , I wanan crack the  /etc/shadow file, what tools  should I choose ?
[01:42] <TJ-> qwebirc36342: OK, no need to paste in here - use a pastebin if needed, but you're there so lets get sorted out.
[01:42] <qwebirc36342> sorry
[01:42] <qwebirc36342> thanks
[01:42] <TJ-> qwebirc36342: first, check the chroot has network connectivity ... "ping paste.ubuntu.com"
[01:42] <xnite> My Ubuntu server keeps trying to upgrade over ipv6 but it doesn't have ipv6 so it's failing to connect. how 2 force ipv4?
[01:43] <TJ-> !ipv6 | xnite
[01:43] <qwebirc36342> there is connection, how do i stop the ping?
[01:43] <TJ-> qwebirc36342: Ctrl+C
[01:43] <qwebirc36342> 05 LOSS
[01:43] <TJ-> qwebirc36342: so now ensure the tool is installed : "apt install pastebinit"
[01:44] <qwebirc36342> 0 PERCENT LOSS
[01:44] <TJ-> qwebirc36342: at this point you can easily paste info that I can see using this tool
[01:45] <darwin_> hello
[01:45] <WoC> For those who used to make use of pine, is alpine a worthy replacement ?
[01:45] <darwin_> anyone here?
[01:46] <qwebirc36342> okay
[01:46] <WoC> aye, howdy darwin_
[01:46] <TJ-> qwebirc36342: show me "pastebinit <( lsb_release -a; apt list --installed linux-image*; ls -latr /boot/ )"
[01:46] <TJ-> WoC: alpine seemed reasonable the little I used it
[01:47] <WoC> ty tj
[01:47] <qwebirc36342> http://paste.ubuntu.com/p/mRwhBgx6xq/
[01:47] <TJ-> qwebirc36342: now we're rolling :)
[01:47] <qwebirc36342> i feel it to
[01:47] <qwebirc36342> damn your good
[01:49] <TJ-> qwebirc36342: hmmm, I don't see anything obviously wrong there. When the system boots where does it get stuck? what do you see?
[01:49] <illuminated> what does 'installed, automatic' mean... or 'installed, auto-removable'?
[01:49] <TJ-> qwebirc36342: give me a few mins, I need to get a drink! it's almost 3am here
[01:49] <TJ-> illuminated: installed, automatic means the package is a dependency of some other package that was installed
[01:50] <illuminated> great thanks
[01:50] <qwebirc36342> to tell you that i have to leave you for a while, because i havent actually tried that. my father came with it to me, because the boot was full, i deketed all but one, and not realizing that it was no finished with installation i suspect the 130 kernel is not actually there in working order, even if the folder structure is there
[01:51] <qwebirc36342> 4 am here
[01:52] <qwebirc36342> i expect it say something like there is no kernel. but the exact wording is not know to me at this time
[01:56] <qwebirc36342> TJ > would really prefere if I do not have to leave you here trying to reboot, but if need i will try, just waiting for the confirm, cause i expect it might take a while for me to find my way back here
[01:57] <qwebirc17929> Hey, Would it be possible to get some help upgrading my lan drivers?
[01:59] <TJ-> qwebirc17929: back now
[01:59] <TJ-> qwebirc17929: you don't need to reboot it... I suspect it's currently fine if it starts the .130 kernel
[02:00] <TJ-> qwebirc17929: so what we need to do is 'officially' remove the unwanted kernel versions
[02:00] <TJ-> qwebirc17929: let's see what the free space looks like, show me "pastebinit <( df )"
[02:01] <qwebirc17929> Huh, free space of what?
[02:01] <qwebirc36342> root@ubuntu:/# pastebinit <( df ) df: cannot read table of mounted file systems: No such file or directory Unable to read from: /dev/fd/63
[02:01] <TJ-> qwebirc36342: sorry, there's 2 of you with similar nicknames!
[02:02] <qwebirc17929> Let me change mine
[02:02] <qwebirc36342> how to change name?
[02:02] <illuminated> with /nick newnick
[02:02] <TJ-> qwebirc36342: OK, that is strange, it should work from within the chroot.
[02:03] <casperDK> I am now casperDk
[02:03] <TJ-> casperDK: hahaha trying to confuse me
[02:03] <casperDK> sorry
[02:04] <ASMJunkie> Changed my name. If anyone can provide help on upgrading my lan drivers, that would be awesome.
[02:05] <casperDK> TJ i know you say i should stay in the shell, but nautilus does not show me a 63 folder in /dev/fd/ but there is a bunch of stuff with other numbers, only one showing up as a folder
[02:05] <TJ-> casperDK: I've just tested df in a chroot here and it works. Try it without pastebinit, just do "df"
[02:06] <casperDK> root@ubuntu:/# df df: cannot read table of mounted file systems: No such file or directory
[02:06] <casperDK> what should df do?
[02:06] <TJ-> casperDK: don't worry about that, the mention of fd was a temporary file-descriptor used to pipe the output of df into pastebinit
[02:06] <TJ-> casperDK: I think you missed a command out
[02:07] <TJ-> casperDK: show me "pastebinit <( cat /proc/mounts )"
[02:07] <TJ-> casperDK: "df" is "disk free space" - it reports used/free for all file-systems that are mounted
[02:07] <casperDK> cat: /proc/mounts: No such file or directory Unable to read from: /dev/fd/63
[02:08] <TJ-> casperDK: aha!
[02:08] <casperDK> could there be an issue with the ssd here on top of something..? im just guessing wildly..
[02:08] <casperDK> aha??
[02:09] <TJ-> casperDK: missed mounting the /proc file-system somehow. Try this: "mount -t proc proc /proc"
[02:09] <moses> what does your path refer to in linux?
[02:09] <TJ-> casperDK: then try "cat /proc/mounts" again
[02:09] <TJ-> moses: do you mean PATH - the environment variable ?
[02:09] <moses> PATH yes sorry
[02:10] <moses> like using which to identfy a directory that is somehow linked to my PATH
[02:10] <TJ-> moses: it's the search path used to find executable files when you type a command
[02:10] <TJ-> moses: "echo $PATH" will show it
[02:10] <TJ-> moses: correct, 'which' searchs PATH for the command you're looking for
[02:11] <casperDK> root@ubuntu:/# cat /proc/mounts /dev/mapper/ubuntu--vg-root / ext4 rw,relatime,data=ordered 0 0 proc /proc proc rw,relatime 0 0
[02:11] <TJ-> moses: "which -a" will search every directory and report all hits, without "-a" it stops after the 1st hit
[02:11] <TJ-> casperDK: that's better! OK "pastebinit <( df )"
[02:11] <moses> how come which $PATH doesnt return anything
[02:11] <moses> its not a command?
[02:11] <TJ-> casperDK: strangely I don't see /dev/sda1 /boot there
[02:12] <TJ-> moses: which takes a command name as an argument, e.g. "which bash" or "which echo"
[02:12] <casperDK> does not work with pastebin, this is without> root@ubuntu:/# df Filesystem                  1K-blocks     Used Available Use% Mounted on /dev/mapper/ubuntu--vg-root 241340864 20973476 208084920  10% /
[02:12] <moses> yeah which has a binary
[02:12] <moses> $PATH does not
[02:13] <TJ-> moses: $PATH is not a command, it's a list of directories
[02:13] <moses> oh ok
[02:13] <moses> so is it a file i can look at?
[02:13] <TJ-> casperDK: I think somehow you didn't get the chroot set up correctly. Can you show me "pastebinit /etc/fstab"
[02:13] <TJ-> moses: no
[02:14] <TJ-> !PATH
[02:15] <illuminated> moses:  if you want to see the directories contained in $PATH you can do echo $PATH
[02:15] <casperDK> okay, i am getting an idea here, i have not given all the details of my failed atempts, cause i did at some point mount /dev /proc and /sys to folders created with /sda1 in /mnt, because i was trying to follow a guide online, when you said i should umount sda1 I also umonut  /sys /proc and /dev
[02:16] <casperDK> but to answer you pastebinit /etc/fstab Failed to contact the server: [Errno socket error] [Errno -3] Temporary failure in name resolution
[02:16] <TJ-> casperDK: oh crikey!! that would break everything, because you'd unmount them from the Live environment too!!
[02:17] <casperDK> damn, should i just reboot the whole thing or is there a way to fix my mess up?
[02:17] <moses> So path links to the directories storing binary files
[02:17] <moses> PATH*
[02:17] <casperDK> i feel like an elephant in a glass shop
[02:17] <TJ-> casperDK: I think you need to reboot... first try rebooting into the installed system, if that works we can just clean it up and we're done. if it doesn't boot, use the LiveUSB again but wait for me to give you instructions before doing anything!
[02:18] <casperDK> sorry, will try, can i found you here on this link again> https://webchat.freenode.net/?randomnick=1&channels=%23ubuntu
[02:18] <guest_> hello
[02:18] <TJ-> casperDK: I've a feeling from what I've seen it'll boot, but we do need to clean up the packages
[02:18] <TJ-> casperDK: Yes, I'll hang about in this #ubuntu channel
[02:18] <moses> it stores my binary locations such that my shell can find them quicker by searching through specific directories instead of everything correct?
[02:19] <casperDK> thanks so much TJ, sorry for not giving all the details, i did not realize the importance, and thought there was so many people demanding your presious time.. see you in a bit\
[02:19] <TJ-> casperDK: good luck :)
[02:19] <moses> I think I understand, thank you for the help
[02:24] <newdimension> Where can I find the changelog if the newly released linux headers?
[02:24] <newdimension> *of
[02:24] <qwebirc46414> TJ. i could boot
[02:24] <TJ-> qwebirc46414: nice one :)
[02:25] <TJ-> qwebirc46414: did it get the GUI ?
[02:25] <qwebirc46414> how to change name
[02:25] <TJ-> qwebirc46414: do /nick newname
[02:25] <qwebirc46414> yes, i am back on track it seems, but i think it is the default kernel image
[02:25] <qwebirc46414> ah nick i was think name
[02:26] <klandestine> is it possible to use two monitors on one linux system allowing the cursor to move from one screen to the ohter like windows?
[02:26] <TJ-> casperDk: OK, so open a terminal and lets get it cleaned up
[02:26] <TJ-> klandestine: yes
[02:26] <casperDk> klandestine Yes
[02:26] <TJ-> klandestine: I have a laptop that drives 6 displays and the mouse moves across all of them
[02:26] <klandestine> sweet
[02:26] <casperDk> 6 displays, wow
[02:27] <casperDk> what do i write
[02:27] <klandestine> how do I do that?
[02:27] <TJ-> casperDk: let's ensure it has the famous tool: "sudo apt install pastebinit" and then show me "pastebinit <( apt list --installed linux-image* )"
[02:28] <TJ-> klandestine: do what? nothing to do, just plug the additional monitor(s) in and enable/position them using the Display settings tool
[02:28] <casperDk> http://paste.ubuntu.com/p/P8WvMygFbj/
[02:28] <klandestine> will I have the ability to use virtual terminals on either screen?
[02:30] <casperDk> klandestine cant say that i truely know, but i have never experinced that there was somethin i could only do on one sceen and cant see the reason why it would be like that
[02:30] <stonair> Hi, there's a new release for Thunderbird 60. Will it be made available in 16.04 repository? Currently it offers v. 52.
[02:30] <TJ-> casperDk: this will remove all but .130: "sudo apt remove linux-image{,-extra}-4.4.0-{102,112,116,119,121,122,124,127,128}-generic "
[02:31] <casperDk> 102 was not found it seems but otherwise it completted
[02:31] <TJ-> klandestine: You know, I've never checked that! I think by default the TTYs only go to the first CRTC of the first GPU
[02:32] <TJ-> casperDk: OK, now do "sudo apt autoremove" which should remove a lot of linux-headers* packages too
[02:32] <casperDk> 2.2 GB
[02:32] <casperDk> wow
[02:32] <klandestine> I have two lenovos that have a display adapter with two ports (one dp and the ohter dvi) and use that for windows and it works
[02:32] <TJ-> casperDk: and then show me the free space report with "pastebinit <( df )"
[02:33] <klandestine> one card for both screens
[02:33] <TJ-> klandestine: most GPUs have a minimum of 2 outputs
[02:33] <klandestine> I'll try it later when I'm motivated and let you know how it works
[02:33] <TJ-> casperDk: is it looking stable now?
[02:34] <casperDk> still removing packages
[02:34] <casperDk> 75 %
[02:34] <ASMJunkie> So i upgraded my lan drivers, and i'm still getting irregular disconnections from my network.
[02:34] <TJ-> casperDk: the trick to keeping the kernels under control is to run "apt autoremove" ocassionally to ensure the older kernels are removed. By default the last 3 kernels are kept to ensure a back-stop if the newer kernel fails
[02:35] <casperDk> its a trick i should have learned long ago i guess
[02:35] <TJ-> ASMJunkie: is this some proprietary/out-of-tree driver ?
[02:35] <ASMJunkie> Nope. Intel drivers from the offical site
[02:35] <casperDk> http://paste.ubuntu.com/p/Pr3B7rXj43/
[02:35] <TJ-> casperDk: there is an automatic config you can use with unattended-upgrades
[02:35] <ASMJunkie> It happened on windows and updating the drivers fixed it
[02:36] <casperDk> that would maybe be good to get setup
[02:38] <TJ-> casperDk: "sudo apt install unattended-upgrades
[02:39] <casperDk> it say that it is already set to manual install
[02:39] <TJ-> casperDk: then edit the config file /etc/apt/apt.conf.d/50unattended-upgrades" find the line looking like this and change it to be 'true': Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
[02:39] <casperDk> what is manual install
[02:39] <TJ-> casperDk: good
[02:39] <TJ-> casperDk: you'll need sudo/gksudo/pkexec permissions to edit that file
[02:40] <TJ-> casperDk: ensure the line does NOT start with a # (comment symbol)
[02:41] <TJ-> casperDk: apologies, the comment is // not # !
[02:41] <casperDk> so the command i should run is _
[02:41] <TJ-> casperDk: it means it was installed by a human
[02:42] <casperDk> ?
[02:42] <TJ-> casperDk: well, the command depends on what your preferred text editor is. Possibly "gksudo gedit /etc/apt/apt.conf.d/50unattended-upgrades"
[02:45] <casperDk> okay i have it opened, but i really see allot of commanded lines
[02:46] <casperDk> but i do not see a line like Unattended-Upgrade::Remove-Unused-Kernel-Packages
[02:48] <casperDk> can i pastebin the file and get you to look at it?
[02:48] <casperDk> TJ do you get the message as a personal if i write your name in it?
[02:49] <TJ-> casperDk: can you search the file using Ctrl+F then type "Kernel-Packages"
[02:50] <TJ-> casperDk: it's possible, as that is 16.04, this option wasn't available
[02:50] <casperDk> there is no hit with kernel
[02:50] <TJ-> casperDk: OK, so we can't set it then. I suspect it was introduced more recently
[02:50] <casperDk> ok
[02:51] <TJ-> casperDk: so, it's a case of remembering to run "sudo apt autoremove" ocassionally - which is what that option would cause to happen
[02:51] <casperDk> but running the apt autoremove package every month or so would do the trick to right?
[02:51] <casperDk> cool
[02:51] <TJ-> casperDk: I think you've got it fixed
[02:51] <casperDk> thanks so much for you help
[02:51] <casperDk> it was a pleasure..
[02:51] <TJ-> you're welcome, hopefully you've learned a lot too :)
[02:52] <casperDk> sadly i am not sure i remember all of it if i end up in the same situation in the future, but i feel like i know more now, than i did a few hours back!
[02:52] <TJ-> you know where to come to ask first, though :)
[02:53] <casperDk> i will get to bed now, before it gets to light.
[02:53] <casperDk> indeed!
[02:53] <TJ-> before you make a mistake :)
[02:53] <troykrahn> Linux is totally a lot of learning but it's a nice feeling when you get something working
[02:53] <TJ-> same here! dawn is coming up fast
[02:53] <casperDk> thanks again, this is really what makes open source so nice
[02:54] <TJ-> troykrahn: indeed... I love the power of the shell and all the tools, and the accurate data you can get about every aspect...and more importantly, feed that data into other tools
[02:54] <Sveta> troykrahn: not only linux, any free software is like that. you get an opportunity to expand its documentation or improve its codes
[02:54] <Sveta> TJ-: don't think shell is needed, not for everyone at least
[02:54] <TJ-> Sveta: it is if you want to process system data effeciently
[02:54] <Sveta> haha
[02:55] <TJ-> GUIs are prescriptive - if the programmer didn't add the function, you can't do something, and can't pipe data out to another tool
[02:55] <casperDk> TJ, do you have a gui on your system or are you only running shell?
[02:55] <TJ-> casperDk: I generally run in a tmux bash shell, tmux is the login shell
[02:55] <Sveta> it's possible to modify the app to add the function, TJ-.. or to request such a modification :)
[02:55] <TJ-> casperDk: but I use Xubuntu
[02:55] <Sveta> oh good :)
[02:56] <TJ-> Sveta: try doing that for all 10000+ GUI packages Sveta
[02:56] <Sveta> yes
[02:56] <casperDk> maybe i catch you around TJ, if not, i wish you a long and prosperous life!
[02:56] <TJ-> all I need is /proc /sys /dev + bash sed and awk :) oh, and weechat :)
[02:57] <elyon> Hello
[02:57] <TJ-> casperDk: enjoy yourself
[02:57] <elyon> I want to ask something... Im trying to install a printer...
[02:57] <elyon> I have Ubuntu 18.04, but my sistem says it lacks some drivers but in the ubuntu software the driver is missing...
[02:57] <elyon> :(
[02:58] <TJ-> elyon: make/model of printer? does it need drivers ?
[02:58] <elyon> Canon iP1800 / yep, drivers.
[02:58] <TJ-> elyon: is the printer networked or connected via USB or something else?
[02:58] <elyon> USB
[02:58] <TJ-> elyon: drat! networked printers are usually so much easier!
[02:58] <klandestine> try installing with apsfilter
[02:59] <elyon> apsfilter, its a app?
[02:59] <elyon> downloadable at ubuntu software?
[02:59] <Kinny16> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake
[02:59] <Kinny16> This blog is essentially an ad for the Handshake ICO scam with a one-line "denial" of involvement mixed in there. It's obviously very unethical of Christel to not mention her own involvement in the scam which the blog post promotes.
[02:59] <Kinny16> Consider Andrew Lee's involvement, Andrew Lee is Christel's boss at London Trust Media and he also controls the majority of freenode voting rights. Andrew Lee also heads the handshake ICO scam. Coincidence?
[02:59] <klandestine> it's a shell script
[02:59] <elyon> Ok
[03:00] <klandestine> I use it and it's usually pretty helpful
[03:00] <elyon> Ill try now...
[03:03] <fishcooker> what's the mlocate for... is it different from find ?
[03:03] <fengshaun> fishcooker, man mlocate will guide you to your answer
[03:05] <fishcooker> fengshaun: is it like indexing the location structure of files or folders?
[03:05] <fengshaun> looks like it
[03:05] <fengshaun> man updatedb
[03:06] <fishcooker> looks like it is written to database?
[03:06] <TJ-> hmmm, if elyon comes back, tell them that printer-driver-gutenprint should have the driver
[03:06] <TJ-> !info printer-driver-gutenprint
[03:19] <karthik17> Helo
[03:19] <jdddd> Hey
[03:22] <pressure679> Hmm, where are the source files' directory (the ones downloaded by "apt source 'package'")?
[03:22] <pressure679> I googled the kernel source is in /usr/src, but no other packages are in there.
[03:23] <stonair> fishcooker: yes, it writes to database. the db is stored in /var/lib/mlocate. it way faster than find since it's indexed.
[03:28] <TJ-> pressure679: "apt-get source " downloads to the current directory, then extracts to a sub-directory
[03:28] <TJ-> pressure679: sub-dir name format is <package-name>-<version>/
[03:29] <TJ-> pressure679: /usr/src/ generally contains only the kernel headers for each version, for building out-of-tree modules against
[03:30] <pressure679> TJ-, ah, thanks.
[03:51] <nug700> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake
[03:51] <nug700> This blog is essentially an ad for the Handshake ICO scam with a one-line "denial" of involvement mixed in there. It's obviously very unethical of Christel to not mention her own involvement in the scam which the blog post promotes.
[04:26] <EdSaperia13> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake
[04:35] <grateful> does python3's idle terminal have a default log location in ubuntu
[05:39] <qwebirc13140> So, desktop PC Ubuntu16.04 and laptop Ubuntu 16.04 are both connected to a router. Would you recommend I use Samba or SSH to share a directory on these two ?
[05:42] <danieru98> qwebirc13140, really depends on what you find easier, i've tried both for that same porpuse and for me ssh is easier
[05:44] <qwebirc13140> I haven't tried either, SSH or Samba. Just installed Samba. ssh seems to have many varients.
[05:44] <danieru98> qwebirc13140, well, except that what i wanted really was to access all the files from the other computer, so maybe it wasn't exactly the same porpuse
[05:45] <danieru98> qwebirc13140, 1 ssh is what i use the most, so i can tell you is like this: run "sudo apt-get install openssh-server" on all the computers you want to access
[05:46] <danieru98> qwebirc13140, 2 from the other computers use any sftp tool
[05:46] <qwebirc13140> OK. Will take a look at openssh-server    Thanks
[05:46] <Exaeta> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake
[05:47] <danieru98> qwebirc13140, to connect to the other computers u previously installed openssh server
[05:47] <danieru98> qwebirc13140, to connect u'll need the ip or domain of server, user and password of that user
[05:48] <qwebirc13140> OK. Install openssh-server on the 2 PCs I want sharing between.
[05:48] <danieru98> qwebirc13140, good, now for the client you have a few options, personally i use pcmanfm
[05:49] <danieru98> qwebirc13140, i go to tools>connect to server
[05:49] <danieru98> qwebirc13140, and there i just select "ssh", type the ip, user, pass and thats it
[05:49] <lotuspsychje> grateful: whereis python3 from terminal
[05:50] <danieru98> qwebirc13140, i dont know if your file manager of preference support something like that, but theres another way
[05:50] <qwebirc13140> danieru98 OK. Will try pcmanfm as a Client. I would like the other PC's directory to show up in Nautilus as shared
[05:51] <danieru98> qwebirc13140, nautilus probably support something like that
[05:51] <danieru98> qwebirc13140, try searching on the web something like "how to connect to ssh or sftp with nautilus in ubuntu"
[05:52] <danieru98> qwebirc13140, or you can use sshfs
[05:52] <qwebirc13140> danieru98 I can see it there, just haven't got the name network details to enter there, other machine name etc
[05:53] <danieru98> qwebirc13140, name network details?
[05:53] <danieru98> qwebirc13140, as i said earlier what u need to connect to a ssh server is: ip, username, and password of that user
[05:53] <qwebirc13140> danieru98 Thanks D.  Will look into it, ssh-server  I just don't want to drop security with a hole. So it'll take me some time. You've been great. Cheers.
[05:54] <patate> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake
[05:54] <patate> This blog is essentially an ad for the Handshake ICO scam with a one-line "denial" of involvement mixed in there. It's obviously very unethical of Christel to not mention her own involvement in the scam which the blog post promotes.
[05:55] <danieru98> qwebirc13140, well ssh is encrypted and pretty secure, i dont know what exaclty are u looking for in termns of security
[05:56] <qwebirc13140> danieru98 I just don't want to leave a hole, unsecured, for outsiders to see same common shared directory. Healthy paranoia.
[05:57] <lotuspsychje> qwebirc13140: see also fail2ban to protect ssh
[05:57] <qwebirc13140> OK
[05:57] <danieru98> qwebirc13140, with outsiders you mean attackers from the internet?
[05:57] <lotuspsychje> !info fail2ban | qwebirc13140
[05:59] <qwebirc13140> danieru98 not outsiders. This is 2 PCs connected to the same router which connects to my ISP. But, passwords in SSH it should be fine. Never done this, so, am cautious.
[06:00] <lotuspsychje> qwebirc13140: if its connected to your isp, it means outsiders can scan your ssh
[06:00] <danieru98> qwebirc13140, for greater security you can make ssh use keys, but i just remember that there was a gui to configure shared folders using samba
[06:01] <danieru98> qwebirc13140, the package is system-config-samba
[06:01] <lotuspsychje> qwebirc13140: i would advice to scan yourself with nmap, see wich ports are open on your ip adress
[06:01] <lotuspsychje> qwebirc13140: alternate its also wise to setup ssh on a non-default port
[06:01] <qwebirc13140> Yep, nmap, I know it. But not for a while.
[06:02] <lotuspsychje> qwebirc13140: its easy: nmap -PN -sV youriphere
[06:02] <qwebirc13140> OK
[06:05] <chasehead> hello
[06:06] <danieru98> qwebirc13140, if you decide u really only want to share one folder, or want better windows compatibility, you can try with system-config-samba to configure it with a gui, and not by editing the actual config file like i did (its a pain)
[06:06] <danieru98> https://screenshots.debian.net/package/system-config-samba
[06:08] <qwebirc13140> danieru98 Thanks D. No - windows compat unimportant. It'd be nice for Nautilus to see the one folder. Will look into ssh-server first.  Thanks. Take care.
[06:08] <danieru98> qwebirc13140, your welcome
[06:10] <Andre483> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake
[06:16] <tarzeau__> worstje: cool :)
[06:17] <tarzeau__> worstje: now if you created your own ppa, you could upload the source package (make it with debuild -S) to your ppa repo with: dput ppa:yournick/bionic whatever_version-1_source.changes
 so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
[06:29] <senaps> hi all, i have a ubuntu 18.04 (installed fresh not upgraded) and i don't have any network connections on it anymore.(it's a vm, i have started it after few days and there is no network) how would i fix this? configs > networking doesn't show anything. is there anything in netplan that i can do?)
[06:32] <badet0s22> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[06:49] <jo__> ?
[06:49] <jo__> firefox is not work
[06:49] <Plasmoduck> How do I stop my bluetooth keyboard going into standby mode? If I don't type for about 3 or so minutes, it goes to sleep and it doesn't respond until I turn it off, turn off the bluetooth connection via the bluetooth manager in gnome, then turn the keyboard back on and turn the bluetooth connection back on and start pressing buttons on the keyboard. Then the keyboard will connect and start working again. This is SOOOOO annoying. It happens
[06:49] <Plasmoduck> on Debian & Ubuntu.
[06:50] <Randolf> jo__: Could you be more specific?  Which version of Ubuntu Linux are you using, and how are you trying to get Firefox to work?
[06:50] <Randolf> Or did you just mean that "Firefox is not work" because it's so easy to use?
[06:50] <jo__> ubunt mate 16.04.02
[06:51] <jo__> BuildID: 20180705222241
[06:51] <jo__> CrashTime: 1533624694
[06:51] <jo__> FramePoisonBase: 0000004041121792
[06:51] <jo__> FramePoisonSize: 4096
[06:51] <jo__> InstallTime: 1533620152
[06:51] <jo__> ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
[06:53] <Randolf> jo__: What is it that you're trying to do with Firefox that's not working for you?
[06:53]  * Randolf shrugs
[06:54] <barc0d4_> hi
[06:54] <Sveta> hi barc0d4_
[06:55] <barc0d4_> Sveta: hi bro i get some problem with my laptop touchpad it's not working after kernle updating
[06:56] <afancy> ello, when I open an application, the application window in Lubuntu cannot maximize (see https://i.snag.gy/75Qbep.jpg). How to set it? thanks
[06:58] <Chew29> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[06:58] <King> Hi
[06:58] <King> is there any java developer here that can be my mentor ?
[07:00] <Flannel> King: You probably want ##java instead of here
[07:00] <Randolf> King: You can learn a lot about Java at:  http://www.mindprod.com/
[07:01] <Randolf> The ##java channel is a very good resource too though.
[07:01] <Randolf> There's also the ##programming channel.
[07:02] <King> thank you guys
[07:02] <King> wait i'll check it
[07:03] <King>  ##java :Cannot join channel (+r) - you need to be identified with services
[07:03] <King> everytime i try to join in ##java, it replies me this
[07:03] <Flannel> King: You'll need to register with nickserv to join.  `/msg nicksev help register` should start a query with nickserv that will give you the info you need to register.
[07:04] <King> thank you so much
[07:09] <timvisher17> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[07:32] <suvdev> Hi
[07:33] <suvdev> How to set proxy for all applications in Ubuntu 16, I tried by setting from network settings but some apps like mozilla and vbox are easily bypassing that proxy, so please help me out!
[07:38] <ahai> hhhh
[07:39] <ahai> hello
[07:42] <Sariel> another late night and i still can't get motion to work on 18.04
[07:47] <smeggysmeg5> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[07:50] <hanasaki1> how do you connect to another linux box and login via gui?  like pciop
[07:55] <ahai> anybody here
[07:56] <ahai> ?
[07:56] <hanasaki1> no
[07:56] <kirw> yes
[07:56] <ahai> na guo ren ?
[07:57] <ahai> are you working?
[07:57] <hanasaki1> if this is my local display... what do I set on the remote host to run the gui remotely DISPLAY=:1
[08:05] <milp> good morning, is there a way to set something like process affinity for a cpu core in ubuntu? or can i somehow "tell" the system which two cores of my i9 are the fastest so they get used with more priority?
[08:15] <SwedeMike> milp: http://manpages.ubuntu.com/manpages/bionic/man1/taskset.1.html
[08:15] <milp> thank you swedemike
[08:16] <milp> is there also a way of prioritizing a set of cores in general? core 2 and 6 of my cpu can run 5.1ghz while the others only run at 4.7
[08:17] <worstje> My attempts to upgrade to the new kernel keep erroring out while running zz-update-grub, which exits with code 4. Has anyone seen this before?
[08:20] <ripdog16> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[08:41] <boser19> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[08:44] <worstje> Nevermind, it seems to be a problem directly associated with running in my VM. Running native doesn't have the problem. (Should have tried that first, sorry.)
[08:59] <mayankmadan> Hi everyone. Im having really bad lag (especially on startup) and screen tearing. Specifications are: i7 6700HQ 950m and 8GB ram
[09:02] <SiLuman11> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[09:04] <mayankmadan> i forgot to mention, im on ubuntu 18.04
[09:04] <burzos> mayankmadan: What recent change did you make to the system?
[09:05] <mayankmadan> burzos, nothing. The laptop came with windows 10 and i just installed ubuntu 18.04 on it
[09:06] <burzos> Ok, so installing Ubuntu was the changed thing.
[09:06] <burzos> Lag means the display is "behind" the system's state?
[09:08] <mayankmadan> burzos, not really. what i meant was its really slow to respond
[09:10] <burzos> What happens if you play a music file? Does it sound distorted or just the screen is behind?
[09:13] <worstje> Is it just a video issue?
[09:15] <kiwi-os> hello?
[09:15] <kiwi-os> Could someone help me?
[09:16] <worstje> kiwi-os: Just ask your question directly, don't ask to ask. :-)
[09:16] <kiwi-os> Okay
[09:16] <mayankmadan>  not just a video issue. The machine is overall really slow
[09:17] <mayankmadan> for example, it takes about 20 seconds to open firefox after startup
[09:17] <kiwi-os> Well, I'm making I spin of ubuntu from this guide: https://help.ubuntu.com/community/LiveCDCustomization and I don't know how to add packages to my spin and it doesn't explain how
[09:18] <mayankmadan> but it then gets a little better after sometime
[09:19] <kiwi-os> Maybe it gets faster over time? That happens to me with new installs
[09:19] <burzos> How do you know it's slow to load firefox and not just slow to display it?
[09:20] <mayankmadan> i didnt even know there was a difference :)
[09:20] <burzos> Maybe take a look at `top` and see if anything is holding the CPU.
[09:20] <burzos> Like worstje said, it might just be a video problem.
[09:21] <burzos> Or it might really be a process performance issue.
[09:21] <mayankmadan> could it be a nvidia issue? because ive been running ubuntu on my other machine without any problems
[09:23] <mayankmadan> beacause there is always screen tearing
[09:23] <kiwi-os> Probably a driver issue
[09:24] <it_> Is it still ok to ask questions related to ubuntu precise?..
[09:24] <kiwi-os> I'm making I spin of ubuntu from this guide: https://help.ubuntu.com/community/LiveCDCustomization and I don't know how to add packages to my spin and it doesn't explain how
[09:25] <guiverc> please be more patient kiwi-os - give people time to answer (if they can)
[09:26] <chen__> ls
[09:26] <kiwi-os> ?
[09:26] <guiverc> kiwi-os, sorry I can't help with your solution, but alternatives are create your 'wanted' environment on a box; then create your iso from that install.  many scripts will do this (i've not used any, so can only be general, eg. i think 'konstructor' (or something like that, by the creator of makulu linux; which is based on ubuntu - the script he uses)
[09:27] <guiverc> kiwi-os, i meant don't repeat your question so quickly - i was trying to answer; but had to delete to deal with 'patience' request...
[09:27] <kiwi-os> sorry
[09:28] <guiverc> there are other such scripts - but I've used none; only read about them once or twice a year when a new one comes out...
[09:28] <mayankmadan> the animations are choppy. Thats the term i was looking for :)
[09:28] <kiwi-os> okay, thank you though
[09:29] <guiverc> you're most welcome kiwi-os
[09:31] <burzos> mayankmadan: To confirm it's not a app performance problem.  Run this command and post the results.
[09:31] <burzos> `top -b -n 1 | head -n5`
[09:34] <mayankmadan> https://pastebin.com/irafqifQ
[09:38] <burzos> 20 GB swap seems large; any reason for that?
[09:41] <burzos> And your CPU isn't underload, so it's probably a video issue.
[09:41] <burzos> Try googling your driver, video card on Linux.
[10:20] <mayankmadan> Im also getting "System Problem Detected" a lot. Is there any way to know what the problem is?
[10:21] <guiverc> mayankmadan, i would look in /var/crash/ for .crash files, which can be scanned (they are text...)
[10:24] <guiverc> mayankmadan, if you 'ubuntu-bug /var/crash/filename.crash' you can submit/report the bugs (if you didn't select to submit them when they occurred)
[10:25] <mayankmadan> guiverc, i did that but it said something about it not being an official package
[10:26] <mayankmadan> i have been getting problems with the graphic drivers(probably) and having really slow computer due to that.
[10:26] <guiverc> i'm guessing the bug was caused by a non-Ubuntu sourced package (from repos/ppa/sources you've added), but this is a guess
[10:26] <mayankmadan> Im not good with reading crash reports
[10:26] <mayankmadan> https://pastebin.com/QjYasd4N
[10:26] <mayankmadan> can someone look at it and tell if i have to reinstall ubuntu or if there is something i can do to fix it
[10:29] <guiverc> mayankmadan, i can't help with graphics (outside my knowledge base sorry).  you can wait, but please try & keep all info to a single line, and I suggest don't post pastebin's without a why (they get ignored)
[10:33] <beta4_> hi tomreyn
[10:35] <than_> !phoomphy Silberschatz, Galvin & Gagne - Operating System Concepts (9th edition) (2013).pdf
[10:37] <than_> !phoomphy Silberschatz, Galvin & Gagne - Operating System Concepts (9th edition) (2013).pdf
[10:41] <lotuspsychje> beta4_: welcome, what can we do for you?
[10:42] <beta4_> I'm here to report back on a solution I found.
[10:42] <lotuspsychje> beta4_: you can share mate, we will forward it to tomreyn
[10:42] <beta4_> basically I have a very new laptop, Core i7-8750H + nvidia GPU
[10:43] <beta4_> just after installation, I got a black screen right from boot, as i915 driver is buggy
[10:43] <lotuspsychje> yes?
[10:44] <beta4_> with the help of tomreyn we fixed the problem by blacklisting the nvidia drivers, but the GPU was still there consuming power, and the laptop idlead at 20W
[10:44] <beta4_> I found a simple way to power down the nvidia
[10:44] <beta4_> echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control';
[10:44] <beta4_> this line was one of the 'tunables' suggested by powertop
[10:45] <beta4_> and wow, my laptopo is now down to 12W idle, and the battery can last up to 4 hours
[10:45] <beta4_> I'm reporting it here just in case someone else shows up with a similar problem
[10:46] <lotuspsychje> beta4_: ok tnx for your feedback we will forward it to tomaw
[10:46] <lotuspsychje> tomreyn:
[10:49] <lotuspsychje> mayankmadan: wich ubuntu version graphics card and driver version please?
[10:50] <mayankmadan> lotuspsychje, ubuntu 18.04 and Nvidia binary driver version 396.37(proprietary)
[10:50] <mayankmadan> Nvidia 950m
[10:51] <lotuspsychje> mayankmadan: try .77
[10:51] <mayankmadan> 396.77?
[10:51] <lotuspsychje> mayankmadan: 390.77 or 396.45
[10:52] <lotuspsychje> mayankmadan: from nvidia site or ubuntu graphics ppa
[11:05] <butax42> @Search Marion G. Harmon
[11:13] <Gimmel> Hi all, just a quick cli check. 'apt-get update' updates the list of packages. 'apt-get upgrade' then installs them. I've just run 'apt-get update' and then software updater popped up updates it wants to install (makes sense). In the list on the GUI it shows some Security Updates and Ubuntu Base packages. These don't seem to be included in the list that 'apt-get upgrade' gives me. Is there another command
[11:13] <Gimmel> for updating the core files?
[11:13] <ppf> Gimmel: apt-get dist-upgrade
[11:14] <ppf> or apt full-upgrade
[11:14] <ppf> but note that apt upgrade != apt-get upgrade
[11:15] <Gimmel> ppf: thanks, I'll look up those. I just prefer to have my head around what the cli equivalent is doing rather than relying on the gui.
[11:15] <guiverc> butax42, upgrade has limits on what it can upgrade; see `man apt-get` and search for dist-upgrade (right after upgrade) and it'll tell you what it can do beyond upgrade's limits
[11:17] <guiverc> Gimmel, "dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a 'smart' conflict resolution system....."
[11:17] <Gimmel> So am I right that 'apt-get dist-upgrade' will do what 'apt-get upgrade' would have done, but with some smarter deps handling?
[11:17] <Gimmel> guiverc: Yup, just read that. Thanks.
[11:17] <ppf> or in other words, it will install the remaining packages
[11:18] <Gimmel> ppf: including the core stuff, yeah?
[11:20] <ppf> yes
[11:20] <ppf> like, new kernels
[11:22] <Gimmel> thanks guys!
[11:22] <tktech16> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[11:22] <tktech16> This blog is essentially an ad for the Handshake ICO scam with a one-line "denial" of involvement mixed in there. It's obviously very unethical of Christel to not mention her own involvement in the scam which the blog post promotes.
[11:22] <tktech16> Consider Andrew Lee's involvement, Andrew Lee is Christel's boss at London Trust Media and he also controls the majority of freenode voting rights. Andrew Lee also heads the handshake ICO scam. Coincidence?
[11:32] <ppf> really
[11:37] <JimBuntu> omg tktech16, shut up already. All you people/bots are doing is stopping anyone from believing ANYTHING along the lines of what you are spewing.
[11:38] <JimBuntu> I know I shouldn't feed the trolls/bots, sorry.
[11:45] <BluesKaj> Hi folks
[11:45] <jdwwwe> hey
[11:45] <tobiasBora> Hello,
[11:45] <tobiasBora> I saw that ubuntu enabled by default user namespace for non root users.
[11:46] <tobiasBora> However, If I understand things correctly, there is a possibility to do privilege escalation with this: https://security-tracker.debian.org/tracker/CVE-2016-3134
[11:47] <tobiasBora> so is this CVE still up to date, and if yes, why Ubuntu doesn't care?
[11:51] <TJ-> tobiasBora: https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-3134.html
[11:52] <tobiasBora> TJ-: so the status is "ignored (abandoned)" right?
[11:53] <tobiasBora> (which means that ubuntu has a priviledge escalation built in)
[11:54] <TJ-> tobiasBora: not at all, where are you seeing that (which kernel release)
[11:55] <JimBuntu> tobiasBora, You see the updates from July... right?
[11:55] <lotuspsychje> tobiasBora:  https://usn.ubuntu.com/3134-1/
[12:03] <jdwwwe> test
[12:03] <lotuspsychje> jdwwwe: it works, we see you
[12:06] <jdwwwe> ty
[12:10] <lotuspsychje> mayankmadan: did you solve it?
[12:10] <mayankmadan> ummmm
[12:11] <mayankmadan> i uninstalled the previous drivers and installed the 390.77 from nvidia website
[12:11] <mayankmadan> but now i cant get the ui to start without adding nouveau.modeset=0 to grub
[12:11] <mayankmadan> that just uses the nouveau driver right?
[12:12] <lotuspsychje> mayankmadan: check sudo lshw -C video at bottom driver=
[12:13] <j0nez> whoami
[12:14] <mayankmadan> lotuspsychje, https://paste.ubuntu.com/p/Yf2kGHg5vP/
[12:14] <lotuspsychje> mayankmadan: looks like its using it yes
[12:15] <lotuspsychje> bbl
[12:15] <lotuspsychje> mayankmadan: check also ubuntu-drivers list to see whats available
[12:18] <tobiasBora> maybe I wasn't reading the good one indeed ^^
[12:26] <mayankmadan> so i removed the driver i installed and installed 390.77 from package manager. It is still quite slow but the animations are much smoother now
[12:29] <burzos> gloomy_: Figure out what he does on the computer, put links to it on the  desktop and how him how it works.
[12:36] <burzos> Skype was always a clunker.
[12:39] <ski_> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[12:43] <dami0> hi, if i want to automatically select the language of the installer, where would i put it in? the best i found was setting the timeout so it's auto-selected, but that doesn't work and it's not ideal (default english only)
[12:44] <dami0> i'm installing 18.04, the alternative server iso btw
[12:45] <gwenael> Hello.
[12:47] <TJ-> dami0: I *think* (but can't recall for sure) you can add a kernel command-line option of the form LANG=.... but you'd need to find that documented
[12:47] <quan-newbie> hello
[12:49] <michagogo24> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[12:50] <gwenael> I have bug on Ubuntu 16.04 LTS and GlusterFS 3.7.6-1ubuntu1 ... https://bugzilla.redhat.com/show_bug.cgi?id=1308837
[12:50] <BluesKaj> hi gwenael
[12:50] <JimBuntu> gwenael, Do you need assistance with Ubuntu?
[12:51] <bobphalanx> what's a safe way to remove files from the command line in a way that they can't be read from the disk?
[12:51] <bobphalanx> oops sorry wrong channel.. was supposed to post on #linux
[12:51] <JimBuntu> bobphalanx, There is no great way, unless you use a helper program that can locate each sector used to store the file and rewrite over it
[12:52] <bobphalanx> someone told shred which seems to do the job
[12:52] <JimBuntu> gwenael, Did you mean to be in #ubuntu or perhaps a redhat related channel?
[12:52] <JimBuntu> bobphalanx, yes, that's one of the helper programs that should work well.
[13:01] <ceibal> LUCAS
[13:02] <gloomy_> Hi :)
[13:02] <gloomy_> What can I use to extract an .iso from a bootable usb drive?
[13:02] <gloomy_> there's tons of tutorials for the other way around but coudn't find much on this
[13:02] <Furai> Whaaaat? Who called me?
[13:05] <JimBuntu> gloomy_, dd the entire drive to a new file?
[13:05] <gloomy_> JimBuntu dd if=drive/path/ of=file.iso?
[13:06] <JimBuntu> gloomy_, I would suggest something more like dd =id/device/path of=file.iso   but you get the idea
[13:06] <JimBuntu> oops. ignore the typos
[13:06] <JimBuntu> gloomy_, my point is to image the device, not the mount point...
[13:07] <gloomy_> Didn't know it worked like that. Thanks :)
[13:07] <JimBuntu> gloomy_, Well, there are caveats but I assume you were not being strict in your use of the term ISO and simply mean 'How can I make a copy of X that I can reuse with other drives or share with other users'
[13:08] <JimBuntu> If you intend to share it... rewrite all empty space with 0s (or something similar, not random) first... then you can compress the raw output file.... assuming there is a fair amount of "empty" space in the partitions
[13:08] <TJ-> gloomy_: there's one problem with using dd - the flash device might be 32GB but the ISO image only 1GB... dd is going to copy the entirte 32GB unless you limit it by knowing how big the ISO image is
[13:09] <gloomy_> The usecase is I'm trying to install puppy linux (not ubuntu I know but #puppylinux is deserted :p) from a bootable usb and for some reason it needs an .iso. Will see if your way works :)
[13:09] <gloomy_> Ah yes that's a problem.
[13:09] <JimBuntu> TJ-, is correct... for optimal use, make each partition as small as reasonable and 'man dd' for how to use BS and COUNT
[13:09] <TJ-> gloomy_: it may be that "sudo file -s /dev/sdd" might tell you the size of the ISO image though
[13:10] <gloomy_> The computer only has 4gb of ram so it won't be able to contain an iso of a 16gb drive
[13:10] <bieb> I have this lenovo desktop https://psref.lenovo.com/Detail/ThinkCentre/ThinkCentre_M710_SFF?M=10M7000SUS I have installed Ubuntu 18.04, there are 2 display ports. I am trying to setup dual monitors, but when I look in settings I only see the one display. Any ideas or how-tos that anyone can point to, to get this set up?
[13:10] <TJ-> gloomy_: if so, you can use dd options "bs=<size-in-bytes-of-ISO> count=1"
[13:11] <gloomy_> Fuck it, I'll just copy the iso into a directory of the bootable usb from my other computer. Too much fuss :p
[13:11] <gloomy_> Thanks for helping
[13:13] <TJ-> gloomy_: sounds a bit weird, that, usually the ISO file is written onto the device and boots directly, not via some other loader. GRUB does provide a mechansim to boot arbitrary ISO images though
[13:14] <gloomy_> Yes, I burned the iso into the usb stick and booted from it
[13:14] <gloomy_> But the installer (to install the os directly on the hdd) wants an iso for whatever reason
[13:14] <gloomy_> which is stupid
[13:14] <gloomy_> but I didn't make it that way :p
[13:14] <TJ-> gloomy_: sounds like the installer ISO itself is broken, or needs a reference to itself
[13:15] <gloomy_> It's probably because puppy isn't really meant to be installed to the internal hard drive... meh?
[13:16] <TJ-> gloomy_: I've seen that happen with some broken PC firmwares where at boot-time it puts the device order different to what the OS discovers, so the boot device according to the firmware/GRUB ends up not being the OS's /dev/sda or /dev/sr0
[13:16] <charli> puppy works on all
[13:17] <gloomy_> charli it works fine booting from usb, it's the installation that fails
[13:17] <charli> !- jason85 can help
[13:18] <charli> no problem
[13:18] <ozbrk> hi people I need a tool to have fully controll on dock. It is really annoying for my laptop screen. Taking a bite from my vision here
[13:19] <ozbrk> sure it can get small by decreasing the icon size but I need to shring it verticaly too
[13:19] <gloomy_> Hmm. Rebooted and now it just works. Who said computers are deterministic
[13:19] <charli> well i dont no abbout Think Pad but maybe I can help
[13:21] <charli> Lenove Laptop ?
[13:21] <gloomy_> Who are you talking to? :)
[13:22] <charli> USB stick you boot from Bio with what?
[13:23] <gloomy_> an old samsung netbook, didn't say anything about a thinkpad :-)
[13:23] <RonaldsMazitis> I have problems with updates on Ubuntu 16.04
[13:23] <RonaldsMazitis> mysql-server-5.7 is not working
[13:23] <RonaldsMazitis> https://paste.ubuntu.com/p/zvtHMdBRH7/
[13:23] <charli> wich System you want for the boot
[13:24] <gloomy_> puppy linux - but don't worry, it seems to be working now
[13:24] <ppf> RonaldsMazitis: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
[13:24] <charli> Puppy Linux Thar works fantastisch
[13:24] <gloomy_> I have xenial pup :-)
[13:25] <charli> <gloomy you have in Puppy a lot of option
[13:25] <RonaldsMazitis> https://paste.ubuntu.com/p/WKCGZHj6hc/
[13:26] <charli> well Thar Puppy works on all Pc Laptop o what ever
[13:27] <Random> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[13:33] <charli> gloomy_: can I help you?
[13:35] <RonaldsMazitis> https://paste.ubuntu.com/p/98F3MgzywG/
[13:35] <RonaldsMazitis> what can I do
[13:35] <RonaldsMazitis> mysql is not working
[13:35] <RonaldsMazitis> after update
[13:35] <RonaldsMazitis> can't reinstall
[13:36] <ppf> can you sudo mkdir /etc/mysql
[13:36] <ppf> and try again
[13:36] <RonaldsMazitis> does not help
[13:39] <ppf> touch /etc/mysql/mysql.cnf
[13:39] <rory> hey RonaldsMazitis - what do you mean by "updates" - after installing normal package updates? or after upgrading the version of Ubuntu?
[13:39] <RonaldsMazitis> installing normal package update
[13:39] <RonaldsMazitis> s
[13:40] <RonaldsMazitis> if I meant upgrading distro I would say distro upgrade
[13:40] <rory> can you share the output of this command please: file /etc/mysql/my.cnf
[13:40] <loppy225> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[13:41] <RonaldsMazitis> /etc/mysql/my.cnf: cannot open `/etc/mysql/my.cnf' (No such file or directory)
[13:41] <ppf> so you didn't mkdir
[13:41] <rory> if you do "cat /etc/alternatives/my.cnf" do you see your config you expect?
[13:42] <AtomicBond> what's an easy way to check which python version comes with whatever version of ubuntu
[13:42] <rory> ppf: it's possible /etc/mysql exists but /etc/my.cnf doesn't
[13:42] <rory> /etc/mysql/my.cnf is supposed to be a symlink to /etc/alternatives/my.cnf
[13:42] <ppf> rory: right, i thought that was the output to my touch command
[13:43] <RonaldsMazitis> https://paste.ubuntu.com/p/8V4kdWnwtB/
[13:43] <rory> sudo ln -s /etc/alternatives/my.cnf /etc/mysql/my.cnf
[13:43] <rory> mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
[13:43] <RonaldsMazitis> sudo ln -s /etc/alternatives/my.cnf /etc/mysql/my.cnf
[13:43] <RonaldsMazitis> ln: failed to create symbolic link '/etc/mysql/my.cnf': File exists
[13:43] <rory> are you 100% sure you aren't witholding any information from us
[13:44] <TJ-> rory: have you checked the file-system hasn't run out of free space or inodes?
[13:44] <RonaldsMazitis> 2,6 gb free
[13:44] <rory> I would expect different errors in dpkg
[13:44] <rory> does anyone else have access to this machine?
[13:44] <RonaldsMazitis> nope
[13:45] <rory> At the risk of sounding like a bot, have you tried turning it off and on again?
[13:45] <rory> like for real, reboot the machine
[13:45] <RonaldsMazitis> yeah
[13:45] <rory> ok
[13:45] <TJ-> RonaldsMazitis: show us "pastebinit <( df; df -i; sudo find /etc/mysql -ls )"
[13:45] <RonaldsMazitis> http://paste.ubuntu.com/p/wTt4v2CHhz/
[13:46] <TJ-> aha "/dev/sda1      611284200 577468348   2741292 100% /"
[13:46] <RonaldsMazitis> file browser does show free space
[13:47] <TJ-> RonaldsMazitis: how about "pastebinit <( update-alternatives --display my.cnf )"
[13:47] <AtomicBond> is there anything wrong with choosing bionic for a greenfield "production ready" app?
[13:47] <accesspoint> AtomicBond: python --version
[13:47] <AtomicBond> thanks accesspoint but I was looking for this: https://packages.ubuntu.com/bionic/python3
[13:47] <RonaldsMazitis> TJ-: http://paste.ubuntu.com/p/Y65gzNmfrM/
[13:47] <TJ-> !info python3 | AtomicBond
[13:48] <AtomicBond> n i c e
[13:48] <TJ-> RonaldsMazitis: the alternatives link looks OK
[13:49] <RonaldsMazitis> so how do I start mysql
[13:49] <cristian_c> hello, I've saved a display resolution by mistake
[13:50] <RonaldsMazitis> https://paste.ubuntu.com/p/FvxBhQ85JZ/
[13:50] <cristian_c> now, after I make login, screen becomes blank
[13:51] <cristian_c> how could load display defsukts, in order to enter desktop?
[13:51] <cristian_c> Any ideas?
[13:52] <RonaldsMazitis> maybe I have to dist upgrade
[13:52] <cristian_c> *default settings
[13:52] <coz_> cristian_c, when did this start?  which video card?
[13:52] <RonaldsMazitis> I think I will be loosing the database
[13:53] <cristian_c> coz_: after I saved a different display size by mistake (on a different display)
[13:53] <cristian_c> igd card (vega 8 built-in)
[13:53] <RonaldsMazitis> https://paste.ubuntu.com/p/zTh573zQ23/
[13:53] <TJ-> RonaldsMazitis: try this to collect debug info: "sudo apt-get -o=Debug::pkgDPkgPM=true -o=Debug::pkgDPkgProgressReporting=true --reinstall install mysql-server |& tee /tmp/apt-mysql.log" and then "pastebinit /tmp/apt-mysql.log
[13:53] <BluesKaj> database is loose :-)
[13:53] <coz_> cristian_c, mmm,
[13:54] <cristian_c> I'd like to revert to default, but I can't enter desktop atm
[13:54] <mlohr> Hey folks... Any idea when do-release-upgrade will show a new available upgrade from 16.04 to 18.04.1?
[13:54] <RonaldsMazitis> https://paste.ubuntu.com/p/ZqMhPc3V8C/
[13:55] <RonaldsMazitis> http://paste.ubuntu.com/p/zQSxZ5y2sC/
[13:55] <Simonious> I've got a target that won't let users log in over the wifi connection until after someone has logged in via ssh or on console - what needs to change so I can boot the machine and then log in over that wifi IP?
[13:55] <Goldman6023> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[13:55] <TJ-> RonaldsMazitis: uh!? did I make a typing mistake there. mysql-server is the package name isn't it?
[13:56] <RonaldsMazitis> yeah
[13:56] <TJ-> oh, it's mysql-server-5.7 !!!
[13:56] <TJ-> RonaldsMazitis: try this to collect debug info: "sudo apt-get -o=Debug::pkgDPkgPM=true -o=Debug::pkgDPkgProgressReporting=true --reinstall install mysql-server-5.7 |& tee /tmp/apt-mysql.log" and then "pastebinit /tmp/apt-mysql.log
[13:57] <coz_> cristian_c, can you use console?
[13:57] <RonaldsMazitis> https://paste.ubuntu.com/p/THxw9BxQp2/
[13:57] <cristian_c> coz_: I can ebter tty by ctrl+alt+f1
[13:57] <cristian_c> *enter
[13:57] <TJ-> RonaldsMazitis: this is due to the root file-system being out of space
[13:58] <RonaldsMazitis> what can I do
[13:58] <coz_> cristian_c, you are on a different system right now, yes?
[13:59] <TJ-> RonaldsMazitis: free some space? it loks like the root-fs is 611GIB
[13:59] <RonaldsMazitis> but there is 3 gb of space
[13:59] <RonaldsMazitis> when I go to my home folder
[13:59] <cristian_c> coz_: I'm not chatting by that mhine, obviously
[13:59] <TJ-> RonaldsMazitis: some space on a file system is reserved blocks and cannot be used for files
[14:00] <cristian_c> but I can type commands in tty
[14:00] <TJ-> RonaldsMazitis: show us "pastebinit <( sudo dumpe2fs -h /dev/sda1 )"
[14:01] <cristian_c> *machine
[14:01] <coz_> cristian_c, xrandr --output DP2 --mode 3840x2160 --scale 2x2    or   xrandr --output DP2 --mode 1024x768 --scale 1x1
[14:01] <RonaldsMazitis> http://paste.ubuntu.com/p/FBfk3GK8Ps/
[14:01] <cristian_c> ok
[14:01] <coz_> cristian_c, may get you in so you can change resolution
[14:02] <gartral> test
[14:02] <coz_> tested
[14:03] <cristian_c> coz_: first command: Can't open display
[14:03] <coz_> oh!
[14:03] <RonaldsMazitis> Free blocks:              7763154
[14:03] <RonaldsMazitis> Free inodes:              37352828
[14:04] <cristian_c> coz_: second command: Can't open display
[14:05] <cristian_c> I don't know how to reset display configuration
[14:05] <m4rkus> Hello good people of #ubuntu! I have created an LXC container, and I have installed ubuntu-desktop inside that container. Now I want to connect via SPICE to that container. On the host I have installed virt-manager and remote-viewer. What more do I have to do to connect to that container? Please tell me what to do. I can connect to the console just fine, but not to X.
[14:06] <coz_> cristian_c, hold on, let me check, or someone can jump in with more  knowledge
[14:06] <cristian_c> thank you anyway
[14:06] <accesspoint> cristian_c: check this link: https://askubuntu.com/questions/749333/how-can-i-reset-my-display-settings-through-terminal
[14:06] <RonaldsMazitis> TJ-: https://paste.ubuntu.com/p/M4ddxmMCTT/
[14:07] <cristian_c> interesting. my native display size ismj
[14:07] <TJ-> RonaldsMazitis: the "can't read" suggests a file-system fault. Check the kernel log for disk I/O messages: "pastebinit <( dmesg )"
[14:07] <cristian_c> is just 1440x900
[14:08] <TJ-> RonaldsMazitis: if it isn't that we can try reducing the number of Reserved Blocks
[14:08] <RonaldsMazitis> http://paste.ubuntu.com/p/FqKKRsZRYJ/
[14:08] <coz_> cristian_c, try this   xrandr -d :0 --output LVDS1 --auto
[14:09] <TJ-> RonaldsMazitis: there you go, at the end, apparmor is denying read access
[14:09] <cristian_c> accesspoint: monitors.xml doesn't exist inside .config
[14:09] <coz_> cristian_c, damn
[14:10] <RonaldsMazitis> TJ-: so
[14:10] <cristian_c> coz_: some hours ago I tried xrandr -d :0
[14:10] <RonaldsMazitis> I need to configure apparmor
[14:10] <TJ-> RonaldsMazitis: it should be set by the package. "pastebinit /etc/apparmor.d/usr.sbin.mysqld"
[14:11] <RonaldsMazitis> http://paste.ubuntu.com/p/sqkhJgmWtq/
[14:11] <coz_> cristian_c, I'm at a loss, hopefully someone here has mor information
[14:11] <coz_> cristian_c, lett me check one more thing
[14:11] <cristian_c> accesspoint: xrandr -s 1440x900 returns: Can't open displ
[14:11] <cristian_c> *display
[14:12] <RonaldsMazitis> https://askubuntu.com/questions/175704/unable-to-start-mysql-server-after-update
[14:12] <accesspoint> cristian_c: try it with the -d option: xrandr -d :0.0 -s 1440x900
[14:12] <RonaldsMazitis> TJ-: should I do as in last link?
[14:13] <TJ-> RonaldsMazitis: no, that refers to a custom path. Your apparmor denials are for a directory that is defined in the profile
[14:13] <RonaldsMazitis> ok
[14:14] <TJ-> The rule in that file that allows it is "  /etc/mysql/** r,"
[14:14] <TJ-> RonaldsMazitis: which means everything under /etc/mysql/ can be read
[14:14] <RonaldsMazitis> yeah
[14:14] <cristian_c> coz_: anyway, it's a desktop pc
[14:14] <RonaldsMazitis> what should I change?
[14:15] <TJ-> RonaldsMazitis: it is possible there is a local apparmor profile though, so let's check that 1st. "pastebinit /etc/apparmor.d/local/usr.sbin.mysqld "
[14:15] <coz_> cristian_c, ok did you try accesspoint suggestion?
[14:16] <RonaldsMazitis> Nevar noslasīt no: /etc/apparmor.d/local/usr.sbin.mysqld
[14:16] <B4B4NN> hello
[14:16] <RonaldsMazitis> can't read
[14:16] <RonaldsMazitis> from file
[14:16] <TJ-> RonaldsMazitis: OK, so there wasn't one
[14:16] <bucketm0use> when doing an 'apt install {package}' I get an error: 'adduser: The user 'munge' already exists. Exiting.' ... 'Errors were encountered while processing: munge'. How can I get around this without breaking the current 'munge' configuration in any way?
[14:16] <TJ-> RonaldsMazitis: just check the directory to be sure: "sudo ls -l /etc/apparmor.d/local/"
[14:16] <B4B4NN> i need help in encryption file jar
[14:16] <cristian_c> coz_: your command returns: Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0
[14:17] <coz_> cristian_c, mm damn hold on
[14:17] <RonaldsMazitis> TJ-: https://paste.ubuntu.com/p/mGPrHVyBDF/
[14:17] <jelly> hi, is there a time framee for do-release-upgrade from 16.04.x LTS to 18.04.1 to be officially supported (without -d)?
[14:17] <TJ-> bucketm0use: sounds like a bug in the package's .postinst script; should report it for starters
[14:18] <cristian_c> accesspoint: your command returns: Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0.0
[14:18] <TJ-> RonaldsMazitis: I wonder if that mysqld-akonadi is affecting it? "pastebinit /etc/apparmor.d/local/usr.sbin.mysqld-akonadi"
[14:18] <jelly> bucketm0use, that sounds like a broken package, adding system users and groups in package installation scripts should always be conditional
[14:19] <RonaldsMazitis> http://paste.ubuntu.com/p/TNMkjHZfRy/
[14:19] <TJ-> RonaldsMazitis: so not that, it's empty of rules
[14:19] <bucketm0use> jelly / TJ-, does this mean I'm sol? I've inherited this system and I just wanted to do an installation
[14:19] <jelly> bucketm0use, does this package come from OS ubuntu.com repos, or from somewhere else?
[14:19] <TJ-> RonaldsMazitis: hmmm, this is weird, let me re-read the logs in case I missed something obvious
[14:20] <jelly> bucketm0use, can you please pastebin the complete command line and output of the command you ran, and also output of "apt-cache policy munge"
[14:20] <TJ-> RonaldsMazitis: one thing the apparmor log message doesn't confirm is what mysqld is trying to access; we're assuming /etc/mysql/ due to other messages
[14:21] <RonaldsMazitis> TJ-: I can access phpmyadmin
[14:21] <RonaldsMazitis> #2002 - No such file or directory — The server is not responding (or the local server's socket is not correctly configured).
[14:21] <jelly> bucketm0use, it doesn't mean you're sol, there are options for going forward but it's best to see the whole picutre first before suggesting something
[14:23] <bucketm0use> jelly, https://paste.ubuntu.com/p/FB2bSZbQBG/
[14:23] <TJ-> RonaldsMazitis: I suspect there's something in your local /etc/mysql/my.cnf that is pointing to a location outside the allowed paths. Can you show us "pastebinit /etc/mysql/my.cnf"
[14:23] <RonaldsMazitis> http://paste.ubuntu.com/p/bGyR3trkrk/
[14:23] <coz_> cristian_c, sorry, I cant find a solution, so I will back off so someone else can jump in
[14:24] <cristian_c> coz_: thank you anyway
[14:24] <bucketm0use> jelly, I forgot to add the output of the apt install: https://paste.ubuntu.com/p/mzNrws3Kpm/
[14:26] <RonaldsMazitis> so it could not update mysql server and now I can't reinstall, configure or anything
[14:26] <TJ-> RonaldsMazitis: the directory doesn't exist, unless you've created it since. Do  "sudo mkdir /etc/mysql/conf.d" then "sudo systemctl start mysql"
[14:26] <RonaldsMazitis> Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
[14:26] <accesspoint> cristian_c: also sorry, I don't have any other suggestion for now
[14:27] <cristian_c> accesspoint: ok, thanks
[14:27] <TJ-> RonaldsMazitis: pastebin the journalctl log
[14:27] <cristian_c> has anyone any other ideas?
[14:27] <RonaldsMazitis> https://paste.ubuntu.com/p/GZyHdBcxfX/
[14:28] <jelly> bucketm0use, and what is the full command line that results in <bucketm0use> jelly, I forgot to add the output of the apt install: https://paste.ubuntu.com/p/mzNrws3Kpm/ ?
[14:28] <TJ-> RonaldsMazitis: the mysql.service unit is set to disabled according to that
[14:28] <bucketm0use> jelly, that's in the first pastebin (apt install python-virtualenv)
[14:28] <TJ-> RonaldsMazitis: "sudo systemctl enable mysql.service && sudo systemctl start mysql.service"
[14:29] <RonaldsMazitis> https://paste.ubuntu.com/p/jGYNrDntZH/
[14:30] <TJ-> RonaldsMazitis: check the journal again :)
[14:30] <TJ-> RonaldsMazitis: I think we're getting closer
[14:30] <RonaldsMazitis> https://paste.ubuntu.com/p/v6gfJgGmrw/
[14:30] <TJ-> RonaldsMazitis: and show us "pastebinit <( dmesg | tail -n 50  )"
[14:31] <RonaldsMazitis> pastebinit <( dmesg | tail -n 50  )
[14:31] <RonaldsMazitis> http://paste.ubuntu.com/p/vH7gvGSF6W/
[14:33] <RonaldsMazitis> so I need apparmor to allow
[14:33] <RonaldsMazitis> mysql
[14:34] <RonaldsMazitis> any idea how to do this?
[14:35] <jelly> bucketm0use, ah right, missed it.  Well it's a package from universe which is pretty much unmaintained as far as I understand it.  It's also a bit ironic that it's a pacakge dealing with uid and gid management but apparently can't manage its own.  Dirty workaround: edit /var/lib/dpkg/info/munge.postinst, find the line containing "adduser --system ... munge" command, append this to that line: || true
[14:35] <jelly> bucketm0use, then run "dpkg --configure -a" and "apt-get -f install" to let any pending apt actions finish
[14:36] <TJ-> RonaldsMazitis: let's try starting it directly rather than as a service: "sudo mysqld --verbose --help --innodb-read-only |& tee /tmp/mysqld.log" then "pastebinit /tmp/mysqld.log"
[14:37] <bucketm0use> jelly, you are a saint. thank you
[14:38] <adroit_machine> I'm connected to the internet via wifi hotspot. How do I determine the IP address of my machine? I have tried ifconfig, but it doesn't show "wlan" ip
[14:38] <RonaldsMazitis> http://paste.ubuntu.com/p/4F7d4Gnp9w/
[14:38] <RonaldsMazitis> TJ-:
[14:38] <cromulon> anyone able to answer a question regarding deb822 in 14.04
[14:38] <JimBuntu> !ask | cromulon
[14:39] <cromulon> deb822 formatted .sources file in 14.04 error: Ignoring file 'main.sources' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
[14:40] <cromulon> apt 1.0.1ubuntu2 for amd64 compiled on Apr 12 2018 10:14:36
[14:40] <tripelb> is ubuntu a subset of debian
[14:40] <JimBuntu> Derivative work
[14:40] <EriC^^> cromulon: sources are supposed to be named something.list
[14:41] <TJ-> RonaldsMazitis: hmmm! I wonder if the mysqld log itself is more helpful. "pastebinit <( sudo ls -latr /var/log/mysql/ ; sudo tail -n 200 /var/log/mysql/error.log )"
[14:41] <RonaldsMazitis> http://paste.ubuntu.com/p/NRhpZFPZh6/
[14:42] <cromulon> EriC^^: not according to this https://manpages.debian.org/unstable/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT
[14:42] <tripelb> thanks JimBuntu
[14:43] <EriC^^> cromulon: "This is a new format supported by apt itself since version 1.1. Previous versions ignore such files with a notice message as described earlier."
[14:43] <TJ-> RonaldsMazitis: quite a few issues there reported as ERRORs - from last to first, "[ERROR] 1819  Your password does not satisfy the current policy requirements" "[ERROR] InnoDB: Error number 28 means 'No space left on device'" <<<-- out of disk space
[14:43] <tomreyn> cromulon: the correct file nam extension would be .list
[14:44] <tomreyn> oh EriC^^ beat me to it
[14:44] <EriC^^> cromulon: renaming it .list won't work either, it uses colons and whatnot, i think you'd need to convert to normal apt format pre 1.1
[14:44] <TJ-> RonaldsMazitis: looks like you fixed that earlier out of disk space, that was timestamped at 13:03, latet run was at 13:15... and since then nothing. What is the system's current time now?
[14:44] <cromulon> EriC^^: if I rename the file it doesnt seem to read it as as deb822 format E: Type ‘Types:’ is not known on line 1 in source list /etc/apt/sources.list.d/main.list
[14:45] <EriC^^> cromulon: yes, exactly
[14:45] <RonaldsMazitis> TJ-: systems time, by that You mean current time?
[14:45] <TJ-> RonaldsMazitis: yes
[14:45] <TJ-> RonaldsMazitis: as in "date"
[14:45] <RonaldsMazitis> 17.45
[14:45] <JimBuntu> cromulon, https://unix.stackexchange.com/questions/198460/rfc822-style-sources-list-yields-e-type-types-is-not-known
[14:45] <TJ-> RonaldsMazitis: right, so the last time mysqld actually ran was 13:15, 4.5 hours ago
[14:46] <RonaldsMazitis> so why it does not run now
[14:46] <TJ-> RonaldsMazitis: so we're back to the apparmor issues it seems. I think we need to trace what is going on at a system level to understand this.  "sudo apt install strace"
[14:47] <TJ-> RonaldsMazitis: then do "sudo strace -fe trace=file /usr/sbin/mysqld --pid-file=/run/mysqld/mysqld.pid |& tee /tmp/mysqld-strace.log" then "pastebinit /tmp/mysqld-strace.log"
[14:48] <tomreyn> adroit_machine: it doesn't have to be called 'wifi'. running "iwconfig" should help dtermine the interface, and "ip a INTERFACE" will tell its ip address.
[14:48] <TJ-> tomreyn: any ideas on this apparmor/mysqld issue on 16.04? I think I'm missing something
[14:48] <RonaldsMazitis> http://paste.ubuntu.com/p/TsyYZnY2g8/
[14:49] <tomreyn> TJ-: will take me a while to catch up.
[14:50] <cromulon> EriC^^: If I cant use deb822 with apt 1.0.1 is there a another format where I can have have a URI with more than 1024 chars, as it contains a token.
[14:50] <TJ-> tomreyn: the focus is on apparmor DENIED for the mysqld profile, apparently for /etc/mysql/conf.d - let me point you to pastebins that focus on that.  http://paste.ubuntu.com/p/vH7gvGSF6W/  https://paste.ubuntu.com/p/zTh573zQ23/
[14:50] <TJ-> tomreyn: we created /etc/mysql/conf.d since then
[14:52] <cromulon> JimBuntu: I found this link and it doesnt seem to make a difference
[14:52] <RonaldsMazitis> https://askubuntu.com/questions/916009/mysql-wont-start-because-of-apparmor
[14:53] <RonaldsMazitis> maybe I need to add
[14:53] <RonaldsMazitis> /proc/*/status r,
[14:53] <RonaldsMazitis>   /sys/devices/system/node/ r,
[14:53] <RonaldsMazitis>   /sys/devices/system/node/node0/meminfo r,
[14:53] <TJ-> RonaldsMazitis: tomreyn actually, that lastest strace log shows it gets past the /etc/mysql/ accsses fine which is good news. I'm reading the rest of the strace log carefully
[14:53] <tomreyn> TJ-: i'm not very good with apparmor, but reading up on your links now.
[14:54] <TJ-> tomreyn: I think this is now mysqld corruption due to running out of disk space earlier
[14:54] <bieb> I have this lenovo desktop https://psref.lenovo.com/Detail/ThinkCentre/ThinkCentre_M710_SFF?M=10M7000SUS I have installed Ubuntu 18.04, there are 2 display ports. I am trying to setup dual monitors, but when I look in settings I only see the one display. Any ideas or how-tos that anyone can point to, to get this set up?
[14:55] <TJ-> RonaldsMazitis: check if mysqld added newer timestamped log-files: "pastebinit <( sudo ls -latr /var/log/mysql )"
[14:55] <TJ-> bieb: is the laptop using Wayland and not Xorg ?
[14:55] <RonaldsMazitis> http://paste.ubuntu.com/p/TXPZdPjHJd/
[14:55] <jayjo_> are there some easy ways to figure out what's running on a server? I have an old server I want to migrate, I just want to double check there aren't any processes or things I'm forgetting about
[14:56] <TJ-> RonaldsMazitis: yay, we have a new error.log! "sudo pastebinit /var/log/mysql/error.log "
[14:56] <RonaldsMazitis> http://paste.ubuntu.com/p/S9RQy9d8qZ/
[14:56] <TJ-> RonaldsMazitis: at this stage I'm going to guess you've got a corrupted database due to running out of disk space
[14:57] <TJ-> RonaldsMazitis: that's strange, the timestamps are 14:56:07
[14:57] <Simonious> https://ghostbin.com/paste/k9m32 <- I can't ssh in via wireless.
[14:58] <TJ-> RonaldsMazitis: seems there's another mysqld running! "pastebinit <( ps -efly | grep mysqld)"
[14:58] <RonaldsMazitis> http://paste.ubuntu.com/p/dt8Jdx3kZd/
[14:59] <bieb> TJ-: not a laptop.. M710s sff desktop
[14:59] <tomreyn> mysqld likes to log to /var/lib/mysql/ if it fails to start up fully
[14:59] <TJ-> RonaldsMazitis: try this "sudo systemctl stop mysql; sudo kill -TERM 15717" then "pastebinit <( ps -efly | grep mysql )"
[15:00] <TJ-> tomreyn: /var/lib/mysql?
[15:00] <tomreyn> TJ-: or whereever the it thinks its data directory is, yes
[15:00] <tomreyn> -the
[15:00] <RonaldsMazitis> http://paste.ubuntu.com/p/97R8s2xvbk/
[15:02] <TJ-> RonaldsMazitis: darn! there's the problem, you've got several installer related processes running!
[15:02] <jelly> bucketm0use, whoever wrote that package made a simple bug, but that's a rookie mistake.  Whoever fixed that CVE and uploaded made a WORSE bug, it's obvious they did not even test whether the upgrade could work at all.
[15:02] <RonaldsMazitis> how and why
[15:02] <TJ-> RonaldsMazitis: disk space
[15:03] <TJ-> RonaldsMazitis: At this point I think you should reboot it, that'll get it into a predictable state, and most of the issues we're hitting may well vanish
[15:03] <TJ-> RonaldsMazitis: come back and tell us if its working, or not, and we can carry on if needed
[15:04] <tomreyn> uuh, not a nice situation there.
[15:04] <tomreyn> i agree on the reboot
[15:04] <TJ-> tomreyn: i should have checked the process list earlier
[15:05] <tomreyn> so should they have
[15:05] <TJ-> tomreyn: got a nice collection of about 25 pastebins though :p
[15:06] <tomreyn> don't worry, there's plenty of space left on the internet
[15:06] <impi> hello
[15:06] <impi> has anyone in here compiled a static bindary of PHP ?
[15:06] <Simonious> my current play is to put: 2 * * * * root ping -I wlan0 8.8.8.8  into crontab to keep the wifi alive.. :/
[15:08] <JimBuntu> Simonious, is that working for you? It sounds like WiFi hasn't been activated until after log-in
[15:09] <Simonious> JimBuntu: it's worse than that, wifi isn't activated until after I perform an outgoing connection or ping using that adapter
[15:09] <Simonious> JimBuntu: I don't yet know if the cron solution is working, I've just implimented it.
[15:10] <tomreyn> RonaldsMazitis: so the mysql server runs on the same computer you're chattting from?
[15:10] <TJ-> tomreyn: hopefully silence is a good sign :)
[15:11] <tomreyn> TJ-: i would think RonaldsMazitis is investigating the current state
[15:11] <JimBuntu> Simonious, I don't think the cron task will work unless you only need it to run once per hour
[15:12] <Simonious> JimBuntu: I don't know how often it needs a kick in the pants
[15:12] <JimBuntu> Simonious, in your network manager GUI, if you edit the connection, does it show it's enabled for all users?
[15:12] <Simonious> JimBuntu: looks like I can make a cron job run every 5 minutes if I want
[15:13] <Simonious> JimBuntu: I don't trust/use the GUI (but yes, it does)
[15:13] <TJ-> Simonious: your issue is the wired interface taking preference over the wifi, whereas you want them both up at the same time I think ?
[15:13] <RonaldsMazitis> TJ-: I restarted
[15:13] <RonaldsMazitis> now I need to restart installation or what?
[15:13] <RonaldsMazitis> now I need to restart installation or what?
[15:13] <TJ-> RonaldsMazitis: is mysqld running? "systemctl status mysql"
[15:13] <tomreyn> RonaldsMazitis: so the mysql server runs on the same computer you're chattting from?
[15:14] <RonaldsMazitis> yeah
[15:14] <RonaldsMazitis> it is runnin
[15:14] <TJ-> RonaldsMazitis: and you still need to address the lack of free disk space reported by "df"
[15:14] <Simonious> TJ-: you think so? I'm not sure. My brain is a bit twisted up at this time, but it seems if I reboot with no wired connection I cannot ssh in, however if I log into console and ping google, then I can ssh in over wifi *shrugs*
[15:14] <neoncontrails> Where can I find a list of official apt repositories for 18.04? I fear I might have pruned some official sources when manually removing some PPAs that seemed to be creating some dependency conflicts
[15:14] <RonaldsMazitis> https://paste.ubuntu.com/p/YybF64JGfb/
[15:14] <TJ-> Simonious: hang on, the wifi requires a passphrase (PSK) or uses a certificate? Because it is possible that has been saved in the user key-ring and needs the user to log-in first to access it
[15:15] <tomreyn> RonaldsMazitis: looks full to me
[15:15] <RonaldsMazitis> I have 4 gb free on home dir
[15:15] <TJ-> RonaldsMazitis: so now your task is to free up some space on the root file-system
[15:15] <RonaldsMazitis> how
[15:15] <tomreyn> RonaldsMazitis:normally you'd have a separate /var partition or /var/lib/mysql for mysql
[15:16] <tomreyn> RonaldsMazitis: is there actually any daa in mysql that you want / need to keep?
[15:16] <tomreyn> *data
[15:16] <TJ-> RonaldsMazitis: no, you don't. The remaining 'available' is reserved blocks for root only, but the GUI tools don't show that. Typically ext3/4 file-systems reserve 5% space for root so on disk-full the root user can still operate to fix it
[15:17] <RonaldsMazitis> so I need to delete programms?
[15:17] <TJ-> RonaldsMazitis: tomreyn best to discover where the space is being used, I'd bet it's in $HOME: "sudo du -x -d 3 / | sort -n"
[15:17] <Simonious> TJ-: it does need a passphrase, however that is stored where it is supposed to be and is correctly found on boot per the syslog
[15:17] <TJ-> Simonious: you've confirmed it is in /etc/NetworkManager/system-connections/<connection-name> as "psk=...." ?
[15:17] <Simonious> TJ-: yes
[15:18] <TJ-> Simonious: great. This is 18.04 yes?
[15:18] <Simonious> TJ-: yup
[15:18] <TJ-> Simonious: I've dealt with 2 other users recently reporting this same issue, of wifi I/Fs not coming up on boot even though they are system connections
[15:18] <TJ-> Simonious: let me look at the source-code, see what changed recently
[15:18] <Simonious> nice
[15:19] <RonaldsMazitis> I deleted another file for 1,9 gb
[15:19] <RonaldsMazitis> now it shows 99%
[15:19] <TJ-> Simonious: hmmmm, in the changelog: "+ Install a config file to enable WiFi powersave"
[15:20] <TJ-> Simonious: that sounds like it could cause this
[15:20] <TJ-> Simonious: have you recently rebooted that PC? I want to get a recent log of the boot-time actions of NM
[15:21] <TJ-> RonaldsMazitis: you could also reduce the reserved blocks to 2% with "sudo tune2fs -m 2 /dev/sda1"
[15:21] <tomreyn> RonaldsMazitis: what is consuming those 575 GB of storage on / mostly? is it just mysql? ubuntu itself wont take more than 10 or 20 GB.
[15:22] <RonaldsMazitis> videos
[15:22] <RonaldsMazitis> lol
[15:22] <TJ-> tomreyn: no, not mysql, I had the directory list earlier
[15:22] <RonaldsMazitis> /dev/sda1      611284200 573527016  25317532  96% /
[15:22] <RonaldsMazitis> now
[15:22] <dev_u_random> Not explicitly ubuntu related, but if I ssh into a computer from work, they can see that I'm ssh-ing but not what is being sent over ssh correct?
[15:23] <RonaldsMazitis> should myslq now work?
[15:23] <tomreyn> RonaldsMazitis: well, those should not be on the same partition as a mysql database, nor should the system be, in case you're serious about your data. i'm saying this for later.
[15:23] <Simonious> TJ-: pm me with the activies you want me to perform please
[15:23] <RonaldsMazitis> so now I gotta install-fixed?
[15:24] <RonaldsMazitis> sudo apt-get --fix-broken install
[15:24] <RonaldsMazitis> ?
[15:25] <TJ-> Simonious: I don't do PMs, support is in the channel so others can contribute
[15:25] <TJ-> RonaldsMazitis: no, why? is "apt-get" reporting some error?
[15:25] <RonaldsMazitis> now it installs
[15:25] <RonaldsMazitis> yeah it installed mysql server
[15:26] <TJ-> RonaldsMazitis: you might find "sudo apt clean" might help reduce space
[15:26] <Simonious> TJ-: you are looking for log?
[15:26] <RonaldsMazitis> now I have 24 gb
[15:26] <Simonious> TJ-: with or without the cron kludge?
[15:26] <RonaldsMazitis> free space
[15:26] <TJ-> Simonious: "pastebinit <( tail -n 2000 /var/log/syslog )"
[15:26] <Simonious> TJ-: by the way the cron kludge failed - my wifi connection via ssh has stopped being connected :/
[15:26] <TJ-> Simonious: I just want to see what NM is doing before user loig-in
[15:27] <tomreyn> RonaldsMazitis: as a result of apt clean?
[15:27] <Moc> Anyone having issue with gnome-control-center segfaulting ? I get this when starting from terminal : GLib-CRITICAL **: 11:26:46.639: g_strsplit: assertion 'string != NULL' failed
[15:27] <TJ-> Simonious: have you considered it may be RF interference meaning the wifi can't get a quality link ?
[15:27] <tomreyn> RonaldsMazitis: ah no you had those before
[15:27] <RonaldsMazitis> still 24
[15:28] <RonaldsMazitis> now I gotta start the server
[15:28] <TJ-> Simonious: if there are other, more powerful, APs in the same area on overlapping channels. You can check with "sudo iwlist <IFNAME> scan"
[15:28] <RonaldsMazitis> how do I restart server now
[15:28] <tomreyn> RonaldsMazitis: unless you set it not to start automatically, it will already be running
[15:28] <Simonious> TJ-: hmm.. we are running a mesh and we aren't in a town, there isn't much besides us here.
[15:28] <RonaldsMazitis> apache is runnng
[15:29] <TJ-> RonaldsMazitis: "sudo systemctl reboot"
[15:29] <Simonious> TJ-: actually there isn't any wireless besides us here at detectable levels.
[15:29] <RonaldsMazitis> omg
[15:29] <RonaldsMazitis> database is vanished
[15:29] <TJ-> Simonious: maybe there's an issue with the mesh? what's the signal quality when the connection is working ("iwconfig ")
[15:30] <RonaldsMazitis> I logged in phpmyadmin
[15:30] <TJ-> Simonious: is the interface in ad-hoc mode or STA ?
[15:30] <tomreyn> RonaldsMazitis: /var/lib/mysql is empty?
[15:30] <RonaldsMazitis> nop
[15:31] <tomreyn> RonaldsMazitis: well, so it's still there.
[15:31] <TJ-> RonaldsMazitis: I warned you earlier, the mysql error.log reported out of space, so possibly corrupted DB files. You need to see what files are there in /var/lib/mysql/ and find out if/how to recover them. You have backups of course?
[15:31] <RonaldsMazitis> yes
[15:31] <Simonious> tj https://ghostbin.com/paste/jypns
[15:31] <RonaldsMazitis> but the backup is week old
[15:31] <RonaldsMazitis> sucks
[15:31] <Simonious> TJ-: I'm not sure on ad-hoc or STA, how do i check?
[15:31] <TJ-> Simonious: -57dBm looks OK, but the Invalid Misc count, if it grows rapidly, could be pointing to an issue
[15:32] <Simonious> TJ-: it's up to 67 now
[15:32] <TJ-> Simonious: "mode: managed" means STA mode (client of an AP, so not a true mesh)
[15:32] <Simonious> TJ-: also that wifi connection I mentioned that locked up just woke back up - maybe cron is doing it's jobe after all
[15:32] <Simonious> *job
[15:32] <tomreyn> RonaldsMazitis: TJ- suggested you should reboot again. I agree, since your / ran full again earlier, and some services may not be working or logging properly as a result now
[15:33] <Simonious> TJ-: yeah, endpoints aren't part of the mesh, the mesh is just an AP mesh
[15:33] <TJ-> Simonious: OK, I've built mesh networks so it means something very different to me :)
[15:33] <Simonious> TJ-: that's fair
[15:33] <Simonious> TJ-: we've got a mesh of APs, it works okay.
[15:34] <TJ-> Simonious: check the kernel log for clues (recall the power-save thing I mentioned) check 'dmesg' and/or /var/log/kern.log for any messages about the wifi device
[15:34] <Simonious> up to 68 invalid misc
[15:34] <tomreyn> RonaldsMazitis: ping me later if you'd like to discuss how to configure your mysql server more resiliently
[15:34] <TJ-> Simonious: APS using WDS to link together you mean, to provide an area network on the same BSSID ?
[15:34] <Simonious> TJ-: I don't know those details I guess
[15:35] <TJ-> Simonious: that 68 is fine, I'm at 370 here... it's when it rapidly heads for the high hundreds you want to worry
[15:35] <Simonious> TJ-: it is one ESSID no matter which mesh node you are connected to
[15:35] <Simonious> TJ-: and I can walk around and the nodes will hand me off
[15:35] <TJ-> Simonious: so I'm still thinking its either some radio interference source, or the power-saving of the wifi device
[15:36] <TJ-> Simonious: right, that's what APs are supposed to do when they're advertising the same BSSID
[15:36] <TJ-> Simonious: the logs are your best resource for solving this boot-time issue
[15:36] <Simonious> TJ-: the interference idea doesn't sound right, is there a reasonable way to check for that? - maybe a cell phone with a wifi signal analyzer?
[15:36] <Simonious> TJ-: I'm not great at analyzing logs..
[15:36] <Simonious> TJ-: .. or even finding them in many cases
[15:37] <RonaldsMazitis> how long can 14 mb sql file import?
[15:37] <TJ-> Simonious: no, it can be things like a microwave oven, baby monitor, video doorbell... they all can use the same unlicensed spectrum, and they don't use the same transmission scheme as wifi or bluetooth, so they can interfere easily
[15:37] <TJ-> Simonious: "pastebinit <( tail -n 2000 /var/log/syslog )"
[15:38] <RonaldsMazitis> I never knew there needs to be specific partition just for mysql
[15:38] <Simonious> TJ-: if I'm going to share that log, I'd prefer to keep it private
[15:38] <TJ-> Simonious: everything in there is pretty standard, it doesn't reveal passwords or such.
[15:38] <tomreyn> RonaldsMazitis: it doesn't have to be, but if you're serious about it, it should be. you'd also want mirror raid at least.
[15:39] <Simonious> TJ-: IPs  I just don't want to invite any abuse
[15:41] <TJ-> Simonious: your IP address is already visisble
[15:41] <RonaldsMazitis> ok, so I got my database back
[15:42] <RonaldsMazitis> it's just 17 days old
[15:42] <TJ-> Simonious: I did notice the AP is operating at 5.16GHz but the bitrate is only 6 Mb/s which suggests a very weak connection, it should be much higher
[15:42] <RonaldsMazitis> I must take copy's more often, because this would be very bad as it is.
[15:42] <tomreyn> RonaldsMazitis: you'd also not run a graphical desktop on the same computer normally (unless, maybe, the mysql server is there just for development purposes, but even then i'd compartmentalize it)
[15:42]  * Simonious ponders
[15:43] <TJ-> Simonious: in all the years I've been here I've never heard of anyone having issues as a result of sharing these logs, but its up to you.
[15:43] <tomreyn> RonaldsMazitisif the data is relevant, you probably want to take nightly backups or run a cluster.
[15:43] <Simonious> TJ-: I'm not willing to publically share that log, I'd email it to you.
[15:43] <Simonious> TJ-: I know that isn't much better than public, but there it is.
[15:44] <TJ-> Simonious: sorry, that's not how we do support here. We share in the channel so everyone can contribute.
[15:44] <Simonious> TJ-: I understand, I'm just not going to share internal network details.
[15:44] <tomreyn> RonaldsMazitis: ...a cluster with a mysql server which is dedicated to getting backups out of it.
[15:45] <Simonious> TJ-: here is an interesting line from that log: Aug  7 08:52:20 BS-1 NetworkManager[22234]: <info>  [1533649940.6532] device (wlan0): state change: activated -> deactivating (reason 'unmanaged', sys-iface-state: 'managed')
[15:46] <tomreyn> RonaldsMazitis: another option is to run backups live without much locking if you use LVM snapshotting and innobackupex to backup.
[15:46] <tomreyn> this can be done on a single node, too
[15:46] <RonaldsMazitis> getting normal sql files for my project works
[15:46] <RonaldsMazitis> I will just do them more ofter
[15:46] <RonaldsMazitis> often *
[15:47] <tomreyn> if this is the only change you'll make as a result of today's experience then you didn't learn much from it. ;)
[15:48] <TJ-> Simonious: that might suggeset there's something else besides NM configured to manage wlan0
[15:48] <TJ-> Simonious: have you been playing with netplan/systemd-networkd/ifupdown ?
[15:48] <Simonious> hmm
[15:48] <TJ-> Simonious: or wicd/wpa_supplicant?
[15:49] <Simonious> TJ-: I'e been in  /etc/NetworkManager/system-connections/ and /etc/wpa_supplicant.conf
[15:50] <TJ-> Simonious: NM's own system-connections isn't an issue. The message "unmanaged" suggests NM thinks it no longer is responsible for managing that interface. Was that message recent, or from some time ago when you were experimenting?
[15:51] <TJ-> Simonious: NM will control it's own instance of wpa_supplicant, so if you've edited /etc/wpa_supplicant.conf it's possible you've got that starting as it's own stand-alone service and interfering
[15:51] <Simonious> that was 2 hours ago during some experimenting
[15:52] <Simonious> TJ-: doesn't look like much in there: https://ghostbin.com/paste/kt5j8
[15:54] <TJ-> Simonious: NM should kick off a connection with a message like this. It'll then log what it's doing including the values it is going to pass to wpa_supplicant, and you will see messages from wpa_supplicant too. e.g. "NetworkManager[27837]: <info>  [1533641540.9641] policy: auto-activating connection 'wifi5.lan.iam.tj'"
[15:56] <TJ-> Simonious: remove/backup /etc/wpa_supplicant.conf, that is going to get in the way since when wpa_supplicant starts it'll use that instead of what NM tells it
[15:56] <Simonious> TJ-: I see 10 such messages from this morning, I assume from my swapping wireless network adapters back and forth, not sure.
[15:56] <Simonious> TJ-: moved
[15:57] <TJ-> Simonious: that would sound about correct; remove wpa_supplicant.conf, do a reboot test, check /var/log/syslog for the latest boot see what NM and wpa_supplicant report/do
[15:57] <Simonious> TJ-: shall I remove the cron kludge first?
[15:57] <TJ-> Give it about 1.5 minutes to get started
[15:57] <TJ-> Simonious: yeah, that'd be good, else you might have unintended interactions
[15:57] <Simonious> TJ-: may I leave the wired connection in place?
[15:58] <TJ-> Simonious: yes, leave it all as it is supposed to be when working perfectly :)
[15:58] <Simonious> TJ-: ok, rebooting
[15:59] <aidrocsid> Setting up my Ubuntu 18.04 VPS for Wordpress. Apache works, PHP was fine last I checked, SSL is working, I have fail2boot and my firewall and all that set up, but when I try to set up databases for wordpress I start getting errors about not being able to find mysqld.sock. I tried making the directory and chowning it to mysql but it didn't do any good. I tried uninstalling and purging then reinstalling
[16:00] <aidrocsid> mysql, now when I try to start the server I get "job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[16:01] <TJ-> aidrocsid: mysqld.sock is a socket, not a directory. If you've created a directory the socket won't be able to be created
[16:01] <aidrocsid> doh
[16:01] <TJ-> aidrocsid: and the socket is used for communication
[16:01] <aidrocsid> so delete the directory?
[16:02] <TJ-> aidrocsid: indeed
[16:02] <aidrocsid> ty <3
[16:02] <Simonious> TJ-: on reboot I was able to ssh in to the wifi IP of the target first try
[16:03] <Simonious> TJ-: however it seized almost right away :/
[16:03] <TJ-> Simonious: right, so now you need to examine the logs to discover what happened
[16:04] <TJ-> Simonious: that's syslog and kern.log/dmesg. There may be a hardware/firmware problem - I suspect the link dropped
[16:04] <TJ-> Simonious: what kind of antenna does this PC have? because at 5GHz any slight blocking of the line-of-sight like a human body moving between them, could interfere
[16:04] <Simonious> TJ-: it's a lappy, so internal monitor antenna I'm guessing
[16:05] <Simonious> TJ-: oh odd.. it's also dropping the wired ssh sessions almost right away too
[16:05] <TJ-> Simonious: right, notorious for problems in low-signal-strength situations. Is there a 2.4GHz alternative channel you could use?
[16:06] <TJ-> Simonious: the drop could be because when an interface goes down (as you should see in the logs) the sshd is restarted
[16:07] <Simonious> TJ-: hehe, just harder to interact with the target on console than ssh and with the wired failing hard I'm going to have to use console
[16:07] <TJ-> Simonious: can't beat a serial console :p
[16:07] <Simonious> TJ-: don't normally use that with a full lappy/desktop
[16:08] <TJ-> Simonious: most don't have UARTs nowadays
[16:08] <Simonious> TJ-: that's more for esp/arm/atmel targets in my life
[16:11] <majestic13> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[16:14] <aidrocsid> I deleted /var/run/mysqld/ and it's still giving me Error: Cannot connect to MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[16:15] <AvidWolf43> so does anyone here have ubuntu 18.* working with d6000 dual-monitor setup without randomly disconnecting
[16:15] <TJ-> aidrocsid: you deleted the directory /var/run/mysqld !? you were supposed to delete the /var/run/mysqld/mysqld.sock whhich you said you'd created as a directory, not a socket
[16:16] <aidrocsid> no, i had created /var/run/mysqld/ because it wasn't there, then chowned it to mysql
[16:16] <TJ-> aidrocsid: "sudo apt install --reinstall mysql-server-5.7" (or whatever version it is)
[16:16] <TJ-> aidrocsid: reinstall should correct things
[16:16] <aidrocsid> mmkay uno momento
[16:17] <aidrocsid> E: Internal Error, No file name for mysql-server:amd64
[16:18] <aidrocsid> For both mysql-server-5.7 and mysql-server
[16:18] <TJ-> aidrocsid: which ubuntu release is it?
[16:18] <aidrocsid> 18.04
[16:18] <TJ-> !info mysql-server bionic
[16:18] <TJ-> !info mysql-server-5.7 bionic
[16:19] <Simonious> TJ-: hmm even after putting wpa_supplicant.conf back and rebooting I'm not longer able to get reliable ssh sessions even via the wired. *sighs*
[16:19] <TJ-> Simonious: there'll be clues in the log files somewhere
[16:19] <TJ-> Simonious: go and sit your laptop right next to the nearest AP - as a test! - and try it. That'll help determine if it is a signal strength/interference issue
[16:20] <aidrocsid> Gotta get you a cantenna
[16:20] <TJ-> Simonious: 6Mbps link rate is low, especially for 802.11a
[16:20] <Simonious> TJ-: here is a partial log (my screen) before it dropped me again https://ghostbin.com/paste/ydqj8
[16:21] <Simonious> TJ-: I don't think that number means what you think it means - that target has no traffic to speak of, that number would be way higher if there was traffic.
[16:21] <Simonious> I can certainly go sit on an AP though
[16:22] <aidrocsid> TJ should I just do sudo apt-get remove -y mysql-* and sudo apt-get purge -y mysql-*   ?
[16:22] <aidrocsid> Then like, start again
[16:23] <TJ-> Simonious: not sure I like that "noise" value: "CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=6000"
[16:23] <TJ-> aidrocsid: might be a good idea, but backup any mysql database you have if they're valuable (/var/lib/mysql/)
[16:24] <aidrocsid> I haven't managed to make any that matter yet
[16:24] <aidrocsid> Just installing PHP doesn't rely on a mysql database does it?
[16:24] <TJ-> Simonious: oh don't worry about noise=9999, that's what mine reports too
[16:24] <TJ-> aidrocsid: no
[16:24] <Simonious> TJ-: the AP nodes can do 25 or 30 times that or more
[16:25] <Simonious> TJ-: clean reboot, sat on a node, got 1MB/s
[16:25] <TJ-> Simonious: what wifi hardware is this? "lspci -nn -d::0280"
[16:25] <Simonious> 61/70
[16:25] <Simonious> -49dB
[16:25] <Simonious> 03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
[16:26] <TJ-> Simonious: so it'll be using the iwlwifi driver
[16:26] <Simonious> TJ-: I do have a wireless dongle that I can jump to if need be.
[16:26] <Simonious> TJ-: that's the one I remember seeing
[16:26] <TJ-> Simonious: it's worth testing with that, see if it gets a better/worse link
[16:26] <Simonious> TJ-: I would, but this not being able to sustain a wired ssh session is killing me
[16:26] <Simonious> TJ-: this is new too
[16:27] <TJ-> Simonious: my gut feeling is still radio problems/interference
[16:28] <Simonious> TJ-: to my knowledge that hasn't been an issue with other targets
[16:28]  * Simonious ponders
[16:28] <TJ-> Simonious: having built a wireless ISP this stuff is very familiar to me, but without data (logs) it's still just guessing
[16:30] <Simonious> TJ-: that doesn't really explain the wired ssh dropping like mad now
[16:30] <TJ-> Simonious: not sure if it is related but in your log extract I see a USB device erorr report
[16:30] <Simonious> TJ-: that's a new thing too btw
[16:31] <TJ-> Simonious: check dmesg for device problems
[16:31] <Simonious> TJ-: on the wired connection the very second it drops I can reconnect
[16:32] <Simonious> TJ-: dmesg | grep error https://ghostbin.com/paste/8jux2
[16:33] <Simonious> I'm gonna pull that wifi dongle
[16:33] <TJ-> Simonious: "error" is not a helpful search term, need to see the entire log to see how things are being discovered and configured
[16:35] <Nivex> Any idea what's holding up the upgrade path from 16.04 -> 18.04 ?
[16:35] <amadeobee> does anyone know of a good acrobat pro alternative for linux? (free.. that can do OCR, split docs, merge annotate etc etc) - thanks!!
[16:43] <aidrocsid> TJ everything seems to be running smoothly so far now, thanks!
[16:45] <gonzo__> hola
[16:45] <Lope> Does anyone here play Overwatch?
[16:48] <tomreyn> !ot | Lope
[16:49] <Lope> Okay
[16:50] <Simonious> TJ-: nothing jumps out at me in dmesg https://ghostbin.com/paste/qd842
[16:56] <TJ-> Simonious: I have some ideas, there's a few things there. But first, tell me, is this a new PC you've just installed 18.04 to, or has it been around a while, possibly upgraded from 16.04 ?
[16:57] <TJ-> Simonious: and apparently it does have a serial port! "0000:00:03.3: ttyS4 at I/O 0x1830 (irq = 17, base_baud = 115200) is a 16550A"
[16:59] <Simonious> TJ-: fresh install, old machine, formerly on 16
[16:59] <Simonious> TJ-: wiped
[17:01] <Simonious> TJ-: heading out for lunch ttys
[17:03] <TJ-> Simonious: the repeated failing USB device 6-2 looks problematic - that *could* be a USb bluetooth chip on the Intel wifi device
[17:08] <than_> @search distributed systems
[17:09] <lotuspsychje> than_: can we help you?
[17:09] <liste6> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[17:11] <ezael> 2/bye
[17:18] <aidrocsid> Setting up Wordpress, apparently apache is displaying /var/www/domain/html rather than /var/www/domain/, so I can't get at my index.php as far as I can tell. Do I need to adjust something in apache2?
[17:19] <TJ-> aidrocsid: sounds like you have the DocumentRoot set incorrectly
[17:21] <coz_> cristian_c, did you get this resolved?
[17:22] <aidrocsid> Uff it's still not loading index.php correctly
[17:25] <Furai> Where to report a bug night light related?
[17:25] <ELFrederich> So Typora doesn't work for me... keeps freezing.  How do I undo these commands that I did?  https://www.typora.io/#linux
[17:25] <lotuspsychje> Furai: can you tell your whole story about it to the channel? perhaps an existing bug exist?
[17:26] <Furai> Apparently when you disable automatic time zone in time & date settings and have the correct time zone set up - the sunset and sunrise times are wrong.
[17:27] <Furai> Maybe it stopped updating these times and over time it became more and more apparent.
[17:27] <Furai> So might be not noticeable directly after disabling it.
[17:30] <jafet> Hello i new in ubuntu any good book to start ?
[17:30] <lotuspsychje> !manual | jafet
[17:31] <jafet> Thanks
[17:31] <lotuspsychje> jafet: we have also !uwn newslettre
[17:34] <jafet> how i can check newslettre
[17:34] <lotuspsychje> !uwn | jafet here
[17:35] <jafet> Thanks a lot for your help!
[17:40] <Nivex> UWN pointed me at https://askubuntu.com/questions/1061111/16-04-lts-to-18-04-1-lts-upgrade-no-new-release-found  which still doesn't answer what the hold-up is.
[17:40] <pragmaticenigma> Nivex: There is a bug ticket currently being worked on for the LTS-to-LTS upgrade path.
[17:41] <Nivex> what's the bug ID?
[17:42] <iceiceice> i'm really bummed, my second monitor rotation stopped working after `apt-get upgrade`
[17:42] <iceiceice> are there any known current issues about nvidia drivers and monitor rotation?
[17:42] <iceiceice> there are a lot of google hits from like 2012 and 2016
[17:42] <iceiceice> but for me it was working until today
[17:44] <TJ-> iceiceice: is the system using Xorg or Wayland?
[17:44] <iceiceice> its ubuntu mate 16.04
[17:44] <iceiceice> i think i'm use xorg but i'm not sure
[17:44] <TJ-> iceiceice: yes, so you could use the command-line tool "xrandr" to try to do the rotation manually
[17:45] <TJ-> iceiceice: that might give you useful error messages
[17:45] <pragmaticenigma> Nivex: trying to track it down
[17:46] <Nivex> pragmaticenigma: cool, thanks.
[17:46] <TJ-> iceiceice: "xrandr -q" to get a list of the outputs, choose the correct output (let's assume it's HDMI-0) then do "xrandr --output HDMI-0 --rotation left" ( or 'right' or 'inverted')
[17:46] <cristian_c> coz_: unfortunately not
[17:46] <cristian_c> coz_: have you foubd any ideas?
[17:46] <cristian_c> *found
[17:47] <coz_> cristian_c, damn, I haven't been able to come up with anything..stick around, someone's bound to know a solution
[17:47] <cristian_c> I don't know
[17:48] <pragmaticenigma> Nivex: I believe this is one of the tickets: https://bugs.launchpad.net/ubuntu/+source/gnome-menus/+bug/1766890
[17:48] <aidrocsid> Okay, so I've got the directories squared away, but now when I try to connect to index.php it says Error establishing a database connection. I've got the right database name and user name set in both mysql and wp-config.php, not sure what else to look for.
[17:48] <iceiceice> thanks, i tried that earlier but i didn't get any error message
[17:48] <iceiceice> i guess its just a driver problem
[17:48] <aidrocsid> It needs to be the user password or the database password? At any rate i've tried both
[17:48] <phunyguy> SimonNL_Afk: It's really more of a big deal in this channel with the _afk.
[17:48] <iceiceice> im just going to twist my monitor i guess
[17:52] <Nivex> pragmaticenigma: alrighty, thanks. Would be nice if they had some way to communicate "These are the blockers for the current upgrade"
[17:53] <jnewt> I can't write to my second disk.   is there a disk managment section somewhere in the settings on ubuntu 18.04 LTS that i'm just missing?
[17:54] <jnewt> I want to see the mounting options, change them, etc.
[17:58] <pragmaticenigma> Nivex: You can bypass the check. The LTS-to-Normal path is working for most people. You can update the update settings from LTS to Normal releases. You will then receive the 18.04.1 update. Just remember to switch back to the LTS channel when your machine has finished updating
[17:58] <lotuspsychje> !mount | jnewt
[17:59] <pragmaticenigma> Nivex: Otherwise LTS-to-LTS are typically slower, because of enterprise use. Canonical wouldn't want a large company to fall vicitim to a bad update.
[17:59] <Nivex> yeah, I know about the bypass. I just figured there were reasons why it hadn't been enabled and without knowing what those are I didn't want to pull that trigger
[18:00] <pragmaticenigma> Nivex: It's caution for enterprise clients
[18:01] <jnewt> lotuspsychje, this seems like a pretty basic thing, is the command line stuff really required?
[18:02] <lotuspsychje> jnewt: what layout is your hd you need mounted?
[18:03] <jnewt> lotuspsychje: if i right click on it and choose properties, filesystem type says fuse, 2.1gb used, 42gb free.
[18:04] <lotuspsychje> jnewt: does it mount when you click it in nautilus?
[18:07] <jnewt> lotuspsychje: I can browse, but cannot save anything to the disk, there's no option when i right click for a new folder.
[18:08] <aidrocsid> So now I've got Wordpress up and running but I'm getting a 403 on my index.php
[18:08] <jnewt> lotuspsychje, that's just by going to Files and then Other Locations and then the disk
[18:09] <jnewt> when i search for nautilus, i get Files, same thing?
[18:13] <nick__> I need help connecting a USB controller to my laptop
[18:15] <nick__> i was using xboxdrv last night and it was working fine, now when i try to run it (sudo xboxdrv --detach-kernel-driver) it returns "no xbox controller found".. this wasnt an xbox controller to begin with but it seemed to be working fine before? idk if anyone can help it would be much appreciated (:
[18:16] <nick__> 18.04 MATE btw
[18:17] <lotuspsychje> jnewt: try fstab add perhaps?
[18:17] <lotuspsychje> !fstab | jnewt
[18:18] <nick__> 16.04*
[18:26] <jnewt> lotuspsychje: somethings not working right then.   my fstab has the rw option, but is being mounted ro
[18:29] <ironpillow> hi all, I have a ubuntu box (quad core, 8GB memory) as a router and have two access points. I am running dnsmasq as dhcp and dns server. I have around 30 wifi devices connecting to the network. For some reason, the ubuntu box randomly looses internet. I can't ping 8.8.8.8 or google.com. But as soon as I reboot the ubuntu box, it works. I don't change anything. Any advice? really appreciate it
[18:35] <ironpillow> oh I am using Ubuntu 18.04 LTS
[18:36] <TJ-> ironpillow: is the upstream link to the Internet using wired or wireless?
[18:38] <ironpillow> TJ-: wired and it has static ip
[18:39] <DynV> I currently don't have a HDD so am running a live 18.04. I don't have a connection where I currently reside. I'd like to play some game but I will have to power off so everything will be gone. I'm hoping to find a binary that I could run as is. I'd appreciate help.
[18:39] <TJ-> ironpillow: if it's dropping check dmesg or /var/log/kern.log for clues
[18:40] <ironpillow> TJ-: ok checking right now
[18:40] <TJ-> ironpillow: also, if it uses NetworkManager, /var/log/syslog
[18:40] <Guest18317> Testing
[18:40] <TJ-> ironpillow: otherwise systemd-networkd logs via journalctl -u systemd-networkd
[18:41] <DynV> pehaps there's a .deb game I could run?
[18:42] <Guest18317> Testing
[18:42] <lotuspsychje> Guest18317: it works, we see you
[18:42] <lotuspsychje> DynV: you want to play a game without internet on a live?
[18:43] <DynV> yes
[18:44] <lotuspsychje> DynV: play sudoku?
[18:45] <DynV> like UFO: Alien Invasion
[18:45] <DynV> or freeciv
[18:46] <dev_u_random> Speaking of games, I have an ubuntu install without a window manager - what are some good terminal games?
[18:46] <ironpillow> TJ-: is dmesg newly written every time ubuntu is rebooted?
[18:47] <Quackery> Testing
[18:48] <DynV> lotus can you help?
[18:49] <ironpillow> TJ-: I see this error in dmesg: EDAC pnd2: Failed to register device with error -22.
[18:49] <lotuspsychje> !info cowsay | dev_u_random
[18:49] <lotuspsychje> DynV: if you want to game, its best you install ubuntu physically on your harddisk
[18:52] <Quackery> any lubuntu users out there?
[18:54] <leftyfb> Quackery: do you have a support question? We don't tend to conduct surveys here.
[18:54] <ironpillow> TJ-: sorry i got disconnected. if you messaged me, could you please send the message again. thank
[18:54] <ironpillow> thanks
[18:55] <lotuspsychje> Quackery: see the #lubuntu channel
[18:56] <Quackery> is it easy to set up filesharing between ubuntu 16.04 & lubuntu 18.04 when running gufw (firewall)
[18:59] <DynV> is there a way to game using a 2nd USB stick to save the state in?
[18:59] <DynV> including installed stuff
[19:02] <lotuspsychje> DynV: using usb as medium to use ubuntu with bottleneck your speed, not very reccomended for gaming. liveusb is more to test things around, see if hardware works
[19:02] <lotuspsychje> *will
[19:03] <lotuspsychje> DynV: is there a reason you dont want to install ubuntu on your harddisk?
[19:04] <DynV> I would if I had one.
[19:04] <DynV> it broke.
[19:05] <donofrio> DynV, I'm doing the same thing for one of my imac's that the hdd0 is dead
[19:05] <lotuspsychje> DynV: a harddisk is not really expensive anymore these days, consider a new buy?
[19:05] <donofrio> so yah I'd like a livedvd so I can clone a install and boot up on usb
[19:08] <DynV> dono if a device don't support USB boot, consider getting plop.
[19:10] <donofrio> DynV, I use plop all the time, on my 2007 powerbook (x86 32 bit bios 64 bit os) I have to make my own custom unetbooin timeout select what I wanted then do the same for the plop menu then I cold only type once setup was started (plob grab usb/kbd so had to wait timm it is resolved.
[19:14] <matze12> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[19:20] <lotuspsychje> ironpillow: is this on ubuntu server?
[19:20] <ironpillow> lotuspsychje: yeah
[19:20] <lotuspsychje> ironpillow: join #ubuntu-server you could follow up there too if you like
[19:21] <ironpillow> lotuspsychje: thanks. will do
[19:22] <ironpillow> lotuspsychje: do you know if /etc/resolv.conf is automatically rewritten. I ask because, there is a bug in 18.04 and I have to re-write resolov.conf manually every time system is rebooted.
[19:23] <lotuspsychje> ironpillow: not following much server bugs myself sorry, perhaps try !netplan or #ubuntu-server
[19:23] <ironpillow> lotuspsychje: cool. thank you!
[19:53] <jayjo_> is Precise = v12, Trusty = v14, Xenial =v16?
[19:53] <jayjo_> are they names for the versions? and if so, what's the name for 18?
[19:58] <ducasse> jayjo_: 18.04 is bionic, there is no 18 (or 12, 14, 16)
[20:14] <oerheks> sure that is easy to find
[20:15] <core7> My wifi icon does not get static on my ubuntu box. The speed looks slower than normal. Any ideas on how to debug this?
[20:16] <oerheks> core7, explain "My wifi icon does not get static" ??
[20:25] <DavidJJ> Does anyone know if there's a wildcard for error_page in nginx
[20:26] <DavidJJ> I wanna redirect all errors to use the same custom page
[20:28] <oerheks> DavidJJ, something like this?? https://raymii.org/s/snippets/NGINX_Catch_all_error_codes.html  i would not recommend to do so, but it might work
[20:28] <DavidJJ> Why do you recommend not doing that
[20:28] <oerheks> so you need to name them all, there is no 'wildcard
[20:28] <DavidJJ> Is there not a regex or something that could do that
[20:28] <DavidJJ> Ah, that's a bit lame
[20:28] <oerheks> copy paste..
[21:02] <core7> oerheks: It was doing the animation as if it was conecting. I changed the wifi usb adapter and it looks like that worked
[21:11] <davidfg46> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[21:11] <charli>  to_hell_with_tho about what
[21:18] <linuxthefish> hi guys, my atheros AR9271 wireless card isn't showing in iwconfig/ifconfig, even though I've ran modprobe ath3k, ath5k and ath9k
[21:18] <linuxthefish> I've also installed the linux-firmware package, I'm on ubuntu
[21:18] <linuxthefish> ubuntu 18.04
[21:20] <tomreyn> linuxthefish: that's a usb dongle?
[21:20] <linuxthefish> yeah tomreyn
[21:20] <tomreyn> linuxthefish: whats the device id per lsusb?
[21:21] <tomreyn> 0cf3:9271 would be default
[21:22] <linuxthefish> tomreyn "Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n"
[21:22] <linuxthefish> in syslog I see "Aug  8 00:19:21 787921738 kernel: [  764.987721] usb 1-2: ath9k_htc: Firmware - ath9k_htc/htc_9271-1.dev.0.fw download failed" also
[21:22] <linuxthefish> http://paste.debian.net/plain/1037092 is the lines in syslog since plugging it in
[21:23] <tomreyn> https://github.com/qca/open-ath9k-htc-firmware should have the latest firmware, but i suspect thats in 18.04 already
[21:24] <linuxthefish> yeah tomreyn it's already in /lib/firmware/ath9k_htc/htc_9271-1.dev.0.fw
[21:27] <tomreyn> linuxthefish: but apparently loading this failed
[21:28] <tomreyn> linuxthefish: i'm just trying to understand whetehr the upowerd message is relevant. it refers to the same usb connector
[21:28] <tomreyn> linuxthefish: can you try connecting it on a different usb port?
[21:28] <FreeBDSM> hi, can I install gstm (gnome ssh tunnel manager) on xfce?
[21:29] <tomreyn> linuxthefish: ...and see whether the messages change. you can use "dmesg -w" to watch dmesg
[21:29] <linuxthefish> thanks tomreyn different USB port did the trick! :D
[21:29] <linuxthefish> thanks so much for your help, I spent ages troubleshooting this but guess I should have tried the simple stuff first
[21:29] <tomreyn> :)
[21:30] <tomreyn> maybe one of them is usb2.x while the other is usb3.x
[21:33] <timeless> it looks like ubuntu 18.04.1 is available http://releases.ubuntu.com/18.04/ -- does that mean i should be able to use `do-release-upgrade` to upgrade from xenial (lts) to bionic (lts)?
[21:36] <FreeBDSM> https://packages.ubuntu.com/search?keywords=gstm&searchon=names&suite=all&section=all why is this package not available to 18.04?
[21:38] <timeless> http://changelogs.ubuntu.com/meta-release-lts <- i guess it isn't on offer yet
[21:40] <ryuo> FreeBDSM: Because stretch dropped it?
[21:41] <ryuo> Or sid rather.
[21:41] <FreeBDSM> why?
[21:41] <ryuo> FreeBDSM: no idea. that's what it looks like.
[21:42] <ryuo> Found it.
[21:42] <ryuo> FreeBDSM: https://tracker.debian.org/news/937602/removed-12-81-from-unstable/
[21:42] <ryuo> Because Debian dropped it, Ubuntu also dropped it.
[21:43] <FreeBDSM> ryuo: that page basically says that the util got some fix and became more stable... and thus got dropped?
[21:43] <timeless> FreeBDSM: no
[21:43] <timeless> there's no maintainers for the project
[21:43] <FreeBDSM> "We believe that the bug you reported is now fixed; the following package(s) have been removed from unstable"
[21:43] <timeless> and it relies on a package which is unsupported/obsolete intended to be dropped
[21:44] <timeless> that's just debian messaging, if you read the bug report linked from the bottom, you'll see the bug report was ~ "please remove this package"
[21:44] <timeless> and thus the bug report was "fixed" by removing the package
[21:44] <FreeBDSM> oh
[21:44] <FreeBDSM> okay
[21:44] <timeless> if you spend enough time w/ dbts, you'll get used to that
[21:44] <timeless> or you can (like me) remain irked by the totally quirky verbiage they use :-)
[21:44] <FreeBDSM> I doubt I will
[21:45] <andrewh> I'm trying to copy a file to a usb stick and I'm getting an error saying it's a read-only file system even though it's not.
[21:45] <FreeBDSM> I don't like the style
[21:45] <FreeBDSM> I got used to github issue tracker / bugzilla. Even shitty jira would be fine.
[21:45]  * timeless chuckles
[21:45] <FreeBDSM> but this... what are we, in html of 1990?
[21:45] <timeless> no, dbts is email based
[21:45] <FreeBDSM> exactly
[21:46] <FreeBDSM> email-based tracking system
[21:46] <timeless> the fact that there's an html archive is a courtesy...
[21:46] <FreeBDSM> ridiculous
[21:46] <lucky_> sound nor properly working on my system
[21:46] <FreeBDSM> go fidonet, lol
[21:46] <lucky_> need some help
[21:46]  * timeless shrugs
[21:46] <timeless> anyway,... ryuo any idea on when the meta-release-lts file will get updated?
[21:47] <timeless> i was under the vague impression that the process for lts migrations was: 1. release new lts (i.e. bionic 18.04); 2. release first point release (i.e. 18.04.1); 3. users of previous lts should be able to upgrade
[21:47] <timeless> it appears that i'm somewhere between 2 and 3...
[21:47] <andrewh> Can someone help me?
[21:48] <lucky_> i newly setup my system on ubuntu but faceing some problems
[21:50] <bluesmonk> Hi, I'm on an hp envy, and the touchpad "sometimes" go funny, i.e. tilts or is unresponsive at all. Sometimes it works naturally, like nothing happened.
[21:51] <bluesmonk> Could it be hardware related? Does anyone have run into this problem? I've installed    the xorg-server thingy mentioned in other places
[21:51] <bluesmonk> like https://ubuntuforums.org/showthread.php?t=2322413 but this one is really outdated.
[21:51] <bluesmonk> I'm on 18.04 btw
[21:52] <timeless> also confusingly https://wiki.ubuntu.com/Releases?_ga=2.87386904.1864379859.1533677459-226328465.1525356676 mentions 16.04.4, but not 16.04.5; but http://changelogs.ubuntu.com/meta-release-lts mentions 16.04.5...
[21:54] <Akuw> hi, i haveing problems with one computer using samba, i cant access shared disk
[21:54] <Akuw> all compyter can do, but not mine
[21:57] <compdoc> Akuw, run the command testparm
[21:57] <andrewh> I can't write to a drive to which I have write permission. Can someone help me find out why?
[21:59] <Akuw> compdoc: now?
[22:00] <compdoc> sure
[22:00] <tomreyn> andrewh: we can try, but not without more details
[22:00] <Akuw> no problems
[22:00] <andrewh> tomreyn, what details do you need to know?
[22:01] <Akuw> compdoc: https://pastebin.com/gjvpfUmB
[22:01] <compdoc> Akuw, have you checked the permissions and ownership of the directories and files?
[22:01] <tomreyn> andrewh: your ubuntu version, architecture, any non standard configurations or special modifications which may be relevant, which file system is it you are trying to write to, how did you mount it?
[22:01] <Akuw> let me see
[22:02] <Akuw> but the only computer is one after we shutdown server and shoutdown all computers
[22:02] <andrewh> tomreyn, what do you mean by architecture?
[22:02] <compdoc> Akuw, you created a group named smbgrp?
[22:02] <Akuw> yes, and all computers can connect
[22:02] <tomreyn> andrewh: output of the command "dpkg --print-architecture"
[22:03] <Akuw> when i try to connect from computer with problem it request for user and password
[22:04] <andrewh> tomreyn, 18.04, amd64. I have non-standard configurations or special modifications. I'm trying to write to a usb drive.
[22:04] <compdoc> Akuw, Im not sure what the default is, but you may want to set your data shares to  browseable = Yes
[22:04] <andrewh> tomreyn, I mean I have no non-standard configuraitons or special modifications.
[22:04] <tomreyn> andrewh: fully updated? so "lsb_release -ds" actually reports that you have Ubuntu 18.04.1?
[22:05] <Akuw> browsable = yes
[22:05] <Akuw> its ok
[22:05] <Akuw> remember all users can access, just one can't
[22:06] <andrewh> tomreyn, yes, fully updated, though it told me I had to restart before some of the updates should take effect? Should I try restarting? It says "Ubuntu 18.04.1 LTS"
[22:06] <Akuw> when smbstatus --->    3997         1001       DENY_ALL   0x100080    RDONLY     NONE             /home/DATA02
[22:06] <tomreyn> andrewh: alright, that's good enough, no need to reboot right now. please try to remember to provide this basic information immediately when you ask questions in the future, saves you and us some time. ;)
[22:07] <tomreyn> !pastebinit | andrewh
[22:07] <lstanley29> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[22:07] <tomreyn> andrewh: please install "pastebinit", then run "lsblk | pastebinit" and post the http address here.
[22:09] <andrewh> http://paste.ubuntu.com/p/rPNQGGrr7f
[22:12] <tomreyn> andrewh: okay, now show: mount | pastebinit
[22:12] <Akuw> any idea?
[22:13] <andrewh> http://pastebin.ubuntu.com/p/wCVDKcDtgc
[22:14] <Akuw> https://pastebin.com/4pAnw964
[22:16] <tomreyn> andrewh: what does 'id -u' return ?
[22:17] <andrewh> 1000
[22:18] <tomreyn> andrewh: when you run this, is there any output, and which? "touch /media/andrew/20D6-CBF0/tomreyn; rm /media/andrew/20D6-CBF0/tomreyn"
[22:19] <andrewh> yes
[22:20] <andrewh> cannot touch '[file name]': Read-only file system
[22:20] <tomreyn> oh, good point
[22:21] <tomreyn> andrewh: can you run this: sudo mount -o remount,rw /media/andrew/20D6-CBF0
[22:22] <tomreyn> andrewh: any output there?
[22:22] <andrewh> no output
[22:22] <tomreyn> does this work now? "touch /media/andrew/20D6-CBF0/tomreyn; rm /media/andrew/20D6-CBF0/tomreyn"
[22:23] <tomreyn> as in, no output this time?
[22:23] <andrewh> no errors
[22:23] <tomreyn> so it is fixed for now, but you may need to so a file system check.
[22:23] <andrewh> you mean there might be something wrong with the usb?
[22:24] <tomreyn> there might be something wrong with the filesystem on the usb
[22:24] <tomreyn> but not neccessarily with the usb storages' hardware
[22:25] <tomreyn> maybe it was just unmounted improperly
[22:25] <andrewh> that's possible
[22:25] <andrewh> I was having problems copying to that usb driver yesterday
[22:26] <tomreyn> try to eject it before you pull the plug next time ;)
[22:26] <andrewh> the operation froze and i had to forcibly eject it
[22:26] <andrewh> it wouldn't let me
[22:26] <tomreyn> hmm if it froze while writing, this sounds more like a hardware issue
[22:26] <andrewh> of the usb drive?
[22:27] <tomreyn> andrewh: yes
[22:27] <andrewh> I had the same problem with two different drives
[22:27] <tomreyn> andrewh: it could be other thangs, but most likely the usb. you can test the usb using the f3 utility
[22:28] <tomreyn> hmm, different drives, were they connected to the same usb connector?
[22:28] <andrewh> I just installed xubuntu whereas I had mint installed before and had a problem the first time i tried copying a file to a usb drive with two different usb drives.
[22:28] <tomreyn> i mean socket
[22:28] <andrewh> what's a socket?
[22:29] <tomreyn> the thing you plug a usb device into. at least in my wording, there is probably a better name
[22:29] <andrewh> hang on, let me see
[22:32] <andrewh> should control C allow me to stop cp?
[22:32] <coz_> mm
[22:32] <tomreyn> andrewh: i suggest you "umount /dev/sdc1; sudo fsck /dev/sdc1; sync; sudo eject /dev/sdc1" to fix the file system on the stick, then pull and reconnect the usb storage to a different usb socket/connector/jack on the computer
[22:33] <tomreyn> andrewh: yes, if you are referring to "cp" in a terminal
[22:34] <andrewh> target is busy
[22:34] <andrewh> i tried copying again and it won't finish
[22:34] <tomreyn> andrewhso cancelling doesnt work?
[22:34] <andrewh> is there a way to cancel other than ctrl C?
[22:35] <tomreyn> you could kill the process but thats not normally needed
[22:37] <andrewh> I can't find the process
[22:37] <andrewh> i did ps -ef and I don't see it listed
[22:37] <tomreyn> ps auxw
[22:38] <andrewh> it's not there
[22:38] <andrewh> nothing since 18:15
[22:39] <tomreyn> i guess i'd reboot
[22:39] <andrewh> clearly something is wrong though
[22:39] <andrewh> it's not just that usb stick and it's not just that port
[22:39] <andrewh> I had the same problem yesterday
[22:40] <andrewh> If I reboot and try again, I'll have the same problem. I've tried both cp and copy and pasting.
[22:40] <tomreyn> andrewh: can you 'dmesg | pastebinit' before you reboot?
[22:41] <tomreyn> this will post your kernel logs, which may (most likely will) provide more information on what's wrong
[22:41] <andrewh> http://paste.ubuntu.com/p/TB3W5W5Kqt
[22:41] <andrewh> oops, type
[22:41] <andrewh> typo
[22:42] <andrewh> http://paste.ubuntu.com/p/Tb3W5W5Kqt
[22:42] <tomreyn> ok, you can reboot it now. it'll take some minutes to read
[22:44] <FreeBDSM> why do I have to enter key passphrase when I do ssh from A to B and then from B to C? ssh-agent on B is running and has the key added, why do I need another agent?
[22:46] <FreeBDSM> oh, my ssh-agent is running in wrong context (it is not parent to my ssh-connection), that's why
[22:50] <Akuw> damm i can't access
[22:53] <tomreyn> andrewh: this USB stick is a "Cruzer Blade", right?
[22:53] <andrewh> yes
[22:53] <tomreyn> andrewh: and you only have this one connected?
[22:53] <andrewh> now i just stuck in four
[22:53] <tomreyn> (or had)
[22:53] <andrewh> i had up to three
[22:53] <andrewh> i can't remember how many I had in at a time, but at least two
[22:54] <andrewh> I think it was just two
[22:54] <andrewh> one wasn't a cruzer blade
[22:54] <tomreyn> can you run "dmesg -w", then remove all usb devices you don't strictly need to have connected?
[22:54] <tomreyn> then ctrl-c the dmesg and post its output to https://paste.ubuntu.com
[22:54] <andrewh> ok, i'll remove all but the first i tried
[22:55] <andrewh> that does nothing
[22:55] <andrewh> ctrl-c doesn't copy in the command line
[22:56] <tomreyn> use ctrl-shift-c
[22:56] <kk4ewt> control-shift-c does
[22:57] <andrewh> nope
[22:57] <andrewh> it just quits
[22:57] <tomreyn> what quits?
[22:57] <andrewh> dmesg
[22:57] <tomreyn> you're copying while it's still running?
[22:58] <TJ-> andrewh: that's what tomreyn meant, Ctrl+C to interrupt/terminate dmesg :)
[22:58] <TJ-> andrewh: *then* copy the lines shown on-screen to a pastebin
[22:58] <andrewh> ohh ok
[22:58] <andrewh> which lines do you want me to copy? All of it?
[22:58] <tomreyn> yes, but i need the output, too, so it's ctrl-c, then ctrl-shif-c after highlighting the text to copy
[22:59] <tomreyn> andrewh: form the first time it says something about USB disconnect
[22:59] <TJ-> andrewh: or just do "pastebinit <( dmesg | tail -n 250 )"
[22:59] <andrewh> so you mean the new lines after i disconnected the usb sticks?
[22:59] <tomreyn> andrewh: or just use TJ's command ;)
[22:59] <tomreyn> andrewh: from when you started disconnecting them, yes
[23:01] <andrewh> https://paste.ubuntu.com/p/DyYsZw8sMn/
[23:01] <tomreyn> andrewh: so you have 2 times 2 USB 2.0 ports, and many more USB 1.1 ports. there's not a huge difference in that in terms of speed (both somewhat slow but todays' standards). but it would still be a good idea to identify and use any kind of storages (such as usb sticks) on the usb 2.0 ports whenever possible.
[23:02] <tomreyn> andrewh: please "umount /dev/sdc1"
[23:02] <tomreyn> andrewh: those 3 usb devices you just disconnected were on usb 1.1
[23:03] <andrewh> no
[23:03] <andrewh> hang on
[23:03] <andrewh> i thought i had 8 usb 3 ports and 4 usb 2 ports
[23:03] <andrewh> usb 3 ports are blue right?
[23:04] <TJ-> andrewh: yes
[23:04] <tomreyn> andrewh: yes, they are, but linux doesn't see any 3.0 ports. or i didnt
[23:04] <andrewh> i have 8 blue ports and 4 black ports. I have one usb connected to a blue port and two of the three i disconnected were connected to a blue port, one was connected to a black port.
[23:05] <andrewh> that's weird
[23:05] <tomreyn> i'm blind
[23:05] <TJ-> andrewh: there are known issues with USB3 chipsets when some USB2 devices are connected to them, the XHCI controller doesn't always behave properly
[23:06] <TJ-> andrewh: so if your USB storage devices are USB2 try only using them in the USB2 ports, and same for USB3 devices
[23:06] <andrewh> ok, i think usb drives i've had problems wtih are usb 2 connected to usb 3 mostly
[23:06] <andrewh> however, there was one that was usb 2 connected to a usb 2 port i think
[23:06] <andrewh> it still had a problem
[23:07] <andrewh> in dmesg, it says usb 3-11, usb 3-12, and usb 3-14, does that mean they're usb 3 ports?
[23:07] <andrewh> because usb 3-11 is black and the others are blue
[23:07] <TJ-> andrewh: to complicate matters there's often a port-switching hub in front of the controller chips, so the ports are switched from XHCI (USB3) to EHCI (USB2) controller based on the device
[23:08] <TJ-> andrewh: no, usb 3-11 means USB bus 3, device 11
[23:08] <TJ-> andrewh: try "lsusb" to see
[23:12] <andrewh> i'm going to reinstall
[23:12] <tomreyn> huh
[23:12] <tomreyn> ok
[23:13] <tomreyn> thanks for helping me out there TJ-
[23:13] <TJ-> tomreyn: not sure we got to the bottom of it ... could even be power starvation on the ports, due to an underpowered PSU
[23:14] <tomreyn> could be, i don't know how to diagnose this easily
[23:14] <amar> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[23:14] <tomreyn> surely they have two usb storages with unclean vfat fs on them
[23:15] <tomreyn> and i guided them to mount one of them r/w, which i should not have done
[23:15] <TJ-> I thought the FS won't mount rw if it's dirty?
[23:16] <tomreyn> it will mount ro then
[23:16] <tomreyn> for vfat
[23:16] <tomreyn> with udisks
[23:20] <TJ-> I thought the FS drivers enforced it
[23:20] <tomreyn> only for journalled FS, i think
[23:20] <TJ-> will have to play about with some
[23:22] <TJ-> had some fun earlier, helping a chap with a really old server that only had 2 SCSI CD-ROM drives + HHDs needing to boot it from a Knoppix 6 (2009) CD (based on Debian) - and the kernel image didn't have the scsi controller driver built in, and no modules in the initrd!
[23:22] <TJ-> we had some fun figuring out how to get the module out of the rootfs and into the system when the initrd dropped to a shell
[23:23]  * tomreyn opens container bin lid and looks full of expectation
[23:25] <tomreyn> still a fascinating way to spend your day, i agree.
[23:30] <TJ-> right, as it's gone midnight I really ought to take the PC inside, got bugs all over the screen, and for once I don't have to report them :)
[23:32] <dwC--> Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake Why does this blog post mention "10.2 million" THREE times?
[23:32] <tomreyn> :))
[23:35] <de-facto> Guys, how do i load a module WITH PARAMS at bootup automatically? I tried to put it in /etc/modules and "update-initramfs" as well as "update-grub" yet it does not load. "systemctl restart systemd-modules-load" exits with errors :/
[23:35] <de-facto> i put "modulename param1=val1 param2=val2" in /etc/modules
[23:35] <de-facto> the module is a dkms install
[23:36] <TJ-> de-facto: usually options go in via /etc/modprobe.d/ files
[23:37] <TJ-> de-facto: but /etc/modules should be honoured too
[23:37] <TJ-> de-facto: which Ubuntu release is it?
[23:37] <de-facto> 18.04
[23:37] <de-facto> at least its symlinked from /etc/modules-load.d
[23:38] <TJ-> de-facto: for loading during initramfs, it's /etc/initramfs-tools/modules
[23:42] <rootweiler> My name is homage to The Ubuntu
[23:43] <de-facto> TJ-, its the dkms module from "v4l2loopback-dkms" package. which would be the appropriate place to load it during boot with params? is there a possible place where it autobuilds/autoloads for new kernels (dkms)?
[23:46] <leftyfb> rootweiler: can we help you with something?
[23:47] <rootweiler> rootweiler: O
[23:47] <rootweiler> I am struggling to sleep .. ?
[23:49] <leftyfb> rootweiler: this is an ubuntu support channel
[23:51] <compdoc> you need to pay homage in the privacy of your place of worship
[23:52] <de-facto> from what i can read /etc/modules should be working for dkms modules with parameters
[23:53] <TJ-> de-facto: same place as for other modules, it doesn't need to be early in initrd, so /etc/modules should do it
[23:55] <de-facto> TJ-, how do i enable/update for changes in /etc/modules? a normal reboot didnt work last time, with exact same syntax as in modprobe: "modprobe v4l2loopback devices=1 video_nr=0 card_label="loopback0" exclusive_caps=1" works on booted system so i put "v4l2loopback devices=1 video_nr=0 card_label="loopback0" exclusive_caps=1" in one line in /etc/modules
[23:56] <TJ-> de-facto: that looks correct. So we need to figure out if systemd is actually ignoring the file!
[23:57] <de-facto> TJ- at least something goes wrong with it "ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)"
[23:58] <de-facto> TJ-, yes it says "Failed to find module 'v4l2loopback devices=1 video_nr=0 card_label="loopback0" exclusive_caps=1'"
[23:58] <de-facto> so its in another location?
[23:59] <TJ-> de-facto: it's from the kmod package, and "systemctl status kmod" here shows me several modules ere loaded
[23:59] <de-facto> its in /lib/modules/4.15.0-30-generic/updates/dkms/v4l2loopback.ko
[23:59] <de-facto> maybe it takes the whole params as pathname?