/srv/irclogs.ubuntu.com/2021/07/26/#ubuntu.txt

oopsclear01:46
oopsmy wired connection is unmanaged , manged option has set to true in NetworkManged.conf01:49
=== M4he is now known as mahe
Bashing-omooowhat is the renderer in the /etc/netplan/01-network-manager-all.yaml file ?01:54
Bashing-omoops: ^01:54
oopsBashing-on: the 01-network-manager-all.yaml file always has error ,and i can't use "netplan apply" successfully, i has deleted it01:56
oopsBashing-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:58
Bashing-omoops: 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 :(01:59
oopsBashing-om: the netplan 's yaml file is too hard to let work well although it's only several rows02:00
oopsBashing-om: could you give me a example, then i copy it under my netplan directory02:01
Bashing-omoops: I can pastebin the file I have, sure.02:02
Bashing-omoops: https://termbin.com/xypi - yaml file - spaces and tabs must be exact so take care.02:06
Bashing-omoops: Is this a desktop machine whare you can use systemd-networkd for networking ? as a thought.02:09
oopsBashing-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:14
Bashing-omoops: see: https://blog.ubuntu.com/2017/12/01/ubuntu-bionic-netplan .02:15
oopsBashing-om: ok, thanks,02:17
Bashing-omoops: :D02:19
b0nnHi all, I'm trying to install python 3.8 on hirsute, but someone has deleted it from the available packages02:21
b0nnhttps://launchpad.net/ubuntu/hirsute/amd64/python3.802:21
Bashing-om!info python3 hirsute02:22
ubottupython3 (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 kB02:22
Bashing-omb0nn: ^^02:23
b0nnYeah, for reasons I need 3.802:23
oerheksno downgrade possible, and if you want it, build it yourself. and fix the problems after that.02:23
oerheksor make a VM with focal fossa 20.04 LTS02:24
b0nnthat's an idea02:25
b0nnor a container02:25
triteraflopsSo, is python still python2 in ubuntu?03:02
Bashing-om!info python3 hirsute | triteraflops03:03
ubottutriteraflops: 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 kB03:03
triteraflopswell, of coutse there is a python3 package. I mean which python does /usr/bin/python point to these days?03:04
Bashing-omtriteraflops: "sysop@2004x-c:~$ ls -al /usr/bin/python" >> ls: cannot access '/usr/bin/python': No such file or directory .03:06
triteraflopswoah, wasn't expecting that...03:06
triteraflopsIs that just because you don't have python2 installed?03:07
oerheksto /usr/bin/python3 i guess.. there is a python-is-python2 package, not recommended03:07
Bashing-omtriteraflops: "lrwxrwxrwx 1 root root 9 Aug 11  2020 /usr/bin/python3 -> python3.8".03:08
=== beaver is now known as pong
triteraflopswell the link from python3 to python3.8 is pretty normal03:20
triteraflopswow, so no /usr/bin/python. Aren't a lot of scripts going to fail?03:20
triteraflopsunless there's a python somewhere else in the path...03:21
triteraflopsI'd look myself, but there isn't a fast way to do it. I use archlinux.03:22
triteraflopsI'd have to set up a virtual machine or something.03:22
triteraflopsI was just wondering what to expect if somebody tries to run my python scripts on ubuntu03:23
kushaltriteraflops, many upstream packages are now Python3 only, as there will be no updates in Python2 from the Python core developers.03:23
Bashing-omtriteraflops: My bash scripts # Force specific Python version >> PYTHON="python3" .03:26
triteraflopsIt'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:28
Bashing-omtriteraflops: ^^ That is as far as my needs/thinking has gone for python :(03:37
triteraflopsWell, still, it's good to know. Portable scripts 100% cannot rely on the existence of a python that is just called "python".03:53
oerheksandroid development.. python2 .. serious?04:29
Guest95how big is the extracted iso as i am tring to duel boot win 11 and ubuntu and i do not have a external storage  medium04:32
oerheksthe 'extracted' iso is as big as the iso04:33
oerheksbooting such iso needs grub to be installed already04:33
Guest95ok so how big is it in MBs04:34
oerhekslook at https://cdimage.ubuntu.com/ ?04:34
oerhekstoo many iso;s04:34
triteraflopsoerheks: yeah lol04:39
triteraflopsoerheks: but this notion may be outdated. That's actually what I'm testing right now.04:39
triteraflopsoerheks: see, for instance, https://wiki.archlinux.org/title/Android#Building_the_code04:41
triteraflopsoerheks: er actually see here: https://wiki.archlinux.org/title/Android#Setting_up_the_build_environment04:42
oerhekshttps://snapcraft.io/androidsdk04:42
triteraflopsoerheks: Oh, not developing for android. Developing android.04:44
=== rud0lf- is now known as rud0lf
thyriaenhowdy, 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 work05:27
=== 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
BurnOShello08:30
BurnOSsorry I couldn't msg though freenode so I changed the server08:30
BurnOSso is there anyway to make custom Ubuntu distro08:31
BurnOShello08:34
sixwheeledbeastDepends what you mean, do you just want your own build or are you planning on setting up and shipping distros to people.08:36
BurnOSso is there any documentation on it sixwheeledbeast08:38
TJ-BurnOS: what do you mean by 'custom Ubuntu distro' ? A customised installer (customising packages/configs) for internal use?08:39
BurnOSyes08:39
BurnOSI want to make my own distribution with many functions and more utilities08:43
sixwheeledbeastMaybe start with LFS. https://www.linuxfromscratch.org/08:47
BurnOSok08:48
=== buildthe1 is now known as n[i]ggers
brandonelizaI 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 restart10:17
brandonelizaI don't know these commands very well and I think I goofed up somewhere there are no compile errors.10:18
brandonelizahmm managed to solve the issue.10:24
tuxickheh, lfs would be a bit of a challenge nowadays10:27
tuxickdone that looong ago10:27
victor_hello10:42
lotuspsychjewelcome victor_10:42
victor_thanks :-)10:42
lotuspsychjehow can we help you today victor_10:42
victor_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/forums10:44
lotuspsychjevictor_: can you pastebin sudo lshw -C video please10:44
victor_over here or private msg?10:45
lotuspsychjehere in the channel please, so other volunteers can also think along with your issue victor_10:45
victor_ *-display UNCLAIMED10:45
victor_       description: VGA compatible controller10:45
victor_       product: Intel Corporation10:45
victor_       vendor: Intel Corporation10:45
victor_       physical id: 210:45
victor_       bus info: pci@0000:00:02.010:45
lotuspsychje!paste | victor_10:46
ubottuvictor_: 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:46
victor_!pastebinit10:47
ubottupastebinit 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 | pastebinit10:47
lotuspsychjevictor_: unclaimed means driver didnt pickup for some reason, can you pastebin dmesg too please10:48
lotuspsychje!dmesg | victor_10:50
ubottuvictor_: 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:50
lotuspsychjelets stay here victor_ in public10:51
victor_yeah ok , im trying to understand how to use this pstebin command :-)10:52
lotuspsychjeits explained in the factoid above victor_10:53
lotuspsychjeTo use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit10:53
victor_http://paste.ubuntu.com/p/WR6bbsswX3/10:58
victor_hold on , ill do the dmesg10:58
victor_http://paste.ubuntu.com/p/YxPTP4Z66W/11:00
victor_there ya go11:00
victor_10x11:00
lotuspsychjevictor_: could you try to disable secureboot and see if your issue persists?11:03
victor_yup , hold on11:04
webchat53I'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 thanks11:06
=== diskin_ is now known as diskin
tuxickhah, installer on 21 is no better11:22
tuxickafter creating logical volumes myself it's stuck in "ubi-partman crashed"11:22
tuxickcan't close this eithe11:23
EriC^^webchat53: 20.04 is better imho, you wont have to upgrade for a while11:23
tuxickit has a cute splash screen though11:27
victor_lotus , its disabled now... but still display driver is unknown11:28
victor_is there anything else maybe on your mind that could help? :-)11:32
victor_somebody? anybody? hehe :-)11:36
BluesKajHi all11:37
donofriovictor_, just lurk someone will reply when they can (irc is sometimes hours or days)11:39
webchat53EriC^^: 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:45
EriC^^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 fixable11:47
webchat53thanks11:47
victor_thanks donofrio11:47
EriC^^no problem11:47
lotuspsychjevictor_: sorry i was afk, i found this in your dmesg: drm] Your graphics device 9a49 is not properly supported by the driver in this11:50
lotuspsychje               kernel version. To force driver probe anyway, use i915.force_probe=9a4911:50
lotuspsychje               module parameter or CONFIG_DRM_I915_FORCE_PROBE=9a49 configuration option,11:50
lotuspsychje               or (recommended) check for kernel updates.11:50
avrdudeI'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:51
waveformavrdude, yes -- you won't see Pictures / Downloads / etc. -- those are only the default on desktop images11:52
waveform(there should be some "hidden" dotfiles, .bashrc and the like though, copied from /etc/skel)11:53
avrdudeTrue, the hidden files are there.. ok, I'll make my own folders then, thanks!11:54
victor_thanks lotus12:10
tuxickhow can i915 driver be a problem?12:25
tuxickunless trying to use it on wrong hardware :)12:25
tuxickavrdude: what are you expecting to find there?12:26
tuxickpff, managed to install 21 using a sane lvm layout12:27
tuxickhad to drag it into this century kicking and screaming12:28
Mekanecktuxick: if you just want to chat move over to #ubuntu-offtopic please12:29
victor_lotus , i tried to update kernel to the latest version 5.6.17  with ukuu , and the problem remains , still unknow display12:32
=== iczero_ is now known as NI[GG]ERS
lotuspsychjevictor_: try that kernel parameter your dmesg reccomends; use i915.force_probe=9a4912:59
victor_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
lotuspsychje!kernelparm | victor_13:03
ubottuvictor_: To add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters13:03
Sven_vBHi! 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/005eefe013:13
lotuspsychje!info libx11-xcb1 focal13:17
ubottulibx11-xcb1 (2:1.6.9-2ubuntu1.2, focal): Xlib/XCB interface library. In component main, is optional. Built by libx11. Size 10 kB / 84 kB13:17
lotuspsychjeSven_vB: !pinning or !backports perhaps?13:17
Sven_vBapt says "Version of libx11-xcb1:amd64 on system is 2:1.6.9-2ubuntu1.2." so it agrees with ubottu13:18
Sven_vBoh, sorry, now I get it13:18
Sven_vB!backports13:18
ubottuIf 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 !packaging13:18
Sven_vB!info libx11-xcb1 focal-backports13:38
ubottuPackage libx11-xcb1 does not exist in focal-backports13:38
Sven_vB!info libc6 focal-backports13:38
ubottuPackage libc6 does not exist in focal-backports13:38
Sven_vBit 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:39
Sven_vB!pinning13:40
ubottupinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto13:40
=== Amaranthus is now known as Amaranth
victor_lotus , thank you very much , it worked like a charm!!!!!!13:51
victor_u rock13:51
=== genii-core is now known as genii
=== wyre_ is now known as wyre
larkfishermanHey guys, how can I configure bluetoothd on Ubuntu 18.04 to accept all bluetooth connections without requiring PIN entry?14:34
larkfishermanor at least without requiring PIN entry on the server side14:34
webchat40Hi 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 --configure14:35
webchat40The system now shows me to my logic screen(gui) but I get "Sorry that didn't work" kinda error14:36
leftyfblarkfisherman: 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
webchat40Any help would be helpful. Thanks :)14:36
BluesKajdpkg --configure -a ?14:38
webchat40Right BluesKaj14:40
BluesKajok14:40
webchat40Sorry for skipping it14:40
webchat40There were two libraries that were configured wrong: linux headers14:41
webchat40and the other I can't recall14:41
=== h1pot is now known as BeneditoSalvador
webchat40Also I tried changing my root password from the recovery mode14:42
larkfishermanleftyfb: Oh well. Can I at least set up a predefined PIN, or is it hardcoded to generate a new one for every connection?14:43
leftyfblarkfisherman: 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 point14:44
BeneditoSalvadori'm having an issue with the snap version of kdenlive, the rendering process doesn't start, it justs shows 'waiting'14:44
webchat40webchat4015:21
webchat4020:05:4115:21
webchat40Hi 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 gui15:21
webchat40login screen15:21
ioriawebchat40, are you logged in tty as normal  user  or something else ?15:25
webchat40ioria like a normal user, I assume with the same name as that of my login id15:27
ioriawebchat40,  sudo apt update && sudo apt full-upgrade15:28
webchat40ioria: Sorry to make you wait, but it's taking longer than usual15:44
ioriaok15:44
webchat40like the progress is around 61% now15:44
webchat40Out of curiosity, what do you think could be the reason?15:45
ioriawebchat40,  the reason of what ?15:45
webchat40That I cannot login in my system, from the login page15:46
ioriawebchat40,  a broken7uncomplete  update (maybe)15:46
webchat40it's around 99% and I see a line: dpkg: error processing package linux-headers-5.4.0-77 (--configure)15:47
webchat40Ohh^15:47
webchat40Actually this the first time I'm facing this kind of an issue15:48
ioriawebchat40,  let it finisces15:48
ioriafinishes15:48
webchat40Yeah sure15:48
ioriawebchat40,  what's your actual kernel ? uname -r15:48
webchat40should I run in another tty?15:49
ioriayes15:49
webchat40ioria: 5.8.0-63-generic15:50
ioriawebchat40,  cat /etc/issue15:51
webchat40Ubuntu 20.04.2 LTS \n \115:51
ioriaok15:52
webchat40errors were encountered while processing :15:52
webchat40linux-headers-5.4.0-7715:52
webchat40E: Sub-process /usr/bin/dpkg returned an error code (1)15:52
ioriawebchat40,  dpkg -l | grep linux-headers  | nc termbin.com 9999     (you'll get an url, paste it here please)15:53
webchat40^This was returned for the command: sudo apt update && sudo apt full-upgrade15:53
ioriayeah i know15:53
ioriawebchat40,  dpkg -l | grep linux-headers  | nc termbin.com 9999     (you'll get an url, paste it here please)15:53
webchat40https://termbin.com/8y9815:54
ioriawebchat40,  sudo apt purge linux-headers-5.4.0-7715:55
webchat40processing was halted because there were too many errors.15:56
webchat40^ ioria15:57
ioriawebchat40,  can you paste the output ?15:57
webchat40sure15:57
leftyfbwebchat40: sudo apt purge linux-headers-5.4.0-77 | nc termbin.com 999915:58
leftyfbmy guess is /boot is out of space15:58
webchat40yeah I caught that up :)15:58
webchat40quite useful15:58
webchat40termbin command15:58
webchat40https://termbin.com/52x9115:58
webchat40https://termbin.com/52x9l15:59
webchat40wait a min15:59
webchat40I used use a -y flag15:59
ioriawebchat40,  we want the error ....15:59
webchat40https://termbin.com/iuul15:59
ioriawebchat40,  sudo dpkg -P --force-all linux-headers-5.4.0-7716:00
webchat40Is it okay? ioria16:00
webchat40ok16:00
ioriayes16:00
ioriawebchat40,  sudo dpkg -P --force-all linux-headers-5.4.0-7716:00
webchat40ioria: https://share.riseup.net/#KWOep4w4WXbYRktozQf9mA16:04
leftyfbI would try reinstalling it then removing it16:05
webchat40I ran the command first, so couldn't get the paste link16:05
leftyfbwebchat40: sudo apt install --reinstall linux-headers-5.4.0-77 && sudo apt purge linux-headers-5.4.0-7716:05
thyriaenhowdy - 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 machine16:05
ioriawebchat40, ls /var/lib/dpkg/info/linux-headers-5.4.0-77*   | nc termbin.com 999916:06
thyriaenstrangely my headphones don't work with onboard sound16:06
webchat40leftyfb: But don't you think it's already been removed?16:06
webchat40ok ioria16:07
leftyfbwebchat40: I think it's been half-removed which is the problem16:07
webchat40ls /var/lib/dpkg/info/linux-headers-5.4.0-77*   | nc termbin.com 9999 > No such file or directory16:08
ioriawebchat40, ls /var/lib/dpkg/info/linux-headers*   | nc termbin.com 999916:08
webchat40leftyfb: actually I couldn't find .. && sudo apt purge linux-headers-5.4.0-7716:08
ioriawebchat40, ls /var/lib/dpkg/info/linux-headers*   | nc termbin.com 999916:09
webchat40ioria: https://termbin.com/sdd816:09
ioriawebchat40,  sudo dpkg --remove --force-remove-reinstreq linux-headers-5.4.0-7716:10
jboHi 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:10
jbobut that it's broken-enough that linux won't show it as a block device. Any advice?16:11
webchat40ioria: dpkg: warning: ignoring request to remove  linux-headers-5.4.0-77 which isn't installed16:13
ioriawebchat40,  againsudo apt full-upgrade16:13
ioriawebchat40,  again sudo apt full-upgrade16:14
webchat400 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.16:15
ioriawebchat40,  sudo dpkg --configure -a16:15
webchat40nothing displayed16:15
ioriawebchat40,  dpkg -l | grep linux-headers  | nc termbin.com 999916:15
webchat40https://termbin.com/dcim16:16
ioriawebchat40,  sudo autoremove --purge16:17
ioriawebchat40,  sudo apt autoremove --purge16:17
leftyfbioria: am I missing something? Looks like it's fixed now. Maybe --reinstall the latest kernel just to be sure16:18
iorialeftyfb, let's see16:18
webchat40The command was successfully executed16:18
webchat40rather without any errors16:19
iorialeftyfb, try a reboot and login as your user16:19
leftyfbwebchat40: ^16:19
webchat40ok16:19
thyriaencan someone please assist me with my sound issue - or recommend a linux/sound channel for me ?16:20
leftyfb!pateince | thyriaen16:22
leftyfb!patience | thyriaen16:22
ubottuthyriaen: 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:22
thyriaenleftyfb, thanks <316:23
webchat40ioria: nope it isn't logging in16:24
ioriawebchat40, log in tty16:24
ioriawebchat40,  and run  sudo systemctl restart gdm16:25
webchat40ok16:25
webchat40It again started from the blank black screen and then in the login screen16:27
webchat40But still wasn't able to login16:27
ioriawebchat40,  were you using X11 or wayland ?16:28
webchat40I've no idea what these are16:29
ioriawebchat40,  are you using nvidia ?16:29
webchat40no16:29
ioriawebchat40,  dmesg | nc termbin.com 999916:30
webchat40https://termbin.com/xt8l416:31
ioriawebchat40,  do you get an error when the gui login fails ?16:31
webchat40"Sorry that didn't work. Please try again."16:32
webchat40This displays below the password input box16:33
ioriawebchat40,  let's create a new user    'sudo adduser test'16:35
webchat40I had already done it before16:35
webchat40before as in before this16:36
ioriaand ?16:36
webchat40Still it didn't work16:36
webchat40But I didn't make it after following your approach16:36
webchat40So should I still make it?16:36
ioriawebchat40,  yes, then you just remove it     'sudo adduser test'16:36
webchat40ioria hooray I'm in16:37
ioriawebchat40,  really ?16:37
webchat40I was using numerical password this whole type16:38
webchat40I don't know I just tried radom aphanumeric keys and it worked16:38
ioriawebchat40,  what you mean exactly ?16:38
leftyfbhuh?16:38
webchat40like I was using 123456 as my passwd before16:38
webchat40but I wasn't able to login16:39
webchat40I just setup my password as qwerty16:39
webchat40and it works16:39
ioriaok16:39
webchat40idk if that qualifies as an answer16:39
webchat40but it is kinda absurd16:39
webchat40I'll just try changing my password to alphanumeric ones16:40
webchat40to check if what I'm saying is correct or not16:40
ioriawebchat40, ok16:40
ioriabrb in a few16:40
webchat40yeah sure and thanks too :)16:40
webchat40indeed that works, weird16:42
webchat40because I was able to login in tty16:43
webchat40and for the gui screen I was still able to see the numbers using the unhide thing16:43
JayDoubleuWhat's the script with M1 devices, anyone knows if it's possible to run Linux on it without virtualization?16:45
leftyfbJayDoubleu: https://www.youtube.com/watch?v=nIQvbPw3IjA16:48
leftyfbJayDoubleu: that said, it's not officially supported by Ubuntu just yet16:49
ioriawebchat40, so can you access your main user ?16:52
webchat40Yes16:52
ioriaok, very good16:52
webchat40But still couldn't find the issue16:52
ioriapassword issue i guess16:53
webchat40From the steps you performed, it looked to me like a kernel issue?16:53
ioriathat was another story16:53
webchat40Password issue, let's say from all places where I set my passwd, I couldn't see them16:54
webchat40but still it was correctly configured in the tty16:54
webchat40and not the gui version16:54
webchat40Kinda weird and embarrassing16:55
webchat40Thanks for your time tho :D16:55
webchat40and leftyfb you too16:55
weedmici 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:24
weedmicsoz - closed wrong window17:27
weedmicwhat do i type in to get "software & updates" at the konsole?17:32
ioriasoftware-properties-gtk17:35
nedbatI 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:36
leftyfbnedbat: "state: latest" ?17:37
weedmicty17:37
leftyfbnedbat: any reason you need to specify an exact version of the package?17:37
=== Etua1 is now known as Etua
nedbatleftyfb: so I would use name=mysql-client, and state=latest ?17:38
nedbatleftyfb: i need it to be 5.7, not 8.017:39
weedmichow can i tell if a driver was put in "held" to prevent it from being upgraded?  synaptic?17:39
leftyfbnedbat: 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.0417:41
alzghI'm on Ubuntu focal. How can I find out which package installed/installs a specific command/tool? Say `ip` or `route`?17:41
nedbatleftyfb: I'm installing on 20.0417:42
leftyfbnedbat: in that case, only version 8.0.25-0ubuntu0.20.04.1 is available and supported on ubuntu 20.0417:43
nedbatleftyfb: installing 5.7.35-1ubuntu18.04 works fine.17:43
leftyfbnedbat: 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 supported17:44
weedmicbbl - ty anyway17:45
leftyfbnedbat: or added a 3rd party repo or PPA17:45
leftyfbalzgh: I use apt-file17:45
nedbatleftyfb: 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:46
leftyfbnedbat: I would suggest giving your PPA a higher priority, that way "latest" should always install from your PPA17:47
nedbatleftyfb: thanks.  When I use "apt-cache policy mysql-client" I see three versions listed. Are those in priority order?17:50
leftyfbnedbat: yes, the "500" you see at the beginning of them is the priority17:51
nedbatleftyfb: thanks. my web dev senses were kicking in, and the "500" to me looked like error status codes :)17:52
=== riderjj is now known as juanjo
nedbatleftyfb: is there a way to set the priority other than editing a text file?17:57
leftyfbnedbat: 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:58
nedbatleftyfb: 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.17:59
leftyfbnedbat: creating a config file for pinning your PPA is probably the best way to accomplish your goal18:00
leftyfbnedbat: create a template or write out a file or block or whatever way you prefer18:00
nedbatleftyfb: sorry for the continuing questions, but what config file would that be?18:00
leftyfbnedbat: https://ubuntuhandbook.org/index.php/2021/02/set-package-ppa-apt-repository-priority-ubuntu/18:01
nedbatleftyfb: thanks18:02
udevdlatest 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:44
ramblebambleudevd, not eveh apt-madison finding it?18:48
branonI've got issues with mouse cursor on 21.04, performance is fine but then I start moving the mouse and the entire desktop tanks18:48
branonThings stutter and the mouse lags across this screen18:48
branonThis only happens after some uptime, and goes away if I reboot18:49
branonI'm using AMD hardware (FX GPU, Radeon RX GPU)18:49
sarnoldudevd: you can find all the packages via the launchpad page for the source package https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-46018:49
sarnoldudevd: 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 previously18:51
udevdsarnold: ramblebamble: thanks, I will took into this. /var/log/apt/history.log suggests it was a regular upgrade (from -460 to newer -460)18:52
ramblebambleudevd, you should be able to query for ALL versions of a package using madison18:55
ramblebambleapt-cache madison <packagename>18:55
udevdyeah, I'm trying to find out what madison is since it's the first time I'm hearing about it :P18:55
ramblebambleand then apt-get  install <package>=version18:56
udevdramblebamble: … and this query returns only mirrors of 460.91.03-0ubuntu0.20.04.118:56
udevd(so the supposedly offending version)18:57
sarnoldold versions are removed from the archives when they're no longer referred to by the lists18:58
sarnoldwhich is why I gave you the link to launchpad, so you can download them by hand from there18:58
ramblebambleI only run ubuntu on the server and do not have a graphicscard there so I would need to have a hunch18:58
ramblebamblemaybe the mirror only provides the latest version_18:59
ramblebamblealso consider marking the package as hold so next time you will not have that problem18:59
ramblebambleapt-mark hold <package>18:59
udevdsarnold: thanks, but there is only the newer version there for 20.04: https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-46018:59
ramblebamblethat is the nice thing about ubuntu, you can update packaes independently19:00
sarnoldudevd: check the "View full publishing history" link on the upper right hand side19:00
udevdoh, right!19:00
sarnoldudevd: or "The Focal Fossa" link in the middle of the page, that'll be easier to go through :)19:00
sarnoldudevd: sorry, I rarely use the per-series one, but it'd be easier to find the one you want in that list, hehe19:01
RoeyHello. 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
ramblebambleRoey, what does "journalectl -r" tell you?19:12
geniiYou might want sudo systemctl restart bluetooth.service   ...instead19:14
goddardi heard wayland is default in 21.04 but i am on 21.04 and i dont see the ability to change to wayland19:15
goddardor x for that matter19:15
ramblebamblegoddard, where are you looking and have you installed the other display server?19:15
goddardramblebamble: i dont know i just did a fresh install of 21.04 like a month ago19:16
goddardi thought it was going to be default19:16
goddardi have to install it?19:16
Roeyramblebamble: hey there,19:17
leftyfbgoddard: in a terminal on the machine, run: echo $XDG_SESSION_TYPE19:17
goddardits x1119:17
goddardi saw it in gnome settings19:17
Roeyramblebamble: https://pastebin.com/VJVnYciD19:17
goddardbut your command says that as well19:17
ramblebamblegoddard 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 available19:19
goddardlooks like in my 61-gdm.rules it is disabled?19:19
goddard# disable Wayland when using the proprietary nvidia driver19:19
goddardDRIVER=="nvidia", RUN+="/usr/libexec/gdm-disable-wayland"19:19
ramblebamblegoddard. outta curiosity, what are this .rule-files?19:20
goddardramblebamble: logging out doesn't work for me because i have nvidia drivers once the signal goes out i never get it back19:20
goddardi was hoping wayland would solve it19:20
goddard/usr/lib/udev/rules.d/61-gdm.rules19:21
srveven im running ubuntu on windows subsystem for linux this is a ubuntu problem19:21
udevdsarnold: 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
srvERROR: File not found '/run/cloud-init/instance-data.json'. Provide a path to instance data json file using --instance-data19:21
srvdpkg: error processing package ubuntu-advantage-tools (--configure):19:21
srv installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 119:21
srvErrors were encountered while processing:19:21
srv ubuntu-advantage-tools19:21
ramblebambleahh thx I will look into those, s.th new to learn thx goddard19:21
goddardnp19:22
udevdthankfully uninstalling it restored it to the previous (usable, but with games not working) state19:22
ramblebambleRoey, looks to me that there are multiple bluetooth processes running and not propperly shutting down that could be any number of reasons19:22
ramblebamblestart 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
ramblebambledelete it if found on disk19:23
ramblebambleif the service is not running that is19:23
sarnoldudevd: hmm .. I'm a bit worried that you mentioned that tar.gz .. what exactly did you do?19:24
udevdI'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:24
udevdsarnold: simple, I downloaded it, unpacked and there was NVIDIA-Linux-x86_64-460.80.run inside19:25
udevdand naturally I went and ran it19:25
udevdit was an installer of nvidia drivers19:25
* ramblebamble 's next machine will be amd,19:25
sarnoldudevd: uhoh :( hhmmm...19:25
udevdwell, let's try nouveau :P19:27
sarnoldudevd: 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 apt19:28
sarnoldinstall ./libnvidia... ./libnvidia-common... ./nvidia-kernelc-common...  etc as needed19:28
udevdsarnold: will try it :)19:29
goddardno still no wayland session in gdm19:30
leftyfbsrv: are you using cloud-init?19:32
lantech19446if 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 run19:32
leftyfblantech19446: you should use a systemd timer instead of cron19:32
lantech19446are they easier to setup? I couldn't find much of a guide on how to do  it19:33
ramblebamblegoddard what do you use for login?gdm3?19:33
leftyfblantech19446: https://opensource.com/article/20/7/systemd-timers19:33
leftyfblantech19446: 3rd result on google for "systemd timer"19:33
ramblebambleit 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 default19:34
lantech19446i 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 WDS19:34
ramblebamblegoddard, what package does that rule belong do?19:34
ramblebamblealso see here https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-20-04-desktop19:35
esquizohola19:44
branonah, wayland was not default prior to 21.0419:45
branonmy intermittent and elusive performance issues may be related to that19:45
branonnever seen them on 20.1019:46
branonfwiw the switch to wayland was pretty damn smooth19:46
branoni did not even notice!19:46
branonsome weird stuff happened like my screenshot keybind using slop/maim broke19:47
branonand i couldn't share screen with MS Teams19:47
branonbut i didn't realize the entire display server had been swapped out19:47
ramblebamblebranon, 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
branonjust installed it from the microsoft repo19:49
branonwell, I had it installed on 20.1019:49
branonand it was carried over, the only thing that broke was screenshare which i suspect has to do with the switch to wayland as default19:50
branonbut i only tried it once19:50
branoneverything else just werkz19:50
ramblebamblek thx19:50
ramblebambleanother thing that might break is copying in the cli19:50
ramblebambleX uses xclip19:51
ramblebamblewhich miiiiight not work on wayland, but they have a CLI replacement19:51
branonscreenshot keybind uses xclip, haven't noticed issues with that yet19:52
branonoh, wait, I also did have issues with copy/paste to/from RDP using freerdp/remmina19:54
branonhah, this is all starting to make sense now, upgrading remmina fixed that one19:55
ramblebamblebranon, :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 now19:58
branontrue, xclip doesn't seem to be a symlink or script though, it's an executable19:59
branonand the keybind points to my own script so that's also a no19:59
branonbut maybe xclip itself was patched downstream?20:00
branonotherwise yeah how could it be working20:00
ramblebamblebranon, it might still be in working order if you run wayland over X20:04
ramblebamblethere is some funky configuration to allow X-applications to work a little while longer if memory serves me right20:04
sarnoldI think the funky thing is to let you run X over wayland20:07
ramblebambleyeah one way or another s.th. is possible in that direction :)20:08
udevdsarnold: 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
sarnoldudevd: dang :/ I had hopes for that :(20:11
sarnoldudevd: good luck :)20:11
udevdyeah it is strange, other changes were rather unrelated (+ there was kernel upgrade, but using the old one doesn't change anything)20:12
branonbranon@vishera:~$ echo $XDG_SESSION_TYPE20:13
branonwayland20:13
branonramblebamble: is this wayland or X-over-wayland?20:13
branonerr, wayland-over-X?20:13
branonit's whatever 21.04's default is, anyway20:14
ramblebamblebranon wayland-over-X20:14
ramblebamblebut you can also start wayland from within X20:14
ramblebamblebut wayland-over-x was the thing I was thinking of20:14
branonit's not just wayland?20:16
branonlike, ubuntu's default wayland session is using XWayland?20:16
branonor what is it exactly20:16
ramblebambleI am not on Wayland ATM so I dunno, just because sway is not support NVIDIA and i3 and awesome do not support wayland20:17
branonah, yeah https://wiki.archlinux.org/title/Wayland#XWayland20:19
branonthis is why xclip works, must be20:19
glumandahey there20:20
ramblebamblebranon, 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 render20:21
* ramblebamble laughs20:21
branonseems like it20:21
branonso wayland is wayland for the applications that support wayland20:22
branonbut xwayland is used for X11 apps20:22
branonwonder how that integrates together in one display seamlessly like it does for the user20:22
ramblebambleI 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 effect20:23
ramblebambleso, that solves my confusion, I know ignorat approach20:25
ramblebambleGTG till next time20:25
=== 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

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!