[00:00] abort [00:00] abort [00:10] Synaptic is still the most common GUI tool for installing packages on Ubuntu these days, right? [00:11] 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] Software & Updates has trouble with slightly obscure stuff [00:11] https://imgur.com/a/VoxLfiB [00:12] AlexMax: are you experiencing an issue what we might be able to help with? [00:13] @AlexMax, There's the snap store too which might be gaining popularity. [00:13] masaki: that's not what their asking === Rootyjr is now known as boogle [00:13] *they're [00:13] pragmaticenigma: not paritcular === boogle is now known as Rootyjr [00:13] I haven't used Desktop Ubuntu in anger since 8.10 [00:14] pragmaticenigma, my mistake [00:14] Is this channel only for issues? [00:14] and more social and fuzzy questions go elsewhere? [00:14] 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] Social and fuzzy questions typically go in #ubuntu-offtopic, or #ubuntu-discuss [00:15] 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] 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] im really unsure if my bus speed issue is causing performance issues with my gpu [00:17] Well, there are 78,645 packages in 18.04, so it's no surprise the GUI struggles :) [00:18] lilkuz2005: Do you know what the PCIe slot is rated for? [00:18] pragmaticenigma: Well, for example, I want to install the SDL2 development library [00:18] Which should be sdl2-dev [00:19] which is in universe [00:19] !info libsdl2-dev [00:19] libsdl2-dev (source: libsdl2): Simple DirectMedia Layer development files. In component universe, is optional. Version 2.0.8+dfsg1-1ubuntu1.18.04.1 (bionic), package size 688 kB, installed size 3848 kB [00:19] 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] pragmaticenigma, https://imgur.com/a/VoxLfiB thats 2 pics of the nvidia control panel showing what im talking about [00:21] But if I put sdl2 or something like that into the "Ubuntu Software" app, I get nothing [00:21] which is why I wanted to install synaptic in the first place [00:21] AlexMax: CLI using "apt-cache search ..." or "apt-cache search -n ..." (searches names only) [00:21] and I just wanted to make sure that's still the best GUI tool to use [00:21] AlexMax, open terminal and type sudo apt search sdl2 [00:22] AlexMax: the GUI is more aimed at locating executable applications rather then development libraries and source headers [00:23] 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] I usually lean on aptitude in my debian, terminal-only VPS's [00:23] AlexMax: I've not used that in over 10 years :) [00:23] Damg, it's that out of date? [00:24] AlexMax: no, I've just become wedded to core command-line tools [00:24] eh, sometimes I just wanna....browse :P [00:26] !info synaptic [00:26] synaptic (source: synaptic): Graphical package manager. In component universe, is optional. Version 0.84.3ubuntu1 (bionic), package size 624 kB, installed size 3276 kB [00:26] synaptic is fine [00:28] lilkuz2005: it is possible that without anything demanding higher throughput it is throttling it self down [00:29] pragmaticenigma, thanks for looking into it for me, i have the witcher 2 running via steam right now with high settings 1080p [00:32] 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] ups, help me [00:34] qwebirc36342: deleted the files from /boot/ directory, or removed the linux-image* packages? [00:35] 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] found this now. would that work, i am on a live system on the same machine [00:36] https://askubuntu.com/questions/700214/how-do-i-install-an-old-kernel [00:37] qwebirc36342: if you only deleted the files you only need to "apt install --reinstall linux-image-$VERSION" for each missing kernel [00:37] 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] so i have my boot partition mounted, i cd to it and run the command? [00:39] qwebirc36342: no, you need to run that after chroot-ing into the root file-system [00:39] how do i chroot? [00:39] !chroot [00:39] A chroot is used to make programs believe that the directory they are running in is really the root directory. It can be used to stop programs accessing files outside of that directory, or for compiling 32bit applications in a 64bit environment - see https://help.ubuntu.com/community/BasicChroot [00:40] ubuntu@ubuntu:~$ !chroot bash: !chroot: event not found [00:44] TJ maybe i need some packages in a live system to chroot? [00:46] qwebirc36342: "!chroot" is invalid; the "!" is not required, that's a bash internal construction [00:48] so chroot says its missing operand [00:48] i feel like such a newb/dork [00:49] qwebirc36342: yes. First you need to mount the root-filesystem to some directory mountpoint, then "sudo chroot /path/to/mountpoint" [00:49] eg. my /boot [00:50] 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] 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] qwebirc36342: until you type "exit" you're 'root' user in the installed root file-system, not the Live USB [00:52] 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] 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] 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] designbybeck: encrypted home directory? [00:54] qwebirc36342: your /dev/sda1 is NOT the root file-system, since it doesn't contain the correct directories [00:54] TJ-, yeah the setup I had before with 16.04, I set it up with encrypted home dir on the HDD [00:55] 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] what is the suggested way that I can updated from Ubuntu 17.04 to whatever the lastest and greatest is ? [00:55] TJ-, well when I did this clean install, I unhooked all the other drives just to be safe [00:56] designbybeck: did you install the "ecprytfs-utils" package ? [00:56] hmmmm not sure TJ- how do I find out [00:56] 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] designbybeck: "apt list ecryptfs-utils" --- it should say "installed" [00:57] designbybeck: if not then "sudo apt install ecryptfs-utils" [00:57] 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] 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] TJ-, ecryptfs-utils/bionic 111-0ubuntu5 amd64 [00:58] 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] so I can just do a sudo apt install ecryptfs-utils TJ- ? [00:59] is there any good way for me to update form ubuntu 17.04 to the lastest version? [00:59] elim_garak, I think you have to go to 17.10 first [01:00] designbybeck: when i try to update it says no way, not supported [01:00] designbybeck: either by command line or the update tool [01:00] not for cardasian spys [01:00] im just a tailor [01:00] and a rather good one [01:01] you are no more a tailer than I am a irc user [01:01] well that failed [01:01] 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] out what is causing this issue? [01:02] im afraid the option is going to be for me to install fresh [01:03] sorry for being stupid here TJ i can see you are a busy man, but how do i found my root system [01:07] designbybeck: did that fix it? my tablet went to sleep! [01:09] sorry for being stupid here TJ i can see you are a busy man, but how do i found my root system [01:10] 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] 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] i see it named hd0 [01:14] Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake [01:15] or should i look for the uuid [01:15] 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] 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, === capella|away is now known as capella [01:19] qwebirc36342: use "grep -o 'linux.*root=[^ ]*' /mnt/sda1/grub/grub.cfg" [01:20] 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] i do get a long list [01:21] entries like> linux /vmlinuz-4.4.0-128-generic root=/dev/mapper/ubuntu--vg-root [01:21] qwebirc36342: i'd expect all the root= entries to be then same [01:21] right so it's an LVM volume, not a raw partition [01:22] yes, that seems true [01:22] qwebirc36342: so now find out where that lives with "sudo pvscan" [01:23] qwebirc36342: you'll get something like "PV /dev/sdXY ..." [01:25] 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] best ubuntu book or website for "full course" style introduction/learning? [01:27] sudo pvscan No matching physical volumes found [01:28] sorry i think i missed the sudo blkid [01:28] qwebirc36342: hmmm, pvscan should search all devices for it [01:29] 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] qwebirc36342: oh, sda5 type crypto_LUKS ... you used full disk encryption? [01:30] yes, actually, i did not, its my fathers machine, he did [01:31] but full disc, i thought only the home drive [01:31] qwebirc36342: right, but it has FDE so we have to install tools and open that first! [01:31] 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] qwebirc36342: looks like it might be FDE for the OS, and in addition user home directory encryption for /home/$USER/ [01:31] qwebirc36342: so, install the tools first: "sudo apt install cryptsetup" [01:32] should already be installed i am told [01:33] qwebirc36342: that's good :) so let's try opening it. I hope you know the passphrase! [01:33] I Do! [01:33] qwebirc36342: "sudo cryptsetup open --type=luks /dev/sda5 sda5_crypt" [01:33] qwebirc36342: it might not like the "=" symbol, so replace that with a spac [01:34] qwebirc36342: "sudo cryptsetup open --type luks /dev/sda5 sda5_crypt" [01:34] yup [01:34] qwebirc36342: did that open it? [01:35] qwebirc36342: you can check with "ls /dev/mapper" -- should see a sda5_crypt listed [01:35] well it did something.. === i00nsu is now known as Guest40202 [01:35] 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] qwebirc36342: and if you're very luck, udev should have found the LVM too and added ubuntu--vg-root [01:35] qwebirc36342: don't use GUI! stick with the shell [01:36] ubuntu@ubuntu:~$ ls /dev/mapper control sda5_crypt ubuntu--vg-root ubuntu--vg-swap_1 [01:36] qwebirc36342: Yay, well done! [01:36] qwebirc36342: right, lets get things fixed. first clean up: "sudo umount /mnt/sda1" [01:37] 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] 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] I want to install Ubuntu Desktop LTS 16.04 using an automated script that runs on a Ubuntu Live Disk. [01:38] qwebirc36342: at this point, if you got no errors, it should be ready to chroot :) [01:38] !kickstart | Goop [01:38] Goop: Ways to automate installation of Ubuntu on multiple machines are described at https://help.ubuntu.com/14.04/installation-guide/amd64/apb.html - See also !cloning [01:40] no errors [01:40] okay, i have to see if i can find my way thru the backlog, to the chroot commands.. [01:40] qwebirc36342: fab... now do "sudo chroot /target" and you're into the root FS [01:40] qwebirc36342: you should see the shell prompt change to a # instead of a $ [01:40] 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] indeed [01:40] qwebirc36342: if so, do "mount -a" and it should read the /etc/fstab and mout /boot as well [01:41] qwebirc36342: then do "ls -latr /boot/ and you should see the boot file-system content [01:41] Goop: I just pointed you to the kickstart links [01:41] 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] hi , I wanan crack the /etc/shadow file, what tools should I choose ? [01:42] qwebirc36342: OK, no need to paste in here - use a pastebin if needed, but you're there so lets get sorted out. [01:42] sorry [01:42] thanks [01:42] qwebirc36342: first, check the chroot has network connectivity ... "ping paste.ubuntu.com" [01:42] 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] !ipv6 | xnite [01:43] xnite: For an introduction to IPv6 and information on tunneling IPv6 through IPv4 connections, see https://wiki.ubuntu.com/IPv6 | To disable IPv6 see https://help.ubuntu.com/community/WebBrowsingSlowIPv6IPv4 [01:43] there is connection, how do i stop the ping? [01:43] qwebirc36342: Ctrl+C [01:43] 05 LOSS [01:43] qwebirc36342: so now ensure the tool is installed : "apt install pastebinit" [01:44] 0 PERCENT LOSS [01:44] qwebirc36342: at this point you can easily paste info that I can see using this tool [01:45] hello [01:45] For those who used to make use of pine, is alpine a worthy replacement ? [01:45] anyone here? [01:46] okay [01:46] aye, howdy darwin_ [01:46] qwebirc36342: show me "pastebinit <( lsb_release -a; apt list --installed linux-image*; ls -latr /boot/ )" [01:46] WoC: alpine seemed reasonable the little I used it [01:47] ty tj [01:47] http://paste.ubuntu.com/p/mRwhBgx6xq/ [01:47] qwebirc36342: now we're rolling :) [01:47] i feel it to [01:47] damn your good [01:49] 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] what does 'installed, automatic' mean... or 'installed, auto-removable'? [01:49] qwebirc36342: give me a few mins, I need to get a drink! it's almost 3am here [01:49] illuminated: installed, automatic means the package is a dependency of some other package that was installed [01:50] great thanks [01:50] 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] 4 am here [01:52] i expect it say something like there is no kernel. but the exact wording is not know to me at this time [01:56] 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 === brainwash_ is now known as brainwash [01:57] Hey, Would it be possible to get some help upgrading my lan drivers? [01:59] qwebirc17929: back now [01:59] qwebirc17929: you don't need to reboot it... I suspect it's currently fine if it starts the .130 kernel [02:00] qwebirc17929: so what we need to do is 'officially' remove the unwanted kernel versions [02:00] qwebirc17929: let's see what the free space looks like, show me "pastebinit <( df )" [02:01] Huh, free space of what? [02:01] 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] qwebirc36342: sorry, there's 2 of you with similar nicknames! [02:02] Let me change mine [02:02] how to change name? [02:02] with /nick newnick [02:02] qwebirc36342: OK, that is strange, it should work from within the chroot. === qwebirc36342 is now known as casperDK [02:03] I am now casperDk [02:03] casperDK: hahaha trying to confuse me [02:03] sorry [02:04] Changed my name. If anyone can provide help on upgrading my lan drivers, that would be awesome. [02:05] 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] casperDK: I've just tested df in a chroot here and it works. Try it without pastebinit, just do "df" [02:06] root@ubuntu:/# df df: cannot read table of mounted file systems: No such file or directory [02:06] what should df do? [02:06] 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] casperDK: I think you missed a command out [02:07] casperDK: show me "pastebinit <( cat /proc/mounts )" [02:07] casperDK: "df" is "disk free space" - it reports used/free for all file-systems that are mounted [02:07] cat: /proc/mounts: No such file or directory Unable to read from: /dev/fd/63 [02:08] casperDK: aha! [02:08] could there be an issue with the ssd here on top of something..? im just guessing wildly.. [02:08] aha?? [02:09] casperDK: missed mounting the /proc file-system somehow. Try this: "mount -t proc proc /proc" [02:09] what does your path refer to in linux? [02:09] casperDK: then try "cat /proc/mounts" again [02:09] moses: do you mean PATH - the environment variable ? [02:09] PATH yes sorry [02:10] like using which to identfy a directory that is somehow linked to my PATH [02:10] moses: it's the search path used to find executable files when you type a command [02:10] moses: "echo $PATH" will show it [02:10] moses: correct, 'which' searchs PATH for the command you're looking for [02:11] 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] moses: "which -a" will search every directory and report all hits, without "-a" it stops after the 1st hit [02:11] casperDK: that's better! OK "pastebinit <( df )" [02:11] how come which $PATH doesnt return anything [02:11] its not a command? [02:11] casperDK: strangely I don't see /dev/sda1 /boot there === Sveta_ is now known as Sveta === rheddry is now known as levifig [02:12] moses: which takes a command name as an argument, e.g. "which bash" or "which echo" [02:12] 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] yeah which has a binary [02:12] $PATH does not [02:13] moses: $PATH is not a command, it's a list of directories [02:13] oh ok [02:13] so is it a file i can look at? [02:13] casperDK: I think somehow you didn't get the chroot set up correctly. Can you show me "pastebinit /etc/fstab" [02:13] moses: no [02:14] !PATH [02:14] The $PATH variable tells the shell where to look for the commands you tell it to run. See https://help.ubuntu.com/community/EnvironmentVariables#File-location_related_variables [02:15] moses: if you want to see the directories contained in $PATH you can do echo $PATH [02:15] 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] but to answer you pastebinit /etc/fstab Failed to contact the server: [Errno socket error] [Errno -3] Temporary failure in name resolution [02:16] casperDK: oh crikey!! that would break everything, because you'd unmount them from the Live environment too!! [02:17] damn, should i just reboot the whole thing or is there a way to fix my mess up? [02:17] So path links to the directories storing binary files [02:17] PATH* [02:17] i feel like an elephant in a glass shop [02:17] 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] sorry, will try, can i found you here on this link again> https://webchat.freenode.net/?randomnick=1&channels=%23ubuntu [02:18] hello [02:18] casperDK: I've a feeling from what I've seen it'll boot, but we do need to clean up the packages [02:18] casperDK: Yes, I'll hang about in this #ubuntu channel [02:18] it stores my binary locations such that my shell can find them quicker by searching through specific directories instead of everything correct? [02:19] 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] casperDK: good luck :) [02:19] I think I understand, thank you for the help [02:24] Where can I find the changelog if the newly released linux headers? [02:24] *of [02:24] TJ. i could boot [02:24] qwebirc46414: nice one :) [02:25] qwebirc46414: did it get the GUI ? [02:25] how to change name [02:25] qwebirc46414: do /nick newname [02:25] yes, i am back on track it seems, but i think it is the default kernel image [02:25] ah nick i was think name === qwebirc46414 is now known as casperDk [02:26] 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] casperDk: OK, so open a terminal and lets get it cleaned up [02:26] klandestine: yes [02:26] klandestine Yes [02:26] klandestine: I have a laptop that drives 6 displays and the mouse moves across all of them [02:26] sweet [02:26] 6 displays, wow [02:27] what do i write [02:27] how do I do that? [02:27] 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] klandestine: do what? nothing to do, just plug the additional monitor(s) in and enable/position them using the Display settings tool [02:28] http://paste.ubuntu.com/p/P8WvMygFbj/ [02:28] will I have the ability to use virtual terminals on either screen? [02:30] 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] 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] 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] 102 was not found it seems but otherwise it completted [02:31] 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] casperDk: OK, now do "sudo apt autoremove" which should remove a lot of linux-headers* packages too [02:32] 2.2 GB [02:32] wow [02:32] 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] casperDk: and then show me the free space report with "pastebinit <( df )" [02:33] one card for both screens [02:33] klandestine: most GPUs have a minimum of 2 outputs [02:33] I'll try it later when I'm motivated and let you know how it works [02:33] casperDk: is it looking stable now? [02:34] still removing packages [02:34] 75 % [02:34] So i upgraded my lan drivers, and i'm still getting irregular disconnections from my network. [02:34] 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] its a trick i should have learned long ago i guess [02:35] ASMJunkie: is this some proprietary/out-of-tree driver ? [02:35] Nope. Intel drivers from the offical site [02:35] http://paste.ubuntu.com/p/Pr3B7rXj43/ [02:35] casperDk: there is an automatic config you can use with unattended-upgrades [02:35] It happened on windows and updating the drivers fixed it [02:36] that would maybe be good to get setup === Dreaman is now known as Blade [02:38] casperDk: "sudo apt install unattended-upgrades === rafael is now known as Guest85861 [02:39] it say that it is already set to manual install [02:39] 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] what is manual install [02:39] casperDk: good [02:39] casperDk: you'll need sudo/gksudo/pkexec permissions to edit that file [02:40] casperDk: ensure the line does NOT start with a # (comment symbol) [02:41] casperDk: apologies, the comment is // not # ! [02:41] so the command i should run is _ [02:41] casperDk: it means it was installed by a human [02:42] ? [02:42] casperDk: well, the command depends on what your preferred text editor is. Possibly "gksudo gedit /etc/apt/apt.conf.d/50unattended-upgrades" [02:45] okay i have it opened, but i really see allot of commanded lines [02:46] but i do not see a line like Unattended-Upgrade::Remove-Unused-Kernel-Packages [02:48] can i pastebin the file and get you to look at it? [02:48] TJ do you get the message as a personal if i write your name in it? [02:49] casperDk: can you search the file using Ctrl+F then type "Kernel-Packages" [02:50] casperDk: it's possible, as that is 16.04, this option wasn't available [02:50] there is no hit with kernel [02:50] casperDk: OK, so we can't set it then. I suspect it was introduced more recently [02:50] ok [02:51] 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] but running the apt autoremove package every month or so would do the trick to right? [02:51] cool [02:51] casperDk: I think you've got it fixed [02:51] thanks so much for you help [02:51] it was a pleasure.. [02:51] you're welcome, hopefully you've learned a lot too :) [02:52] 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] you know where to come to ask first, though :) [02:53] i will get to bed now, before it gets to light. [02:53] indeed! [02:53] before you make a mistake :) [02:53] Linux is totally a lot of learning but it's a nice feeling when you get something working [02:53] same here! dawn is coming up fast [02:53] thanks again, this is really what makes open source so nice [02:54] 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] troykrahn: not only linux, any free software is like that. you get an opportunity to expand its documentation or improve its codes [02:54] TJ-: don't think shell is needed, not for everyone at least [02:54] Sveta: it is if you want to process system data effeciently [02:54] haha [02:55] 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] TJ, do you have a gui on your system or are you only running shell? [02:55] casperDk: I generally run in a tmux bash shell, tmux is the login shell [02:55] it's possible to modify the app to add the function, TJ-.. or to request such a modification :) [02:55] casperDk: but I use Xubuntu [02:55] oh good :) [02:56] Sveta: try doing that for all 10000+ GUI packages Sveta [02:56] yes [02:56] maybe i catch you around TJ, if not, i wish you a long and prosperous life! [02:56] all I need is /proc /sys /dev + bash sed and awk :) oh, and weechat :) [02:57] Hello [02:57] casperDk: enjoy yourself [02:57] I want to ask something... Im trying to install a printer... [02:57] I have Ubuntu 18.04, but my sistem says it lacks some drivers but in the ubuntu software the driver is missing... [02:57] :( [02:58] elyon: make/model of printer? does it need drivers ? [02:58] Canon iP1800 / yep, drivers. [02:58] elyon: is the printer networked or connected via USB or something else? [02:58] USB [02:58] elyon: drat! networked printers are usually so much easier! [02:58] try installing with apsfilter [02:59] apsfilter, its a app? [02:59] downloadable at ubuntu software? [02:59] Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake [02:59] 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] 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] it's a shell script [02:59] Ok [03:00] I use it and it's usually pretty helpful [03:00] Ill try now... [03:03] what's the mlocate for... is it different from find ? [03:03] fishcooker, man mlocate will guide you to your answer [03:05] fengshaun: is it like indexing the location structure of files or folders? [03:05] looks like it [03:05] man updatedb [03:06] looks like it is written to database? [03:06] hmmm, if elyon comes back, tell them that printer-driver-gutenprint should have the driver [03:06] !info printer-driver-gutenprint [03:06] printer-driver-gutenprint (source: gutenprint): printer drivers for CUPS. In component main, is optional. Version 5.2.13-2 (bionic), package size 404 kB, installed size 920 kB [03:19] Helo [03:19] Hey [03:22] Hmm, where are the source files' directory (the ones downloaded by "apt source 'package'")? [03:22] I googled the kernel source is in /usr/src, but no other packages are in there. [03:23] 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] pressure679: "apt-get source " downloads to the current directory, then extracts to a sub-directory [03:28] pressure679: sub-dir name format is -/ [03:29] pressure679: /usr/src/ generally contains only the kernel headers for each version, for building out-of-tree modules against [03:30] TJ-, ah, thanks. [03:51] Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake [03:51] 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] Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake [04:35] does python3's idle terminal have a default log location in ubuntu [05:39] 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] qwebirc13140, really depends on what you find easier, i've tried both for that same porpuse and for me ssh is easier [05:44] I haven't tried either, SSH or Samba. Just installed Samba. ssh seems to have many varients. [05:44] 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] 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] qwebirc13140, 2 from the other computers use any sftp tool [05:46] OK. Will take a look at openssh-server Thanks [05:46] Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake [05:47] qwebirc13140, to connect to the other computers u previously installed openssh server [05:47] qwebirc13140, to connect u'll need the ip or domain of server, user and password of that user [05:48] OK. Install openssh-server on the 2 PCs I want sharing between. [05:48] qwebirc13140, good, now for the client you have a few options, personally i use pcmanfm [05:49] qwebirc13140, i go to tools>connect to server [05:49] qwebirc13140, and there i just select "ssh", type the ip, user, pass and thats it [05:49] grateful: whereis python3 from terminal [05:50] qwebirc13140, i dont know if your file manager of preference support something like that, but theres another way [05:50] 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] qwebirc13140, nautilus probably support something like that [05:51] qwebirc13140, try searching on the web something like "how to connect to ssh or sftp with nautilus in ubuntu" [05:52] qwebirc13140, or you can use sshfs [05:52] danieru98 I can see it there, just haven't got the name network details to enter there, other machine name etc [05:53] qwebirc13140, name network details? [05:53] qwebirc13140, as i said earlier what u need to connect to a ssh server is: ip, username, and password of that user [05:53] 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] Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake [05:54] 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] qwebirc13140, well ssh is encrypted and pretty secure, i dont know what exaclty are u looking for in termns of security [05:56] danieru98 I just don't want to leave a hole, unsecured, for outsiders to see same common shared directory. Healthy paranoia. [05:57] qwebirc13140: see also fail2ban to protect ssh [05:57] OK [05:57] qwebirc13140, with outsiders you mean attackers from the internet? [05:57] !info fail2ban | qwebirc13140 [05:57] qwebirc13140: fail2ban (source: fail2ban): ban hosts that cause multiple authentication errors. In component universe, is optional. Version 0.10.2-2 (bionic), package size 321 kB, installed size 1698 kB [05:59] 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] qwebirc13140: if its connected to your isp, it means outsiders can scan your ssh [06:00] 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] qwebirc13140, the package is system-config-samba [06:01] qwebirc13140: i would advice to scan yourself with nmap, see wich ports are open on your ip adress [06:01] qwebirc13140: alternate its also wise to setup ssh on a non-default port [06:01] Yep, nmap, I know it. But not for a while. [06:02] qwebirc13140: its easy: nmap -PN -sV youriphere [06:02] OK [06:05] hello [06:06] 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] https://screenshots.debian.net/package/system-config-samba [06:08] 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] qwebirc13140, your welcome [06:10] Christel just posted this "denial" on the freenode blog https://freenode.net/news/spam-shake [06:16] worstje: cool :) [06:17] 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 [06:26] <+SP9002_@efnet> 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 === Epic|| is now known as Epic| [06:29] 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] 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] ? [06:49] firefox is not work [06:49] 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] on Debian & Ubuntu. [06:50] 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] Or did you just mean that "Firefox is not work" because it's so easy to use? [06:50] ubunt mate 16.04.02 [06:51] BuildID: 20180705222241 [06:51] CrashTime: 1533624694 [06:51] FramePoisonBase: 0000004041121792 [06:51] FramePoisonSize: 4096 [06:51] InstallTime: 1533620152 [06:51] ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} [06:53] jo__: What is it that you're trying to do with Firefox that's not working for you? [06:53] * Randolf shrugs [06:54] hi [06:54] hi barc0d4_ [06:55] Sveta: hi bro i get some problem with my laptop touchpad it's not working after kernle updating [06:56] 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] 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] Hi [06:58] is there any java developer here that can be my mentor ? [07:00] King: You probably want ##java instead of here [07:00] King: You can learn a lot about Java at: http://www.mindprod.com/ [07:01] The ##java channel is a very good resource too though. [07:01] There's also the ##programming channel. === shawn is now known as Guest81282 [07:02] thank you guys [07:02] wait i'll check it [07:03] ##java :Cannot join channel (+r) - you need to be identified with services [07:03] everytime i try to join in ##java, it replies me this [07:03] 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] thank you so much [07:09] 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] Hi [07:33] 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] hhhh [07:39] hello [07:42] another late night and i still can't get motion to work on 18.04 [07:47] 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] how do you connect to another linux box and login via gui? like pciop [07:55] anybody here [07:56] ? [07:56] no [07:56] yes [07:56] na guo ren ? [07:57] are you working? [07:57] if this is my local display... what do I set on the remote host to run the gui remotely DISPLAY=:1 [08:05] 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] milp: http://manpages.ubuntu.com/manpages/bionic/man1/taskset.1.html [08:15] thank you swedemike [08:16] 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] 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] 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? === aleksander is now known as alekksander [08:41] 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] 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.) === Richard is now known as Guest65255 [08:59] Hi everyone. Im having really bad lag (especially on startup) and screen tearing. Specifications are: i7 6700HQ 950m and 8GB ram === capella is now known as capella|away [09:02] 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] i forgot to mention, im on ubuntu 18.04 [09:04] mayankmadan: What recent change did you make to the system? [09:05] burzos, nothing. The laptop came with windows 10 and i just installed ubuntu 18.04 on it [09:06] Ok, so installing Ubuntu was the changed thing. [09:06] Lag means the display is "behind" the system's state? [09:08] burzos, not really. what i meant was its really slow to respond [09:10] What happens if you play a music file? Does it sound distorted or just the screen is behind? [09:13] Is it just a video issue? [09:15] hello? [09:15] Could someone help me? [09:16] kiwi-os: Just ask your question directly, don't ask to ask. :-) [09:16] Okay [09:16] not just a video issue. The machine is overall really slow [09:17] for example, it takes about 20 seconds to open firefox after startup [09:17] 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] but it then gets a little better after sometime [09:19] Maybe it gets faster over time? That happens to me with new installs [09:19] How do you know it's slow to load firefox and not just slow to display it? [09:20] i didnt even know there was a difference :) [09:20] Maybe take a look at `top` and see if anything is holding the CPU. [09:20] Like worstje said, it might just be a video problem. [09:21] Or it might really be a process performance issue. [09:21] could it be a nvidia issue? because ive been running ubuntu on my other machine without any problems [09:23] beacause there is always screen tearing [09:23] Probably a driver issue [09:24] Is it still ok to ask questions related to ubuntu precise?.. [09:24] 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] please be more patient kiwi-os - give people time to answer (if they can) [09:26] ls [09:26] ? [09:26] 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] 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] sorry [09:28] 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] the animations are choppy. Thats the term i was looking for :) [09:28] okay, thank you though [09:29] you're most welcome kiwi-os [09:31] mayankmadan: To confirm it's not a app performance problem. Run this command and post the results. [09:31] `top -b -n 1 | head -n5` [09:34] https://pastebin.com/irafqifQ [09:38] 20 GB swap seems large; any reason for that? [09:41] And your CPU isn't underload, so it's probably a video issue. [09:41] Try googling your driver, video card on Linux. === TabMasher is now known as Apple === Apple is now known as Guest62433 === Guest62433 is now known as TabMasher [10:20] Im also getting "System Problem Detected" a lot. Is there any way to know what the problem is? === mwsb1 is now known as mwsb [10:21] mayankmadan, i would look in /var/crash/ for .crash files, which can be scanned (they are text...) [10:24] 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] guiverc, i did that but it said something about it not being an official package [10:26] i have been getting problems with the graphic drivers(probably) and having really slow computer due to that. [10:26] 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] Im not good with reading crash reports [10:26] https://pastebin.com/QjYasd4N [10:26] 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] 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] hi tomreyn [10:35] !phoomphy Silberschatz, Galvin & Gagne - Operating System Concepts (9th edition) (2013).pdf [10:35] than_: I am only a bot, please don't think I'm intelligent :) [10:37] !phoomphy Silberschatz, Galvin & Gagne - Operating System Concepts (9th edition) (2013).pdf === TabMasher is now known as CoffeeIV [10:41] beta4_: welcome, what can we do for you? [10:42] I'm here to report back on a solution I found. [10:42] beta4_: you can share mate, we will forward it to tomreyn [10:42] basically I have a very new laptop, Core i7-8750H + nvidia GPU [10:43] just after installation, I got a black screen right from boot, as i915 driver is buggy [10:43] yes? [10:44] 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 === CoffeeIV is now known as FutureShock [10:44] I found a simple way to power down the nvidia [10:44] echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'; [10:44] this line was one of the 'tunables' suggested by powertop [10:45] and wow, my laptopo is now down to 12W idle, and the battery can last up to 4 hours [10:45] I'm reporting it here just in case someone else shows up with a similar problem [10:46] beta4_: ok tnx for your feedback we will forward it to tomaw [10:46] tomreyn: [10:49] mayankmadan: wich ubuntu version graphics card and driver version please? [10:50] lotuspsychje, ubuntu 18.04 and Nvidia binary driver version 396.37(proprietary) [10:50] Nvidia 950m [10:51] mayankmadan: try .77 [10:51] 396.77? [10:51] mayankmadan: 390.77 or 396.45 [10:52] mayankmadan: from nvidia site or ubuntu graphics ppa === guest7558 is now known as Pr070cal [11:05] @Search Marion G. Harmon [11:13] 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] for updating the core files? [11:13] Gimmel: apt-get dist-upgrade [11:14] or apt full-upgrade [11:14] but note that apt upgrade != apt-get upgrade [11:15] 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] 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] 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] 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] guiverc: Yup, just read that. Thanks. [11:17] or in other words, it will install the remaining packages [11:18] ppf: including the core stuff, yeah? [11:20] yes [11:20] like, new kernels [11:22] thanks guys! [11:22] 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] 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] 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] really [11:37] 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] I know I shouldn't feed the trolls/bots, sorry. [11:45] Hi folks [11:45] hey [11:45] Hello, [11:45] I saw that ubuntu enabled by default user namespace for non root users. [11:46] 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] so is this CVE still up to date, and if yes, why Ubuntu doesn't care? [11:51] tobiasBora: https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-3134.html [11:52] TJ-: so the status is "ignored (abandoned)" right? [11:53] (which means that ubuntu has a priviledge escalation built in) [11:54] tobiasBora: not at all, where are you seeing that (which kernel release) [11:55] tobiasBora, You see the updates from July... right? [11:55] tobiasBora: https://usn.ubuntu.com/3134-1/ === alexandre9099_ is now known as alexandre9099 [12:03] test [12:03] jdwwwe: it works, we see you [12:06] ty [12:10] mayankmadan: did you solve it? [12:10] ummmm [12:11] i uninstalled the previous drivers and installed the 390.77 from nvidia website [12:11] but now i cant get the ui to start without adding nouveau.modeset=0 to grub [12:11] that just uses the nouveau driver right? [12:12] mayankmadan: check sudo lshw -C video at bottom driver= [12:13] whoami [12:14] lotuspsychje, https://paste.ubuntu.com/p/Yf2kGHg5vP/ [12:14] mayankmadan: looks like its using it yes [12:15] bbl [12:15] mayankmadan: check also ubuntu-drivers list to see whats available === giantm-away is now known as giantm [12:18] maybe I wasn't reading the good one indeed ^^ [12:26] 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] gloomy_: Figure out what he does on the computer, put links to it on the desktop and how him how it works. === andyrock_ is now known as andyrock [12:36] Skype was always a clunker. [12:39] 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? === feodoran is now known as Guest49021 [12:43] 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) === feodoran_ is now known as feodoran [12:44] i'm installing 18.04, the alternative server iso btw [12:45] Hello. [12:47] 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] hello [12:49] 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] 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] bugzilla.redhat.com bug 1308837 in snapshot "Peers goes to rejected state after reboot of one node when quota is enabled on cloned volume." [Urgent,Closed: errata] [12:50] hi gwenael [12:50] gwenael, Do you need assistance with Ubuntu? === BOHverkill_ is now known as BOHverkill [12:51] 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] oops sorry wrong channel.. was supposed to post on #linux === lesshaste is now known as Guest14242 [12:51] 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] someone told shred which seems to do the job [12:52] gwenael, Did you mean to be in #ubuntu or perhaps a redhat related channel? [12:52] bobphalanx, yes, that's one of the helper programs that should work well. === Sven_vB_ is now known as Sven_vB [13:01] LUCAS [13:02] Hi :) [13:02] What can I use to extract an .iso from a bootable usb drive? [13:02] there's tons of tutorials for the other way around but coudn't find much on this [13:02] Whaaaat? Who called me? [13:05] gloomy_, dd the entire drive to a new file? [13:05] JimBuntu dd if=drive/path/ of=file.iso? [13:06] gloomy_, I would suggest something more like dd =id/device/path of=file.iso but you get the idea [13:06] oops. ignore the typos [13:06] gloomy_, my point is to image the device, not the mount point... [13:07] Didn't know it worked like that. Thanks :) [13:07] 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] 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] 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] 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] Ah yes that's a problem. [13:09] 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] gloomy_: it may be that "sudo file -s /dev/sdd" might tell you the size of the ISO image though [13:10] The computer only has 4gb of ram so it won't be able to contain an iso of a 16gb drive [13:10] 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] gloomy_: if so, you can use dd options "bs= count=1" [13:11] 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] Thanks for helping [13:13] 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] Yes, I burned the iso into the usb stick and booted from it [13:14] But the installer (to install the os directly on the hdd) wants an iso for whatever reason [13:14] which is stupid [13:14] but I didn't make it that way :p [13:14] gloomy_: sounds like the installer ISO itself is broken, or needs a reference to itself [13:15] It's probably because puppy isn't really meant to be installed to the internal hard drive... meh? [13:16] 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] puppy works on all [13:17] charli it works fine booting from usb, it's the installation that fails [13:17] !- jason85 can help [13:17] charli: I am only a bot, please don't think I'm intelligent :) [13:18] no problem [13:18] 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] sure it can get small by decreasing the icon size but I need to shring it verticaly too [13:19] Hmm. Rebooted and now it just works. Who said computers are deterministic [13:19] well i dont no abbout Think Pad but maybe I can help [13:21] Lenove Laptop ? [13:21] Who are you talking to? :) [13:22] USB stick you boot from Bio with what? [13:23] an old samsung netbook, didn't say anything about a thinkpad :-) [13:23] I have problems with updates on Ubuntu 16.04 [13:23] mysql-server-5.7 is not working [13:23] https://paste.ubuntu.com/p/zvtHMdBRH7/ [13:23] wich System you want for the boot [13:24] puppy linux - but don't worry, it seems to be working now [13:24] RonaldsMazitis: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable [13:24] Puppy Linux Thar works fantastisch [13:24] I have xenial pup :-) [13:25] https://paste.ubuntu.com/p/WKCGZHj6hc/ === san is now known as Guest36420 [13:26] well Thar Puppy works on all Pc Laptop o what ever [13:27] 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? === Guest65255 is now known as Richard === Richard is now known as Guest16244 [13:33] gloomy_: can I help you? [13:35] https://paste.ubuntu.com/p/98F3MgzywG/ [13:35] what can I do [13:35] mysql is not working [13:35] after update [13:35] can't reinstall [13:36] can you sudo mkdir /etc/mysql [13:36] and try again [13:36] does not help [13:39] touch /etc/mysql/mysql.cnf [13:39] hey RonaldsMazitis - what do you mean by "updates" - after installing normal package updates? or after upgrading the version of Ubuntu? [13:39] installing normal package update [13:39] s [13:40] if I meant upgrading distro I would say distro upgrade === Daerist` is now known as Daerist [13:40] can you share the output of this command please: file /etc/mysql/my.cnf [13:40] 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] /etc/mysql/my.cnf: cannot open `/etc/mysql/my.cnf' (No such file or directory) [13:41] so you didn't mkdir [13:41] if you do "cat /etc/alternatives/my.cnf" do you see your config you expect? [13:42] what's an easy way to check which python version comes with whatever version of ubuntu [13:42] ppf: it's possible /etc/mysql exists but /etc/my.cnf doesn't [13:42] /etc/mysql/my.cnf is supposed to be a symlink to /etc/alternatives/my.cnf [13:42] rory: right, i thought that was the output to my touch command [13:43] https://paste.ubuntu.com/p/8V4kdWnwtB/ [13:43] sudo ln -s /etc/alternatives/my.cnf /etc/mysql/my.cnf [13:43] mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory) [13:43] sudo ln -s /etc/alternatives/my.cnf /etc/mysql/my.cnf [13:43] ln: failed to create symbolic link '/etc/mysql/my.cnf': File exists [13:43] are you 100% sure you aren't witholding any information from us [13:44] rory: have you checked the file-system hasn't run out of free space or inodes? [13:44] 2,6 gb free === tom is now known as tchrist [13:44] I would expect different errors in dpkg [13:44] does anyone else have access to this machine? [13:44] nope [13:45] At the risk of sounding like a bot, have you tried turning it off and on again? [13:45] like for real, reboot the machine [13:45] yeah [13:45] ok [13:45] RonaldsMazitis: show us "pastebinit <( df; df -i; sudo find /etc/mysql -ls )" [13:45] http://paste.ubuntu.com/p/wTt4v2CHhz/ [13:46] aha "/dev/sda1 611284200 577468348 2741292 100% /" [13:46] file browser does show free space === CptLuxx_ is now known as CptLuxx [13:47] RonaldsMazitis: how about "pastebinit <( update-alternatives --display my.cnf )" [13:47] is there anything wrong with choosing bionic for a greenfield "production ready" app? [13:47] AtomicBond: python --version [13:47] thanks accesspoint but I was looking for this: https://packages.ubuntu.com/bionic/python3 [13:47] TJ-: http://paste.ubuntu.com/p/Y65gzNmfrM/ [13:47] !info python3 | AtomicBond [13:48] AtomicBond: python3 (source: python3-defaults): interactive high-level object-oriented language (default python3 version). In component main, is important. Version 3.6.5-3ubuntu1 (bionic), package size 9 kB, installed size 74 kB [13:48] n i c e [13:48] RonaldsMazitis: the alternatives link looks OK [13:49] so how do I start mysql [13:49] hello, I've saved a display resolution by mistake [13:50] https://paste.ubuntu.com/p/FvxBhQ85JZ/ [13:50] now, after I make login, screen becomes blank [13:51] how could load display defsukts, in order to enter desktop? [13:51] Any ideas? [13:52] maybe I have to dist upgrade [13:52] *default settings [13:52] cristian_c, when did this start? which video card? [13:52] I think I will be loosing the database [13:53] coz_: after I saved a different display size by mistake (on a different display) [13:53] igd card (vega 8 built-in) [13:53] https://paste.ubuntu.com/p/zTh573zQ23/ [13:53] 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] database is loose :-) [13:53] cristian_c, mmm, [13:54] I'd like to revert to default, but I can't enter desktop atm [13:54] Hey folks... Any idea when do-release-upgrade will show a new available upgrade from 16.04 to 18.04.1? [13:54] https://paste.ubuntu.com/p/ZqMhPc3V8C/ [13:55] http://paste.ubuntu.com/p/zQSxZ5y2sC/ [13:55] 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] 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] RonaldsMazitis: uh!? did I make a typing mistake there. mysql-server is the package name isn't it? [13:56] yeah [13:56] oh, it's mysql-server-5.7 !!! [13:56] 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] cristian_c, can you use console? [13:57] https://paste.ubuntu.com/p/THxw9BxQp2/ [13:57] coz_: I can ebter tty by ctrl+alt+f1 [13:57] *enter [13:57] RonaldsMazitis: this is due to the root file-system being out of space [13:58] what can I do [13:58] cristian_c, you are on a different system right now, yes? [13:59] RonaldsMazitis: free some space? it loks like the root-fs is 611GIB [13:59] but there is 3 gb of space [13:59] when I go to my home folder [13:59] coz_: I'm not chatting by that mhine, obviously [13:59] RonaldsMazitis: some space on a file system is reserved blocks and cannot be used for files [14:00] but I can type commands in tty [14:00] RonaldsMazitis: show us "pastebinit <( sudo dumpe2fs -h /dev/sda1 )" [14:01] *machine [14:01] cristian_c, xrandr --output DP2 --mode 3840x2160 --scale 2x2 or xrandr --output DP2 --mode 1024x768 --scale 1x1 [14:01] http://paste.ubuntu.com/p/FBfk3GK8Ps/ [14:01] ok [14:01] cristian_c, may get you in so you can change resolution [14:02] test [14:02] tested [14:03] coz_: first command: Can't open display [14:03] oh! [14:03] Free blocks: 7763154 [14:03] Free inodes: 37352828 [14:04] coz_: second command: Can't open display [14:05] I don't know how to reset display configuration [14:05] 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] cristian_c, hold on, let me check, or someone can jump in with more knowledge [14:06] thank you anyway [14:06] cristian_c: check this link: https://askubuntu.com/questions/749333/how-can-i-reset-my-display-settings-through-terminal [14:06] TJ-: https://paste.ubuntu.com/p/M4ddxmMCTT/ [14:07] interesting. my native display size ismj [14:07] RonaldsMazitis: the "can't read" suggests a file-system fault. Check the kernel log for disk I/O messages: "pastebinit <( dmesg )" [14:07] is just 1440x900 [14:08] RonaldsMazitis: if it isn't that we can try reducing the number of Reserved Blocks [14:08] http://paste.ubuntu.com/p/FqKKRsZRYJ/ [14:08] cristian_c, try this xrandr -d :0 --output LVDS1 --auto [14:09] RonaldsMazitis: there you go, at the end, apparmor is denying read access [14:09] accesspoint: monitors.xml doesn't exist inside .config [14:09] cristian_c, damn [14:10] TJ-: so [14:10] coz_: some hours ago I tried xrandr -d :0 [14:10] I need to configure apparmor [14:10] RonaldsMazitis: it should be set by the package. "pastebinit /etc/apparmor.d/usr.sbin.mysqld" [14:11] http://paste.ubuntu.com/p/sqkhJgmWtq/ [14:11] cristian_c, I'm at a loss, hopefully someone here has mor information [14:11] cristian_c, lett me check one more thing [14:11] accesspoint: xrandr -s 1440x900 returns: Can't open displ [14:11] *display [14:12] https://askubuntu.com/questions/175704/unable-to-start-mysql-server-after-update [14:12] cristian_c: try it with the -d option: xrandr -d :0.0 -s 1440x900 [14:12] TJ-: should I do as in last link? [14:13] RonaldsMazitis: no, that refers to a custom path. Your apparmor denials are for a directory that is defined in the profile [14:13] ok [14:14] The rule in that file that allows it is " /etc/mysql/** r," [14:14] RonaldsMazitis: which means everything under /etc/mysql/ can be read [14:14] yeah [14:14] coz_: anyway, it's a desktop pc [14:14] what should I change? [14:15] 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] cristian_c, ok did you try accesspoint suggestion? [14:16] Nevar noslasīt no: /etc/apparmor.d/local/usr.sbin.mysqld [14:16] hello [14:16] can't read [14:16] from file [14:16] RonaldsMazitis: OK, so there wasn't one [14:16] 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] RonaldsMazitis: just check the directory to be sure: "sudo ls -l /etc/apparmor.d/local/" [14:16] i need help in encryption file jar [14:16] coz_: your command returns: Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0 [14:17] cristian_c, mm damn hold on [14:17] TJ-: https://paste.ubuntu.com/p/mGPrHVyBDF/ [14:17] 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] bucketm0use: sounds like a bug in the package's .postinst script; should report it for starters [14:18] accesspoint: your command returns: Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0.0 [14:18] RonaldsMazitis: I wonder if that mysqld-akonadi is affecting it? "pastebinit /etc/apparmor.d/local/usr.sbin.mysqld-akonadi" [14:18] bucketm0use, that sounds like a broken package, adding system users and groups in package installation scripts should always be conditional [14:19] http://paste.ubuntu.com/p/TNMkjHZfRy/ [14:19] RonaldsMazitis: so not that, it's empty of rules [14:19] jelly / TJ-, does this mean I'm sol? I've inherited this system and I just wanted to do an installation [14:19] bucketm0use, does this package come from OS ubuntu.com repos, or from somewhere else? [14:19] RonaldsMazitis: hmmm, this is weird, let me re-read the logs in case I missed something obvious [14:20] 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] 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] TJ-: I can access phpmyadmin [14:21] #2002 - No such file or directory — The server is not responding (or the local server's socket is not correctly configured). [14:21] 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] jelly, https://paste.ubuntu.com/p/FB2bSZbQBG/ [14:23] 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] http://paste.ubuntu.com/p/bGyR3trkrk/ [14:23] cristian_c, sorry, I cant find a solution, so I will back off so someone else can jump in [14:24] coz_: thank you anyway [14:24] jelly, I forgot to add the output of the apt install: https://paste.ubuntu.com/p/mzNrws3Kpm/ [14:26] so it could not update mysql server and now I can't reinstall, configure or anything [14:26] 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] 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] cristian_c: also sorry, I don't have any other suggestion for now [14:27] accesspoint: ok, thanks [14:27] RonaldsMazitis: pastebin the journalctl log [14:27] has anyone any other ideas? [14:27] https://paste.ubuntu.com/p/GZyHdBcxfX/ [14:28] bucketm0use, and what is the full command line that results in jelly, I forgot to add the output of the apt install: https://paste.ubuntu.com/p/mzNrws3Kpm/ ? [14:28] RonaldsMazitis: the mysql.service unit is set to disabled according to that [14:28] jelly, that's in the first pastebin (apt install python-virtualenv) [14:28] RonaldsMazitis: "sudo systemctl enable mysql.service && sudo systemctl start mysql.service" [14:29] https://paste.ubuntu.com/p/jGYNrDntZH/ [14:30] RonaldsMazitis: check the journal again :) [14:30] RonaldsMazitis: I think we're getting closer [14:30] https://paste.ubuntu.com/p/v6gfJgGmrw/ [14:30] RonaldsMazitis: and show us "pastebinit <( dmesg | tail -n 50 )" [14:31] pastebinit <( dmesg | tail -n 50 ) [14:31] http://paste.ubuntu.com/p/vH7gvGSF6W/ [14:33] so I need apparmor to allow [14:33] mysql [14:34] any idea how to do this? [14:35] 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] bucketm0use, then run "dpkg --configure -a" and "apt-get -f install" to let any pending apt actions finish [14:36] 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] jelly, you are a saint. thank you [14:38] 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] http://paste.ubuntu.com/p/4F7d4Gnp9w/ [14:38] TJ-: [14:38] anyone able to answer a question regarding deb822 in 14.04 [14:38] !ask | cromulon [14:38] cromulon: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [14:39] 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] apt 1.0.1ubuntu2 for amd64 compiled on Apr 12 2018 10:14:36 [14:40] is ubuntu a subset of debian [14:40] Derivative work [14:40] cromulon: sources are supposed to be named something.list [14:41] 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] http://paste.ubuntu.com/p/NRhpZFPZh6/ [14:42] EriC^^: not according to this https://manpages.debian.org/unstable/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT [14:42] thanks JimBuntu [14:43] 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] 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] cromulon: the correct file nam extension would be .list [14:44] oh EriC^^ beat me to it [14:44] 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] 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] 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] cromulon: yes, exactly [14:45] TJ-: systems time, by that You mean current time? [14:45] RonaldsMazitis: yes [14:45] RonaldsMazitis: as in "date" [14:45] 17.45 [14:45] cromulon, https://unix.stackexchange.com/questions/198460/rfc822-style-sources-list-yields-e-type-types-is-not-known [14:45] RonaldsMazitis: right, so the last time mysqld actually ran was 13:15, 4.5 hours ago [14:46] so why it does not run now [14:46] 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] 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] 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] tomreyn: any ideas on this apparmor/mysqld issue on 16.04? I think I'm missing something [14:48] http://paste.ubuntu.com/p/TsyYZnY2g8/ [14:49] TJ-: will take me a while to catch up. === charolastra_ is now known as charolastra [14:50] 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] 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] tomreyn: we created /etc/mysql/conf.d since then [14:52] JimBuntu: I found this link and it doesnt seem to make a difference [14:52] https://askubuntu.com/questions/916009/mysql-wont-start-because-of-apparmor [14:53] maybe I need to add [14:53] /proc/*/status r, [14:53] /sys/devices/system/node/ r, [14:53] /sys/devices/system/node/node0/meminfo r, [14:53] 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] TJ-: i'm not very good with apparmor, but reading up on your links now. [14:54] tomreyn: I think this is now mysqld corruption due to running out of disk space earlier [14:54] 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] RonaldsMazitis: check if mysqld added newer timestamped log-files: "pastebinit <( sudo ls -latr /var/log/mysql )" === Dreaman is now known as Blade [14:55] bieb: is the laptop using Wayland and not Xorg ? [14:55] http://paste.ubuntu.com/p/TXPZdPjHJd/ === amirpro_ is now known as amirpro [14:55] 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] RonaldsMazitis: yay, we have a new error.log! "sudo pastebinit /var/log/mysql/error.log " [14:56] http://paste.ubuntu.com/p/S9RQy9d8qZ/ [14:56] RonaldsMazitis: at this stage I'm going to guess you've got a corrupted database due to running out of disk space [14:57] RonaldsMazitis: that's strange, the timestamps are 14:56:07 [14:57] https://ghostbin.com/paste/k9m32 <- I can't ssh in via wireless. [14:58] RonaldsMazitis: seems there's another mysqld running! "pastebinit <( ps -efly | grep mysqld)" [14:58] http://paste.ubuntu.com/p/dt8Jdx3kZd/ === capella|away is now known as capella [14:59] TJ-: not a laptop.. M710s sff desktop [14:59] mysqld likes to log to /var/lib/mysql/ if it fails to start up fully [14:59] RonaldsMazitis: try this "sudo systemctl stop mysql; sudo kill -TERM 15717" then "pastebinit <( ps -efly | grep mysql )" [15:00] tomreyn: /var/lib/mysql? [15:00] TJ-: or whereever the it thinks its data directory is, yes [15:00] -the [15:00] http://paste.ubuntu.com/p/97R8s2xvbk/ [15:02] RonaldsMazitis: darn! there's the problem, you've got several installer related processes running! [15:02] 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] how and why [15:02] RonaldsMazitis: disk space [15:03] 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] RonaldsMazitis: come back and tell us if its working, or not, and we can carry on if needed [15:04] uuh, not a nice situation there. [15:04] i agree on the reboot [15:04] tomreyn: i should have checked the process list earlier [15:05] so should they have [15:05] tomreyn: got a nice collection of about 25 pastebins though :p [15:06] don't worry, there's plenty of space left on the internet [15:06] hello [15:06] has anyone in here compiled a static bindary of PHP ? [15:06] my current play is to put: 2 * * * * root ping -I wlan0 8.8.8.8 into crontab to keep the wifi alive.. :/ [15:08] Simonious, is that working for you? It sounds like WiFi hasn't been activated until after log-in [15:09] JimBuntu: it's worse than that, wifi isn't activated until after I perform an outgoing connection or ping using that adapter [15:09] JimBuntu: I don't yet know if the cron solution is working, I've just implimented it. [15:10] RonaldsMazitis: so the mysql server runs on the same computer you're chattting from? [15:10] tomreyn: hopefully silence is a good sign :) [15:11] TJ-: i would think RonaldsMazitis is investigating the current state [15:11] Simonious, I don't think the cron task will work unless you only need it to run once per hour [15:12] JimBuntu: I don't know how often it needs a kick in the pants [15:12] Simonious, in your network manager GUI, if you edit the connection, does it show it's enabled for all users? [15:12] JimBuntu: looks like I can make a cron job run every 5 minutes if I want [15:13] JimBuntu: I don't trust/use the GUI (but yes, it does) [15:13] 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] TJ-: I restarted [15:13] now I need to restart installation or what? [15:13] now I need to restart installation or what? [15:13] RonaldsMazitis: is mysqld running? "systemctl status mysql" [15:13] RonaldsMazitis: so the mysql server runs on the same computer you're chattting from? [15:14] yeah [15:14] it is runnin [15:14] RonaldsMazitis: and you still need to address the lack of free disk space reported by "df" [15:14] 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* === randomlife is now known as Guest78171 [15:14] 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] https://paste.ubuntu.com/p/YybF64JGfb/ [15:14] 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] RonaldsMazitis: looks full to me [15:15] I have 4 gb free on home dir [15:15] RonaldsMazitis: so now your task is to free up some space on the root file-system [15:15] how [15:15] RonaldsMazitis:normally you'd have a separate /var partition or /var/lib/mysql for mysql [15:16] RonaldsMazitis: is there actually any daa in mysql that you want / need to keep? [15:16] *data [15:16] 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] so I need to delete programms? [15:17] 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] 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] Simonious: you've confirmed it is in /etc/NetworkManager/system-connections/ as "psk=...." ? [15:17] TJ-: yes [15:18] Simonious: great. This is 18.04 yes? [15:18] TJ-: yup [15:18] 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] Simonious: let me look at the source-code, see what changed recently [15:18] nice [15:19] I deleted another file for 1,9 gb [15:19] now it shows 99% [15:19] Simonious: hmmmm, in the changelog: "+ Install a config file to enable WiFi powersave" [15:20] Simonious: that sounds like it could cause this [15:20] Simonious: have you recently rebooted that PC? I want to get a recent log of the boot-time actions of NM [15:21] RonaldsMazitis: you could also reduce the reserved blocks to 2% with "sudo tune2fs -m 2 /dev/sda1" [15:21] 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] videos [15:22] lol [15:22] tomreyn: no, not mysql, I had the directory list earlier [15:22] /dev/sda1 611284200 573527016 25317532 96% / [15:22] now [15:22] 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] should myslq now work? [15:23] 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] TJ-: pm me with the activies you want me to perform please [15:23] so now I gotta install-fixed? [15:24] sudo apt-get --fix-broken install [15:24] ? [15:25] Simonious: I don't do PMs, support is in the channel so others can contribute [15:25] RonaldsMazitis: no, why? is "apt-get" reporting some error? [15:25] now it installs [15:25] yeah it installed mysql server [15:26] RonaldsMazitis: you might find "sudo apt clean" might help reduce space [15:26] TJ-: you are looking for log? [15:26] now I have 24 gb [15:26] TJ-: with or without the cron kludge? [15:26] free space [15:26] Simonious: "pastebinit <( tail -n 2000 /var/log/syslog )" [15:26] TJ-: by the way the cron kludge failed - my wifi connection via ssh has stopped being connected :/ [15:26] Simonious: I just want to see what NM is doing before user loig-in [15:27] RonaldsMazitis: as a result of apt clean? [15:27] 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] Simonious: have you considered it may be RF interference meaning the wifi can't get a quality link ? [15:27] RonaldsMazitis: ah no you had those before [15:27] still 24 [15:28] now I gotta start the server [15:28] Simonious: if there are other, more powerful, APs in the same area on overlapping channels. You can check with "sudo iwlist scan" [15:28] how do I restart server now [15:28] RonaldsMazitis: unless you set it not to start automatically, it will already be running [15:28] TJ-: hmm.. we are running a mesh and we aren't in a town, there isn't much besides us here. [15:28] apache is runnng [15:29] RonaldsMazitis: "sudo systemctl reboot" [15:29] TJ-: actually there isn't any wireless besides us here at detectable levels. [15:29] omg [15:29] database is vanished [15:29] Simonious: maybe there's an issue with the mesh? what's the signal quality when the connection is working ("iwconfig ") [15:30] I logged in phpmyadmin [15:30] Simonious: is the interface in ad-hoc mode or STA ? [15:30] RonaldsMazitis: /var/lib/mysql is empty? [15:30] nop [15:31] RonaldsMazitis: well, so it's still there. [15:31] 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] yes [15:31] tj https://ghostbin.com/paste/jypns [15:31] but the backup is week old [15:31] sucks [15:31] TJ-: I'm not sure on ad-hoc or STA, how do i check? === synapt is now known as nate [15:31] Simonious: -57dBm looks OK, but the Invalid Misc count, if it grows rapidly, could be pointing to an issue [15:32] TJ-: it's up to 67 now [15:32] Simonious: "mode: managed" means STA mode (client of an AP, so not a true mesh) [15:32] 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] *job [15:32] 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] TJ-: yeah, endpoints aren't part of the mesh, the mesh is just an AP mesh [15:33] Simonious: OK, I've built mesh networks so it means something very different to me :) [15:33] TJ-: that's fair [15:33] TJ-: we've got a mesh of APs, it works okay. [15:34] 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] up to 68 invalid misc [15:34] RonaldsMazitis: ping me later if you'd like to discuss how to configure your mysql server more resiliently [15:34] Simonious: APS using WDS to link together you mean, to provide an area network on the same BSSID ? [15:34] TJ-: I don't know those details I guess [15:35] 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] TJ-: it is one ESSID no matter which mesh node you are connected to [15:35] TJ-: and I can walk around and the nodes will hand me off [15:35] Simonious: so I'm still thinking its either some radio interference source, or the power-saving of the wifi device [15:36] Simonious: right, that's what APs are supposed to do when they're advertising the same BSSID [15:36] Simonious: the logs are your best resource for solving this boot-time issue [15:36] 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] TJ-: I'm not great at analyzing logs.. [15:36] TJ-: .. or even finding them in many cases [15:37] how long can 14 mb sql file import? [15:37] 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] Simonious: "pastebinit <( tail -n 2000 /var/log/syslog )" [15:38] I never knew there needs to be specific partition just for mysql [15:38] TJ-: if I'm going to share that log, I'd prefer to keep it private [15:38] Simonious: everything in there is pretty standard, it doesn't reveal passwords or such. [15:38] 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] TJ-: IPs I just don't want to invite any abuse [15:41] Simonious: your IP address is already visisble [15:41] ok, so I got my database back [15:42] it's just 17 days old [15:42] 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] I must take copy's more often, because this would be very bad as it is. [15:42] 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] 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] RonaldsMazitisif the data is relevant, you probably want to take nightly backups or run a cluster. [15:43] TJ-: I'm not willing to publically share that log, I'd email it to you. [15:43] TJ-: I know that isn't much better than public, but there it is. [15:44] Simonious: sorry, that's not how we do support here. We share in the channel so everyone can contribute. [15:44] TJ-: I understand, I'm just not going to share internal network details. [15:44] RonaldsMazitis: ...a cluster with a mysql server which is dedicated to getting backups out of it. [15:45] TJ-: here is an interesting line from that log: Aug 7 08:52:20 BS-1 NetworkManager[22234]: [1533649940.6532] device (wlan0): state change: activated -> deactivating (reason 'unmanaged', sys-iface-state: 'managed') [15:46] RonaldsMazitis: another option is to run backups live without much locking if you use LVM snapshotting and innobackupex to backup. [15:46] this can be done on a single node, too [15:46] getting normal sql files for my project works [15:46] I will just do them more ofter [15:46] often * [15:47] 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] Simonious: that might suggeset there's something else besides NM configured to manage wlan0 [15:48] Simonious: have you been playing with netplan/systemd-networkd/ifupdown ? [15:48] hmm [15:48] Simonious: or wicd/wpa_supplicant? [15:49] TJ-: I'e been in /etc/NetworkManager/system-connections/ and /etc/wpa_supplicant.conf [15:50] 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] 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] that was 2 hours ago during some experimenting [15:52] TJ-: doesn't look like much in there: https://ghostbin.com/paste/kt5j8 [15:54] 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]: [1533641540.9641] policy: auto-activating connection 'wifi5.lan.iam.tj'" [15:56] 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] TJ-: I see 10 such messages from this morning, I assume from my swapping wireless network adapters back and forth, not sure. [15:56] TJ-: moved [15:57] 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] TJ-: shall I remove the cron kludge first? [15:57] Give it about 1.5 minutes to get started [15:57] Simonious: yeah, that'd be good, else you might have unintended interactions [15:57] TJ-: may I leave the wired connection in place? [15:58] Simonious: yes, leave it all as it is supposed to be when working perfectly :) [15:58] TJ-: ok, rebooting [15:59] 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] 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 === SimonNL is now known as SimonNL_Afk [16:01] 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] doh [16:01] aidrocsid: and the socket is used for communication [16:01] so delete the directory? [16:02] aidrocsid: indeed [16:02] ty <3 [16:02] TJ-: on reboot I was able to ssh in to the wifi IP of the target first try [16:03] TJ-: however it seized almost right away :/ [16:03] Simonious: right, so now you need to examine the logs to discover what happened [16:04] Simonious: that's syslog and kern.log/dmesg. There may be a hardware/firmware problem - I suspect the link dropped [16:04] 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] TJ-: it's a lappy, so internal monitor antenna I'm guessing [16:05] TJ-: oh odd.. it's also dropping the wired ssh sessions almost right away too [16:05] Simonious: right, notorious for problems in low-signal-strength situations. Is there a 2.4GHz alternative channel you could use? [16:06] Simonious: the drop could be because when an interface goes down (as you should see in the logs) the sshd is restarted === amirpro_ is now known as amirpro [16:07] 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] Simonious: can't beat a serial console :p [16:07] TJ-: don't normally use that with a full lappy/desktop [16:08] Simonious: most don't have UARTs nowadays [16:08] TJ-: that's more for esp/arm/atmel targets in my life [16:11] 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] 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] so does anyone here have ubuntu 18.* working with d6000 dual-monitor setup without randomly disconnecting === amirpro_ is now known as amirpro [16:15] 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] no, i had created /var/run/mysqld/ because it wasn't there, then chowned it to mysql [16:16] aidrocsid: "sudo apt install --reinstall mysql-server-5.7" (or whatever version it is) [16:16] aidrocsid: reinstall should correct things [16:16] mmkay uno momento [16:17] E: Internal Error, No file name for mysql-server:amd64 [16:18] For both mysql-server-5.7 and mysql-server [16:18] aidrocsid: which ubuntu release is it? [16:18] 18.04 [16:18] !info mysql-server bionic [16:18] mysql-server (source: mysql-5.7): MySQL database server (metapackage depending on the latest version). In component main, is optional. Version 5.7.23-0ubuntu0.18.04.1 (bionic), package size 9 kB, installed size 107 kB [16:18] !info mysql-server-5.7 bionic [16:18] mysql-server-5.7 (source: mysql-5.7): MySQL database server binaries and system database setup. In component main, is optional. Version 5.7.23-0ubuntu0.18.04.1 (bionic), package size 3189 kB, installed size 46018 kB [16:19] 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] Simonious: there'll be clues in the log files somewhere [16:19] 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] Gotta get you a cantenna [16:20] Simonious: 6Mbps link rate is low, especially for 802.11a [16:20] TJ-: here is a partial log (my screen) before it dropped me again https://ghostbin.com/paste/ydqj8 [16:21] 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] I can certainly go sit on an AP though [16:22] TJ should I just do sudo apt-get remove -y mysql-* and sudo apt-get purge -y mysql-* ? [16:22] Then like, start again [16:23] Simonious: not sure I like that "noise" value: "CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=6000" === sk_ is now known as phinaliumz [16:23] aidrocsid: might be a good idea, but backup any mysql database you have if they're valuable (/var/lib/mysql/) [16:24] I haven't managed to make any that matter yet [16:24] Just installing PHP doesn't rely on a mysql database does it? [16:24] Simonious: oh don't worry about noise=9999, that's what mine reports too [16:24] aidrocsid: no [16:24] TJ-: the AP nodes can do 25 or 30 times that or more [16:25] TJ-: clean reboot, sat on a node, got 1MB/s [16:25] Simonious: what wifi hardware is this? "lspci -nn -d::0280" [16:25] 61/70 [16:25] -49dB [16:25] 03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237] [16:26] Simonious: so it'll be using the iwlwifi driver [16:26] TJ-: I do have a wireless dongle that I can jump to if need be. [16:26] TJ-: that's the one I remember seeing [16:26] Simonious: it's worth testing with that, see if it gets a better/worse link [16:26] TJ-: I would, but this not being able to sustain a wired ssh session is killing me [16:26] TJ-: this is new too [16:27] Simonious: my gut feeling is still radio problems/interference [16:28] TJ-: to my knowledge that hasn't been an issue with other targets [16:28] * Simonious ponders [16:28] Simonious: having built a wireless ISP this stuff is very familiar to me, but without data (logs) it's still just guessing [16:30] TJ-: that doesn't really explain the wired ssh dropping like mad now [16:30] Simonious: not sure if it is related but in your log extract I see a USB device erorr report [16:30] TJ-: that's a new thing too btw [16:31] Simonious: check dmesg for device problems [16:31] TJ-: on the wired connection the very second it drops I can reconnect [16:32] TJ-: dmesg | grep error https://ghostbin.com/paste/8jux2 [16:33] I'm gonna pull that wifi dongle [16:33] 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] Any idea what's holding up the upgrade path from 16.04 -> 18.04 ? [16:35] does anyone know of a good acrobat pro alternative for linux? (free.. that can do OCR, split docs, merge annotate etc etc) - thanks!! === fabricius1 is now known as fabricius === FutureShock is now known as Gwen_Dolin [16:43] TJ everything seems to be running smoothly so far now, thanks! [16:45] hola [16:45] Does anyone here play Overwatch? [16:48] !ot | Lope [16:48] Lope: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [16:49] Okay [16:50] TJ-: nothing jumps out at me in dmesg https://ghostbin.com/paste/qd842 [16:56] 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] 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] TJ-: fresh install, old machine, formerly on 16 [16:59] TJ-: wiped [17:01] TJ-: heading out for lunch ttys [17:03] Simonious: the repeated failing USB device 6-2 looks problematic - that *could* be a USb bluetooth chip on the Intel wifi device === SimonNL_Afk is now known as SimonNL [17:08] @search distributed systems [17:09] than_: can we help you? [17:09] 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] 2/bye [17:18] 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] aidrocsid: sounds like you have the DocumentRoot set incorrectly [17:21] cristian_c, did you get this resolved? [17:22] Uff it's still not loading index.php correctly [17:25] Where to report a bug night light related? [17:25] 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] Furai: can you tell your whole story about it to the channel? perhaps an existing bug exist? [17:26] 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] Maybe it stopped updating these times and over time it became more and more apparent. [17:27] So might be not noticeable directly after disabling it. [17:30] Hello i new in ubuntu any good book to start ? [17:30] !manual | jafet [17:30] jafet: The Ubuntu Manual will help you become familiar with everyday tasks such as surfing the web, listening to music and scanning documents. With an emphasis on easy to follow instructions, it is suitable for all levels of experience. http://ubuntu-manual.org/ [17:31] Thanks [17:31] jafet: we have also !uwn newslettre [17:34] how i can check newslettre [17:34] !uwn | jafet here [17:34] jafet here: The Ubuntu Weekly Newsletter may be found at: https://wiki.ubuntu.com/UbuntuWeeklyNewsletter === kallesbar_ is now known as kallesbar [17:35] Thanks a lot for your help! [17:40] 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] Nivex: There is a bug ticket currently being worked on for the LTS-to-LTS upgrade path. [17:41] what's the bug ID? [17:42] i'm really bummed, my second monitor rotation stopped working after `apt-get upgrade` [17:42] are there any known current issues about nvidia drivers and monitor rotation? [17:42] there are a lot of google hits from like 2012 and 2016 [17:42] but for me it was working until today === SimonNL is now known as SimonNL_Afk [17:44] iceiceice: is the system using Xorg or Wayland? [17:44] its ubuntu mate 16.04 [17:44] i think i'm use xorg but i'm not sure [17:44] iceiceice: yes, so you could use the command-line tool "xrandr" to try to do the rotation manually [17:45] iceiceice: that might give you useful error messages [17:45] Nivex: trying to track it down [17:46] pragmaticenigma: cool, thanks. [17:46] 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] coz_: unfortunately not [17:46] coz_: have you foubd any ideas? [17:46] *found [17:47] cristian_c, damn, I haven't been able to come up with anything..stick around, someone's bound to know a solution [17:47] I don't know [17:48] Nivex: I believe this is one of the tickets: https://bugs.launchpad.net/ubuntu/+source/gnome-menus/+bug/1766890 [17:48] Launchpad bug 1766890 in ubuntu-release-upgrader (Ubuntu Bionic) "package gnome-menus 3.13.3-6ubuntu3.1 failed to install/upgrade: triggers looping, abandoned" [Undecided,Triaged] [17:48] 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] thanks, i tried that earlier but i didn't get any error message [17:48] i guess its just a driver problem [17:48] It needs to be the user password or the database password? At any rate i've tried both [17:48] SimonNL_Afk: It's really more of a big deal in this channel with the _afk. [17:48] im just going to twist my monitor i guess [17:52] pragmaticenigma: alrighty, thanks. Would be nice if they had some way to communicate "These are the blockers for the current upgrade" [17:53] 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] I want to see the mounting options, change them, etc. [17:58] 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] !mount | jnewt [17:58] jnewt: mount is used to attach devices to directories. See also https://help.ubuntu.com/community/Mount [17:59] 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] 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] Nivex: It's caution for enterprise clients [18:01] lotuspsychje, this seems like a pretty basic thing, is the command line stuff really required? [18:02] jnewt: what layout is your hd you need mounted? [18:03] lotuspsychje: if i right click on it and choose properties, filesystem type says fuse, 2.1gb used, 42gb free. [18:04] jnewt: does it mount when you click it in nautilus? [18:07] 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] So now I've got Wordpress up and running but I'm getting a 403 on my index.php [18:08] lotuspsychje, that's just by going to Files and then Other Locations and then the disk [18:09] when i search for nautilus, i get Files, same thing? === jstein_ is now known as jstein [18:13] I need help connecting a USB controller to my laptop [18:15] 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] 18.04 MATE btw [18:17] jnewt: try fstab add perhaps? [18:17] !fstab | jnewt [18:17] jnewt: The /etc/fstab file indicates how drive partitions are to be used or otherwise integrated into the file system. See https://help.ubuntu.com/community/Fstab and http://www.pclosmag.com/html/Issues/200709/page07.html and !Partitions [18:18] 16.04* [18:26] lotuspsychje: somethings not working right then. my fstab has the rw option, but is being mounted ro [18:29] 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] oh I am using Ubuntu 18.04 LTS [18:36] ironpillow: is the upstream link to the Internet using wired or wireless? === ghoti_ is now known as ghoti [18:38] TJ-: wired and it has static ip [18:39] 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] ironpillow: if it's dropping check dmesg or /var/log/kern.log for clues [18:40] TJ-: ok checking right now [18:40] ironpillow: also, if it uses NetworkManager, /var/log/syslog [18:40] Testing [18:40] ironpillow: otherwise systemd-networkd logs via journalctl -u systemd-networkd [18:41] pehaps there's a .deb game I could run? [18:42] Testing [18:42] Guest18317: it works, we see you [18:42] DynV: you want to play a game without internet on a live? [18:43] yes [18:44] DynV: play sudoku? [18:45] like UFO: Alien Invasion [18:45] or freeciv [18:46] Speaking of games, I have an ubuntu install without a window manager - what are some good terminal games? [18:46] TJ-: is dmesg newly written every time ubuntu is rebooted? [18:47] Testing [18:48] lotus can you help? [18:49] TJ-: I see this error in dmesg: EDAC pnd2: Failed to register device with error -22. [18:49] !info cowsay | dev_u_random [18:49] dev_u_random: cowsay (source: cowsay): configurable talking cow. In component universe, is optional. Version 3.03+dfsg2-4 (bionic), package size 17 kB, installed size 87 kB [18:49] DynV: if you want to game, its best you install ubuntu physically on your harddisk [18:52] any lubuntu users out there? [18:54] Quackery: do you have a support question? We don't tend to conduct surveys here. [18:54] TJ-: sorry i got disconnected. if you messaged me, could you please send the message again. thank [18:54] thanks [18:55] Quackery: see the #lubuntu channel [18:56] is it easy to set up filesharing between ubuntu 16.04 & lubuntu 18.04 when running gufw (firewall) [18:59] is there a way to game using a 2nd USB stick to save the state in? [18:59] including installed stuff [19:02] 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] *will [19:03] DynV: is there a reason you dont want to install ubuntu on your harddisk? [19:04] I would if I had one. [19:04] it broke. [19:05] DynV, I'm doing the same thing for one of my imac's that the hdd0 is dead [19:05] DynV: a harddisk is not really expensive anymore these days, consider a new buy? [19:05] so yah I'd like a livedvd so I can clone a install and boot up on usb === bildramer1 is now known as bildramer [19:08] dono if a device don't support USB boot, consider getting plop. [19:10] 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. === kenrin is now known as xamithan [19:14] 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] ironpillow: is this on ubuntu server? [19:20] lotuspsychje: yeah [19:20] ironpillow: join #ubuntu-server you could follow up there too if you like === Richard is now known as Guest93232 [19:21] lotuspsychje: thanks. will do [19:22] 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] ironpillow: not following much server bugs myself sorry, perhaps try !netplan or #ubuntu-server [19:23] lotuspsychje: cool. thank you! === SimonNL_Afk is now known as SimonNL [19:53] is Precise = v12, Trusty = v14, Xenial =v16? [19:53] are they names for the versions? and if so, what's the name for 18? [19:58] jayjo_: 18.04 is bionic, there is no 18 (or 12, 14, 16) [20:14] sure that is easy to find [20:15] 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] core7, explain "My wifi icon does not get static" ?? [20:25] Does anyone know if there's a wildcard for error_page in nginx [20:26] I wanna redirect all errors to use the same custom page [20:28] 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] Why do you recommend not doing that [20:28] so you need to name them all, there is no 'wildcard [20:28] Is there not a regex or something that could do that [20:28] Ah, that's a bit lame [20:28] copy paste.. [21:02] oerheks: It was doing the animation as if it was conecting. I changed the wifi usb adapter and it looks like that worked === xet7_ is now known as xet7 === riotz is now known as to_hell_with_tho === to_hell_with_tho is now known as ScrewTheSpammers [21:11] 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] to_hell_with_tho about what [21:18] 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] I've also installed the linux-firmware package, I'm on ubuntu [21:18] ubuntu 18.04 [21:20] linuxthefish: that's a usb dongle? [21:20] yeah tomreyn [21:20] linuxthefish: whats the device id per lsusb? [21:21] 0cf3:9271 would be default [21:22] tomreyn "Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n" [21:22] 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] http://paste.debian.net/plain/1037092 is the lines in syslog since plugging it in [21:23] https://github.com/qca/open-ath9k-htc-firmware should have the latest firmware, but i suspect thats in 18.04 already [21:24] yeah tomreyn it's already in /lib/firmware/ath9k_htc/htc_9271-1.dev.0.fw [21:27] linuxthefish: but apparently loading this failed [21:28] linuxthefish: i'm just trying to understand whetehr the upowerd message is relevant. it refers to the same usb connector [21:28] linuxthefish: can you try connecting it on a different usb port? [21:28] hi, can I install gstm (gnome ssh tunnel manager) on xfce? [21:29] linuxthefish: ...and see whether the messages change. you can use "dmesg -w" to watch dmesg === beaver_ is now known as beaver [21:29] thanks tomreyn different USB port did the trick! :D [21:29] thanks so much for your help, I spent ages troubleshooting this but guess I should have tried the simple stuff first [21:29] :) [21:30] maybe one of them is usb2.x while the other is usb3.x [21:33] 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] https://packages.ubuntu.com/search?keywords=gstm&searchon=names&suite=all§ion=all why is this package not available to 18.04? [21:38] http://changelogs.ubuntu.com/meta-release-lts <- i guess it isn't on offer yet [21:40] FreeBDSM: Because stretch dropped it? [21:41] Or sid rather. [21:41] why? [21:41] FreeBDSM: no idea. that's what it looks like. [21:42] Found it. [21:42] FreeBDSM: https://tracker.debian.org/news/937602/removed-12-81-from-unstable/ [21:42] Because Debian dropped it, Ubuntu also dropped it. [21:43] ryuo: that page basically says that the util got some fix and became more stable... and thus got dropped? [21:43] FreeBDSM: no [21:43] there's no maintainers for the project [21:43] "We believe that the bug you reported is now fixed; the following package(s) have been removed from unstable" [21:43] and it relies on a package which is unsupported/obsolete intended to be dropped [21:44] 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] and thus the bug report was "fixed" by removing the package [21:44] oh [21:44] okay [21:44] if you spend enough time w/ dbts, you'll get used to that [21:44] or you can (like me) remain irked by the totally quirky verbiage they use :-) [21:44] I doubt I will [21:45] 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] I don't like the style === mike_ is now known as Guest56313 [21:45] I got used to github issue tracker / bugzilla. Even shitty jira would be fine. [21:45] * timeless chuckles [21:45] but this... what are we, in html of 1990? [21:45] no, dbts is email based [21:45] exactly [21:46] email-based tracking system [21:46] the fact that there's an html archive is a courtesy... [21:46] ridiculous [21:46] sound nor properly working on my system [21:46] go fidonet, lol [21:46] need some help [21:46] * timeless shrugs [21:46] anyway,... ryuo any idea on when the meta-release-lts file will get updated? [21:47] 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] it appears that i'm somewhere between 2 and 3... [21:47] Can someone help me? [21:48] i newly setup my system on ubuntu but faceing some problems [21:50] 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] 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] like https://ubuntuforums.org/showthread.php?t=2322413 but this one is really outdated. [21:51] I'm on 18.04 btw [21:52] 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] hi, i haveing problems with one computer using samba, i cant access shared disk [21:54] all compyter can do, but not mine [21:57] Akuw, run the command testparm [21:57] I can't write to a drive to which I have write permission. Can someone help me find out why? [21:59] compdoc: now? [22:00] sure [22:00] andrewh: we can try, but not without more details [22:00] no problems [22:00] tomreyn, what details do you need to know? [22:01] compdoc: https://pastebin.com/gjvpfUmB [22:01] Akuw, have you checked the permissions and ownership of the directories and files? [22:01] 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] let me see [22:02] but the only computer is one after we shutdown server and shoutdown all computers [22:02] tomreyn, what do you mean by architecture? [22:02] Akuw, you created a group named smbgrp? [22:02] yes, and all computers can connect [22:02] andrewh: output of the command "dpkg --print-architecture" [22:03] when i try to connect from computer with problem it request for user and password [22:04] tomreyn, 18.04, amd64. I have non-standard configurations or special modifications. I'm trying to write to a usb drive. [22:04] Akuw, Im not sure what the default is, but you may want to set your data shares to browseable = Yes [22:04] tomreyn, I mean I have no non-standard configuraitons or special modifications. [22:04] andrewh: fully updated? so "lsb_release -ds" actually reports that you have Ubuntu 18.04.1? [22:05] browsable = yes [22:05] its ok [22:05] remember all users can access, just one can't [22:06] 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] when smbstatus ---> 3997 1001 DENY_ALL 0x100080 RDONLY NONE /home/DATA02 [22:06] 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] !pastebinit | andrewh [22:07] andrewh: pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit [22:07] 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] andrewh: please install "pastebinit", then run "lsblk | pastebinit" and post the http address here. [22:09] http://paste.ubuntu.com/p/rPNQGGrr7f [22:12] andrewh: okay, now show: mount | pastebinit [22:12] any idea? [22:13] http://pastebin.ubuntu.com/p/wCVDKcDtgc [22:14] https://pastebin.com/4pAnw964 === Moyst_ is now known as Moyst [22:16] andrewh: what does 'id -u' return ? [22:17] 1000 [22:18] 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] yes [22:20] cannot touch '[file name]': Read-only file system [22:20] oh, good point [22:21] andrewh: can you run this: sudo mount -o remount,rw /media/andrew/20D6-CBF0 [22:22] andrewh: any output there? [22:22] no output [22:22] does this work now? "touch /media/andrew/20D6-CBF0/tomreyn; rm /media/andrew/20D6-CBF0/tomreyn" [22:23] as in, no output this time? [22:23] no errors [22:23] so it is fixed for now, but you may need to so a file system check. [22:23] you mean there might be something wrong with the usb? [22:24] there might be something wrong with the filesystem on the usb [22:24] but not neccessarily with the usb storages' hardware [22:25] maybe it was just unmounted improperly [22:25] that's possible [22:25] I was having problems copying to that usb driver yesterday [22:26] try to eject it before you pull the plug next time ;) [22:26] the operation froze and i had to forcibly eject it [22:26] it wouldn't let me [22:26] hmm if it froze while writing, this sounds more like a hardware issue [22:26] of the usb drive? [22:27] andrewh: yes [22:27] I had the same problem with two different drives [22:27] andrewh: it could be other thangs, but most likely the usb. you can test the usb using the f3 utility [22:28] hmm, different drives, were they connected to the same usb connector? [22:28] 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] i mean socket [22:28] what's a socket? [22:29] the thing you plug a usb device into. at least in my wording, there is probably a better name [22:29] hang on, let me see === mkv is now known as m4v [22:32] should control C allow me to stop cp? [22:32] mm [22:32] 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] andrewh: yes, if you are referring to "cp" in a terminal [22:34] target is busy [22:34] i tried copying again and it won't finish [22:34] andrewhso cancelling doesnt work? [22:34] is there a way to cancel other than ctrl C? [22:35] you could kill the process but thats not normally needed [22:37] I can't find the process [22:37] i did ps -ef and I don't see it listed [22:37] ps auxw [22:38] it's not there [22:38] nothing since 18:15 [22:39] i guess i'd reboot [22:39] clearly something is wrong though [22:39] it's not just that usb stick and it's not just that port [22:39] I had the same problem yesterday [22:40] If I reboot and try again, I'll have the same problem. I've tried both cp and copy and pasting. [22:40] andrewh: can you 'dmesg | pastebinit' before you reboot? [22:41] this will post your kernel logs, which may (most likely will) provide more information on what's wrong [22:41] http://paste.ubuntu.com/p/TB3W5W5Kqt [22:41] oops, type [22:41] typo [22:42] http://paste.ubuntu.com/p/Tb3W5W5Kqt [22:42] ok, you can reboot it now. it'll take some minutes to read === mkv is now known as m4v [22:44] 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] oh, my ssh-agent is running in wrong context (it is not parent to my ssh-connection), that's why [22:50] damm i can't access [22:53] andrewh: this USB stick is a "Cruzer Blade", right? [22:53] yes [22:53] andrewh: and you only have this one connected? [22:53] now i just stuck in four [22:53] (or had) [22:53] i had up to three [22:53] i can't remember how many I had in at a time, but at least two [22:54] I think it was just two [22:54] one wasn't a cruzer blade [22:54] can you run "dmesg -w", then remove all usb devices you don't strictly need to have connected? [22:54] then ctrl-c the dmesg and post its output to https://paste.ubuntu.com [22:54] ok, i'll remove all but the first i tried [22:55] that does nothing [22:55] ctrl-c doesn't copy in the command line [22:56] use ctrl-shift-c [22:56] control-shift-c does [22:57] nope [22:57] it just quits [22:57] what quits? [22:57] dmesg [22:57] you're copying while it's still running? [22:58] andrewh: that's what tomreyn meant, Ctrl+C to interrupt/terminate dmesg :) [22:58] andrewh: *then* copy the lines shown on-screen to a pastebin [22:58] ohh ok [22:58] which lines do you want me to copy? All of it? [22:58] yes, but i need the output, too, so it's ctrl-c, then ctrl-shif-c after highlighting the text to copy [22:59] andrewh: form the first time it says something about USB disconnect [22:59] andrewh: or just do "pastebinit <( dmesg | tail -n 250 )" [22:59] so you mean the new lines after i disconnected the usb sticks? [22:59] andrewh: or just use TJ's command ;) [22:59] andrewh: from when you started disconnecting them, yes [23:01] https://paste.ubuntu.com/p/DyYsZw8sMn/ [23:01] 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] andrewh: please "umount /dev/sdc1" [23:02] andrewh: those 3 usb devices you just disconnected were on usb 1.1 [23:03] no [23:03] hang on [23:03] i thought i had 8 usb 3 ports and 4 usb 2 ports [23:03] usb 3 ports are blue right? [23:04] andrewh: yes [23:04] andrewh: yes, they are, but linux doesn't see any 3.0 ports. or i didnt [23:04] 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] that's weird [23:05] i'm blind [23:05] 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] andrewh: so if your USB storage devices are USB2 try only using them in the USB2 ports, and same for USB3 devices [23:06] ok, i think usb drives i've had problems wtih are usb 2 connected to usb 3 mostly [23:06] however, there was one that was usb 2 connected to a usb 2 port i think [23:06] it still had a problem [23:07] in dmesg, it says usb 3-11, usb 3-12, and usb 3-14, does that mean they're usb 3 ports? [23:07] because usb 3-11 is black and the others are blue [23:07] 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] andrewh: no, usb 3-11 means USB bus 3, device 11 [23:08] andrewh: try "lsusb" to see [23:12] i'm going to reinstall [23:12] huh [23:12] ok [23:13] thanks for helping me out there TJ- [23:13] 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] could be, i don't know how to diagnose this easily [23:14] 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] surely they have two usb storages with unclean vfat fs on them [23:15] and i guided them to mount one of them r/w, which i should not have done [23:15] I thought the FS won't mount rw if it's dirty? [23:16] it will mount ro then [23:16] for vfat [23:16] with udisks [23:20] I thought the FS drivers enforced it [23:20] only for journalled FS, i think [23:20] will have to play about with some [23:22] 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] 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] still a fascinating way to spend your day, i agree. [23:30] 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] 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] :)) [23:35] 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] i put "modulename param1=val1 param2=val2" in /etc/modules [23:35] the module is a dkms install [23:36] de-facto: usually options go in via /etc/modprobe.d/ files [23:37] de-facto: but /etc/modules should be honoured too [23:37] de-facto: which Ubuntu release is it? [23:37] 18.04 [23:37] at least its symlinked from /etc/modules-load.d [23:38] de-facto: for loading during initramfs, it's /etc/initramfs-tools/modules [23:42] My name is homage to The Ubuntu [23:43] 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] rootweiler: can we help you with something? [23:47] rootweiler: O [23:47] I am struggling to sleep .. ? [23:49] rootweiler: this is an ubuntu support channel [23:51] you need to pay homage in the privacy of your place of worship [23:52] from what i can read /etc/modules should be working for dkms modules with parameters [23:53] 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] 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] de-facto: that looks correct. So we need to figure out if systemd is actually ignoring the file! [23:57] TJ- at least something goes wrong with it "ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)" [23:58] TJ-, yes it says "Failed to find module 'v4l2loopback devices=1 video_nr=0 card_label="loopback0" exclusive_caps=1'" [23:58] so its in another location? [23:59] de-facto: it's from the kmod package, and "systemctl status kmod" here shows me several modules ere loaded [23:59] its in /lib/modules/4.15.0-30-generic/updates/dkms/v4l2loopback.ko [23:59] maybe it takes the whole params as pathname?