[00:03] what is prefered way of backing up on system to the harddisk on another? [00:03] Big tar files? [00:04] (if you want to avoid unnecessary fragmentation) [00:05] What is a proper way to read only mount something? I tried in my fstab but it's not working [00:05] blahboybaz: what'd you put in fstab? did you unmount/remount after editing it? [00:06] if you are root you can simply mount -o ro [00:07] beefman: https://pastebin.com/eNWDzGmj === mnemonic is now known as Guest44184 [00:07] Not sure if that's good info / sources [00:08] beefman: Yeah but I want to persist it somehow [00:09] beefman: So the source directory is a git repository of a local project (in both cases it is) and the targed directory is in the web root of apache where I am serving it to my browser (all locall / everything local). [00:10] blahboybaz: maybe look at bind mounts and/or overlayfs [00:11] I havent' been dealing iwth fixing it properly because I just loath doing sys admin stuff like this. Seems to me like a massive undertaking (for a guy like me) [00:11] blahboybaz: also, make sure your directory mounts are AFTER the filesystem mount in fstab [00:11] leftyfb: They are the last 2 lines at the end of fstab file [00:12] does order matter though? [00:12] blahboybaz: are they bind mounts? [00:12] leftyfb: lemme get the file pasted [00:12] can anyone help me the one step farther I need? from my pastebin with the kernel update - https://pastebin.com/9XvkVkif .... I need to solve the missing /usr/src/pfring-7.7.0/ (I once had paid for ntopng, but removed it some time ago... not sure perhaps something didn't clean up [00:13] there's no fstab in there blahboybaz [00:13] yes you mount your hardware first then your bind mounts [00:13] bind mounts are easy, just none bind [00:13] FaTaL_G: you'll have to seek support from the pfring project [00:14] leftyfb, I dont use it anymore, Im on mainstream packaged from distro [00:14] Maybe you can see something wrong in here? https://pastebin.com/VRHJvTpq [00:14] FaTaL_G: then properly remove it [00:14] does that matter? [00:14] ^ that's my current fstab [00:14] ok [00:15] beefman: leftyfb: ^ ? [00:16] blahboybaz: https://unix.stackexchange.com/a/486862 [00:17] I see a word "none" in one of my lines and it does not look like it belongs there (idk) [00:17] blahboybaz: it belongs. Please read and follow the link I provided [00:22] leftyfb: So I should have "x-systemd.requires=/data,bind" for options? What parts of that pertain to my sitch? What would my rvalue be in my case? [00:24] but it looks like he's mounting some root (or charoot) dir to a subdir of his local root. And he's mounting a network file system's root to a local subdir of his local root. With me it is subdir to subdir and both local. [00:24] blahboybaz: https://pastebin.ubuntu.com/p/6s3XgbYMB7/ [00:25] ohhhhh [00:25] I see said the blind man [00:25] I have to make sure root "/" is mounted BEFORE the other stuff (like we said before). Now I see how that code does that. [00:25] thanks [00:26] blahboybaz: if you read the solution, it explains that the issue with systemd based OS's it doesn't mount fstab entries serially anymore, they all get mounted in parallel. Specifying the x-systemd.requires= sets a dependency on the parent filesystem, in your case that's is the root filesystem or "/" [00:28] leftyfb: yeah, I just didn't get what they were ooing to fix it (to apply it to my situation) until I saw the "/" rvalue in what you pasted [00:28] makes sense now === semeion_ is now known as mnemonic [00:35] I got 30.1GB of my main HDD and 16.8 available. Is that or my RAM the reason switching between multiple applications is getting slow? [00:36] My laptop maxes at 8GB RAM [00:43] jescis: specs of laptop? [00:46] pavlos: Dell Inspiron 11 3180 30.1GB internal HDD, 8GB RAM and running Ubuntu 20.04.1 LTS. [00:49] jescis: maybe your spinning hdd is slow. Can you upgrade to an ssd? [00:53] hm small HDD no offense [00:53] dual-boot? [00:53] pavlos: idk, maybe :\ [00:53] sounds slow [00:54] jescis: you should have gnome-disks, this allows you t obenchmark the disk and see read write speed and access [00:55] Arch would thrive on the disk, but idk about Fecal Fossa. [00:55] edoneerf: I got rid of Windows 10 for ubuntu because it crashed twice! [00:55] win10 on 30gb disk sounds no good [00:56] jescis: sure you got the whole disk mapped out? Might be a recovery partition in there [00:56] edoneerf: I think that's just the usable space, 32GB is the capacity [00:57] should be enough for an Ubuntu install. [00:57] unless I'm ten years out of date [00:57] leftleg_: No dice brother. I just did a restart and same issue. I noticed that the mounts show up in /proc/mount output in different places in the output beofre fixing manually than after fixing manually.. https://pastebin.com/N0Xzqs4F [00:58] I'm running Ubuntu 18.04 in a Debian testing chroot [00:58] plain old chroot [00:58] but the shell in chroot could not find its controlling tty [00:58] typing tty in the shell only gets me an error [00:59] 'not a tty' [00:59] edoneerf: Also I wiped the hard drive when I installed ubuntu [00:59] ever considered a better distro? [01:00] Slackware? [01:00] I'm typing from an Ubuntu 20.04 server so it seems to work [01:04] the top was 14.x imho. 12.x was even better. the snap bullshit is whatever it is. no offence. [01:04] LTS all the way. But these new times are unsettling. [01:06] edoneerf, opinions belong in #ubuntu-discuss or #ubuntu-offtopic, this is a support channel/room [01:06] I got you [01:06] terribly sorry === zbenjamin is now known as Guest76663 === zbenjamin_ is now known as zbenjamin [01:18] When I installed ubuntu I chose to dedicate the whole HDD to ubuntu! [01:20] edoneerf: looks like it works according to here: https://linux-hardware.org/index.php?id=ide:dell-wr202kd032g-e70290f5 [01:20] jescis: thumbs up [01:21] looks certified somehow for 20.04 [01:27] how do i determine which gcc version was used to compile the kernels at https://kernel.ubuntu.com/ ? the nvidia driver wants me to compile with the same version as that used to compile the kernel, and i get dependency headaches in 20.04 with gcc-10_10.2.0-5ubuntu2 (which matches the one used to compile kernel 5.8.7 on the ppa) [01:33] beefman: if you're using the stock kernel, then you're using the correct version of gcc to compile [01:33] leftyfb, thanks - I was able to remove the garbage leftover from ntop/pfring specific /usr/src builds and cleanly got the new 5.4.0.47 built/upgraded. The payware version of ntop was not worth the cost. [01:38] leftyb: but i want to use one of the mainline kernels [01:38] newer i mean [01:59] edoneerf: btw the internal hdd in the Inspiron 11-3180 is an eMMC HDD! [01:59] all right [02:00] seems to work? [02:01] jescis: did you test it with gnome-disks? [02:04] pavlos: I did [02:04] and [02:05] how much was read and access ? [02:07] emmc transfer rate close to 400 MB/s but SSD could go to 2000 MB/s [02:09] read: 177.5 MB/s(100 samples) , Average access time 0.33 msec(1000 samples) [02:10] https://www.itechguides.com/emmc-vs-ssd/ see summary comparison table [02:13] on my system's SSD(samsung 500GB) ... Read 400 MB/s access 0.1 ms [02:17] pavlos: using what parameters? I went with the default transfer rate 100, 10 MiB, Access Time 1000 # of samples [02:20] used the same default parms [02:23] pavlos: this is the model I have: Dell WR202KD032G E70290F5 (90014a) [02:24] the eMMC model? I dont need it, just suggesting that an SSD would be faster than your eMMC [02:25] Oh [02:25] you wrote, your system is slow (ubuntu 20.04) but you have 8 GB ram [02:29] I wasn't sure if it was because of the hard drive or the RAM that is causing the slowdown. Because I'm running multiple applications at the same time! [02:30] you can use the command top in another terminal to see the processes running, %cpu, ram [02:34] pavlos: I'm running two instances of vlc, one instance of Google Chrome, and a terminal window [02:36] with 12 tabs open in Chrome [02:37] top will show you ram used, ram avail. (4th line) Swap use on 5th line [02:38] top -b -n 1 > top.txt ... cat top.txt | nc termbin.com 9999 ... provide the link === gabkdlly_ is now known as gabkdlly [02:46] pavlos: I accidently turned off my wifi! :-D [02:48] to reiterate, what's that site that you all use to paste images to share here? I took a screenshot of top [02:49] its either imgur or pastbin [02:49] leftyfb: No dice brother. I just did a restart and same issue. I noticed that the mounts show up in /proc/mount output in different places in the output beofre fixing manually than after fixing manually.. https://pastebin.com/N0Xzqs4F [02:50] Been trying to figure this out but not seeing why that doesn't work [02:50] typo: pastebin [02:56] for images use imgur.com [03:04] pavlos: https://i.imgur.com/9yOliTJ.png [03:14] pavlos: does that help? Seems my memory is being used quite a bit [03:15] right, you got 500 free, most is used/cached [03:16] can you up the ram in this laptop? [03:17] pavlos: max is 8GB, was 4GB [03:18] ok, VLC tends to use a lot of ram -- you're running two VLC plus chrome with 12 tabs. Do you need all of them at the same time? [03:19] my suggestion for an SSD would not help since your system maxes on ram [03:20] right, maybe close chrome until I need it? [03:22] you could ... again, see top after you exit chrome, it should get some ram [03:26] jescis: tweak your system to the extreme; sudo apt install preload haveged bleachbit stacer [03:26] jescis: tweak your startup items, disable unwanted systemd services, use lightweight programs [03:29] pavlos: https://imgur.com/a/Jg6O2iP [03:30] much better, you got 2.4 GB ram free [03:31] as lotuspsychje suggested, you need to tweak your system [03:37] I'm trying to use Unbound for DNS, and have this config: https://pastebin.com/WL6XV9Ep IT's working on my desktop, where fossa-dev.test is a VM. I can ping and ssh fine. I'm trying to do the same from my laptop, but am stuck. If I change the interface 0.0.0.0 and change the access-control to allow for 0.0.0.0 I can't even restart unbound! [03:42] Seven_Six_Two: does your laptop get an ip in 192.168.0.0/16 ? [03:44] pavlos, yes. Both computers connect to my home LAN [03:44] oh wait...is /16 128 addresses... [03:45] yoy may beed /24 [03:45] hmm...changed and testing. thanks [03:52] nope. I could restart unbound no problem. I realized I needed to drop and reconnect to wifi to get dns settings, but then get no response from server if I set desktop IP as the only DNS server (using network manager with DHCP address only) [03:52] I can ping the fossa-dev VM from the laptop by ip address [03:53] unbound currently isn't working for the laptop [03:53] but cannot ping it by name [03:53] correct [03:53] i get a server timeout if I have 192.168.0.3 (this desktop's ip) [03:54] I get NXLOOKUP if I use 192.168.0.3,1.1.1.1 [03:54] desktop is 0.3, laptop is s0.x, vm is 0.20 [03:54] correct [03:54] laptop is 0.97 [03:55] and unbound is running on the desktop? [03:55] yes [03:55] I can ping fossa-dev.test on desktop (and there's no hosts entry for it) [03:56] so the laptop needs to ask the desktop for the vm's info .... dig @192.168.0.3 fossa-dev.test [03:58] laptop,desktop both 20.04 ? [03:59] connection timed out. desktop is 20.04, laptop... [03:59] * Seven_Six_Two blushes [03:59] 14.04 [04:00] iirc...It's because of the video chipset being the last of a generation before Xorg and ATI both make breaking changes [04:00] if you change /etc/resolv.conf of the laptop to point to nameserver 192.168.0.3, does it resolve by name? [04:00] can you change that file by hand? I thought that was a no nop [04:00] I'll try... one sec [04:00] as a test [04:01] you need to tell the laptop for all dns questies ask 192.168.0.3 (desktop when unbound lives) [04:01] queries* [04:02] unfortunately not. It was set to 127.0.1.1 [04:03] laptop does not use systemd, right? [04:03] changing and saving did not change response from dig or nslookup. Unless I had to disconnect and reconnect again/ [04:03] no it's upstart [04:04] if you modify resolv.conf on laptop with nameserver 0.3, as the first line, then all queries from the laptop should go to 0.3 (including ping fossa-dev.test) [04:05] does laptop desktop has same domainname (.test) [04:05] you might need a "search test" in your resolv.conf [04:05] I didn't give my desktop a domain name, they just have hostnames [04:06] but the VM has a domainname? [04:06] I was going to check for unbound logs too, but I can't find any [04:06] should dump in syslog, grep unbound [04:07] nothing there [04:08] every time you start/stop unbound, there should be stats in /var/log/syslog [04:11] oh there. I restarted it and got entries. maybe the log just rotated [04:11] normally, you have /etc/init.d/unbound {start|stop|restart|reload} [04:11] lotuspsychje: can I safely get rid of the snap services? I don't need it for apt? [04:12] jescis: ubuntu desktop now relys on snaps by default, better leave snapd alone [04:12] lotuspsychje: ok [04:12] jescis: but most snap software you can choose to install/remove yourself [04:13] pavlos, I'm using systemctl [04:13] still no response for the laptop [04:14] oh right...so I'm using interface 127.0.0.1 [04:14] lotuspsychje: I was thinking if I can install through apt, then I can stop the snap services [04:15] jescis: gnome relys on some base snaps you better leave alone [04:15] like what? [04:15] jescis: df -h to see [04:15] system-resolve --status | grep DNS [04:15] Seven_Six_Two: system-resolve --status | grep DNS [04:16] Seven_Six_Two: on both [04:17] Seven_Six_Two: sorry, the command is systemd-resolve [04:18] unbound[425211:0] error: can't bind socket: Address already in use for 0.0.0.0 port 53 [04:18] if I try and listen on all interfaces, i get a conflict. Not sure what that is yet [04:18] that's why I can't restart unbound when setting interface: 0.0.0.0 [04:19] on desktop I get: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. [04:21] I did a sudo systemctl disable systemd-resolved before turning on unbound [04:21] netstat -plant | grep :53 [04:22] some pid is listening to 53 [04:23] my unbound has interface: 0.0.0.0 and access-control: 0.0.0.0/0 allow [04:23] hm. something virtual that I don't remember doing... 192.168.122.1 is listening, and it's device vrbr0 [04:23] in ifconfig [04:24] that's a bridge [04:24] hm. I'm running virtualbox in bridged mode to get a LAN IP [04:25] I don't remember reading about dns though [04:25] the VM in bridge mode got an ip from the host network [04:25] that's ok [04:26] DHCP gave the VM 0.20 [04:26] yeah. I see 3 devices in vbox config for the network adapter. enp34s0, virbr0-nic, and virbr0 [04:27] jescis: al the loop dirs in df -h are snaps, you see? [04:28] Seven_Six_Two: the VM in bridge mode is part of your LAN so it got 0.20, desktop is 0.3 and laptop is 0.97 iirc [04:28] yes. I set those IPs myself. apparently virtualbox runs dnsmasq [04:29] listens on 0.0.0.0 [04:29] vb may run its own DHCP server which in the Network tab you can disable [04:29] or something that conflicts with dnsmasq also [04:30] probalby dnsmasq binds 0.0.0.0 so unbound cannot [04:33] https://serverfault.com/questions/727998/dnsmasq-on-virbr0-libvirt-and-network-manager [04:34] I think the answer in this is what I need, but of course the link is no good... [04:42] new error! Now I don't get a timeout, I get REFUSED [04:43] https://pastebin.com/eYYHJPFS current config [05:27] I am healed! Thanks pavlos very much for your help and your time! The last hitch was using the wrong prefix (/32 instead of /24) for the access controls [05:27] that and virtualbox's libvirt binding to 0.0.0.0:53 === Asa is now known as Guest7166 [09:00] Good morning people! [09:01] morning [09:01] what is the command to download anything from Github through terminal? [09:02] sudo git clone https://gitlab.com/yournamespace/yourrepo [09:02] sweet! Thanks NerdsVsJocks [09:02] let me try [09:02] NerdsVsJocks it also install the extension at the same time? [09:03] Gh0sta you mean git itself? [09:03] I mean, I would like to download and install the extension [09:04] will this command suffice for both things? [09:04] * Gh0sta is a Noob :) [09:04] oh the gitlab you are downloading is an extension? [09:04] NerdsVsJocks yeah [09:05] can I share a link here of that extension? [09:05] oh i misunderstood you falsely,my bad, the above is if you want to work on the code of the extension [09:05] perhaps you can advise me the best way to go about it? [09:05] Gh0sta: on gitlab of that extension there is a download button [09:05] just download [09:05] and usually there is a readme [09:05] it says how to install [09:05] oh [09:05] let me check .. thanks [09:06] if there is MAKEFILE in there, then you just type sudo make all after you download and the computer will handle the rest :) [09:07] NerdsVsJocks it seems like its a ZIP file [09:07] :/ [09:08] https://extensions.gnome.org/extension/1357/notes/ [09:08] this is what I am trying to install :D [09:10] what's a good practice to install these? without making a mess [09:12] NerdsVsJocks, maybe don't use git with sudo [09:13] oh ok [09:16] Would it be safe to install the firefox Gnome Shell extension and install it that way? === ace_me1 is now known as ace_me === mateen1 is now known as mateen [09:43] bertptrs what do you mean? [09:45] Gh0sta: zip is a compressed folder you need to sudo apt-get install zip unzip [09:45] to install the software to unpack the zip [09:45] Cool thanks [09:46] Gh0sta: also take bertptrs advice and dont use sudo with the git command [09:46] once you unpacked it go to the folder and type "sudo make all" [09:46] ok, I won't :D [09:46] Thanks [09:46] is there a MAKEFILE in the folder? [09:46] wait i forgot first unzip the file [09:47] opps [09:47] go to the folder with your zip now type "unzip myfile.zip" [09:59] xbfrog: ok, boot up the live usb on the vaoi with dock attached === PowerTower_121 is now known as PowerTower_120 [10:56] What is the best way to learn and use encryption on Ubuntu? [10:56] Gh0sta: Depends on what type of encryption you want [10:57] ok, sorry was making coffee :) [10:57] encrypting data to start with [10:58] LUKS, it's built into the installer as an option [10:58] Gh0sta: you could install ecryptfs and test it out [10:58] Brilliant! thanks [10:58] that's for encrypting dirs/files [10:58] let me give it a go [10:59] EriC^^: Don't [10:59] jpds: ? [10:59] ecryptfs is a nightmare [10:59] it's the default for home encryption in ubuntu isnt it? [11:00] Yes, and I've had it destroy so many people's home folders [11:00] up and ready [11:01] xbfrog: connect to wifi and "sudo parted -ls | nc termbin.com 9999" [11:01] ok [11:02] jpds: what do you recommend then? [11:03] Gh0sta: LUS [11:03] LUKS* [11:03] i still have /dev/sdb5: UUID=....up in firefox, close that? [11:03] no leave that open [11:03] ok [11:03] jpds: ok let me take a look [11:05] I just brought home a Bluetooth headset. I am playing some mp3(s) using Smplayer & VLC. Problem is I am hearing MONO audio. How to get STEREO ? [11:09] dev/sr0 has een opened read-only [11:10] Id anyone using ubuntu to create (screen record) professional videos. I need to record some but somehow a low pitch noise (something like sheeeeeeeeeeeeeeeeeeeeeeeeeeeeeer***) is in the video. [11:10] xbfrog: ok, type "lsblk | nc termbin.com 9999" === norkle is now known as Norkle [11:11] https://termbin.com/ea6o [11:12] brb [11:13] ok [11:15] xbfrog: ok, type "sudo umount /dev/sdc5" [11:16] done [11:17] Same is true for zoom/skype/gotomeeting recording etc. [11:17] xbfrog: type "sudo dd if=/dev/sdc5 of=/dev/sda4 bs=10M status=progress && sync" [11:19] xbfrog: it should take about a 1 - 1.5 hours to be done [11:19] .ok [11:23] its working fine :) thanks for the help i couldnt have done it myself [11:26] Is there a sensible way to encrypt Ubuntu (Ubuntu Studio 20.04) after installation? [11:26] No, I don't want to reinstall. [11:27] zmagii: No [11:28] kolaman: Might your mic cable be taking interference from for example a power cable? I had power cables once cause humming on speakers. [11:28] Hi all [11:29] jpds: Hmm. Okay. [11:29] felixi, actually power cables are like ~2fee away from mic (they are at the back of table [11:30] alright. Just a thought. [11:42] kolaman: still persisting, but your audio card or integrated audio is taking interference from a card you have or something? Might be worth trying to remove cards you have near your audio thing and see if you still hear it. If not, id try external audio card or something. It could take interference for example from your gpu if they're near each other. Not saying i know this would fix it. Just saying it [11:42] might be like this. If it doesn't though, then idk :) [12:01] how do i override an udev rule that comes with a package? [12:04] i want to suppress the usb printer autoinstallation triggered by /lib/udev/rules.d/70-printers.rules [12:05] i could remove that rule, but some apt package or another always depends on system-config-printer-udev, re-adding the file [12:10] alternatively, could i prevent apt from installing the package at any point? === mIk3_09 is now known as mIk3_08 [12:18] Hello! [12:24] anyone could help me with ubuntu.20 and dongle bluetooth [12:24] ? [12:25] you might get more response if you explain the issue [12:26] a try to turn on my bluetooth dongle on ubuntu 20.04 [12:26] blueman-manager 09.23.11 ERROR Manager:118 on_dbus_name_appeared: Default adapter not found, trying first available. [12:31] "touch /etc/udev/rules.d/70-printers.rules" fixed my problem [12:31] For bluetooth? [12:32] luuckx2: sorry, totally unrelated comment [12:44] hi [12:47] i am new to linux...i installed a pip package/command line app but i dont know how to use it/ run it [12:50] could anyone help please? [12:51] chx777: the way i do it: [12:51] python3 -m venv ~/venv [12:51] ~/venv/bin/pip install foobar [12:51] ~/venv/bin/foobar [12:51] that way, pip packages don't mess up your global python installation [12:51] and you can always nuke them by deleting ~/venv [12:53] i am new to it my friend....may i paste the github page here to have a look and tell me how to run it please? [12:53] chx777: why did you install it if you don't know how to use it? [12:55] i found it on github but the info how to run it is a bit confusing to me...not clear... [12:56] https://github.com/Ape/samsungctl [12:56] hi gang. I have an Ubuntu server with SSH access and I want to be able to use a web browser from that box. I think this install is headless as that is how I have been using it. what can i test out to see what I have, I have not done GUI remote desktop with linux before [12:56] sine0: Why do you need the browser to be on that box? [12:57] I want to access the routers gateway page as if i were there [12:57] sine0: Then just use the -oDynamicForward= option in SSH [12:57] sine0: And point your local web browser at the SOCKS proxy port that opens up [12:58] I did it before with a putty tunnel as im on windows on this laptop [12:58] But, that's what the port forwarding options in SSH do [12:58] Yep* [12:59] jpds: so i can do that without putty and just use the cygwin terminal ? [13:00] sine0: I don't use Windows [13:00] you should, its great [13:01] that was a joke [13:04] well that was easy [13:06] I am planning to buy a touch gesture mouse [13:06] would it work just fine on ubuntu? [13:07] or can I make my Magic mouse work on Ubuntu?? [13:07] Magic Mouse = From Mac? [13:07] Gh0sta: Try it, and for new hardware, makes sure it has a returns policy if it doesn't work [13:09] jpds: ok === Haxxa is now known as Hallcyon [13:10] after the screen locks and I log back in chromium freezes and is unusable. Is this a known bug?I am on 20.04 [13:14] chx777: if you subsitute "foobar" with "samsungctl" in my example it should work [13:23] i use ubuntu focal, with software raid1 and NVME ssd, and the write is sooo slow and I can't figure out why. i googled, try to change the "intent bitmap" from internal to none, it made things actually slower. checking it with fio === Roey is now known as SpoogicusMaximus === SpoogicusMaximus is now known as Roey [13:34] xbfrog: ? [13:34] yes [13:34] it just finished [13:34] ok [13:34] anything else i need to do before reboot? [13:34] xbfrog: type 'sudo mount /dev/sda4 /mnt' [13:35] wai t1 sec [13:35] xbfrog: cancel that [13:35] ok can it [13:35] xbfrog: type 'sudo fsck -f /dev/sda4' [13:37] ? [13:37] was waiting its slow as syurp [13:37] min [13:38] ok got info [13:38] see no errors [13:38] xbfrog: it returned the prompt back? [13:39] yes [13:39] xbfrog: type "sudo resize2fs /dev/sda4" [13:39] Hi all, launching firefox using "sudo /usr/bin/firefox" fails with the error message "Running Firefox as root in a regular user's session is not supported. ($HOME is /home/qtestau which is owned by qtestau.)", but the same command perfectly launches the firefox browser without sudo prefix..What could be the problem? [13:40] sub526: you're not supposed to use sudo with gui programs, they'll write to your home dir as root, and possibly mess stuff up [13:40] resizing to 4k blocks [13:40] ok [13:41] ugh didnt know that [13:41] let me know when it's done xbfrog [13:41] done [13:41] xbfrog: type 'sudo mount /dev/sda4 /mnt' [13:43] xbfrog: ? [13:44] EriC^^: Thanks for the reply.. Is there any solution to it? [13:44] return prompt [13:44] sub526: why do you want to run firefox as root? comes to mind [13:44] sub526: not running as root, as said above [13:45] sub526: there is a solution to it, but you have to know that running apps especially stuff connected online as root has consequences etc [13:46] if firefox is compromised or another program, then they have root access, not good [13:46] xbfrog: type '(sudo blkid /dev/sda1; cat /mnt/etc/fstab) | nc termbin.com 9999' [13:51] EriC^^: I'm having a python script, ASCII text executable , that needs to be launched with sudo access. After launching it, it opens a GUI with many butttons.. When I click the help button it fails with https://pastebin.com/XArDzXjt [13:51] https://termbin.com/t4wb7 [13:53] sub526: what happens if you just run "qleau" without sudo [13:54] xbfrog: and 'sudo blkid /dev/sda1 | nc termbin.com 9999' [13:56] https://termbin.com/fk47 [13:57] xbfrog: sudo sed -i 's/7923-83C4/3419-8944/' /mnt/etc/fstab [13:59] quotation marks included? [13:59] yes [13:59] ok [13:59] EriC^^: Without sudo, "qleau" oepns the firefox browser for help contents.. But that app need to be ran with sudo for other GUI buttons functionality(basically it loads few drivers) [14:01] return prompt [14:02] xbfrog: for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done [14:02] xbfrog: type the whole line word for word [14:02] there's no space in /mnt$i [14:03] ok [14:04] EriC^^: Running gui programs with sudo will write to your home dir as root, and possibly mess stuff up.. I did not understood it.. Can you please give some more explanation to it.. [14:05] sub526: the program just sounds very shady, why does it need root, running firefox as root is a major security risk [14:06] sub526: what i meant is that let's say you have gui program, it has configs in your home dir and other stuff, if you run sudo , it will write the files as root, and when you go to launch the program as your user, it can access those settings anymore and program doesnt function right [14:06] *it cant access [14:07] xbfrog: all done? [14:07] EriC^^: Thanks for the clarification.. Also you mentioned there is a solution to it.. What was that? [14:08] is there a space after the last colon? [14:08] i musta typed something wrong [14:09] xbfrog: they are semi-colons, and yes [14:09] bash: syntax error near unexpected token 'done' [14:10] lmee ck it again [14:11] i dont see any mistake was there something i needed to put in before sudo? [14:12] xbfrog: type "history | tail -3 | nc termbin.com 9999" it'll show the last 2 commands [14:15] https://termbin.com/3pl9 [14:15] Seven_Six_Two: no worries [14:18] xbfrog: type "wget -qO- termbin.com/if0b | bash" [14:18] ok === j is now known as jess [14:21] a gui from rhythmbox came up and i cant close it to get my terminal prompt back [14:22] things seem stopped [14:22] xbfrog: try to press ctrl+alt+T then type "xkill" and click on rhythmbox [14:24] xbfrog: i'd recommend you increase the resolution on the pc's cause it seems it's hard to read the commands? [14:24] i mean decrease the resolution [14:24] a new terminal window came up but provided no cursor just an empty rectangle [14:25] xbfrog: ah it should show an "X" for the cursor [14:25] it didnt [14:25] outline of a rectangle [14:26] xbfrog: ok nevermind, press ctrl+c see if you get a prompt back [14:27] i have mouse cursor no other control and the hd lighe is bliping [14:28] xbfrog: no worries just restart the pc the stuff we've done already is saved [14:28] i can switch between 3 apps but cant close anything [14:28] xbfrog: oh, can you get a shell prompt? [14:28] ok [14:28] restarting [14:28] k [14:29] using the fingerpad on the kboard usually mess me up [14:30] xbfrog: can you increase the resolution in the irc client somehow? [14:30] thats why i never use it unless there is no other way [14:30] i mean make it bigger [14:30] yes i can [14:31] ah great, make the window bigger, and when the live usb boots, press ctrl+shift+ "+/=" key to make the terminal bigger [14:31] ok i did [14:31] right [14:32] xbfrog: ok, when it boots, type "sudo mount /dev/sda4 /mnt" [14:32] ok, its working on it now [14:37] ugh, its showing a full page of command lines [14:37] ok desktop [14:39] ok return prompt [14:40] xbfrog: ok, type the following command, make sure no typos etc [14:40] this is why i hated dos [14:41] ok i 'm ready [14:41] for i in dev proc sys run ; do sudo mount -R /$i /mnt/$i ; done [14:42] ok, when you put this in front of sudo, what am i suppose to do with it? for i in dev proc sys run ; do [14:43] so type from sudo? [14:43] it feels more confusing [14:43] xbfrog: you have to type the whole line, from "for i in..........til done" [14:44] ok didnt understand that is why i asked, thanks [14:48] ok this time it says mount: mnt/dev: mount point does not exista dn ebid for proc, sys and run [14:52] xbfrog: ok, type "sudo mount -B /dev /mnt/dev" [14:53] ok [14:54] xbfrog: then type "sudo mount -B /dev/pts /mnt/dev/pts" [14:54] return prompt === leaftype2 is now known as leaftype [14:56] xbfrog: ok, type "sudo mount -B /proc /mnt/proc" [14:57] prompt [14:57] xbfrog: sudo mount -B /sys /mnt/sys [14:57] hi [14:58] anyone facing issue with mounting ntfs format usb driver in 20.04? [14:58] prompt [14:58] xbfrog: sudo mount -B /run /mnt/run [14:59] !details | fosser_josh [14:59] fosser_josh: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [14:59] fosser_josh: what happens when you try to mount it? [14:59] prompt [14:59] xbfrog: type 'sudo chroot /mnt' [14:59] i am not able to mount my 500 GB usb HDD in 20.04 however i was able to access in 18.04 [15:00] root prompt [15:00] error is just unknown error [15:00] xbfrog: type 'mount /boot/efi' [15:00] unable to access [15:01] fosser_josh: type "sudo parted -ls | nc termbincom 9999" and paste the link here [15:01] efi: mount point does not exist [15:02] ok wait [15:02] xbfrog: no space between /boot and /efi [15:04] ok type, it says mount: /boot/efi: cant find UUID=3419-8944 [15:04] ya that space was my error [15:04] EriC^^: nc: getaddrinfo for host "termbincom" port 9999: Temporary failure in name resolution [15:04] xbfrog: try "sudo blkid /dev/sda1 | nc termbin.com 9999" [15:05] fosser_josh: sorry it should be termbin.com , typo'd the link [15:05] ohh [15:05] https://termbin.com/go3u [15:06] fosser_josh: type "sudo mount /dev/sdb1 /mnt" [15:09] temporary flilure in name resolution [15:09] failure [15:09] EriC^^: https://pastebin.com/WFkGRDMW [15:09] and i did check the syntax [15:11] ok wifi was off [15:12] its just giving me a return prompt [15:12] no link [15:12] fosser_josh: 'sudo apt-get install smartmontools && sudo smartctl -a /dev/sdb | nc termbin.com 9999' [15:13] fosser_josh: are you sure the disk is plugged in correctly and everything? [15:15] tried with the same syntax using the up arrow key and its just giving me a retrun prompt [15:16] EriC^^: it was working in 18.04. a week ago installed 20.04 and now not able to access. Drive is plugged in perfectly and i can feel spinning vibrations. [15:16] let me check on windows [15:17] fosser_josh: ok, maybe try to run a chkdsk on it in windows [15:18] and if you plug it into ubuntu do you see an icon appear on you app bar? [15:18] xbfrog: ok, try sudo blkid /dev/sda1 , does it say UUID="3419-8944" [15:18] ok [15:19] no just a return prompt [15:19] xbfrog: something isnt right, try "ls -l /dev/sda1" [15:19] ok [15:20] is -i suppose to give root? i'm already root@ubuntu:/# [15:21] xbfrog: it's a small case L [15:21] but ls: cannot access '/dev/sda1' no such file or directory [15:21] xbfrog: ok, type "exit" [15:21] done [15:21] then type "sudo mount -B /dev /mnt/dev" [15:22] ok [15:22] EriC^^: in windows i can access properly. its just 20.04 issue. i was able to access on 18.04 [15:22] prompt [15:23] fosser_josh: i'd try a chkdsk, wont lose anything, and it might work in 20.04, it said something about possibly inconsistent and chkdsk would help [15:23] fosser_josh: do you get an app on your app bar when you plug into ubuntu? [15:23] xbfrog: type "ls -l /mnt/dev/sda1" [15:23] ok [15:23] does it show the file or does it say no such file found? [15:24] xbfrog: no i dont [15:24] 358 /mnt/dev/sda1 [15:25] ok then it seems ur issue is in ubuntu [15:25] if it recognizes in win but not ubuntu [15:25] xbfrog: it seems so [15:26] yep i'd say [15:27] it might need a chkdsk, windows might be lenient towards certain stuff and the ntfs drivers in ubuntu not, fosser_josh i'd run the chkdsk and try again, worth a shot [15:27] xbfrog: type "sudo mount -B /dev/pts /mnt/dev/pts" [15:27] ok [15:27] doing same EriC^^ [15:28] prompt [15:29] xbfrog: ok does "ls /mnt/sys" show stuff or no file found [15:29] yes it does [15:31] block class devices fs kernel power bus dev firmware hypervisor module [15:32] all directorys it seems [15:33] xbfrog: ok, type "ls /mnt/proc" also shows stuff? [15:33] large amount [15:34] ok, and finally "ls /mnt/run" ? [15:34] least half a screen [15:35] ok, i think we're set then [15:35] weeeee [15:35] :) [15:35] :D [15:35] xbfrog: ok, type "sudo chroot /mnt" [15:35] ok [15:35] xbfrog: then type "mount /boot/efi" [15:35] it made me root [15:35] ok [15:36] prompt [15:36] xbfrog: dpkg -l | grep grub | nc termbin.com 9999 [15:36] ok [15:37] can a misconfigured raid1 or kernel drivers or anything can cause 2 nvme drives with software raid1 to perform really really really slow ? [15:39] it gave me dpkg --help [15:39] use apt or aptitude [15:39] xbfrog: i think you might have type -i or -1 [15:39] which was it? [15:39] it's a small case L after dpkg [15:39] oh i see the error then [15:41] yep that was it :) https://termbin.com/8y6m [15:44] did we do good? [15:44] EriC^^: chkdsk going to take long time. there were some errors. [15:44] xbfrog: yeah, type "grub-install --recheck /dev/sda" [15:45] xbfrog: btw it seems the legacy was installed (the grub package for legacy booting), but there was also an efi partition, so the install might be legacy not uefi, anyways we provisioned for both [15:46] no error reported [15:46] xbfrog: type "update-grub" [15:47] done [15:47] xbfrog: type "exit" [15:47] done [15:47] xbfrog: type "sudo mount /dev/sdb1 /cdrom" [15:48] xbfrog: i'm not going to install the grub-efi package to install those files in the efi partition, but if there are files in the old efi partition i will copy them there, so it should have efi support if you ever plug it into an uefi machine with legacy turned off [15:50] mount: /cdrom: special device /dev/sdbi does not exist [15:51] xbfrog: sdb1 (one) [15:52] yes its 1 [15:52] xbfrog: ok, try 'sudo mount /dev/sdc1 /cdrom' [15:53] nope does not exist [15:53] xbfrog: hmm try 'lsblk | nc termbin.com 9999' [15:54] is the usb dock still attached? [15:54] https://termbin.com/d9b8 [15:55] seems the dock has gone missing [15:55] i dunno, what dock? [15:56] xbfrog: anyways, try to reboot and remove the live usb and choose the ssd first in the boot order [15:56] xbfrog: the dock for the old drive [15:57] ok oh, mayb it was my fault i turned it off though after the transfer we were done with it [15:57] i see, no worries [15:58] sorry, my mistake [15:58] try to boot the ssd, we can transfer the efi files from there [15:59] ok, so your saying i should have an ssd entry in the bios or do you mean just pick the hd to boot first? [15:59] xbfrog: yeah the hd to boot first [15:59] ok got it [15:59] be bak :) [15:59] wow... xbfrog & EriC^^ are still dealing with storage related issues from yesterday [16:03] haha, well crum, i'm all turned around :) [16:03] ok its back up [16:03] xbfrog: ssd booting up nicely? [16:03] seems so [16:03] great :D [16:03] added printer too [16:04] xbfrog: ok, attach the usb dock so we can transfer the efi files if they existed on the old drive, in case you ever need uefi support [16:04] but everything on the desktop looks in the same place as the old drive [16:04] ok, sorry :( [16:05] hehe, no worries buddy :D [16:05] its attached and sounds recognized [16:05] ok great [16:05] thanks for being patient [16:05] xbfrog: type "lsblk | nc termbin.com 9999" [16:05] xbfrog: no problem [16:06] i think likely there never any efi files in it, but won't harm to check [16:08] https://termbin.com/8ubt [16:09] xbfrog: type "ls /media/dj/7923-83C4" [16:09] does it show an "efi" dir listed? [16:10] no just a return prompt [16:11] ok seems it was empty, nevermind then [16:11] ok [16:12] xbfrog: there's an extra partition in the ssd that needs deleting, type "sudo cgdisk /dev/sda" [16:13] ok [16:13] done [16:13] oh it said the screen was too small press any key to continue [16:14] ah [16:14] ok got it [16:14] i reduced the text size [16:14] xbfrog: you should see 4 partitions in the table, 300MiB EFI System, 1007KiB something-here, 2MiB bios-boot partition, then 930GiB Linux filesystem [16:14] yes [16:14] can you confirm that's what you have in the table? [16:15] ok list in order top to bottom [16:15] linux filesystem [16:15] efi [16:15] bios boot [16:15] linux filesystem [16:16] aha, is the first linux filesystem, does it have 1007KiB as the size of it? [16:16] yes [16:16] next is 300 [16:16] then 2.o [16:16] xbfrog: ok, great, you have to highlight the 1007KiB Linux filesystem, and at the bottom press "Delete" [16:16] then 931 [16:16] ok [16:17] does raid1 has 'write-back' and 'write-through' modes are these are only for raid 4/5/6 ? [16:17] ok i hit delete and it swithed to new [16:18] xbfrog: ok, great, now you only have the EFI, bios-boot, and 931GiB Linux filesystem, yeah? [16:18] but the 2 is gone [16:18] at the top it says 1007.0 free space [16:18] (and freespace at the top) [16:18] yes [16:19] ok, if the rest are all still there, press on "write" [16:19] other than that? yes 3 entries [16:19] ok [16:20] ok it says the kernel may be using the old partition table reboot to use the new table [16:20] alright, press on "quit" [16:20] done [16:20] then type "sudo partprobe /dev/sda && lsblk | nc termbin.com 9999" to confirm it's all good [16:23] http://termbin.com/zht5e [16:23] looks good :) [16:23] great :) [16:24] its been a learning experience too [16:24] yup [16:24] heh, just confirms i hate syntax :) [16:24] hahaha [16:24] your screen wasn't helping :D [16:25] no its more my eyes [16:25] anyways, i have to go for a little, enjoy your new install, ssd should be pretty sick to boot and fast loading, definitely a good upgrade [16:25] ah i see [16:25] the eye doctor said i have significant cataracs [16:25] thanks [16:25] i will [16:25] oh [16:26] so its difficult for me to see the screen [16:26] anyway we got thru it :) [16:26] yup :D [16:27] nice i 'm very happy thank you [16:27] so very much [16:27] you're welcome :) [17:47] Hi! I'm trying out the ubuntu 20.10 daily live, and /etc/crypttab is gone, will my system still boot? [17:47] Is it replaced with something? [17:47] I need to unlock other disks at boot. [17:48] if your using live it's taken from a cd did you burn one? [17:50] noting is replaced with the live cd, it is loaded from that [17:50] xbfrog: I booted the installer from usb [17:50] I'm mounted the installed system and chrooted into it. [17:50] It's lacking /etc/crypttab [17:50] ok did you chose install? [17:51] The try ubuntu option and then ran the installer from that. [17:51] so you installed? [17:51] yeah [17:51] if i create the file manually shoudl that work? [17:52] Is there a package that is needed in order to unlock at early boot? [17:52] um what do you mean early boot? [17:52] its either install or not [17:52] or preview [17:52] When i type my password to unlock the disks. [17:53] I have installed. [17:53] ok dual/mutible boot? [17:54] and how do you mean unlock the disks? [17:54] halvors: what do the disks look like right now, maybe it's not even using encryption anymore? type "sudo parted -ls | nc termbin.com 9999" [17:54] It is using luks [17:54] thanks EriC^^ [17:55] I can manually unlock it using cryptsetup from the "try ubuntu" option when booting from the USB. [17:55] xbfrog: :) [17:56] So the /etc/crypttab should still be there and is the reason the system is unbootable i guess? [17:56] * xbfrog is smity but not small [17:57] not too sure i can help him, just giving my 2cents really [17:57] EriC^^: It is already unlocked when i'm in the chroot environment [17:57] its worth something :) [17:58] thanks :D [17:59] halvors: so you're saying that you unlocked the luks, then in installer you chose the 'something else' option to manually partition? [17:59] yes [17:59] And i did set /boot on a non encrypted partition [17:59] one for EFI [17:59] and / on the luks encrypted device [18:01] halvors: for the root fs did you choose "encryption partition" ? im going by this guide here for some insight https://gist.github.com/labbots/0d66f0eea653624329f7e1fabef3e25c [18:02] Basically, a little different setup. [18:02] I'm using 3 partitions on my first disk efi, boot partition and encrypted root partition. [18:02] The root partition contains a btrfs system [18:03] ah my bad, 1 sec [18:03] Which is a multidevice filesystem spanning 3 other devices with luks encrypted partition minus the 2 other partitions that is in the first disk. [18:03] But based on the guide you send seems i just need to manually create /etc/crypttab and update initramfs [18:04] yeah [18:04] yup you need to manually create it and then update-initramfs [18:08] wondering if there is a way to undo the ./install.sh [18:09] halvors: it also mentions some stuff below about the swap, check it out [18:09] thx [18:09] thx for help [18:09] no problem [18:10] Gh0sta: install of what? was it an nvidia script? [18:10] EriC^^: Linux-Magic-Trackpad-2-Driver/scripts [18:11] this Gh0sta https://github.com/mwyborski/Linux-Magic-Trackpad-2-Driver ? [18:11] Yeah :D [18:12] EriC^^: I was fiddling with my Magic Mouse, and to my surprise it worked as well. [18:12] But the problem is, it's to sensitive and I am use to of a precision in Macs lol [18:13] EriC^^: this script created some syslink as well [18:13] Creating symlink /var/lib/dkms/hid-magicmouse-dkms/4.18+magictrackpad2/source -> [18:14] --> /usr/src/hid-magicmouse-dkms-4.18+magictrackpad2 [18:14] Gh0sta: ah, go to the scripts dir where install.sh was and run "sudo ./remove.sh" [18:14] oh sweet! [18:14] let me try [18:15] * Gh0sta Deleting module version: 4.18+magictrackpad2 [18:16] * Gh0sta completely from the DKMS tree. [18:16] EriC^^: that has worked yaay! thanks [18:16] EriC^^: is this a normal thing? does every installer comes with a remove script? [18:16] Gh0sta: great! no problem [18:17] Gh0sta: nope not all, this one seems to be put together nicely though [18:18] EriC^^: lucky me lol [18:18] heh yeah :D [18:19] does this command 'sudo apt purge' removes the unnecessary things? [18:19] yeah it removes the package + any configuration files it has [18:19] EriC^^: so does that mean, we have to mention a package with it? [18:20] or we can use it generally ? [18:20] really you dont need them, unless you set something up and might reinstall it later in the future, you know [18:20] ahh ok [18:20] so how would I check the system for any obsolete files etc. ? if there are any [18:20] Gh0sta: no you have to give it a package, if you want to just remove the extra packages there's sudo apt-get autoremove [18:21] and also sudo apt-get autoclean / clean (they remove the deb files that were downloaded to install packages, clean removes all debs, autoclean just removes the debs for packages you dont have installed anymore) === tehaugz is now known as augz [18:23] EriC^^: that is exactly what I was looking for [18:23] EriC^^: another quick question, is there a way to check the health of OS? [18:23] Gh0sta: the autoremove command should do it, it'll remove packages that aren't needed anymore [18:24] Gh0sta: health like what exactly are you interested in? [18:25] EriC^^: Hmm...like in windows we have registry mix ups etc [18:25] which slows down the system [18:26] I haven't been able to get the sound to work on a Lenovo Legion 7 81YT with Ubuntu 20.04. I tried 18 via a usb stick "try before install" and that didn't work either. Should I try 20.10? [18:26] not really, only sometimes if apt might have a problem "sudo apt-get -f install" makes a check of the package system [18:26] It's a new laptop so it's possible that the sound card is bad, I guess. [18:27] *Sound does work with headphones. [18:27] EriC^^: I was hoping to check if my system is 100% effiecient and there are no conflicts which may either compromise or slow down the system :) [18:27] Gh0sta: i think there's not much stuff like that, like you dont need to defrag the disk on ubuntu or anything, seems to keep running as long as the packages and apt is happy [18:29] Gh0sta: to be honest i have no idea, it would be neat if there is something like that, there might be [18:29] Yeah :D would be really useful and promising for the beginners [18:30] Gh0sta: i think there are some tweaks to get the system to boot up quicker and stuff like that, 1 sec [18:31] Should I expect the sound card to work when "trying" Ubuntu via a usb stick? [18:33] brett777: all depends on your hardware [18:33] It works automatically for some, others need some tweaks, others are a lost cause unless you're a Linux expert (which you're probably not if you're using Ubuntu. Just like the rest of us) [18:34] brett777, sorry to tell you; Lenovo Legion 7 81YT sound working: no: see this arch wiki https://wiki.archlinux.org/index.php/Lenovo_Legion_7i [18:36] ask the vendor for supported drivers [18:36] Gh0sta: install the package "preload" and run 'sudo nano /etc/sysctl.conf' and change vm.swappiness=10 [18:36] that should help the performance, it seems in the ubuntu site it's recommended for desktops to change it to 10 vs the default which is better for servers [18:37] oerheks: Thanks! Knowing it is not just me helps. Now I have to decide if I should switch to a different laptop. :-/ [18:42] EriC^^: Great thanks :D [18:43] Gh0sta: no problem :D [19:12] hello all, quick question I guess. does a mysql account get locked by default if incorrect password is entered too many times? [19:21] Battle: perhaps some interesting channels are #httpd and #ubuntu-server for you [19:21] Battle: I don't recall seeing that in the documentation before, my guess is 'no', but I can't promise that.. [19:21] and #mysql [19:37] Ubuntu 20.04 | After I swapped out Nvidia card for an AMD one my PC started locking up if left idle :S Just blank screen, and if I switch to tty and back then it just opens lightdm/slim(whatever is set default at the time) and starts a new session, killing old one. [19:40] neoromantique, ubuntu 20.04 does not use neither lightdm or slim [19:43] ioria, I use both, initially I had slim, then after this started happening I swapped it out for a lightdm [19:43] neoromantique, ubuntu 20.04 does not use neither lightdm or slim [19:43] -> it's not dependent on dm [19:45] neoromantique: are there any messages in dmesg or Xorg logs or similar? [19:48] sarnold https://paste.ubuntu.com/p/q5b6NBcTvR/ [19:52] neoromantique: heh, those entries in the middle of the file give me the impression that it only fails when you do the vt switch [19:52] vt switch is the tty? [19:55] where are the sources downloaded by apt stored. eg if I do: apt install xyz-devel, where do I go to find the downloaded sources [19:56] neoromantique: yeah [19:56] lottaquestions: apt install doesn't download sources [19:56] lottaquestions: apt install will install the package [19:57] lottaquestions: you can see the files installed with dpkg -L xyz-devel [19:57] sarnold: I just tried switching to tty and back, and it works as expected. [19:57] neoromantique: nice nice, good test. how about dmesg when it hangs? [19:58] sarnold https://paste.ubuntu.com/p/XkzgzzzftC/ [20:00] neoromantique: there we go! can you file a bug with ubuntu-bug linux and include that whole log in the bug report? [20:00] ubuntu 20.04 trying to change background from settings or usinf right click on desktop neither will change background [20:02] sarnold: I always thought that packages suffixed with -dev/-devel were sources. I have just tried dpkg -L xyz-dev, and clearly it is not sources. [20:02] how much does ubuntu 18.04 server depend on snapd [20:02] lottaquestions: -dev packages are usually headers and static libraries [20:03] i have it running on some of my AMIs, it caused a cpu spike, and i'm not sure why it's there or if i need it, i am pretty sure i didn't install anything from vanilla ubuntu server to pull it in [20:04] lottaquestions: if you actually want the source, you can get that with apt source packagename -- it'll unpack the debian package source into your current working directory [20:05] ses1984: probably just livepatch, for keeping the kernel up to date; you could snap list and see if you recognie anything in there, and if not, apt purge snapd [20:08] sarnold: amazon-ssm-agent hmm will need to look at that [20:08] ses1984: that adds ssh keys from the amazon management interface to the authorized_keys on the system; do you use that? [20:09] What is the 'fastest' way to remote in to a Ubuntu system on my network? RDP? TeamViewer? [20:10] ssh [20:10] need GUI [20:10] the whole thing, or one application? ssh -X is pretty handy [20:10] the whole thing [20:11] does TeamViewer know its a local PC? [20:11] maybe RDP will be better since i am connecting from a windows system and can do locally. [20:14] sarnold: Thanks. Exactly what I needed [20:15] lottaquestions: woot [20:17] sarnold: or maybe RealVNC? any experience with any? [20:18] enko: sorry, I've got no experience with the full-desktop end of things, ssh -X worked for the handful of times I needed a remote gui [20:19] Still question about changing background !!! [20:20] SSH -X is the best. [20:20] vino, rdp, but not teamviewer or the other one, running though their servers.. [20:22] texla, which background Q? [20:22] thanks sarnold,oerheks [20:22] oerheks, any from settings or using click from the desktop [20:24] texla, can you collaborate? [20:28] https://hastebin.com/eluwodabuh.sql how do I fix this error with apt-get? [20:28] I had other problems with apt-get and I fixed them [20:29] now I get this error [20:29] something to do with python [20:29] line #9 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. [20:29] time to run apt full-upgrade [20:30] will that fix the python errors? [20:30] I dunno, I'll try it [20:30] sudo apt update && sudo apt full-upgrade # and reboot [20:30] yes, probably [20:30] I'll try it [20:32] LiftLeft: what does dpkg -L ibus show? [20:32] dpkg -L ibus [20:32] dpkg-query: package 'ibus' is not installed [20:32] I got that python error again when I did full-upgrade [20:33] apt-get is broken [20:33] how about dpkg -l ? [20:34] https://hastebin.com/ehemameyud.sql [20:34] https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure [20:35] sudo rm -rf /var/lib/apt/lists && sudo apt update && sudo apt full-upgrade #might work [20:36] wow that's a surprisingly short list, my smallest system has ~three times more installed packages.. [20:36] and I certainly expected more than one failed package. :/ [20:36] oerheks's suggestion is worth a quick try anyway [20:36] just lists, does not harm packages. [20:36] ok [20:37] I'll try both [20:39] does https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure and "sudo rm -rf /var/lib/apt/lists && sudo apt update && sudo apt full-upgrade " do the same thing? [20:39] the line is one of the fix suggestions in that wiki [20:39] removing lists, getting new ones with apt update ... [20:40] yeah that didn't work === somniac[m] is now known as aith[m] [20:40] heh, I don't think I've seen this wiki page before. that huge list of commands is handy. [20:40] sudo dpkg --configure -a # is also a killer [20:41] I had some docker repositories that were broken when I did apt-get update. apt full-upgrade still has the python error [20:41] https://hastebin.com/zakivijeja.sql [20:41] I just get that python error [20:42] build python3 from scratch and install that? [20:43] google didn't come up with anything [20:43] when I searched that error [20:44] > dpkg-query: package 'dh-python' is not installed [20:44] what's dh-python? [20:44] i wonder about line #6 + 7 .. https://hastebin.com/eluwodabuh.sql [20:44] libpython3-stdlib python3 python3-minimal python3.6 python3.6-minimal [20:45] why does your bionic want to remove these? [20:45] no idea [20:45] line #10 1 not fully installed or removed [20:46] sudo apt install -f # should fix that one [20:46] nope [20:46] it just returns that error [20:48] I found forum thread were someone had a similar problem [20:48] https://ubuntuforums.org/showthread.php?t=2420367 [20:50] try running sudo -s ; PYCLEAN_DEBUG=1 ; export PYCLEAN_DEBUG ; apt install -f [20:50] hopefully this will dump some more useful information about where this list of packages is coming from [20:53] it didn't display anything [20:56] > No other ideas? [20:56] how the thread ended [20:56] ah [21:01] sarnold, oerheks: any idea? [21:01] s [21:02] no, what docker repo is causing this? [21:03] maybe I'll remove the bad repos [21:04] https://hastebin.com/ecemovater.sql [21:04] ohhhhhhhhhhhhhhhhhhhh ... httpS [21:05] you added secure repos, that needs apt-transport-https [21:05] ok [21:05] !info apt-transport-https [21:05] apt-transport-https (source: apt): transitional package for https support. In component universe, is optional. Version 2.0.2ubuntu0.1 (focal), package size 1 kB, installed size 156 kB [21:05] install that package, and you should be fine [21:05] https://packages.ubuntu.com/bionic/apt-transport-https [21:05] LiftLeft: sorry, I'm out of ideas. I suggest asking the elementary os folks if they have ideas [21:06] I can't install packages right now [21:06] ok [21:07] sudo apt install -f apt-transport-https # the -f might work? [21:07] how do I remove https://download.docker.com/linux/ubuntu ? [21:07] I'll remove it first [21:08] LiftLeft: if the ppa-purge tool is installed, it's very good at these tasks [21:08] LiftLeft: it might even be worth grabbing the package by hand and installing it with dpkg -i [21:08] or download the deb package, and install with sudo dpkg -i apt-transport-https.deb [21:08] sarnold +1 [21:09] I just remove it from the /etc/apt/sources.list file right? [21:09] Doesn't ppa-purge only work with PPAs? [21:10] Kon: oh that'd be too bad if that's the case :( [21:10] I'll just backup the file and try it [21:10] LiftLeft: that will leave whatever packages on the system that were installed from a ppa with no source of updates, and if they were newer than whatever is in the distribution, you'd not get updates [21:10] ok [21:10] I'll fix apt-get first [21:11] LiftLeft: Remove the package and then delete the .list file [21:11] and revert the file once it's fix [21:11] btw, I highly recommend third party repositories getting their own .list file and putting it in /etc/apt/sources.list.d/ [21:12] Rather than editing your base sources.list [21:12] That should almost never happen unless you're doing it manually [21:12] ok [21:12] apt-get update no errors [21:12] if you run elementary, those friends might have a clue. [21:13] I do [21:15] I wonder if app center works [21:15] unlikely [21:15] it'll run the same postinst scripts after package operations [21:15] I know [21:15] and it'll run into the same failures [21:16] I'll see if it works somehow [21:18] hasn't errored yet [21:18] I dunno if that means anything [21:18] sayings installing [21:26] nope didn't work [21:31] LiftLeft, i think you need to file a bugreport, or seek support with elementary, i spot different python3 packages compared to mine 18.04.5 [21:31] *hips* [21:31] good luck! [21:31] I'm going to try installing dh-python [21:31] 3 [21:31] i need a relatively old deb package for some work. libc6/libc6-dev version 2.17. where might i find it. i looked around google [21:33] there's no supported ubunturelease providing this version [21:35] lain99, no reason for that old build; are you pentesting something? [21:35] lain99: ouch :/ sounds like a bad bad bad time when you need an OLD libc package [21:35] 14.04 era [21:35] i need it to support build an application for an old distro [21:35] lain99: http://old-releases.ubuntu.com/ ... I strongly recommend you do NOT install those packages on any computer you care about! [21:35] i know what im doing [21:35] alright, cool [21:35] oh, you don't know what your doing :-D [21:36] we'll know in an hour :) hehe [21:37] I'll join the #debian-python channel on the OFTC network [21:37] see if they can help me [21:40] * sarnold has five bucks on "go ask elementary os" :) [21:41] I'll ask there if debian-python can't help [21:43] its not here http://old-releases.ubuntu.com/ubuntu/pool/universe/libc/libc/ [21:44] https://launchpad.net/ubuntu/trusty/amd64/libc-bin/ perhaps? else find it with google or bing, your request is not supported here. [21:44] what does debian-python even do? [21:44] lol [21:45] I think it run scripts for debian [21:45] askin #debian? [21:45] no there's debian-python [21:45] on the oftc network [21:45] *# [21:46] lets keep this channel free for true ubuntu releases. [21:53] lain99: libc is the old libc5 -- glibc is the source package for libc these days http://old-releases.ubuntu.com/ubuntu/pool/main/g/glibc/ [21:53] lain99: hmm, funny enough I don't see a 2.17 in there either. there's a 2.17 in http://old-releases.ubuntu.com/ubuntu/pool/main/e/eglibc/ ... [21:54] eglibc is different ? [21:54] there was a split for a little while, like egcs vs gcc [21:54] I can't recall when the eglibc changes were merged back into glibc [21:56] god this is such a nightmare [21:58] lain99: it might be easier to install an ancient distro in lxd or libvirt and just take whatever it is.. [21:59] 2.17 looks like saucy era, so find an old ubuntu saucy install image, and install that into a VM [21:59] https://launchpad.net/ubuntu/+source/eglibc/+changelog [22:00] it doesnt even solve the problem i really want to solve :( [22:01] demanding a replacement of your ancient application with one that you can rebuild as needed? :) [22:13] i'm having a problem with ubuntu 18.04 LTS not recognizing my RAID card. Ubuntu version 14 LTS worked fine. [22:14] infotek: does it show up in lspci output? are there any messages about it in dmesg? [22:20] it shows up in lspci. it is a supermicro X9SCL with hardware raid. you can switch it between an LSI or Intel bios. in either LSI or Intel mode, I can create an array. During the install It just looks as if there are raw drives not a RAID. [22:21] I'm trying really hard not to implement software raid [22:21] interesting, normally I hear about people trying to flash cards from raid mode to it mode :) [22:22] it mode? [22:23] where each drive shows up to the OS individually, so you can get smart status from sata disks, or control them individually with zfs / lvm / ceph etc [22:24] i wanted the hardware raid because i think it would have better performance [22:25] i guess i will just configure it from JBOD and use LVM [22:25] does ubuntu support different raid cards on the alternative isos? [22:26] it might be worth a shot, but honestly I'd expect just about everything to work these days with very little effort [22:29] is there a fix for laptops locking after waking from sleep, not before? [22:29] ugh! i regretably feel the same. [22:32] nicekiwi: the safe thing to do is lock before you suspend === xbfrog is now known as xBfrog [22:33] run powertop and see what is perventing it from waking up most times its either networking or video [22:47] sarnold: :( le sigh [22:47] nicekiwi: yup :(