[01:04] accessing some blocked website with vpn, it's always prompt "SSL_ERROR_BAD_CERT_DOMAIN", how to fix it, === DarkTrick_ is now known as DarkTrick === Carlo is now known as Guest951 [02:11] snap-store horrible lag [02:11] ubuntu 20.04 [02:11] come on [02:30] I hate you, systemd. [02:34] we all do [02:39] I have nothing against systemd except when I'm trying to do something simple and it won't play ball. [02:43] snap-store do not get focused automatically after click on category [02:43] i need to click on window background pane to swipe faster [02:43] my internet link speed connection is 240mb, near apt server [02:43] too easy to fix come on [03:55] what do I do to resolve this - https://paste.ubuntu.com/p/Z8KJSbpdZP/ ? === djdef is now known as djDef [04:52] donofrio: you seem to have duplicated repositories or something, check the contents of the files microsoft-edge-beta.list and microsoft-edge-dev.list for duplicated entries. === djDef is now known as Guest9667 === djD3f is now known as djdef === Guest9667 is now known as djdef === djdef is now known as djDef === d3fc0n is now known as djDef === jpe__ is now known as sharperguy === jadijadi is now known as jadi [08:01] Has anyone paired a keyboard with Bluetooth on Ubuntu (with Xfce)? [08:01] Sorry, a Dell keyboard. [08:01] It seems like the issue is that it doesn't generate a pairing key, which the keyboard expects on other OSs like macOS or Windows. [08:11] OK, so for anyone who may be interesting, this can be done with bluetoothctl, BUT it won't pair until you get it to print out a pairing PIN. It seems like the issue with the GUI (on Xfce) is that it doesn't show the PIN and thus you don't know what to input on the keyboard. === Woet_ is now known as Woet [08:46] Good morning. I'm having issues with running bash scripts on Ubuntu 21.04. I've tried with scripts I normally ran on 20.04 and also made very simple new ones but every time I click on "Run in Terminal", the terminal opens but nothing happens, it remains blank. Suggestions? [08:47] open a terminal and run it manually? [08:47] But wouldn't that defeat the point of making a script ? [08:49] trying it out manually might help pinpoint why the "run in terminal" bit does not work [08:49] does it work manually? [08:49] RupertEverton: no? [08:49] shell scripts are usually run from a shell [08:50] I use shell scripts a lot, even though I hardly ever even open a file manager on linux [08:52] Ahh I get it now. I've tried a few and they all work if ran directly from terminal [08:53] so the gui integration part might be the problem. === Guest9782 is now known as jaskal [08:56] cbreak so what should I try to get it working? [09:00] I think that clicking on "Run in Terminal" should be the same as typing out in the terminal: ./fileToRun, if you are in that file's directory. [09:01] This checks the top hash bang, e.g.:"/usr/bin/python" calls the python installed in the folder /usr/bin/. [09:01] You also need to do "chmod 755 fileToRun" to make it executable. Run in terminal should logically do what I describe above, but in a GUI. [09:02] taeaad yes, if i run in terminal ./fileToRun it works [09:02] OK, then the Ubuntu people should be able to figure it out for you :) [09:03] and i've tried with chmod but when i click on run in terminal, it remains blank === gr33n7001 is now known as gr33n7007h === PonyBlocks-_- is now known as PonyBlocks === [Pokey] is now known as Pokey [10:56] Regarding the bash issue from before, I found a little workaround which is just to create a .desktop file with Exec=path and Terminal=true [11:02] Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Temporary failure resolving 'security.ubuntu.com' [11:02] Err:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'us.archive.ubuntu.com' [11:03] is apt-get update not working for other people? [11:05] works for me [11:05] mgedmin, hmmm [11:05] chalcedony: are you behind router/firewall? [11:05] does dns work on this machine? can you e.g. ping google.com? [11:06] does not [11:06] i'll try that [11:07] ~$ ping google.com [11:07] ping: google.com: Temporary failure in name resolution [11:08] that could explain a lot of the problems i'm having [11:08] do i need to talk to my hosting provider or is that something i can fix in a shell? [11:12] chalcedony are you using a vpn with killswitch? [11:13] RupertEverton, no. [11:13] it's a shell host with a znc [11:16] :~$ cat/etc/resolv.conf [11:16] -bash: cat/etc/resolv.conf: No such file or directory [11:19] cat space slash etc [11:19] also it'll most likely be 127.0.0.53 which is systemd's builtin resolver [11:19] also try resolvectl status [11:20] thank you [11:25] mgedmin, resolvectl status resolvectl: command not found [11:26] Hi everyone, curious, I booted up a 20.04 with a 2TB drive and opted for the entire drive to be used during install. I can see that only 200GB have been allocated to the root partition but can also see a LVM partition has been created with the remainder of the free space (/dev/xvda3) - Will LVM automatically increase the storage of the VG when it runs out or should I manually increase it? [11:26] chalcedony: oh, right, bionic! systemd-resolve --status then [11:27] we're migrating from 1 large VM to Ubuntu and there will be about 1.2TB of data rsynced tonight so just want to know if I need to make the change now to avoid the root parition of running out of space [11:27] mauzilla: there's no automatic growth, no [11:28] mauzilla: is the / a logical volume? then you can lvresize it, followed by an resize2fs, to grow it online [11:28] (is it lvresize?) [11:29] Thank you mgedmin, was unsure [11:29] mgedmin, you are right about bionic. that command gives me a long list.. it's weird. do you want to see it? [11:29] mauzilla: yeah, I just checked my notes -- lvresize -L +10G /dev/vgname/lvname && resize2fs /dev/vgname/lvname [11:30] you probably want something other than +10G, check man lvresize for the syntax/units [11:30] chalcedony: the only important line is Current DNS Server: ... [11:31] is there one? is it the right server? can you ping it? can you resolve names using it? [11:31] presumably one of the answers is No, otherwise DNS would work [11:31] althoguh I suppose /etc/resolv.conf might also have been messed up so it no longer points to systemd-resolved [11:31] hmm [11:32] you have no nfs package? [11:32] mgedmin, https://pastebin.com/cgyTJiDG [11:33] trying to install it, after it said showmount wasn't there. [11:33] hi there [11:35] chalcedony: that looks like the first page of the output; are you familiar with pagers like less(1)? [11:35] use arrow keys or space to see more [11:35] i'll take another look [11:36] never mind. found it. [11:36] mgedmin, no, that's all i'm getting even with | less [11:38] I'm trying to start barrier/synergy under gdm3. I've edited /etc/gdm3/custom.conf to ensure gdm runs on X (because barrier doesn't work on Wayland). I'm following a modified recipe from https://help.ubuntu.com/community/SynergyHowto with this at the end of /etc/gdm3/Init/Default: https://termbin.com/ik28 [11:38] systemd-resolve already spawns less, and hmm interesting, it doesn't see any network interfaces? === sharperguy_ is now known as sharperguy [11:38] ok, how is the network configured on this machine? [11:38] The result is that my user does start with a barrier client (whether I log in using gdm to authorise or automatically), but I can't access gdm over barrier [11:39] via /etc/network/interfaces? via netplan? via systemd-networkd? via network manager? [11:39] I appreciate tips on how to debug. I don't know how to find out for instance which Xdisplay gdm3 is using, so I can add the right --display switch to the barrier.barrierc command. [11:41] mgedmin, i've emailed the admin. [11:41] it's broke. [11:42] kandinski, did you write a proper systemd unit, something like this; https://github.com/debauchee/barrier/issues/179 [11:42] Issue 179 in debauchee/barrier "how to auto start before login at Ubuntu 16.04" [Closed] [11:42] or https://askubuntu.com/questions/1201728/setting-up-barrier-to-run-on-startup [11:43] mgedmin, thanks very much for your help :) [11:54] oerheks: no, I did not write a proper systemd unit [11:55] the user barrierc session works great [11:55] it's the root/gdm3 one that doesn't [11:57] kandinski, gdm nowadays uses systemd user sessions ... so either switch your DM or create a systemd unit ... [12:04] ogra: and how do I tell the systemd unit that it needs to stop the client when gdm has logged my user in, so the user systemd unit can have the ip:port free? [12:06] why login before the user starts? [12:07] this makes no sense; one does this from boot, or user level. [12:07] in systemd WantedBy=multi-user.target = from start , WantedBy=user.target is after login [12:08] oerheks: barrier has to connect to the host serving the keyboard or I can't log in [12:08] that's the point [12:08] so I can type into gdm, over barrier [12:09] but barrier has to exit in the transit from gdm ito the user session [12:10] so the barrier server's ip:port is available to the user session, otherwise I can use the keyboard and mouse to log in but not after [12:11] that's why I quoted this page https://help.ubuntu.com/community/SynergyHowto [12:12] or rather [12:12] https://help.ubuntu.com/community/SynergyHowto#Autostart_Synergy_before_logging_in_.28GDM.29 [12:13] 'sudo gedit' is, uh, a thing that doesn't work in wayland sessions; how old is this wiki page? [12:13] yeah, it's old [12:13] but barriers/synergy don't work under wayland either [12:14] that's why the original question explained I had made sure gdm3 was running under X instead [12:14] oh, that's a shame [12:14] yes, longstanding feature request [12:14] keeps me in X because I live and die by barrier [12:15] I used to love x2x, well, until a dropped wifi connection left me with an unusable server grab [12:15] I use it over macos and windows [12:16] that's the beauty: I have one of each as well as my linux workstation plus I can remote more machines by adding them to the config, while I stay on my optimal keyboard [12:16] but for the display managers :) === eroc19903 is now known as eroc1990 [12:23] Hi! are there any gotchas with do-release-upgrade? I want to migrate my ubuntu 14.04 server to ubuntu 18.04 for now.. [12:24] not much; be sure to apt update && apt upgrade before do-release-upgrade, to get the latest update-manager (and kernel) [12:24] also if you have a pending kernel update, reboot before do-release-upgrade [12:25] I had one failed upgrade because the libc in the next release wanted a kernel that I had apt upgaded to, but hadn't rebooted yet [12:25] but I think do-release-upgrade checks for that these days (I filed a bug and everything) [12:26] mgedmin: i see, thanks for the heads up! [12:45] I am unable to use my microphone on a new Dell https://askubuntu.com/questions/1337235/no-microphone-exist-on-a-brand-new-inspiron-5509?noredirect=1#comment2283116_1337235 I don't think I have the correct drivers. How do I get my microphone to work for video conferencing? === anicet_ottflo is now known as AlbertLarsan68 [13:32] Hello, Ubuntu community! [13:33] welcome Malsasa [13:34] Congratulations to the switch to Libera.Chat. I was an active IRC user at Freenode too. [13:34] * Malsasa currently writing about Libera.Chat and Ubuntu right now [13:45] Hello, hello, Ubuntu! [13:51] welcome BabyPanda [13:51] lotuspsychje, hi, this is me Malsasa trying out Libera.Chat with another IRC client. It works! [13:56] you can tryout the webchat from community support aswell [13:57] lotuspsychje, yes, I am trying that with Malsasa account. [13:57] Ah, I meant, nick. [13:57] * BabyPanda too long no joining IRC === anicet_ottflo is now known as AlbertLarsan68 [14:38] I am now registered to Libera.Chat. [14:46] can someone help me with this error? i don't understand what it means or how to fix it [14:46] i'm trying to install nfs-common and this happens [14:46] dpkg: error processing package linux-image-5.8.0-55-generic (--configure): [14:46] installed linux-image-5.8.0-55-generic package post-installation script subprocess returned error exit status 1 [14:46] Errors were encountered while processing: [14:46] linux-image-5.8.0-55-generic [14:46] E: Sub-process /usr/bin/dpkg returned an error code (1) [14:47] !paste | silatel [14:47] silatel: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [14:47] ah im sorry i didnt know [14:47] should i do it now? [14:48] this is the error [14:48] https://paste.ubuntu.com/p/ZPPGqJ3Zcj/ [14:48] !screenshots [14:48] Screenshots can be made with the [PrtScr] button. Want to show us a screenshot of your problem? Upload an image to http://imgur.com/ and link the created page here. [14:48] !pastebinit [14:48] 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 [14:49] did you update the kernel recently , without reboot, before install nfs-common? [14:49] ? [14:49] oerheks: i think i might have done something [14:49] oerheks: but i already rebooted [14:49] oerheks: i could try to reboot one more time and let you know [14:49] or run updates again, to see. [14:50] oerheks: ok i'll be back in 2 min [14:51] not sure you want nfs-common, as libnsf is standard installed [14:51] they already left === linsux is now known as linrox [15:10] Hi. I'm definitely out of my comfort zone, here, but I'm hoping to get help with my ubuntu 20.04.2 LTS. Someone highly recommended I join the #ubuntu list, here. I don't even know what irc is. [15:11] Chris81: hello, start by explaining what is your issue. [15:14] Takes me 5+ seconds just to enter commands, switch between apps, etc. df reveals I have lots of space except what is dedicated to snap. I don't even know what snap is. Do I need snap? Whenever updates are offered I just accept them all, because I don't know the ramifications of refusing them. So, I may have accepted snap at some point. I could do a [15:14] df dump here but not sure that is too ling for a chat interface. [15:14] !pastebin | Chris81 [15:14] Chris81: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [15:15] !snap [15:15] Snaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io [15:15] pretty neat software distributing system. [15:17] https://paste.ubuntu.com/p/yVWkC7vrkk/ [15:19] Chris81: why did you do ctrl+C after the df? [15:20] I was trying to copy. Then I remembered I just had to use middle mouse button to paste. [15:21] any reason why you think space limitations are causing the slowdown? [15:22] Just that historically that has been my reason for slowdown issues. Maybe not this time, though. [15:23] the snap stuff always takes up 100% because they are designed to be confined which is why there are so many loops there [15:24] Also, that is one of the only things i know how to do at command line. That, and ps ax then kill[nnnn] when a process is hanging. and sudo apt-get install whatever. When you're a plumber with only three tools, those are the ones you grab. :P [15:25] OK, so snap just takes a little space then fills up that space. [15:26] each snap will only take up what it needs [15:26] when did you first start experiencing the slowdown? [15:27] Two days ago. [15:27] installed anything out of the ordinary at that time? [15:30] NO new installations. Something has come up and I have to leave for an hour. Sorry, i hope I haven't left a bad impression my first time, here. I'll make sure I have an hour work to do at my computer when I get back on. Thanks for your patience. I'll search or scroll for comments when I get back. I don't want to piss you guys off. Seems like a [15:30] helpful and active list. [15:31] no worries, this channel is always open [15:59] Chris81, I know you're AFK, but in case it was not clear: the snaps are like CDs, the content is read only and there is never "free" space in the software image. The main disk to watch in your case is dev/sda1 (1% /boot/efi) which has lots of free space [16:02] and... of course, what I really meant was /dev/sda5 (8% /), not /dev/sda1 [16:05] hostnamectl status && free && df -h && lscpu && lspci && lsusb && dmidecode && systemd-analyze blame === Loetmichel_ is now known as Loetmichel [16:46] Understood. So, disk space is not my issue. [16:52] The latest ubuntu update broken serial communication [17:17] I don;t really know enough to ask the right question I suspect, so please bear with me. I have a raspberry PI connected on a USB port to my ubunto machine. ip a shows the usb0 device. If I do a dhcpcd usb0 then I sure enough can communicate, I get a 169 series IP address. But I dont really like this solution since then I lose my connection to the wlan0 - what is the right way to do this? === bsmith093 is now known as Guest4959 [17:26] hola [17:26] shalom [17:33] jpmh: lol [17:35] hoppity: שלום [17:45] jpmh: why not chose a fixed subnet from 10.0.0.0/8 for both the pi and your system? [17:45] for example via netplan, or the GUI [17:46] cbreak: rerember I said I did not know enough - my wlan is a 10. address - the raspberry pi of course makes a 169. address and is running Raspbian - so I really - the pi actually does have a 10 address too, on its lan ip [17:46] Chris81, top? System load monitor? [17:47] use a different 10. [17:47] you don't need a whole class A for both interfaces [17:48] cbreak - YEP, and how would I do that? [17:49] cbreak: remember I told you I really don't know enough to ask the right questions I do however need that the connection NOT go through the router that is the 10, router === volki57_ is now known as volki57 [17:51] you know about subnet masks? [17:51] how do I force a service to start (i.e. ignore a masked dependency)? [17:51] cbreak: YES - I know what they are and sort of how they work - [17:52] for some debugging I want to run rpc.mountd in foreground mode, but kernel-nfs-server refuses to start with nfs-mountd masked [17:52] jpmh: chose something like 255.255.255.0 [17:52] and then 10.0.1.0 for subnet 1 and 10.0.2.0 for the second [17:55] I keep getting: Failed to start nfs-kernel-server.service: Unit nfs-mountd.service is masked. === andydude_ is now known as andydude [17:57] cbreak: TY - I'm not sure that I fully understand yet, but you have pointed me ina direction I can now read more about - ty so much [17:58] really apprecaiedt your patiece [18:05] @mbeierl not sure what you mean by System Load Monitor [18:07] apt is reporting some jargon about having held broken packages. [18:07] and I don't know what to tell it., [18:08] Chris81, it is a program that shows grapically the load (CPU, etc) on the system. Depending on what flavour of Ubuntu you installed, it might be known by different names. On my Mate desktop, it is call System Monitor. But the easiest might just be to start a terminal and execute the "top" command [18:08] And from there see what process is "top of the list" in using your CPU? [18:09] rrr: is that on -desktop or -server? [18:10] -server but arm [18:11] @mbeierl Oh, yeah, I did that. It was showing gnome taking up 50% of CPU [18:11] the pi does an outstanding job. Unable to use a web-browser but mostly functions, I am having the darndest time getting libavfilter-dev to install. [18:11] I think I might be stuck between dist upgrades somehow. [18:13] @mbeierl https://paste.ubuntu.com/p/PJSBrMCV5P/ [18:13] Chris81, interesting... can you type the letter "c" when the top display is showing. That gives the full command line of the process that is taking up CPU [18:14] rrr: try to collect your apt errors in a pastebin please, volunteers can help debug better when they see whats going on [18:17] Not sure what 'c' did - just seems to refresh screen. https://paste.ubuntu.com/p/Gfb9j8Wjhx/ gnome is always on top using as much as 70% at any one time. e. [18:19] Chris81, just wanted to see if additional cmdline arguments came up with the gnome-shell. Odd question: does moving your mouse rapidly for a couple seconds cause the CPU to show higher in top? [18:19] I'm starting to think that the last ubuntu update was too much for my system. This system has been working great for the past year. These updates are a mystery to me. i just accept them all, not knowing what they are. [18:20] Chris81, part of me is wanting to think this might be a graphics card module mismatch, like the system is trying to do software rendering instead of hardware [18:21] @mbeierl Yes, it takes about five seconds, after shaking the mouse, but i got gnome up to 98.7% doing that. [18:22] The five-second wait is consistent with all my other operations, now. [18:23] Chris81, it sounds a little like this: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1900760 but that should be fixed by now [18:23] Launchpad bug 1849142 in gnome-shell-extension-appindicator (Ubuntu Focal) "appindicator extension slows down GUI spamming the log with '[AppIndicatorSupport-FATAL] unable to lookup icon ...' or 'Impossible to lookup icon'" [High, Fix Released] [duplicate: 1900760] [18:23] come on GOOGLE and OWASP [18:23] what about quantum linux kernel securityQA and responsiveness decepticons!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! === francis_ is now known as francis [18:24] * rud0lf hands isapgswell a paper bag to breathe in [18:24] I managed to paste the error: https://paste.ubuntu.com/p/gpRw4mz88Q/ [18:25] oh, well most of it. [18:26] how can I use the integrated graphics as primary gpu instead of nvidia? I already removed "Option "PrimaryGPU" "true"" from nvidia conf but still [18:28] Guest71: optimus cards can be handled with nvidia-settings [18:37] Guest71 switch via nvida-settings and logout [18:38] @mbeierl Yes,that was an interesting bug. My slowdown is not just mouse-related, though. Even doing Alt+Tab to move to the next open app takes five sesonds. [18:44] Guest71 or better, reboot [18:47] Do I really need all these processes running? https://paste.ubuntu.com/p/FR7g9mbdbW/ [18:48] come on GOOGLE and OWASP [18:48] what about quantum linux kernel securityQA and responsiveness decepticons! [18:48] linux and modules mutual autorelationship [18:49] no except [18:51] Chris81, that looks pretty normal. None of them are your culprits, and they're not going to be taking up resources. It still feels like a display issue to me, but I have no idea how to dig deeper [18:53] Is there any way I can undo the latest ubuntu update? I'm wondering if it added bloatware to my gnome. [19:01] @mbeierl I found a little fix. Alt+F2 > r restarts gnome without closing any applications. :) Everything seems good, now. [19:02] Chris81, interesting. I wonder if it's going to come back. I'd recommend filing a bug if it does [19:04] Yes, I will. Of course, I'll keep that fix in my back pocket. Thanks for all the help, everyone. [19:06] hello is there any fix for a crappy sdxc card that has become 'read only'? [19:08] raecarruth: That usually means it is shot [19:09] great [19:11] There is no logout for this chat? Just close the https://web.libera.chat/ page? [19:12] Chris81: Closing the web page will shut it off [19:12] raecarruth: more precisely it means that it has run out spare write blocks. [19:13] raecarruth: there are cards with "high endurance" (better chips, more spare blocks) and they cost significantly more. [19:20] Hey guys, I'll ask both my questions since we couldn't solve either in the Lubuntu channel. (implying I'm trying to use lubuntu) [19:21] So first of all if I try to use the LTS or latest release, I can't because the resolution is really bad, and the next button is off the screen for the installer. I can't change the resolution nor can I install a better drive because it's a live environment. [19:22] And since I couldn't fix this, I tried going back to 18.04, which has an alternate installer, and I got farther with it. I got to the partition management part where you have to click "undo partitions and continue", or something similar. but when I do click it, it freezes and nothing happens from there. [19:23] I also ran a disc check because of this and I got this result: [19:23] Uploaded file: https://uploads.kiwiirc.com/files/98a1a084d006b38ed2e5bc1366e3c134/20210607_210709.jpg === milosz_ is now known as milosz [19:27] is there a way to disable input read/write thread executing?? [19:27] buffer === SuperL4g is now known as SuperLag [19:35] diniamo: USB memory sticks are notoriously poor [19:35] diniamo: did your download verify correctly before you wrote it tothe memory stick? [19:35] I'm pretty sure yes, I downloaded it using the magnet link [19:38] Well what do I use if not a USB stick though? [19:38] It's the simplest option [19:39] I was mostly just thinking a newer usb stick [19:39] did you do an integrity check of the USB stick after writing the image to it ? [19:39] they're useful, it's just that they've got a shelf life that's significantly shorter than most people think [19:39] Hello. Just to keep it on the record. On my computer, firefox could not access any site through dns until I removed ipv6.disable=1 from grub.conf// [19:39] 20.04 does that by default, in 18.04 you had to explicitly select it [19:40] Shame I couldn't get 20.04 then, how do I do it in 18.04? [19:41] dunno, somewhere in the boot menu there should be an option [19:41] nte also that you can move windos around with alt+click in nearly every graphical environment, that should wrk with the 20.04 live image too [19:42] * ogra notes that his typing is pretty poor today and throws some spare chars at the sentence above [19:43] OK so, no I cannot move the installer window around [19:43] it doesn't have a handle [19:43] And I think I did a check, I sent the error above [19:43] alt+click *somewhere* on the window should grab it [19:43] how to safely remove old kernels? [19:43] Uploaded file: https://uploads.kiwiirc.com/files/98a1a084d006b38ed2e5bc1366e3c134/20210607_210709.jpg [19:43] but here it is again [19:43] ... then you can move it around so you can reach the next button [19:45] (that should at least work on an ubuntu desktop live image .... not sure about lubuntu, i think they do not use ubiquity anymore, but some own installer) [19:49] That's the olden Debian installer though. [19:50] Oh, yeah I could also only launch the safe graphics version [19:50] Guest82: Depends on the package manager that you have - try ' sudo apt --purge autoremove ' :D === sunarch_ is now known as Guest7024 [19:51] Bashing-om this cmd doesn't list kernel [19:51] o, it removes obsolete ones [19:52] updates now deletes obsolete kernels too [19:52] right [19:52] after reboot and update again* [19:53] Guest82: ' dpkg -l | grep linux- ' to list kernels and state. [19:53] Hi folks, I did a do-release-upgrade recently from 16 > 18 > 20. I'd installed Python 3.8 on 16 for experimentation. Now on 20.04 I have a different minor version of 3.8 built in. When I try `pip3 install -U pip`, this is the ModuleNotFoundError I get, which I don't with pip2: https://paste.ubuntu.com/p/FxscBPBh3g/ [19:56] message is clear; python2 is eol. so, use pip3? [19:56] if this is a repeat from yesterday; python-is-python3 package can disturb pip(2) comands likely [19:59] icedwater: I think you should only be using pip etc within virtualenvs [20:04] !register [20:04] For information on registering your IRC nick, see https://libera.chat/guides/registration - For any further help, ask in #libera [20:07] is it better to install app from snap or deb? [20:07] to the average user it probably doesn't matter. question is why you ask? [20:07] depends what you want 🙂 [20:08] ... and depends on the app [20:10] How can I automatically shut down my computer after mdadm has completed the RAID rebuild? (Ubuntu 20.04, softraid RAID 1) [20:10] linux kernel source security: validation, autoban, notifyAll and sanitize [20:11] Nitrigaur, if you call it from a terminal you could probably chain the commands in usual shell manner like: cmd1 && cmd2 && cdm3 [20:12] ogra, true, but I do not call it from a terminal, it's an automated process that prevents me from shutting down my computer. === ghostcube_ is now known as ghostcube [20:13] Nitrigaur, though note that using "sudo shutdown" will likely not work because the sudo token will have timed out when mdadm is done ... so first doing "sudo -s" to get an actual root shell, then your mdadm command and then appending && shutdown should work [20:13] oh [20:14] i suspect there is no toggle for this anyhere [20:14] Could try just shutdown [20:15] most likely to leave the raid in the bad condition and get the same thing again on next shutdown though [20:16] ogra, that is a pity, because while that is happening, my computer refuses to shut down (which is understandable given the rebuild process), but I want it to finish normally and after that, shut down, to prevent wasting energy by keeping the computer on needlessly [20:16] Nitrigaur: can you spot the difference between rebuilding and not rebuilding in /proc/mdstat? [20:16] Nitrigaur: if so a while true ; do sleep 30 ; grep something /proc/mdstat && shutdown -h now ; done kind of loop might do the trick [20:17] sarnold, yes, that would be a sane method to approach it. [20:22] sarnold, at the moment the mdam process is sleeping, but it would be unwise to trigger a shutdown on that state alone [20:23] Nitrigaur: as far as I know, my one system with mdadm in use isn't doing anything at the moment, http://paste.ubuntu.com/p/mkkyX5rbSS/ [20:24] (I never actually look at this file, so if it's actually busted, please do let me know :) [20:24] sarnold, neither is mine at the moment, but thank you for sharing your pastebin anyway :-) [20:25] sarnold, my mdadm status looks similar. [20:26] Nitrigaur: ah, so this isn't so much an active problem to troubleshoot as a thing to solve for the future/ [20:27] sarnold, that is true. I thought to ask around here to see if someone else had already encountered such a state. I do encounter it regularly though. [20:34] after upgrading to 21.04 htop works partially OK: it shows what % of the cpus is being used, but in the body of text, every process consumes 0% [20:34] will I solve this if I reinstall htop? [20:34] gneeriiloeepdeer: it's possible the htop snap needs some permissions [20:34] sarnold, no snap, apt [20:35] gneeriiloeepdeer: ah, hmm. [20:35] the snap auto-connects all necessary interfaces by default (i use it exclusively on all machines) [20:35] oh nice, thanks ogra [20:36] my most used snap is htop 😄 [20:36] a, lol, we got a snap fan (ogra) and yesterday there was another user deadly against it, variety... [20:38] gneeriiloeepdeer, does top show the same behaviour ? [20:38] is "tlp" really useful? [20:45] can nvidia prop driver work with wayland? [20:48] Guest82: recently the canonical oem group wanted to move tlp into main because they use it as part of meeting energy star requirements for partners; it feels like it probably is useful, but I'm still skeptical [20:48] Guest82: afaik nvidia's drivers don't work with wayland yet [21:02] ogra, I don't know, === ghostcube_ is now known as ghostcube [21:03] gneeriiloeepdeer, well, there is n easy way to find out [21:03] *an [21:03] Guest82: https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-470-Wayland-Friendly [21:03] I still believe is a bug, this only happened after upgrading [21:03] Guest82: "tlp" helps a bit, there is also 'powertop' [21:04] gneeriiloeepdeer, there is surely a bug somewhere ... or a misconfiguration ... either way we wont know if it is something systemic or a htop bug if you dont run the top command once to compare [21:04] I have written something like 'tlp' so I have done some tests, [21:05] but usually for laptops the biggest problems are browser tabs, WiFi and screen backlight [21:05] Walex2, thats mean, dont blame the tabs for their bad content 🙂 [21:08] ogra: sure, it is not the browser's fault, it is the site designers who know that they don't pay for user CPU time. [21:10] what is the best way to set static DNS servers for the whole system? [21:12] Guest82: https://blog.ubuntu.com/2017/12/01/ubuntu-bionic-netplan has examples. [21:29] why esp partition is still mounted after boot?? [21:29] any idea? [21:31] isapgswell: That is how it works [21:31] isapgswell: it is listed in /etc/fstab [21:32] jeremy31 there's no need, some admin program could make a new instance (clone) kernel? [21:32] jeremy31 i had a mobile cel with more than one kernel loaded at a time [21:32] jeremy31 android cellphone [21:33] * tomreyn can't follow [21:33] me either [21:35] jeremy31 i think is safer to umount esp to avoid "phantasmagoria" [21:36] jeremy31 not all linux distro are fully sandboxed [21:39] hi! I'm having the following errors after apt update and apt dist-upgrade: https://pastebin.groundzero.icu/view/f28ac95e ( raw at https://pastebin.groundzero.icu/view/raw/f28ac95e ). any ideas. TIA [21:40] KS3: can you show the full ouput of "sudo apt update" as well? [21:43] this seems to be the first fatal error on your log: "mount: /var/lib/grub/esp: special device /dev/vda15 does not exist." === EriC^ is now known as EriC^^ [21:43] tomreyn: this: https://pastebin.groundzero.icu/view/55411e67 [21:45] indeed there's no /dev/vda15 [21:45] KS3: i'm not sure how openstack boots guests on your cloud [21:46] does it use bios or uefi booting? [21:46] erm. honestly no idea. it's a kimsufi dedicated server though [21:48] what's the output of journalctl -b | grep 'kernel: Booting ' [21:48] May 28 21:25:24 ks3-2 kernel: Booting paravirtualized kernel on bare hardware [21:51] that's the only output, though [21:51] hmm okay so its indeed dedicated hardware, i guess [21:52] i guess you will need to find out where grub is meant to install its shim to, then make that available (mount it) at /boot/grub/esp [21:55] or, if you don't actually need a boot loader because it actually IS a VM which is set up for paravirtualization then you could just remove all grub packages, but that doesn't seem to be the case. [21:59] I hate you, systemd. [21:59] It went and stopped nfs-kernel-server all by itself, again. [22:09] although very risky, I've followed this: https://itectec.com/ubuntu/ubuntu-error-processing-package-grub-efi-amd64-signed-ubuntu-20-4/ [22:10] seems to have worked. === keypushe- is now known as keypusher [22:19] complete output of the commands on that tutorial (in case I've done something nasty): https://pastebin.groundzero.icu/view/a5b50d57 ( raw at https://pastebin.groundzero.icu/view/raw/a5b50d57 ) === niko is now known as o [22:22] how am I supposed to know which one is better, snap or apt? Or does each developer give preference to one and is simply impossible to systematically know which one is 'better'? [22:23] Personally, I rip snap out of every new install I do. [22:23] what changes did happen when 21.04 was being developed? now the snap version of htop works like apt used to... [22:24] gneeriiloeepdeer, because neither is "better" ... [22:24] the are different packaging formats [22:24] *they [22:24] B0g4r7, why? [22:24] I find it to be bad. [22:25] Every snap I install adds another mount point to clutter up my list. [22:25] because they are images that get mounted [22:25] KS3: you chose to remove several grub packages, and to destroy / remove their configurations as well: [22:25] grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober grub-efi-amd64-signed-template grub-pc shim-signed [22:25] Things I install via snap can't access the filesystem normally. Wanna use the "export to csv" function? Too bad. [22:25] saves a lot of space, keeps them reaonly and tinker proof [22:26] KS3: and then you decided (?) to install all of these packages: [22:26] grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober grub-efi [22:26] B0g4r7, did you report that to the developer of that snap ? [22:27] I installed the Chromium snap. Chromium would run for a while, and then after maybe a day the tabs would stop working. It would say "oh snap, something went wrong." I uninstalled it and installed the apt version and the problem went away. [22:27] ogra, I did not. [22:27] KS3: i guess this isn't strictly wrong,. unless you need to do 'secure boot', which you probably don't [22:27] KS3: i.e. i think you got lucky this time, following some random post on the internet without understanding what its impact is. [22:28] Also, snapd deems to randomly decide it needs to do something and will max out a CPU core and do a bunch of IO for no reason that I can discern. [22:28] All of these things make me not like snap. === coz_ is now known as not-coz_ === not-coz_ is now known as coz_ [23:38] I'm trying to start barrier/synergy under gdm3, following a modified recipe (using barrier from snap): https://help.ubuntu.com/community/SynergyHowto with this at the end of /etc/gdm3/Init/Default: https://termbin.com/ik28 [23:38] I've edited /etc/gdm3/custom.conf to ensure gdm runs on X (because barrier doesn't work on [23:38] Wayland). [23:38] The result is that my user does start with a barrier client (whether I log in using gdm to authorise or automatically), but I can't access gdm over barrier. I'd appreciate tips on how to debug. I don't know how to find out for instance which Xdisplay gdm3 is using, so I can add the right --display switch to the barrier.barrierc command. [23:44] Hello, I am having an issue with Ubuntu no longer being able to use a USB sound card after a reboot. [23:44] For referance output of uname -a os "Linux william-hambook 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux" [23:45] And it is visible under lsusb. [23:45] terminal alsamixer F6 choose sound card? [23:46] It shows up there but not under any of my applications. (Most seem to use Pulseaudio) [23:46] hmm what DE? [23:46] DE? [23:46] desktop environment [23:47] gnome, kde, mate etc [23:47] Currently using LXDE due to this being on an old netbook. [23:47] I can try logging in under the default and checking. [23:48] ah ok, hmmm, I never used LXDE, so my help may not be appropriate for your situation [23:49] I have a feeling Pulseaudio somehow isn't running because my pulseaudio volume control sits forever on "Connecting to pulseaudio" [23:49] chibill[m], unfortunately I use PipeWire and not pulsaudio [23:50] I am only using pulseaduio because its was a requirement for WSJT-X (hamradio data mode software) [23:50] chibill[m], I have a usb sound card that works fine under pipewire, sorry I have no solution for you %( [23:55] whats wrong with pulseaudio? === bsmith093 is now known as Guest5245 [23:56] Seems I got pulseaudio to start but it still can't see my USB sound card. [23:57] Swift110-mobile, nothing is wrong with it, my distro switched to pipewire [23:58] the distro I am on at the moment