[01:46] clear [01:49] my wired connection is unmanaged , manged option has set to true in NetworkManged.conf === M4he is now known as mahe [01:54] ooowhat is the renderer in the /etc/netplan/01-network-manager-all.yaml file ? [01:54] oops: ^ [01:56] Bashing-on: the 01-network-manager-all.yaml file always has error ,and i can't use "netplan apply" successfully, i has deleted it [01:58] Bashing-on: if it relate to that file, can i create a empty 01-network-manager-all.yaml file? or are there any methods to auto-generate it ? [01:59] oops: That file " # Let NetworkManager manage all devices on this system" - without it you will have to set up some alternate - Not in my field of experience there :( [02:00] Bashing-om: the netplan 's yaml file is too hard to let work well although it's only several rows [02:01] Bashing-om: could you give me a example, then i copy it under my netplan directory [02:02] oops: I can pastebin the file I have, sure. [02:06] oops: https://termbin.com/xypi - yaml file - spaces and tabs must be exact so take care. [02:09] oops: Is this a desktop machine whare you can use systemd-networkd for networking ? as a thought. [02:14] Bashing-om: systemd seems for server render, NetworkManger is for desktop , you post file is too simple, it's better to have a yaml file which include several options , if i have need to add attribute , then i can modify it directly , [02:15] oops: see: https://blog.ubuntu.com/2017/12/01/ubuntu-bionic-netplan . [02:17] Bashing-om: ok, thanks, [02:19] oops: :D [02:21] Hi all, I'm trying to install python 3.8 on hirsute, but someone has deleted it from the available packages [02:21] https://launchpad.net/ubuntu/hirsute/amd64/python3.8 [02:22] !info python3 hirsute [02:22] python3 (3.9.4-1, hirsute): interactive high-level object-oriented language (default python3 version). In component main, is important. Built by python3-defaults. Size 22 kB / 89 kB [02:23] b0nn: ^^ [02:23] Yeah, for reasons I need 3.8 [02:23] no downgrade possible, and if you want it, build it yourself. and fix the problems after that. [02:24] or make a VM with focal fossa 20.04 LTS [02:25] that's an idea [02:25] or a container [03:02] So, is python still python2 in ubuntu? [03:03] !info python3 hirsute | triteraflops [03:03] triteraflops: python3 (3.9.4-1, hirsute): interactive high-level object-oriented language (default python3 version). In component main, is important. Built by python3-defaults. Size 22 kB / 89 kB [03:04] well, of coutse there is a python3 package. I mean which python does /usr/bin/python point to these days? [03:06] triteraflops: "sysop@2004x-c:~$ ls -al /usr/bin/python" >> ls: cannot access '/usr/bin/python': No such file or directory . [03:06] woah, wasn't expecting that... [03:07] Is that just because you don't have python2 installed? [03:07] to /usr/bin/python3 i guess.. there is a python-is-python2 package, not recommended [03:08] triteraflops: "lrwxrwxrwx 1 root root 9 Aug 11 2020 /usr/bin/python3 -> python3.8". === beaver is now known as pong [03:20] well the link from python3 to python3.8 is pretty normal [03:20] wow, so no /usr/bin/python. Aren't a lot of scripts going to fail? [03:21] unless there's a python somewhere else in the path... [03:22] I'd look myself, but there isn't a fast way to do it. I use archlinux. [03:22] I'd have to set up a virtual machine or something. [03:23] I was just wondering what to expect if somebody tries to run my python scripts on ubuntu [03:23] triteraflops, many upstream packages are now Python3 only, as there will be no updates in Python2 from the Python core developers. [03:26] triteraflops: My bash scripts # Force specific Python version >> PYTHON="python3" . [03:28] It's also a thing in android development. A lot of the scripts assume there's /some/ kind of python in your path that is just called "python" [03:37] triteraflops: ^^ That is as far as my needs/thinking has gone for python :( [03:53] Well, still, it's good to know. Portable scripts 100% cannot rely on the existence of a python that is just called "python". [04:29] android development.. python2 .. serious? [04:32] how big is the extracted iso as i am tring to duel boot win 11 and ubuntu and i do not have a external storage medium [04:33] the 'extracted' iso is as big as the iso [04:33] booting such iso needs grub to be installed already [04:34] ok so how big is it in MBs [04:34] look at https://cdimage.ubuntu.com/ ? [04:34] too many iso;s [04:39] oerheks: yeah lol [04:39] oerheks: but this notion may be outdated. That's actually what I'm testing right now. [04:41] oerheks: see, for instance, https://wiki.archlinux.org/title/Android#Building_the_code [04:42] oerheks: er actually see here: https://wiki.archlinux.org/title/Android#Setting_up_the_build_environment [04:42] https://snapcraft.io/androidsdk [04:44] oerheks: Oh, not developing for android. Developing android. === rud0lf- is now known as rud0lf [05:27] howdy, friends - after installing an icon theme (newaita) into ~/.icons and chosing it with gnome-tweaks previews of pictures in the default file explorer no longer work === toolz is now known as Daniel === oerheks is now known as anyone === anyone is now known as oerheks === EriC^ is now known as EriC^^ === saribro is now known as swinnenb === javaJake_ is now known as javaJake === javaJake_ is now known as javaJake === pi__ is now known as cima [08:30] hello [08:30] sorry I couldn't msg though freenode so I changed the server [08:31] so is there anyway to make custom Ubuntu distro [08:34] hello [08:36] Depends what you mean, do you just want your own build or are you planning on setting up and shipping distros to people. [08:38] so is there any documentation on it sixwheeledbeast [08:39] BurnOS: what do you mean by 'custom Ubuntu distro' ? A customised installer (customising packages/configs) for internal use? [08:39] yes [08:43] I want to make my own distribution with many functions and more utilities [08:47] Maybe start with LFS. https://www.linuxfromscratch.org/ [08:48] ok === buildthe1 is now known as n[i]ggers [10:17] I had used "modprobe -r wacom" to remove the wacom module now even if I compile from source and reinstall for the current kernel "lsmod|grep wacom" shows nothing even after restart [10:18] I don't know these commands very well and I think I goofed up somewhere there are no compile errors. [10:24] hmm managed to solve the issue. [10:27] heh, lfs would be a bit of a challenge nowadays [10:27] done that looong ago [10:42] hello [10:42] welcome victor_ [10:42] thanks :-) [10:42] how can we help you today victor_ [10:44] i need some help on ubuntu 18.04 heh , i have Dell Latitude 7420 laptop , i installed 18.04 on it , but there is a problem with the built in display driver , it`s Unknown for some reason , and cant find a decent solution for it over the web/forums [10:44] victor_: can you pastebin sudo lshw -C video please [10:45] over here or private msg? [10:45] here in the channel please, so other volunteers can also think along with your issue victor_ [10:45] *-display UNCLAIMED [10:45] description: VGA compatible controller [10:45] product: Intel Corporation [10:45] vendor: Intel Corporation [10:45] physical id: 2 [10:45] bus info: pci@0000:00:02.0 [10:46] !paste | victor_ [10:46] victor_: 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. [10:47] !pastebinit [10:47] 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 [10:48] victor_: unclaimed means driver didnt pickup for some reason, can you pastebin dmesg too please [10:50] !dmesg | victor_ [10:50] victor_: dmesg is a console command which outputs the kernel ring buffer - an important log for diagnosing problems in Linux. Often when something errors with hardware it will result in additional lines reported which can be seen by running dmesg in a console. [10:51] lets stay here victor_ in public [10:52] yeah ok , im trying to understand how to use this pstebin command :-) [10:53] its explained in the factoid above victor_ [10:53] To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit [10:58] http://paste.ubuntu.com/p/WR6bbsswX3/ [10:58] hold on , ill do the dmesg [11:00] http://paste.ubuntu.com/p/YxPTP4Z66W/ [11:00] there ya go [11:00] 10x [11:03] victor_: could you try to disable secureboot and see if your issue persists? [11:04] yup , hold on [11:06] I'm interested in what I need to do in UEFI (BIOS) before installing ubuntu. The configuration is Lenovo IdeaPad UltraSlim 3 Intel Core i5 1135G7 2.40GHz 12GB 512GB SSD FreeDOS 15.6 "IPS Full HD Intel Iris Xe Graphics? Which is the recommended version of ubuntu 20.04TLS or ubuntu 21.04 thanks === diskin_ is now known as diskin [11:22] hah, installer on 21 is no better [11:22] after creating logical volumes myself it's stuck in "ubi-partman crashed" [11:23] can't close this eithe [11:23] webchat53: 20.04 is better imho, you wont have to upgrade for a while [11:27] it has a cute splash screen though [11:28] lotus , its disabled now... but still display driver is unknown [11:32] is there anything else maybe on your mind that could help? :-) [11:36] somebody? anybody? hehe :-) [11:37] Hi all [11:39] victor_, just lurk someone will reply when they can (irc is sometimes hours or days) [11:45] EriC^^: thanks, that's what I thought, the only thing that bothers me is that everything needs to be done in UEFI (BIOS) before installation. Intel i5 11gen supports ubuntu, are there any problems with SSD? [11:47] webchat53: ssd shouldn't be a problem, uefi isnt a big deal, if you run into any problems you can ask around in the channel, should be fixable [11:47] thanks [11:47] thanks donofrio [11:47] no problem [11:50] victor_: sorry i was afk, i found this in your dmesg: drm] Your graphics device 9a49 is not properly supported by the driver in this [11:50] kernel version. To force driver probe anyway, use i915.force_probe=9a49 [11:50] module parameter or CONFIG_DRM_I915_FORCE_PROBE=9a49 configuration option, [11:50] or (recommended) check for kernel updates. [11:51] I've just installed ubuntu server 20.04 on my rpi4, and when i log into the user ubuntu, the home-folder is empty.. is that normal? [11:52] avrdude, yes -- you won't see Pictures / Downloads / etc. -- those are only the default on desktop images [11:53] (there should be some "hidden" dotfiles, .bashrc and the like though, copied from /etc/skel) [11:54] True, the hidden files are there.. ok, I'll make my own folders then, thanks! [12:10] thanks lotus [12:25] how can i915 driver be a problem? [12:25] unless trying to use it on wrong hardware :) [12:26] avrdude: what are you expecting to find there? [12:27] pff, managed to install 21 using a sane lvm layout [12:28] had to drag it into this century kicking and screaming [12:29] tuxick: if you just want to chat move over to #ubuntu-offtopic please [12:32] lotus , i tried to update kernel to the latest version 5.6.17 with ukuu , and the problem remains , still unknow display === iczero_ is now known as NI[GG]ERS [12:59] victor_: try that kernel parameter your dmesg reccomends; use i915.force_probe=9a49 [13:03] lotus , im sorry im alittle bit newbie in linux , how do i change the parameter? ill be glade if you can give me some instruction on private msg (sorry for bothering) [13:03] !kernelparm | victor_ [13:03] victor_: To add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters [13:13] Hi! Using Ubuntu 20.04.2 LTS focal, how can I get libc6 (>= 2.32) and libx11-xcb1 (>= 2:1.6.12)? I seem to need those for waterfox: http://paste.debian.net/plainh/005eefe0 [13:17] !info libx11-xcb1 focal [13:17] libx11-xcb1 (2:1.6.9-2ubuntu1.2, focal): Xlib/XCB interface library. In component main, is optional. Built by libx11. Size 10 kB / 84 kB [13:17] Sven_vB: !pinning or !backports perhaps? [13:18] apt says "Version of libx11-xcb1:amd64 on system is 2:1.6.9-2ubuntu1.2." so it agrees with ubottu [13:18] oh, sorry, now I get it [13:18] !backports [13:18] If new updated Ubuntu packages are built for an application, then they may go into Ubuntu Backports. See https://help.ubuntu.com/community/UbuntuBackports - See also !packaging [13:38] !info libx11-xcb1 focal-backports [13:38] Package libx11-xcb1 does not exist in focal-backports [13:38] !info libc6 focal-backports [13:38] Package libc6 does not exist in focal-backports [13:39] it seems I already have backports in my apt sources. do the bot replies mean it's expected to not make a difference to have them? [13:40] !pinning [13:40] pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto === Amaranthus is now known as Amaranth [13:51] lotus , thank you very much , it worked like a charm!!!!!! [13:51] u rock === genii-core is now known as genii === wyre_ is now known as wyre [14:34] Hey guys, how can I configure bluetoothd on Ubuntu 18.04 to accept all bluetooth connections without requiring PIN entry? [14:34] or at least without requiring PIN entry on the server side [14:35] Hi everyone, today I had an update which I was installing and my laptop freezed due to other processes I was working on, so I force shutdown my system. Next thing I see that I et a black screen with blinking underscore. So I tried running my tty and I did a update, upgrade and a dpkg --configure [14:36] The system now shows me to my logic screen(gui) but I get "Sorry that didn't work" kinda error [14:36] larkfisherman: you don't, that's not how BT pairing works. If the BT device requires a pin, you cannot configure your device to just ignore it. [14:36] Any help would be helpful. Thanks :) [14:38] dpkg --configure -a ? [14:40] Right BluesKaj [14:40] ok [14:40] Sorry for skipping it [14:41] There were two libraries that were configured wrong: linux headers [14:41] and the other I can't recall === h1pot is now known as BeneditoSalvador [14:42] Also I tried changing my root password from the recovery mode [14:43] leftyfb: Oh well. Can I at least set up a predefined PIN, or is it hardcoded to generate a new one for every connection? [14:44] larkfisherman: If a BT device requires a pin, you cannot configure your device to just ignore it. Once you pair to the device using the pin it requests, then you shouldn't be asked for the pin anymore because you should be paired at that point [14:44] i'm having an issue with the snap version of kdenlive, the rendering process doesn't start, it justs shows 'waiting' [15:21] webchat40 [15:21] 20:05:41 [15:21] Hi everyone, today I had an update which I was installing and my laptop freezed due to other processes I was working on, so I force shutdown my system. Next thing I see that I et a black screen with blinking underscore. So I tried running my tty and I did a update, upgrade and a dpkg --configure > Also I'm able to log in my tty but not in the gui [15:21] login screen [15:25] webchat40, are you logged in tty as normal user or something else ? [15:27] ioria like a normal user, I assume with the same name as that of my login id [15:28] webchat40, sudo apt update && sudo apt full-upgrade [15:44] ioria: Sorry to make you wait, but it's taking longer than usual [15:44] ok [15:44] like the progress is around 61% now [15:45] Out of curiosity, what do you think could be the reason? [15:45] webchat40, the reason of what ? [15:46] That I cannot login in my system, from the login page [15:46] webchat40, a broken7uncomplete update (maybe) [15:47] it's around 99% and I see a line: dpkg: error processing package linux-headers-5.4.0-77 (--configure) [15:47] Ohh^ [15:48] Actually this the first time I'm facing this kind of an issue [15:48] webchat40, let it finisces [15:48] finishes [15:48] Yeah sure [15:48] webchat40, what's your actual kernel ? uname -r [15:49] should I run in another tty? [15:49] yes [15:50] ioria: 5.8.0-63-generic [15:51] webchat40, cat /etc/issue [15:51] Ubuntu 20.04.2 LTS \n \1 [15:52] ok [15:52] errors were encountered while processing : [15:52] linux-headers-5.4.0-77 [15:52] E: Sub-process /usr/bin/dpkg returned an error code (1) [15:53] webchat40, dpkg -l | grep linux-headers | nc termbin.com 9999 (you'll get an url, paste it here please) [15:53] ^This was returned for the command: sudo apt update && sudo apt full-upgrade [15:53] yeah i know [15:53] webchat40, dpkg -l | grep linux-headers | nc termbin.com 9999 (you'll get an url, paste it here please) [15:54] https://termbin.com/8y98 [15:55] webchat40, sudo apt purge linux-headers-5.4.0-77 [15:56] processing was halted because there were too many errors. [15:57] ^ ioria [15:57] webchat40, can you paste the output ? [15:57] sure [15:58] webchat40: sudo apt purge linux-headers-5.4.0-77 | nc termbin.com 9999 [15:58] my guess is /boot is out of space [15:58] yeah I caught that up :) [15:58] quite useful [15:58] termbin command [15:58] https://termbin.com/52x91 [15:59] https://termbin.com/52x9l [15:59] wait a min [15:59] I used use a -y flag [15:59] webchat40, we want the error .... [15:59] https://termbin.com/iuul [16:00] webchat40, sudo dpkg -P --force-all linux-headers-5.4.0-77 [16:00] Is it okay? ioria [16:00] ok [16:00] yes [16:00] webchat40, sudo dpkg -P --force-all linux-headers-5.4.0-77 [16:04] ioria: https://share.riseup.net/#KWOep4w4WXbYRktozQf9mA [16:05] I would try reinstalling it then removing it [16:05] I ran the command first, so couldn't get the paste link [16:05] webchat40: sudo apt install --reinstall linux-headers-5.4.0-77 && sudo apt purge linux-headers-5.4.0-77 [16:05] howdy - my internal soundcard+headphones stopped "working" : in the sound menu the device is there but no speakers are when hitting the test feature - no sound comes out of the headphone : the only exception is totem - running 21.04 - my onboard sound works, headphones work on a different machine [16:06] webchat40, ls /var/lib/dpkg/info/linux-headers-5.4.0-77* | nc termbin.com 9999 [16:06] strangely my headphones don't work with onboard sound [16:06] leftyfb: But don't you think it's already been removed? [16:07] ok ioria [16:07] webchat40: I think it's been half-removed which is the problem [16:08] ls /var/lib/dpkg/info/linux-headers-5.4.0-77* | nc termbin.com 9999 > No such file or directory [16:08] webchat40, ls /var/lib/dpkg/info/linux-headers* | nc termbin.com 9999 [16:08] leftyfb: actually I couldn't find .. && sudo apt purge linux-headers-5.4.0-77 [16:09] webchat40, ls /var/lib/dpkg/info/linux-headers* | nc termbin.com 9999 [16:09] ioria: https://termbin.com/sdd8 [16:10] webchat40, sudo dpkg --remove --force-remove-reinstreq linux-headers-5.4.0-77 [16:10] Hi there - I'm having trouble booting my laptop. Grub appears, and the initrd gets me to the cryptsetup splash screen, but it stalls at "waiting for device with UUID=...". Booting a liveUSB, there is no block device for my SSD, and dmesg has errors from the ext4 driver. In the UEFI/BIOS, I can see the SSD. It's an NVME SSD. I don't understand how it's ok booting from it to get to the initrd/cryptsetup phase, [16:11] but that it's broken-enough that linux won't show it as a block device. Any advice? [16:13] ioria: dpkg: warning: ignoring request to remove linux-headers-5.4.0-77 which isn't installed [16:13] webchat40, againsudo apt full-upgrade [16:14] webchat40, again sudo apt full-upgrade [16:15] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [16:15] webchat40, sudo dpkg --configure -a [16:15] nothing displayed [16:15] webchat40, dpkg -l | grep linux-headers | nc termbin.com 9999 [16:16] https://termbin.com/dcim [16:17] webchat40, sudo autoremove --purge [16:17] webchat40, sudo apt autoremove --purge [16:18] ioria: am I missing something? Looks like it's fixed now. Maybe --reinstall the latest kernel just to be sure [16:18] leftyfb, let's see [16:18] The command was successfully executed [16:19] rather without any errors [16:19] leftyfb, try a reboot and login as your user [16:19] webchat40: ^ [16:19] ok [16:20] can someone please assist me with my sound issue - or recommend a linux/sound channel for me ? [16:22] !pateince | thyriaen [16:22] !patience | thyriaen [16:22] thyriaen: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [16:23] leftyfb, thanks <3 [16:24] ioria: nope it isn't logging in [16:24] webchat40, log in tty [16:25] webchat40, and run sudo systemctl restart gdm [16:25] ok [16:27] It again started from the blank black screen and then in the login screen [16:27] But still wasn't able to login [16:28] webchat40, were you using X11 or wayland ? [16:29] I've no idea what these are [16:29] webchat40, are you using nvidia ? [16:29] no [16:30] webchat40, dmesg | nc termbin.com 9999 [16:31] https://termbin.com/xt8l4 [16:31] webchat40, do you get an error when the gui login fails ? [16:32] "Sorry that didn't work. Please try again." [16:33] This displays below the password input box [16:35] webchat40, let's create a new user 'sudo adduser test' [16:35] I had already done it before [16:36] before as in before this [16:36] and ? [16:36] Still it didn't work [16:36] But I didn't make it after following your approach [16:36] So should I still make it? [16:36] webchat40, yes, then you just remove it 'sudo adduser test' [16:37] ioria hooray I'm in [16:37] webchat40, really ? [16:38] I was using numerical password this whole type [16:38] I don't know I just tried radom aphanumeric keys and it worked [16:38] webchat40, what you mean exactly ? [16:38] huh? [16:38] like I was using 123456 as my passwd before [16:39] but I wasn't able to login [16:39] I just setup my password as qwerty [16:39] and it works [16:39] ok [16:39] idk if that qualifies as an answer [16:39] but it is kinda absurd [16:40] I'll just try changing my password to alphanumeric ones [16:40] to check if what I'm saying is correct or not [16:40] webchat40, ok [16:40] brb in a few [16:40] yeah sure and thanks too :) [16:42] indeed that works, weird [16:43] because I was able to login in tty [16:43] and for the gui screen I was still able to see the numbers using the unhide thing [16:45] What's the script with M1 devices, anyone knows if it's possible to run Linux on it without virtualization? [16:48] JayDoubleu: https://www.youtube.com/watch?v=nIQvbPw3IjA [16:49] JayDoubleu: that said, it's not officially supported by Ubuntu just yet [16:52] webchat40, so can you access your main user ? [16:52] Yes [16:52] ok, very good [16:52] But still couldn't find the issue [16:53] password issue i guess [16:53] From the steps you performed, it looked to me like a kernel issue? [16:53] that was another story [16:54] Password issue, let's say from all places where I set my passwd, I couldn't see them [16:54] but still it was correctly configured in the tty [16:54] and not the gui version [16:55] Kinda weird and embarrassing [16:55] Thanks for your time tho :D [16:55] and leftyfb you too [17:24] i swapped out the gpu in my kids computer to the standard 1050ti (only their computer was something else, maybe a 210gx - don't remember), anyway, in driver management today i noticed it isnot using the same nvidia driver as the rest of the computers v460. it is working, but some games have digital movement. how do i tell the computer to use 1050ti drivers instead of what ever was left on it? [17:27] soz - closed wrong window [17:32] what do i type in to get "software & updates" at the konsole? [17:35] software-properties-gtk [17:36] I have an ansible installation that is trying to install mysql-client 5.7.34-1ubuntu18.04. That package no longer exists, so I have to change it to 5.7.35-1ubuntu18.04. 1) why are packages removed? That seems needlessly disruptive. 2) is there a syntax I can use like 5.7.*-1ubuntu18.04 so that I don't have to manually update the number? [17:37] nedbat: "state: latest" ? [17:37] ty [17:37] nedbat: any reason you need to specify an exact version of the package? === Etua1 is now known as Etua [17:38] leftyfb: so I would use name=mysql-client, and state=latest ? [17:39] leftyfb: i need it to be 5.7, not 8.0 [17:39] how can i tell if a driver was put in "held" to prevent it from being upgraded? synaptic? [17:41] nedbat: telling ansible to install mysql-client on ubuntu 18.04 will install version 5.7.34-0ubuntu0.18.04.1 which is the latest version of that package. There is no 8. version available in ubuntu 18.04 [17:41] I'm on Ubuntu focal. How can I find out which package installed/installs a specific command/tool? Say `ip` or `route`? [17:42] leftyfb: I'm installing on 20.04 [17:43] nedbat: in that case, only version 8.0.25-0ubuntu0.20.04.1 is available and supported on ubuntu 20.04 [17:43] leftyfb: installing 5.7.35-1ubuntu18.04 works fine. [17:44] nedbat: looks like you probably have 18.04 repo's added to your 20.04 install or manually downloaded the 18.04 packages and installed that way. Either way, that's not supported [17:45] bbl - ty anyway [17:45] nedbat: or added a 3rd party repo or PPA [17:45] alzgh: I use apt-file [17:46] leftyfb: yes, we've added other PPAs. I'll set aside the question of whether it is supported or not for now. What syntax could I use in ansible so that I don't have to change this version manually when the package is removed? [17:47] nedbat: I would suggest giving your PPA a higher priority, that way "latest" should always install from your PPA [17:50] leftyfb: thanks. When I use "apt-cache policy mysql-client" I see three versions listed. Are those in priority order? [17:51] nedbat: yes, the "500" you see at the beginning of them is the priority [17:52] leftyfb: thanks. my web dev senses were kicking in, and the "500" to me looked like error status codes :) === riderjj is now known as juanjo [17:57] leftyfb: is there a way to set the priority other than editing a text file? [17:58] nedbat: I don't know. What's wrong with configuring apt to prefer the version from your repo if that is what you're looking to do? [17:59] leftyfb: i'm an apt newb so I'm sure I'm missing better solutions, and I'm working in a large ansible codebase, so I'm outside my comfort zone in a few ways. [18:00] nedbat: creating a config file for pinning your PPA is probably the best way to accomplish your goal [18:00] nedbat: create a template or write out a file or block or whatever way you prefer [18:00] leftyfb: sorry for the continuing questions, but what config file would that be? [18:01] nedbat: https://ubuntuhandbook.org/index.php/2021/02/set-package-ppa-apt-repository-priority-ubuntu/ [18:02] leftyfb: thanks [18:44] latest upgrade of nvidia drivers (libnvidia-common-460:amd64 (460.80-0ubuntu0.20.04.2 to 460.91.03-0ubuntu0.20.04.1) and related packages) likely broke my setup, rendering some games inoperable. How can I revert the change? apt can't find the old version, and googling it does not help. [18:48] udevd, not eveh apt-madison finding it? [18:48] I've got issues with mouse cursor on 21.04, performance is fine but then I start moving the mouse and the entire desktop tanks [18:48] Things stutter and the mouse lags across this screen [18:49] This only happens after some uptime, and goes away if I reboot [18:49] I'm using AMD hardware (FX GPU, Radeon RX GPU) [18:49] udevd: you can find all the packages via the launchpad page for the source package https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460 [18:51] udevd: though I think -460 was new in focal this update, so you might need to look for https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-450 or whatever version you had installed previously [18:52] sarnold: ramblebamble: thanks, I will took into this. /var/log/apt/history.log suggests it was a regular upgrade (from -460 to newer -460) [18:55] udevd, you should be able to query for ALL versions of a package using madison [18:55] apt-cache madison [18:55] yeah, I'm trying to find out what madison is since it's the first time I'm hearing about it :P [18:56] and then apt-get install =version [18:56] ramblebamble: … and this query returns only mirrors of 460.91.03-0ubuntu0.20.04.1 [18:57] (so the supposedly offending version) [18:58] old versions are removed from the archives when they're no longer referred to by the lists [18:58] which is why I gave you the link to launchpad, so you can download them by hand from there [18:58] I only run ubuntu on the server and do not have a graphicscard there so I would need to have a hunch [18:59] maybe the mirror only provides the latest version_ [18:59] also consider marking the package as hold so next time you will not have that problem [18:59] apt-mark hold [18:59] sarnold: thanks, but there is only the newer version there for 20.04: https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460 [19:00] that is the nice thing about ubuntu, you can update packaes independently [19:00] udevd: check the "View full publishing history" link on the upper right hand side [19:00] oh, right! [19:00] udevd: or "The Focal Fossa" link in the middle of the page, that'll be easier to go through :) [19:01] udevd: sorry, I rarely use the per-series one, but it'd be easier to find the one you want in that list, hehe [19:12] Hello. I'm trying to reset my bluetooth with "sudo /etc/init.d/bluetooth stop", and it just hangs there with the message "Stopping bluetooth (via systemctl): bluetooth.service". What's going on here, how do I make it work?? [19:12] Roey, what does "journalectl -r" tell you? [19:14] You might want sudo systemctl restart bluetooth.service ...instead [19:15] i heard wayland is default in 21.04 but i am on 21.04 and i dont see the ability to change to wayland [19:15] or x for that matter [19:15] goddard, where are you looking and have you installed the other display server? [19:16] ramblebamble: i dont know i just did a fresh install of 21.04 like a month ago [19:16] i thought it was going to be default [19:16] i have to install it? [19:17] ramblebamble: hey there, [19:17] goddard: in a terminal on the machine, run: echo $XDG_SESSION_TYPE [19:17] its x11 [19:17] i saw it in gnome settings [19:17] ramblebamble: https://pastebin.com/VJVnYciD [19:17] but your command says that as well [19:19] goddard look for wayland, if found install it log out and log in, in your log-in screen the option to choose a display-server should become available [19:19] looks like in my 61-gdm.rules it is disabled? [19:19] # disable Wayland when using the proprietary nvidia driver [19:19] DRIVER=="nvidia", RUN+="/usr/libexec/gdm-disable-wayland" [19:20] goddard. outta curiosity, what are this .rule-files? [19:20] ramblebamble: logging out doesn't work for me because i have nvidia drivers once the signal goes out i never get it back [19:20] i was hoping wayland would solve it [19:21] /usr/lib/udev/rules.d/61-gdm.rules [19:21] even im running ubuntu on windows subsystem for linux this is a ubuntu problem [19:21] sarnold: hmmm… installing whatever was in nvidia-graphics-drivers-460_460.80.orig-amd64.tar.gz from https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460/460.80-0ubuntu0.20.04.2 didn't help, in fact the screen went completely blank (and typing xrandr --auto blindly didn't help) [19:21] ERROR: File not found '/run/cloud-init/instance-data.json'. Provide a path to instance data json file using --instance-data [19:21] dpkg: error processing package ubuntu-advantage-tools (--configure): [19:21] installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1 [19:21] Errors were encountered while processing: [19:21] ubuntu-advantage-tools [19:21] ahh thx I will look into those, s.th new to learn thx goddard [19:22] np [19:22] thankfully uninstalling it restored it to the previous (usable, but with games not working) state [19:22] Roey, looks to me that there are multiple bluetooth processes running and not propperly shutting down that could be any number of reasons [19:23] start by looing(as root) for the process "ps -aux|grep bluetoo" when the service is stopped, look for the PID file(once the service is stopped) should find references in "systemctl cat bluetoothd" [19:23] delete it if found on disk [19:23] if the service is not running that is [19:24] udevd: hmm .. I'm a bit worried that you mentioned that tar.gz .. what exactly did you do? [19:24] I'm a little confused though, since nvidia-graphics-drivers-460 is not even searchable from apt, the original updates which (likely) broke my setup were several discrete nvidia packages (libnvidia-common-460 and libxnvctrl0) [19:25] sarnold: simple, I downloaded it, unpacked and there was NVIDIA-Linux-x86_64-460.80.run inside [19:25] and naturally I went and ran it [19:25] it was an installer of nvidia drivers [19:25] * ramblebamble 's next machine will be amd, [19:25] udevd: uhoh :( hhmmm... [19:27] well, let's try nouveau :P [19:28] udevd: so.. there's a *bunch* of different binary packages built by that source package https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460/460.80-0ubuntu0.20.04.2/+build/21578448 -- for each of the ones that you've got installed, download the corresponding ...-460.80-...20.04.2 package, store them all in one directory; then when you've downloaded them all, you should be able to do sudo apt [19:28] install ./libnvidia... ./libnvidia-common... ./nvidia-kernelc-common... etc as needed [19:29] sarnold: will try it :) [19:30] no still no wayland session in gdm [19:32] srv: are you using cloud-init? [19:32] if i'm setting up a cronjob to run every monday do I have to do */1 I had it setup just with a 1 and the time but it didn't run [19:32] lantech19446: you should use a systemd timer instead of cron [19:33] are they easier to setup? I couldn't find much of a guide on how to do it [19:33] goddard what do you use for login?gdm3? [19:33] lantech19446: https://opensource.com/article/20/7/systemd-timers [19:33] lantech19446: 3rd result on google for "systemd timer" [19:34] it also strikes me as odd that there is a rule for disabling wayland. all I read about wayland is that it is going to be default [19:34] i think i may have already looked at this but i'll look again in a minute the computer i'm reinstalling is just finishing up on WDS [19:34] goddard, what package does that rule belong do? [19:35] also see here https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-20-04-desktop [19:44] hola [19:45] ah, wayland was not default prior to 21.04 [19:45] my intermittent and elusive performance issues may be related to that [19:46] never seen them on 20.10 [19:46] fwiw the switch to wayland was pretty damn smooth [19:46] i did not even notice! [19:47] some weird stuff happened like my screenshot keybind using slop/maim broke [19:47] and i couldn't share screen with MS Teams [19:47] but i didn't realize the entire display server had been swapped out [19:49] branon, you were able to use MS TEAMS? I wasn't able to get it up and running smoothly, could join and type but no listening talking filming or viewing, what did you do? [19:49] just installed it from the microsoft repo [19:49] well, I had it installed on 20.10 [19:50] and it was carried over, the only thing that broke was screenshare which i suspect has to do with the switch to wayland as default [19:50] but i only tried it once [19:50] everything else just werkz [19:50] k thx [19:50] another thing that might break is copying in the cli [19:51] X uses xclip [19:51] which miiiiight not work on wayland, but they have a CLI replacement [19:52] screenshot keybind uses xclip, haven't noticed issues with that yet [19:54] oh, wait, I also did have issues with copy/paste to/from RDP using freerdp/remmina [19:55] hah, this is all starting to make sense now, upgrading remmina fixed that one [19:58] branon, :D my next question would have been if xclip was mad an alias or if the screenshot keybinding isn't in fact using the wayland-version now [19:59] true, xclip doesn't seem to be a symlink or script though, it's an executable [19:59] and the keybind points to my own script so that's also a no [20:00] but maybe xclip itself was patched downstream? [20:00] otherwise yeah how could it be working [20:04] branon, it might still be in working order if you run wayland over X [20:04] there is some funky configuration to allow X-applications to work a little while longer if memory serves me right [20:07] I think the funky thing is to let you run X over wayland [20:08] yeah one way or another s.th. is possible in that direction :) [20:11] sarnold: well, I did manage to revert the changes, but it didn't help. I will try -470, -450 and nouveaux. Thanks for help anyway! [20:11] udevd: dang :/ I had hopes for that :( [20:11] udevd: good luck :) [20:12] yeah it is strange, other changes were rather unrelated (+ there was kernel upgrade, but using the old one doesn't change anything) [20:13] branon@vishera:~$ echo $XDG_SESSION_TYPE [20:13] wayland [20:13] ramblebamble: is this wayland or X-over-wayland? [20:13] err, wayland-over-X? [20:14] it's whatever 21.04's default is, anyway [20:14] branon wayland-over-X [20:14] but you can also start wayland from within X [20:14] but wayland-over-x was the thing I was thinking of [20:16] it's not just wayland? [20:16] like, ubuntu's default wayland session is using XWayland? [20:16] or what is it exactly [20:17] I am not on Wayland ATM so I dunno, just because sway is not support NVIDIA and i3 and awesome do not support wayland [20:19] ah, yeah https://wiki.archlinux.org/title/Wayland#XWayland [20:19] this is why xclip works, must be [20:20] hey there [20:21] branon, yep my thinking and now let's call XIBIT, and we show him that they put a display server in a display server so we can render while we render [20:21] * ramblebamble laughs [20:21] seems like it [20:22] so wayland is wayland for the applications that support wayland [20:22] but xwayland is used for X11 apps [20:22] wonder how that integrates together in one display seamlessly like it does for the user [20:23] I don't know the details, or anything about that, but a) it works and b) doesn't surprise me thinking of that aspect you just mentioned, just think of a compositor, rendering one window over another with transparent effect [20:25] so, that solves my confusion, I know ignorat approach [20:25] GTG till next time === explodes_ is now known as explodes === cacti is now known as ice === useful_idiot2 is now known as useful_idiot === useful_idiot3 is now known as useful_idiot === veegee_ is now known as veegee === genii is now known as genii-core