/srv/irclogs.ubuntu.com/2020/05/30/#ubuntu.txt

plujonI notice that my Ubuntu 16.04 LTS server is using ssl 1.0.0.  Does Canonical provide support for ssl that the openssl team doesn't?00:06
sarnoldyes00:06
plujonsarnold: Are there public notes on what exactly has (or hasn't) been patched in Canonical's version of ssl 1.0.0?00:07
sarnoldplujon: for example, you got this fix in the last ~two days, give or take timezones https://usn.ubuntu.com/4376-1/00:07
sarnoldplujon: https://people.canonical.com/~ubuntu-security/cve/pkg/openssl.html00:08
plujonsarnold: Ah, thanks.  Hmm.00:08
plujonIf there's a bug in OpenSSL 1.0.0 that causes intermittent failures over https for Windows clients, would that kind of bug be handled by Canonical or would that be left as-is and only fixed in future OpenSSL versions (e.g. 1.1)?00:09
plujonI.e., it's not a security problem; it's a bug.00:10
sarnoldplujon: it's a bit hard to say; if there's a nice simple fix for the issue in upstream source control system then there's a decent shot it can be addressed through this process https://wiki.ubuntu.com/StableReleaseUpdates00:12
sarnoldplujon: if it just happened to be fixed by nature of a big rewrite, then it's less likely00:12
oerhekscould .. or just someone else's computer00:19
oerheksignore, blup.00:20
sarnoldplub00:20
plujonsarnold: Ah, thanks.  I have a few Ubuntu server instances, and I think they contain such a bug.  But it's rather awkward to verify.00:23
sarnoldplujon: heh, yeah, the whole point of tls is to make it difficult to inspect the traffic..00:24
plujonThe test case is a libcurl request from a Windows 8.1 machine over https.00:24
plujonThe failure doesn't occur in Windows 10, presumably because Microsoft fixed their ssl libraries to handle the unexpected response from certain servers.00:25
sarnoldyou've at least got a fair chunk of debugging done already00:25
plujonYeah, curl_easy_perform sometimes fails with SEC_E_BUFFER_TOO_SMALL or SEC_E_MESSAGE_ALTERED.  About 1/40 times in Windows 8.1 x64.00:27
plujonBut it only fails with some servers.  One of them being my Ubuntu 16.04 LTS.00:28
=== BromaxSux1 is now known as BromaxSux
lawr3ncehey01:16
lawr3ncehey01:27
lotuspsychjelawr3nce: welcome01:29
lawr3ncethx01:29
lawr3ncewhat's up01:29
lawr3ncehey01:37
=== zbenjamin is now known as Guest94435
=== zbenjamin_ is now known as zbenjamin
luiserebiihello02:04
luiserebiiI recently upgraded to 20.04 LTS coming from 16.04 LTS, and am finding GNOME 3 a little annoying. Anyone else have this issue coming from Unity?02:05
oerheksluiserebii, install gnome-tweak-tool, to have more fun02:24
oerheks!info gnome-tweak-tool02:24
ubottugnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.34.0-2ubuntu1 (focal), package size 1 kB, installed size 12 kB02:24
luiserebiiYup, yeah, I have it installed02:24
luiserebiiThere's some behavior that I've managed to correct through some extensions like "NoAnnoyance" and "Start Overlay in Application View"02:25
luiserebiiThere's something that I do want to change that I'm having trouble describing, though02:25
luiserebiiIn Unity, if you have an application with multiple windows, and you click the icon in the sidebar twice02:26
luiserebiiIt'll show you all of the open windows and allow you to pick between them02:26
luiserebiiIn GNOME, the behavior is similar, but it shows you the screens in small boxes, and it's harder to differentiate between the window you want02:27
luiserebiiAlt-Tab is nice, but you kind of have to open the window to see it, if that makes any sense02:27
luiserebiiI think that Unity would kind of show it in the background before you actually swap to it if you hover over it, so you can see the window you're about to use before swapping02:28
seanicusYo where's synaptic...?  Without using the command line, how do I search packages in ubuntu02:32
Bashing-om!info synaptic | seanicus02:33
ubottuseanicus: synaptic (source: synaptic): Graphical package manager. In component universe, is optional. Version 0.84.6ubuntu5 (focal), package size 606 kB, installed size 3300 kB02:33
seanicusis there a replacement for it in the newest version of ubuntu?02:34
seanicusI understand i can downloaded, and i just did02:34
seanicusim just wondering if there's another program that took its place02:34
Bashing-omseanicus: There is none that replaces synaptic :) . there is on a desktop install "software center"- but, not as versitile as synaptic.02:37
seanicusThat is a strange choice.  Why would canonical do that?02:37
seanicusI couldn't figure out software center at all.  Wasn't even a search bar02:37
CodeMouse92seanicus: I don't think I'm following. What did they "do"? Synaptic has always been an optional install, and it's still in the universe repo as always02:39
seanicusI wonder if I misremember it being on ubuntu by default in earlier versions?02:40
seanicusI feel like it should be something that's on by default, to help newer users who don't really understand packages that well02:40
seanicuspersonally i just find it really convenient, more convenient than apt-cache search02:40
ninguif i want to install ubuntu onto a logical volume in lvm, do I need a dedicated /boot volume or just a root volume?02:46
=== oneGun is now known as btp
tdshow big is the drive, how is the machine booting?02:58
Sven_vBDoes someone know a good definition of "system user"?02:58
Sven_vBis it conceptually the same as "non-interactive"?03:04
skyliner_369is there a way to get unattended-upgr to spit out a progress bar? to see, for instance, how many packages are left to be upgraded?03:18
=== erich is now known as Eickmeyer
=== leaftype2 is now known as leaftype
adammmhey guys, anyone able to help me with a mounting issue? drive mounts fine, desktop shows files, but when i use terminal, there are no files in the mount point :|03:39
Amaranthadammm: What is the mount point?03:40
adammmmounted it in /home/adam/backup03:40
AmaranthIt should be `/media/<user>/<drive label>` unless you've done something custom03:40
AmaranthAh03:40
AmaranthDoes it show up when you run `mount`?03:41
adammmsec03:41
adammmyep03:42
adammmbut funnily enough03:42
adammmit just shows as /home/backup03:42
adammmrather then /home/adam/backup. so i guess thats the problem03:42
ninguok, back now with a bit more info... does anyone know if it's possible to install 20.04 LTS server on a RAID array?03:42
AmaranthWeird, guessing your files show up in /home/backup then?03:42
ninguI can try again from the installer, I guess03:42
ninguit seems to complain about no boot volume03:42
adammmindeed they do03:43
adammmsuper weird, i must of typed the mount point incorrectly more then once.. tried it like 3 times now ha ha03:43
Amaranthningu: I believe the restriction with that is that /boot can't be on the RAID array03:44
AmaranthUnless your EFI knows how to talk whatever form of RAID you're using but probably not03:44
adammmthanks Amaranth03:44
ninguAmaranth: yeah fair enough. so I guess just pick one disk?03:45
ninguAmaranth: so that's an EFI limitation rather than grub?03:46
AmaranthWell, grub may or may not have problems with it too depending on your setup too03:47
AmaranthI don't really know to be honest, never done a RAID setup03:47
ninguI don't know either :)03:47
ninguthe docs are not very good on this though03:47
ningufor the ubuntu installer I mean03:47
Amaranthhttps://ubuntu.com/server/docs/installation-advanced is for software RAID but it has you create a /boot partition separate from the RAID setup03:47
ninguah thanks03:48
ninguok, well I guess this means there is no way to get raid1 redundancy on /boot which is too bad03:50
skyliner_369who all's still on Bionic?03:53
Amaranthningu: It looks like grub should actually support software RAID and I'm not seeing a reason why /boot _couldn't_ be on the array but you do still need the separate EFI boot partition03:55
ninguoh I see what you mean03:56
ninguso just /boot/efi?03:56
AmaranthYeah, I have no idea how accurate anything in this is or how good of an idea anything it says to do is but https://outflux.net/blog/archives/2018/04/19/uefi-booting-and-raid1/ seems to describe someone else figuring out how to do this03:57
sorin-mihai_in a server i have a public /32, a public /28 and a private /24. i want to keep the /32 in the server that will act as router/firewall/ids and move the /28 in another server behind the 'firewall' server. at the moment routing works for the private /24 and i can do DNAT/SNAT, but i can't understand how to move the public /28 in the 2nd server. what do i need to look into?03:58
ninguAmaranth: awesome, that looks very helpful, thanks03:58
AmaranthOh, and that someone else is a fairly well known kernel developer so it's probably good03:58
ningu:)03:59
luiserebiiIs there a way to reduce the fading from a terminal when it goes out of focus? It becomes a little blurrier, and sometimes I like to read from it or examine terminal outputs side-by-side04:03
AmaranthHuh, mine doesn't seem to blur04:06
Bashing-omluiserebii: Several desktops in the ubuntu eco system - tell the channel which DE and release you are using.04:08
luiserebiiAhhh, sorry. 20.04 LTS, GNOME 304:11
Bashing-omluiserebii: I do not use GDM here - I am sure however that others here can advise on where that setting is :)04:14
skyliner_369Ooo kitty!04:29
mrjpaxton3Hey, I am having a problem connecting from Wireguard in Ubuntu 20.04 (I am not using the DKMS version). When I use "wg-quick up wg0", it connects to the WG server peer just fine, and I can ping it from the client, but it does not connect to the Internet. I'm just looking for any networking tools to debug this issue, since I am very bad at networking skills. :)04:30
mrjpaxton3I want to mention that this worked fine when I was using Debian with systemd's networking stack (networkd, resolved and wpa_supplicant, but is just not working on Ubuntu 20.04 with NetworkManager for some reason....04:31
skyliner_369you check wireguard's permissions? is wireguard whitelisted in the firewall?04:32
mrjpaxton3"ufw status" shows that it's inactive. I have it disabled right now. "iptables -L" also shows nothing. I'm not sure if that was by default when I installed, or if I just forgot to start it up again at some point.04:34
skyliner_369just checking. some security features can get a touch overzealous.04:37
mrjpaxton3Lol, yeah.04:39
skyliner_369I'm just sitting in some IRC channels as Ubuntu upgrades from 18 to 20... since, well, I can't do much else.04:40
mrjpaxton3No prob. I'm still trying to figure it out myself. Networking stuff can be really involved to the point of insanity and frustration for me. Lols.04:43
mrjpaxton3It's just funny how I got it to work on one distro, then when I wanted to try Ubuntu... No dice. :(04:43
adammmhey guys, so after upgrading to 20.04 im having issues with ssh, right after booting, it will work fine, can connect to the box. after a short time, 10mins. ssh stops working. starting to do my head in :/04:44
mrjpaxton3I was really hoping Gnome Control Center and NetworkManager would already have a graphical way of setting up Wireguard by now....04:45
=== conjo is now known as spagettios
rjbhi, in 20.04 I see some discrepancy in reported CPU usage of the graphical system monitor and top. e.g. 'tracker-miner-fs' uses about 3% in system monitor but at the same time, top shows around 30%07:27
rjbsame happened for a skypeforlinux process that kept my fans running high. there was a low percentage shown in system monitor, but top showed again something much higher (that coresponded much better to the fan's noise)07:29
rjbok, it seems top doesn't care about the number of cpu cores while system monitor does. top shows 100% even if 1 core is used by 100%. i wonder if it shows 800% if all cores are at 100% :D07:35
ThinkT510rjb: i prefer using htop instead of top07:40
ioanmhello :-)08:29
ioanmI happen to have an Intel bluetooth/wifi combo card in my laptop08:30
ioanmand it does this: https://paste.ubuntu.com/p/zwKtVTjTMF/08:31
ioanmit fails to upload firmware, to reset the bluetooth module08:31
ioanmdevice is Bus 001 Device 003: ID 048d:c100 Integrated Technology Express, Inc. ITE Device(8910)08:32
=== beaver is now known as beaver|thegame
imihi, is there an irc channel for snap?09:59
imiI've just removed an app that was installed from a snap and it removed my user data from my home as well. I want the userdata back09:59
vbalageimi You mean it removed all snap app datas from your computer?10:11
imiI mean when I removed the app using "ubuntu softwares" it removed the directory ~/snap/appname completely10:13
imi /home/imi/snap/appname to clarify10:13
vbalageYea you should backup snap app datas before you remove the snap10:19
=== conjo is now known as spagettios
imiactually I did because I'm paranoid, but apps shouldn't make users paranoid. this is an antifeature10:24
mcphailimi: see https://snapcraft.io/docs/snapshots11:07
mcphail(these should be created automatically)11:08
imimcphail: thanks11:09
spagettioshi-please anyone tell me if Network-Manager is a 'Frontend' or a 'Backend'. If a front end what is its backend please help/many thanks11:10
spagettiostypo if = is11:11
=== beaver|thegame is now known as beaver
BluesKaj'Morning all11:54
ioanmMorning!11:54
luna_morning11:54
metbsdinstallation can't even pass format11:57
ioriametbsd, boot the live session, so you can open the terminal and provide infos12:02
dex1983hi12:35
dex1983I have a "script"/command which sorts out and delete specific file extensions :"find . -iregex '.*\.\(jpg\|gif\|png\|jpeg\|rar\|txt\|sfv\)$' -delete && find . -type d -empty -delete" - How I can extend it that filename with *foo.123 and smaller than 1 GB will be deleted?12:35
leftyfbdex1983: the man page for find explains how to use -size12:36
dex1983ok thanks and how I can do it with *foo.123*12:37
leftyfbdex1983: also, the first result on google for "linux find files smaller than" is https://www.ostechnix.com/find-files-bigger-smaller-x-size-linux/12:37
dex1983that this would be deleted too?12:37
dex1983I only made it with file name extensions12:38
dex1983but with foo.123 it does noet work12:38
dex1983I have a "script"/command which sorts out and delete specific file extensions :"find . -iregex '.*\.\(jpg\|gif\|png\|jpeg\|rar\|txt\|sfv\|*foo.123\)$' -delete && find . -type d -empty -delete"12:40
dex1983like this sample12:40
dex1983but foo.123 will not be deleted :-(12:41
leftyfbdex1983: -name "*foo.123*"12:41
dex1983ah ok thanks I will try it12:42
leftyfbdex1983: you are better off asking in #bash12:43
dex1983oh ok thanks :-) for the channel hint12:44
=== gr8zatara7 is now known as gr8zatara
pgpfoxHi, purchased a Satechi TYPE-C Multiport adapter with usb ports, network, usb-c to HDMI ports, everything works fine except HDMI. When it is plugged in through the adapter, my computer doesnt find the monitor. Anyone know if its possible to solve this or shall i return the adapter?14:25
deadromhi14:28
deadromstrange question: I have an A/V receiver, Marantz NR1608, 7.2, spotify connect and all that jazz but has terrible bluetooth handling. I'd like to stream audio there from an ubuntu machine. anybody have a good idea? I thought of an external BT connector but would like to keep the device circus from overgrowing14:30
ioriapgpfox, no idea, but i read something about some BIOS settings to change14:32
=== kostkon_ is now known as kostkon
pgpfoxioria hmm okey14:34
nbusroneI have a question , normally when you backup Home directory , which files must exclude ? all the hidden file ? I plan to backup .bash and some .config file but when I restore those hidden file , the ubuntu OS unable login .What is the reason it goes wrong ?14:36
nbusroneIs there some hidden files which . dots conflict and  which cannot be replace with same OS at home  ?14:37
vltnbusrone: As far as I know, you don’t *have to* exclude any files.14:42
nbusronevlt : i tried with some hidden files replacement , it does not let me login after replace such as .ICEauthority14:45
nbusronevlt : I don't know how much more of . dots hidden file cannot be replace as I only found out one if it cannot login was due to .ICEauthority. I need to find out more so I can exclude them14:47
annihilatorhow unsecure would it be if i installed ubuntu on a computer set it up as a router and web/game server?14:47
=== palimaar_ is now known as palimaar
vltannihilator: I’d say not more unsecure than Debian, for example. Just don’t do anything stupid ;-)14:51
annihilator....(me being idiot) i ment compared to using an off the shelf router and setting ubuntu strictly as web/game server14:52
vltannihilator: Off the shelf *might* even be slightly more insecure (due to missing updates).14:54
annihilatoratm i am using pfsense and using a tplink archer 5400x as wireless access and switch14:56
annihilatorbut im not wanting to use a vm of ubuntu to do hosting and rather not use my main computer to act as host either lol14:56
annihilatorthe fun part is if i use ubuntu as my router i am going to need to route 1 IP through a vpn14:57
AryanHi15:01
AryanHi, i want to check if package foo is installed or not in my bash script.15:01
Aryanany idea?15:01
eth01Hi. Is there an alternative to net plan? I’m using 18.0415:11
adammmhey guys, just done a nmap on my box, strange ports are open. yet its a fresh install from this afternoon, 20.04.. 548, 631, 8200, 9100. 9101, 9102, 9103, 20005.. so ummm wtf?15:14
mesaboogieadammm: check /etc/services to see what they are for.15:17
adammmyeah im just looking through it now15:18
adammmcant find any of these ports in there tho15:18
adammmafpovertcp      548/tcp                         # AFP over TCP15:18
mesaboogieadammm: https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers15:19
adammmapple filing protocol..15:19
vltadammm: Open 0.0.0.0 or 127.0.0.1?15:20
adammmreason why my trawling, someone just popped onto a private ircd. told us to 'secure' the box.. wouldnt tell us what, where, he even opered up, and showed us part of the conf.. said it wasnt an ircd exploit but more so a system administrative issue..15:20
adammmmates box is running 16.0415:20
adammmvlad-k 12715:21
adammmeitherway, was curious why apple filing protocol etc is all active15:22
ioriaadammm, maybe because netatalk is installed ?15:25
adammmioria is netatalk even needed? i dont have apple crud ha ha15:29
ioriaadammm, i really don't think it's needed15:29
andiHello15:32
andiI'm trying to get my preseed setup running to install ubuntu machines automatically. However I still see the questions for the non-root user and the partitioning through the setup.15:33
andiThis is how the configuration for partitioning and user creation looks like: https://paste.ubuntu.com/p/sXrbyHSrxc/15:33
andiCan somebody help me to figure out what's wrong or how to enable debugging on the setup to see which part of the debian installer is still not configured in the preseed config?15:34
pizzaburgerHi! Installing Ubuntu 20.04 LTS on an SSD. Getting an error saying that the bootloader cannot be installed at the specific location. It gives me a list of other locations to chose from. Which location should I go with?15:34
curiosityWhen I am enabling secure boot in uefi screen resolution drops to 1024x768. Nothing else changed. If I disable secure boot it goes back to 1920x1080. Anybody knows how to fix this?15:38
ioriacuriosity, nvidia driver in use ?15:39
curiositynope. no proprietary drivers.15:39
curiosityjust the open source amd driver15:39
curiosityas far as I know15:39
ioriacuriosity, check with lspci -nnk15:40
adammmioria is there any easy way to drop ssh brute force attempts?15:41
ioriaadammm, stop sshd15:41
adammmioria appart from that15:42
ioriaadammm, sy, mate not an ssh specialist; try #linux15:42
curiosityioria, this is the output: https://pastebin.com/d6JF9GYP Line 75 says tjhe driver is "amdgpu".15:43
ioriaadammm, nope... look carefully15:45
adammmioria yeah difficult situation. a mates server, 13000km from me. ill just disable it for now. cheers15:47
ioriaadammm, you want 'Kernel driver in use: amdgpu' not 'Kernel modules: amdgpu' ; i think has been unloaded15:47
ioriaadammm, sorry15:48
ioriacuriosity,  you want 'Kernel driver in use: amdgpu' not 'Kernel modules: amdgpu' ; i think has been unloaded15:48
adammmall good :)15:48
curiosityiora, may this problem be due to the lack of configuring secure boot in ubuntu? I am new to this "secure boot" stuff.15:54
ioriacuriosity,  first check your kernel version then dmesg or journlactl -016:04
ioriacuriosity,  i mean 'journalctl -b -0'16:04
curiositydmesg -T show me this: "[Sa Mai 30 17:17:53 2020] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>16:04
curiosity[Sa Mai 30 17:17:53 2020] PKCS#7 signature not signed with a trusted key16:04
curiosity[Sa Mai 30 17:17:53 2020] Lockdown: Loading of unsigned modules is restricted; see man kernel_lockdown.716:04
curiosity" maybe this is related?16:04
ioriasure16:05
ioriacuriosity,  uname -r ?16:05
curiosity4.15.0-101-generic16:05
ioriacuriosity,  is this bare metal or a vm ?16:07
curiosityioria, bare metal :)16:08
ioriacuriosity,   cat /proc/cmdline16:08
curiosityBOOT_IMAGE=/boot/vmlinuz-4.15.0-101-generic root=UUID=cf229022-6f0b-4513-8c7e-686fc63e7216 ro quiet splash vt.handoff=116:08
ioriacuriosity,  journalctl -b -0 | grep -i amdgpu16:11
curiosityiora, {}. No Output.16:12
ioriacuriosity,  dmesg | grep -i amdgpu16:13
nbusroneI have a question , normally when you backup Home directory , which files must exclude ? all the hidden file ? I plan to backup .bash and some .config file but when I restore those hidden file , the ubuntu OS unable login .What is the reason it goes wrong ?16:13
nbusroneIs there some hidden files which . dots conflict and  which cannot be replace with same OS at home  ?16:13
curiosityioria, again no output.16:14
ioriacuriosity,  do yo uhave a ~/.local/share/xorg/Xorg.0.log16:16
curiosityioria, yup.16:17
ioriacuriosity,  can you paste it ?16:17
curiosityioria, https://pastebin.com/TY05nLWS16:19
supastupidWhat is that command to fix the Bluetooth again? I have restarted my PC and it seems to revert.16:20
ioriacuriosity,  SB is disabled atm, right ?16:21
ioriasupastupid, i told you it wasn't persistent16:22
curiositySecure boot is enabled at this moment of time, at least in UEFI. I do not know if I need to tel ubuntu something about that :)16:22
curiosityioria, maybe that log as been created when secure boot was disabled?16:24
AryanHi16:25
AryanI've done sth terrible and now i lose my Grqphical environment16:26
AryanI tried to install dwm and ...16:26
AryanCan anybody please help me?16:26
ioriacuriosity, if you use opensource amdgpu you should be ok; paste the entire 'journalctl -b -0'16:26
AryanI dont like this situation16:26
ioriacuriosity,  also   /var/log/gpu-manager.log  can be handy16:32
curiosityioria, this one first: https://pastebin.com/mcpch4QA16:38
coconutAryan, then you want to revert to the default window manager on installation of you device. I do not know how to do that though...16:42
curiosityioria, 'journalctl -b -0 seems to big for pastebin. it has about 500000 lines :o16:42
ioriacuriosity,  have you tried to install amdgpu-pto from amd ?16:43
ioria*pro16:43
curiositythere is one thing that keeps repeating. maybe this is of help: https://pastebin.com/igtStS8s16:44
curiositythis is an excerpt of journalctl -b -016:45
curiosityvirtualbox is installed on this box.16:45
curiositybut ubuntu runs on bare metal16:45
curiosityioria, yeah. I am also wondering if that might fix it. I think I will try this.16:45
supastupidHello, what was that command that fixed bluetooth again?16:46
supastupid Specifically what was that article ioria mentioned?16:48
curiosityioria, I will install with "./amdgpu-pro-install -y --opencl=pal,legacy" I wi,ll report back if this fixes the problem.16:51
ioriasupastupid, https://www.forbes.com/sites/jasonevangelho/2019/10/14/linux-gaming-tip-how-to-pair-your-xbox-one-s-and-switch-pro-controllers-via-bluetooth/#366060bc101e16:51
ioriacuriosity, i was wondering if you 'already' have installed amdgpu-pto from amd16:54
bytesafariDoes anyone have a suggestion for a GUI application to manage LDAP accounts?16:54
curiosityioria, nope I have not :-) I had them installed in the past but they caused some probpem, so I eradicated them from my system. :D16:55
curiosityioria, this is weird I am getting this "The amdgpu driver is already installed or was not uninstalled correctly.16:57
curiosityPlease fully uninstall the driver before proceeding with installation16:57
curiosityYou can try running the amdgpu-uninstall or amdgpu-pro-uninstall script16:57
curiositypresent in /usr/bin to clean up the previous installation16:57
curiosity"16:57
curiosityioria, amdgpu-pro-uninstall is not working correctly. https://pastebin.com/gUq1zvse16:59
ioriacuriosity, told ya16:59
curiosityyeah it seems that there is some old garbage16:59
ioriayep16:59
coconutAnyone can help Aryan with reinstalling GDM ?17:00
ioriacuriosity, export LC_ALL=C amdgpu-uninstall17:01
filifunkyhey all, I updated to the latest ubuntu LTS and now my python script doesn't work.  I get an Import Error "ImportError: No module named MySQLdb"  I think I've tried everything I've seen online, anyone able to help me get my script working again?17:01
bytesafarifilifunky: did you try doing a pip install to get the MySQLdb package?17:02
filifunkyi did!  at least I believe I did17:02
bytesafarifilifunky: is the script written in python2 or 3?17:02
filifunky2 i believe, my version is 2.7.18rc117:03
filifunkyI don't believe I've touched 317:03
bytesafariyou might try doing an apt install python-mysqldb17:04
curiosityioria, bash: export: `amdgpu-uninstall': not a valid identifier17:04
filifunkybytesafari: Package 'python-mysqldb' has no installation candidate17:05
ioriacuriosity, export LC_ALL=C sudo apt-get -f install17:06
filifunkybytesafari:  If i try pip install mysql-python I get a lot of red text17:07
curiosityioria, bash: export: `apt-get': not a valid identifier17:07
curiositybash: export: `-f': not a valid identifier17:07
filifunkyi will paste it17:07
ioriacuriosity, export LC_ALL=C ; sudo apt-get -f install17:07
bytesafarifilifunky: looks like I only see a python3 package in the ubuntu package search. https://packages.ubuntu.com/search?keywords=mysqldb&searchon=names&suite=focal&section=all17:07
filifunkybytesafari: ahh you're right I get a message that says this:DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support17:08
curiosityioria, https://pastebin.com/BkHwfq6Z17:08
filifunkyso I have to go into python 3 i suppose, is that what you infer? bytesafari17:08
bytesafarifilifunky: you may be able to install python2, but probably the best thing you could do is try to port your script to python317:09
bytesafarihttps://linuxconfig.org/install-python-2-on-ubuntu-20-04-focal-fossa-linux17:09
ioriacuriosity, sudo fuser -v /var/cache/debconf/config.dat17:10
filifunkybytesafari oh thanks for that link, looks like I just have to decide which one makes sense for me17:11
bytesafarifilifunky: Python 2.7 is depreciated, so porting your script is probably the best long-term solution. That solution is just a stop-gap17:12
KuroganeWhat is equivalent python-virtualenv for ubuntu 20.04?17:12
curiosityioria, https://pastebin.com/L5AjviJm17:12
ioriacuriosity, sudo kill -9 711017:12
filifunkybytesafari: what does depreciated mean?  loss of functionality?17:12
curiosityioria, no output. Which means it killed the process I hope :)17:13
ioriacuriosity, export LC_ALL=C ; sudo apt-get -f install17:13
bytesafarifilifunky: It means that python 2.7 is no longer under active development, so there is no support for python 2.7 anymore. The development of python has continued to python 3.x17:13
bytesafarifilifunky: It's likely that python2 will be removed from the software repositories, possibly sooner rather than later17:14
curiosityioria, this time it worked. https://pastebin.com/4WUjDjpx17:14
filifunkybytesafari: yikes, ok17:14
ioriacuriosity,  sudo apt autoremove --purge17:15
filifunkybytesafari: does this look like a good guide to work from?  https://docs.python.org/3/howto/pyporting.html17:15
curiosityioria, It worked. https://pastebin.com/hnaKdk6z17:17
ioriacuriosity,  dpkg -l | grep amdgpu17:18
bytesafarifilifunky: It's from the official python documentation, so it's a good place to start. You will likely have to go back through your code and change some things so that you're compatible with 3.x. Python 2.7 is on life-support, so you have some time, but I wouldn't expect python 2.7 code to last for very much longer17:18
filifunkygreat thanks bytesafari, will dig in17:19
bytesafarifilifunky: happy to help :)17:19
curiosityioria, https://pastebin.com/3RdkCwJb17:19
ioriacuriosity,  purge amdgpu-pro-pin17:20
curiosityioria, has beend purged. https://pastebin.com/MYwXEfvd17:22
ninguI was reading this last night, pointed to me by Amaranth: https://outflux.net/blog/archives/2018/04/19/uefi-booting-and-raid1/17:23
ninguI'm curious, how exactly does this mean it will prefer one raid1 volume over the other?17:23
ninguor does it just mean, if there is a difference between the raid1 volumes in the array, the resync will fail?17:24
AmaranthI believe it means the UEFI doesn't actually understand raid so it'll only write to one disk, if it does any writes during boot17:24
AmaranthSo then the raid config is set up to prefer that one when doing a resync so you don't delete what the UEFI just wrote17:24
ninguAmaranth: that much is fairly clear, yes17:24
ninguAmaranth: that's kind of what it says but I don't see how the raid config chooses one over the other. it just forces resync on each boot with the systemd service17:25
ninguwhich will verify they're in sync, yes ... but what if they aren't?17:25
ninguI guess this is a general raid/md question17:25
ioriacuriosity,  install apt-forktracer17:26
curiosityioria,  ah I see. "export LC_ALL=C" It is doing what I was thinking about.17:26
ioriayep17:26
AmaranthYeah I guess I thought the bit I skipped over with the systemd unit was doing that but it doesn't seem to be17:26
AmaranthIt's just telling it to resync the efi partition then mount it, nothing about how to resync17:27
ninguI'm trying to find better docs on resync17:27
ninguand what happens if the data doesn't match17:27
curiosityioria, forktracer is installed.17:27
ioriacuriosity,  run it17:28
curiosityioria, https://pastebin.com/wFEnv1d517:30
Amaranthningu: I can't see anything documented about the resync algorithm, if I had to guess I'd say for RAID1 since you don't have parity bits it takes whatever one the filesystem thinks is newer17:30
AmaranthDon't know how that'd handle deletes but I guess the answer is probably that it wouldn't17:30
ioriacuriosity,  sudo apt update && sudo apt full-upgrade17:31
ninguAmaranth: yeah fair enough. it would be a lot easier to determine if you had more than 2 disks on RAID1 since you could go with majority17:31
ninguwell... maybe not actually. in this efi example, you'd want to go with the minority actually17:31
AmaranthYeah, guessing it wouldn't do what you want with more than 2 drives or with mode 517:32
curiosityioria, https://pastebin.com/txpY7vtz17:32
Amaranth> If the array wasn't currently running (e.g., if this were a rebuild on assemble from an unclean shutdown), then the decision on what to copy is made using the update count fields stored in the superblock.17:33
AmaranthThat's not very useful here since the EFI also won't modify the mdadm superblock though, hmm17:34
ninguAmaranth: ok, but in this case it would have been a clean shutdown as far as mdadm knows. yeah17:34
ninguby the way I assume I should grub-install on the raid1 like that post says17:34
ninguso that either disk can boot (which is more or less the point)17:34
AmaranthYeah I dunno how it decides, I suppose if your resync deletes the stuff your UEFI writes you might lose some boot configuration17:35
ioriacuriosity,  you probably want to remove that amdgpu-pro source from /etc/sources.list.d (probably)17:35
ninguAmaranth: maybe so, yeah. what would it possibly write there, anyway?17:36
ninguthe BIOS settings are stored in CMOS so ...17:36
curiosityioria, i removed it.17:38
Amaranthningu: I have no idea, I don't think it's something they all do17:38
AmaranthUEFI is... not great code17:38
AmaranthSo some board might not have or realize it can use NVRAM and write out all custom config changes to the ESP17:39
ioriacuriosity,  sudo apt install --reinstall xorg xserver-xorg  xserver-xorg-video-all17:39
ninguAmaranth: yeah who knows :)17:39
AmaranthSome might store what boot device was picked last (even though obviously the answer is this one since otherwise it wouldn't look at that partition at all)17:40
AmaranthThey do some goofy things sometimes17:40
ninguAmaranth: btw, you don't happen to know if there are good docs on how grub.cfg is generated in current ubuntu?17:41
ninguI mean beyond /etc/default/grub. how does it generate the root device instructions for example?17:41
curiosityioria, worked fine. https://pastebin.com/gvG6dMtG17:42
ninguit seems that /etc/grub.d stuff is not really meant to be edited. I can delve into it further but it's a bit intricate17:42
ioriacuriosity,  dpkg -l | grep -i mesa17:42
curiosityioria, https://pastebin.com/M5BVyvGR17:43
Amaranthningu: I believe it's https://manpages.ubuntu.com/manpages/bionic/man8/grub-mkconfig.8.html17:43
AmaranthBeyond that I don't know17:43
ninguoh ok17:43
AmaranthOh of course it's a FSF tool so the man page is useless17:44
ninguyeah that looks right, although it's an info doc rather than manpage :)17:44
ninguhaha yeah17:44
AmaranthAnd since it's the FSF and this is a Debian-based distro the info doc is probably in non-free/restricted :D17:44
ioriacuriosity,  you can try a reboot; may i ask you why you don't use the newer kernel and xorg (HWE) with that card ?17:44
ninguso actually it looks like what I really want to know is something else... hrm17:45
ninguI think this is an mdadm issue and I need to reboot to live server iso to fix it17:45
ninguthe superblock has a name for the array I don't want and it's creating a /dev/md entry for it under that name17:46
ningubut I can't stop mdadm on the root device17:46
ninguI'll give it a try with the reboot17:46
ninguthe kees cook blog post was really helpful though17:47
ninguit seems a little risky... like, couldn't the md superblock at the end of the disk be overwritten accidentally by the UEFI stuff?17:47
curiosityioria, of course you can ask :) maybe um because I am not conscious of that possibility :) If reboot does not fix the problem I can try this. I will reboot and will report.17:47
ninguI guess the resync would take care of that17:47
ioriacuriosity,  ok, good17:48
AmaranthIt does look like /etc/default/grub and /etc/grub.d/ for more complex changes is still the way to go for that, btw17:48
akikningu: you can put complete boot entries in /etc/grub.d/40_custom17:50
ninguakik: oh cool, thanks17:50
curiosityioria, did not fix the problem unfortunately. So, first thing to try is a new kernel? :)17:51
ioriacuriosity,  cat /var/log/gpu-manager.log17:52
curiosityioria, https://pastebin.com/FZxs27Yn17:53
ioriacuriosity,  lsmod17:54
curiosityioria, https://pastebin.com/NJT1D5jY17:55
ioriacuriosity,  did you unistall amdgpu-pro ?18:00
curiosityioria, I think I did not. There was some error while trying that. I tried it again now. It worked now it seems.18:03
ioriacuriosity,  can we see the output ?18:03
ioriacuriosity,  cp / paste on paste.ubuntu.com18:05
=== stwalkerster is now known as ASDS-OCISLY
curiosityioria, of course. I just forgot to set the the export c thing. my fault. https://pastebin.com/9F9XQYQA18:07
ioriacuriosity,  ok, never mind. reboot again18:07
curiositycuriosity, I'll be back! (Arnold Schwarzenegger) :D18:09
curiosityI just talked to myself :D18:11
curiosityioria, I rebooted. Nothing changed.18:11
ninguAmaranth: hrm... I rebooted to server iso and am trying to do mdadm --stop but it's saying it can't get exclusive access18:12
ningubut nothing really seems to be using the device18:12
ioriacuriosity,  cat /var/log/gpu-manager.log18:12
Amaranthningu: Does lsof find anything?18:13
ningutrying now18:13
curiosityioria, https://pastebin.com/U0g40aqZ18:13
ioriacuriosity,  and dmesg | grep -i amdgpu   still blank ?18:14
ninguAmaranth: it could be multipathd?18:14
AmaranthAlso apparently if you use LVM on top of mdadm it can cause problems sometimes and you have to manually remove the volume(?), whatever that means :D18:14
AmaranthI'm way out of my depth here, I'm just googling superuser posts and man pages18:15
ninguAmaranth: indeed I am using lvm but none of that seems to work18:15
ninguI deactivated the volumes but they still show up in "dmsetup ls"18:15
curiosityioria, yes. Should it be non-blank? I am wondering if it is worth a try to install ubuntu 20.04 ?18:15
Amaranthningu: Do you have swap enabled on your array? The live ISO might have decided to make use of it18:16
ninguooh hmm18:16
ninguinteresting question18:16
Amaranthswapoff /dev/md<whatever your swap partition is>18:16
ioriacuriosity,  it's the ROCm stack probably18:16
ninguAmaranth: nothing in /proc/swaps18:17
ninguI don't really understand why "dmsetup remove_all" does nothing18:18
ioriacuriosity,  but i have no experience with that18:19
curiosityioria, thanks for your help so far. I appreciate that. I think i will try ubuntu 20.04. I have it on a boot able uefi stick. I think it is worth a try.18:20
ioriacuriosity,  ok18:21
pyzozordhey is there kyeboard shortcut for emoji? Like on mac there is ctrl+cmd+space18:33
filifunkyHi I have the new ubuntu LTS and now a python script I have doesn't work.  I've upgraded to python 3 and that has gotten me someplace but now I'm trying to install pymysql by using pip install pymysql.  This is what I get:  https://pastebin.com/m8QtFZuH19:01
ningufilifunky: use pip319:02
filifunkyningu, ok trying that out!19:02
filifunkyningu, works! thanks19:02
kreyrenhow da hug do i get busybox on ubuntu19:34
kreyren,f /usr/bin/busybox19:35
kreyrenmeh~19:35
kreyrennwm i forgot apt-get update19:35
* kreyren vanishes19:35
=== ASDS-OCISLY is now known as stwalkerster
zmagiiWhy is it that on Ubuntu you have to run "sudo ..." for commands that on many other OSs don't require sudo?19:48
zmagiiThe next question after that is what can you do to try to minimise running sudo generally?19:49
zutati recall only needing it during installation and initial configuration (home desktop)19:51
pyzozordhey anyone can help me, how can I make emoij on ubuntu? Is there a keyboard shortcut?19:55
OnkelTemHi folks20:03
OnkelTemWhat is the proper place to autostart a script which should run before PulseAudio on Kubuntu?20:04
OnkelTemI want to run jack_control start20:04
OnkelTemOh, I feel like the best way would be creating a systemd profile for that20:08
docmurHas anyone been able to get music to transfer to iPhone running iOS 13 from Ubuntu 18+?20:18
InteloI am confused how to install a font like this? https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Go-Mono20:35
oerheksIntelo, see the wiki about fonts?20:37
oerhekssure you can find it on the wwww20:37
Intelooerheks: I am doing this for the following vim nerdtree plugin, can I just apt-install some font instead? https://github.com/ryanoasis/vim-devicons20:39
Intelooerheks: won't fonts-font-awesome work?20:40
LearnAllTheTimeHi, does anyone know how I can install Ubuntu Server headlessly (Y)? I'm thinking I just need to find a way to enable SSH from boot (X) via a custom ISO20:41
DiscoDynamitea silly question, how we run application installed via snap ? ( just installed vs code, no shortcut etc created )20:45
mesaboogieDiscoDynamite: snap list ( to find the name of the app to run ) || snap run YourApp20:47
DiscoDynamitemesaboogie, thanks.20:55
DiscoDynamiteit worked. does that mean it the way to launch every app installed via snap  ?20:58
mesaboogieno20:58
mesaboogieDiscoDynamite: depending on the snap author whether or not you will have a desktop shortcut item.20:58
DiscoDynamitegot you21:01
skyliner_369how do I get gegl to upgrade to the latest version?21:01
skyliner_369more accurately, how do I force drop broken packages?21:04
ninguis it possible to boot the ubuntu live iso in single user mode?21:04
skyliner_369whatever happened to dragging a window to the top of a screen to fullscreen it?21:10
optonoxHi,  my laptop's fingerprint scanner does not have Linux drivers.  I am wondering where I should post about this.  With the laptop manufacturer (Dell). With Ubuntu developers somewhere.  With the fingerprint reader manufacturer - where?21:10
skyliner_369Probably with the reader manufacturer. I'd say that the driver could be reverse engineered and remade for debian, but that could get someone in legal trouble... so... meh?21:15
Intelooerheks: https://paste.ubuntu.com/p/q6Y8fFj9vJ/21:15
optonoxskyliner_369 yeah that makes sense21:16
InteloI installed fonts but does not appears in console in vim's NerdTree. https://paste.ubuntu.com/p/q6Y8fFj9vJ/ trying to use https://github.com/ryanoasis/vim-devicons21:16
SquarismIs it worth upgrading to 20.04 from 18.04?21:20
ninguthere are always improvements. whether it's worth it kind of depends on your needs21:20
akem_If you already have everything you need 100% functionnal maybe not.21:21
akem_Cause some stuff could break ofc.21:21
skyliner_369I'd say yeah, Squarism  but I'd suggest you do it through the software updater when you have some time you won't be using the computer much.21:22
kreyrenHow do i get wx-config on ubuntu Focal assuming that it wx-common doesn't provide it? https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/wx-common_3.0.4+dfsg-15build1_amd64.deb.html21:22
Squarismskyliner_369, takes a while?21:22
ninguSquarism: depends a lot on your internet connection speed and maybe speed of your machine too21:23
ningubut generally speaking no21:23
SquarismI have blazing fiber so that wont be a problem21:23
kreyrenheeeeeelppppppppp21:23
ningu30 min or so maybe, could be less, could be more21:23
ninguif your connection is fast, most of the time will be on the install itself rather than download21:24
skyliner_369yeah, and while you can keep doing what you're doing, after a while you can't open new programs, only have what's already running doing anything on the PC. EG you can't open a game. but you can keep browsing the web if firefox is open. 30 minutes on an SSD... couple hours on a HDD21:24
ninguoh yeah forgot about HDDs heh :)21:24
skyliner_369Squarism21:24
Squarismokok21:25
ninguI try to avoid HDDs whenever I can these days -- fortunately I don't have huge storage needs21:25
optonoxDoes anybody know where to go for help with Linux audio.  I want to help with documentation....I have been waiting for an answer to this question: https://askubuntu.com/questions/1231822/how-to-access-audio-sources-like-internal-microphone-in-jack-or-sound-settings for a while.21:25
ningugood SSDs have gotten so much cheaper21:25
SquarismI have SSD21:25
skyliner_369should be rather quick then. downloads were blazing for me even on my HDD21:26
ninguyeah, the downloads for me usually take just a minute or so21:26
akem_kreyren, You may have to build it from source, since no package provides it apparently.21:26
=== akem_ is now known as akem
ningubut it takes a while to unpack and configure everything21:27
skyliner_369even slower with seeking21:27
kreyrenakem, AHHHHH21:27
ninguin my experience ubuntu is quite good about not breaking stuff on upgrades, especially between LTS21:27
ninguI've only had occasional very minor things21:27
skyliner_369I wonder if there'21:27
ninguof course if there's a big change like init to systemd or whatever, you'll notice if that impacts anything you care about21:28
ningu20.04 mostly eliminates python221:28
skyliner_369s a utility to migrate an installation of Ubuntu from my HDD to a new SSD for instance21:28
ninguskyliner_369: shouldn't be that hard if you just duplicate the file system exactly, then you just need to have grub installed and know how to boot21:29
ninguI am guessing here but seems like it should work21:29
ninguthere are probably instructions for doing that with grub21:30
skyliner_369could clone the drive, yeah, but I'm running on massive-ass HDD... If I do get a nice 960G SSD then it shouldn't be an issue.21:30
ningu960G SSD is less than $100 these days I think21:31
ninguok, maybe not quite21:31
ninguyeah, 660p is $118 on newegg21:32
skyliner_369depends on the market and memory bubble. partly why I'm waiting to fill in the rest of my RAM. my RAM is only half-full and 64 gig but it'd be nice to fill the other 4 slots and have 128 gig21:32
ninguif you are ok with SATA may be less (but... why? haha)21:32
ninguah, are memory prices up right now?21:33
skyliner_369the memory prices are arbitrary.21:33
ninguwhat does that mean?21:33
akemkreyren, It's maybe not a standard path in fact, i'm maybe wrong, did you try with package libwxgtk3.0-dev?21:34
kreyrenakem, E: Package 'libwxgtk3.0-dev' has no installation candidate21:35
kreyrenakem, libwxgtk3.0-dev is required on debian afaik21:35
akemkreyren, Try "apt-get update"?21:35
kreyrenakem, done21:35
kreyrenlibwxgtk3.0-gtk3-dev mby?21:35
akemkreyren, Hm...better try to look why you cannot install 'libwxgtk3.0-dev' :X21:37
kreyrenakem, based on available info, because ubuntu feels like being unique by renaming packages again..  Solved by installing libwxgtk3.0-gtk3-dev thank you!21:38
akemkreyren, Glad you got it working. Np.21:39
=== btp is now known as SaganIsGod
=== SaganIsGod is now known as SaganIsTrueGod
alschaapmanCan someone help me figure out a build error?22:52
skyliner_369paste the error message?22:53
alschaapmanThis is what I'm trying to build: https://github.com/brydling/dracut-crypt-ssh/tree/ubuntu-support22:53
alschaapmanThis is the error: `crypttab.c:(.text+0x5c4): undefined reference to `blkid_evaluate_tag'`22:53
alschaapmanIt builds fine with Arch, but not Ubuntu22:54
snowhawkhello22:59
oerheksalschaapman, file a bug?  https://github.com/dracut-crypt-ssh/dracut-crypt-ssh/issues23:01
alschaapmanoerheks: There's already a pull request open23:02
oerheksadd yourself to it? their forum starts with maintainers wanted..23:05
alschaapmanI need to get this working.23:06
alschaapmanI gather from the error message that make can't find the blkid_evaluate_tag function, but everything in /usr/include/blkid/blkid.h looks as it should.23:07
matsamansnowhawk: hi23:07
=== anon is now known as Guest17662
CuChulaindHello. I have downloaded a /deb package, run sudo dpkg -i <pkg.deb> then sudo apt install ./<pkg> the response is that the package is installed, however when I try to run the program it isn't found23:23
matsamanCuChulaind: what package? What program?23:24
CuChulaind@matsaman, graylog. apt list -installed shows: graylog-3.3-repository/now 1-1 all [installed,local]23:25
akemTry: locate graylog23:27
leftyfbCuChulaind: remove the package and install it from snap: sudo snap install graylog23:28
CuChulaindakem, /etc/apt/sources.list.d/graylog.list23:29
=== SaganIsTrueGod is now known as btp
CuChulaindleftyfb, I have not had good luck with snap, tried using docker installed as snap during ubuntu install and it didn't work correctly23:30
leftyfbCuChulaind: graylog is a service. But it's also not available or supported as an apt package in ubuntu. Version 2.3.1-1 is available as a snap23:30
CuChulaindleftyfb, this isn't one found in the repos but one that I downloaded, will snap still install it>23:30
leftyfbCuChulaind: yes, it is available as a snap package23:31
CuChulaindleftyfb, but version 2.3 you said, and the latest is 3.323:31
leftyfbCuChulaind: then you'll have to contact graylog for support23:31
snowhawkanyone used OpenEMU?23:32
leftyfbsnowhawk: please contact https://openemu.org for support. Or feel free to chat about it in #ubuntu-offtopic23:33
snowhawkhmm23:36
snowhawki left a note on github23:39
snowhawkit wont let me join #ubuntu-offtopic23:41
snowhawkim already identified23:42
housecatsnowhawk: what message do you get when you do /join #ubuntu-offtopic?23:44
Steven_MHi all. Is there a better way of installing Private Internet Access VPN on Ubuntu than using the pia-linux-2.1-04977.run script from their website (eg from a PPA or something)? The reason I don't like using their script is that they don't provide a gpg signed checksum file for the script, at least all packages from a repo are signed.23:49
CuChulaindThe full error message when doing the apt-update is: https://packages.graylog2.org/repo/debian stable Release23:49
CuChulaind  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 18.214.174.224 443]23:49
CuChulaindwhat must I do to get the handshake to work?23:50

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