[01:43] <Linkandzelda> Walex: I upgraded my USB2 interface to USB3 and seeing a huge improvement on those 4kib random writes to HDD: WRITE: bw=8026KiB/s (8218kB/s), 8026KiB/s-8026KiB/s (8218kB/s-8218kB/s), io=679MiB (712MB), run=86603-86603msec
[01:46] <yukiup> yay
[01:46] <yukiup> usb3
[01:53] <Linkandzelda> Walex: and for what its worth this is the results of a RAID10 mdadm which is currently resyncing: WRITE: bw=5318KiB/s (5445kB/s), 5318KiB/s-5318KiB/s (5445kB/s-5445kB/s), io=324MiB (340MB), run=62401-62401msec
[02:49] <Deihmos> ##reddit-nba
[02:56] <oops> could the obfs4proxy be used with openvpn/wireguard? if it could , how to do it ?
[03:35] <sail0r> ive installed the latest on a rpi4, but the video playback is all green and red and black anywhere its dark. i tried turningon hardware acceleration, but it doesnt seem to have done anything. anyone else have this problem? i cant even find a post about this issue
[03:56] <JeffATL> i've tried twice now to boot a dell server to a usb drive with ubuntu-20.04.2-live-server-amd64.iso dd'ed to it and it says something like "ISO corrupt." is there a trick to this? command use was dd if=ubuntu-20.04.2-live-server-amd64.iso of=/dev/sdb bs=1M and  shasum checked out.
[03:59] <tomreyn> JeffATL: shasum of what and what?
[04:01] <JeffATL> tomreyn: the downloaded file's shasum vs. what ubuntu.com said it should be at https://ubuntu.com/download/server
[04:02] <tomreyn> JeffATL: so you may want to also verify the iso written to the installation media:   cmp -n $(stat -c '%s' ubuntu-20.04.2-live-server-amd64.iso) ubuntu-20.04.2-live-server-amd64.iso /dev/sdb
[04:02] <JeffATL> tomreyn: trying it now
[04:03] <tomreyn> call sync beforehand
[04:03] <JeffATL> tomreyn: trying it again :)
[04:05] <JeffATL> tomreyn: no output at completion means...?
[04:05] <tomreyn> Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.
[04:05] <tomreyn> echo $?
[04:06] <JeffATL> tomreyn: it is 0
[04:06] <tomreyn> so apparently it was written fine.
[04:07] <tomreyn> where does what say "ISO corrupt"?
[04:08] <JeffATL> tomreyn: let me go try it again and see if i can capture it. it only shows briefly before on-disk GRUB takes over
[04:10] <tomreyn> also discuss whether it's booting in bios or uefi mode, whether "secure boot" is enabled (only on uefi), what the very hardware is, whether this is new hardware, or hardware you have not worked with beofre.
[04:17] <JeffATL> tomreyn: bios mode. dell poweredge 2950, circa 2006-2008.  i currently have gentoo linux installed and running on disk.
[04:18] <JeffATL> tomreyn: after hitting F11 to enter boot screen, i select front USB. it then immediately says "isolinux.bin is missing or corrupt." and on-disk GRUB lights up from there
[04:24] <tomreyn> JeffATL: has it booted from this usb stick before?
[04:25] <tomreyn> JeffATL: is this the latest bios version?
[04:25] <TJ-> JeffATL: BIOS mode doesn't boot using GRUB, it uses syslinux/isolinux
[04:26] <JeffATL> tomreyn: no, not this one. other USB, not a problem. have not updated bios yet
[04:26] <TJ-> JeffATL: this sounds like a known issue with Dell BIOS whereby it passes the wrong device index to the bootloader when using an external boot device. (I developed the diagnosis code for syslinux in ~2007 for this)
[04:27] <TJ-> JeffATL: do both USB have the same ISO image on them?
[04:28] <Alturic> Hello. I have a really weird question but is there any actual "processing power" used having a bash script do nothing but count to 1,000,000?
[04:28] <tomreyn> JeffATL: latest bios https://www.dell.com/support/home/en-uk/drivers/driversdetails?driverid=ywg28&oscode=wnet&productcode=poweredge-2950&lwp=rt
[04:29] <JeffATL> TJ-: not sure what you mean by "both USB" although i am about to try a 2nd one now using the same ISO
[04:29] <tomreyn> JeffATL: and version 2.4.3 improves usb booting https://www.dell.com/support/home/en-uk/drivers/driversdetails?driverid=8xrmf&oscode=wnet&productcode=poweredge-2950
[04:30] <TJ-> JeffATL: did I misunderstand when you said 2no, not this one. other USB, not a problem" ?
[04:30] <tomreyn> Alturic: certainly not much, but any calculation involves processing
[04:30] <TJ-> Alturic: does it /need/ to count to 1M, or is that a way of imposing a delay?
[04:31] <tomreyn> Alturic: or is this rather your homework assignment?
[04:31] <Alturic> TJ- Oh it's even sillier than that.
[04:31] <Alturic> I didn't think cpu speed would matter, but I have identical bash scripts. Both count to 1,000,000. On a CentOS server with a 2.4ghz processor it takes 20s to count to 1,000,000 on this Ubuntu server with a 3.4ghz processor it's taking close to 60s.
[04:32] <Alturic> The reason I even got to this is because I didn't think it would really care about speed, but I wanted to see before I really do a benchmark between the two processors, ha.
[04:32] <TJ-> Alturic: presumably both have similar background loads?
[04:32] <Alturic> But this is... eye-opening to say the least.
[04:33] <Alturic> As funny as it is, the slower speed per core is actually much higher load than the Ubuntu server with no load at all.
[04:34] <TJ-> Alturic: try timing both:  " time bash -c 'C=1000000; while [[ $C > 0 ]]; do ((C = C-1)); done' "
[04:34] <TJ-> Alturic: also, is one using a PREEMPT kernel ("uname -a")
[04:35] <Alturic> The faster core/slower count time Ubuntu is on 5.8. The CentOS server is on 3.10
[04:37] <Alturic> Ahh, this is a bit better without echoing every iteration, 0m3.9s on the slower server, 0m1.7s on the Ubuntu.
[04:37] <TJ-> Alturic: interesting issue - my feeling is it is likely to do with choices of kernel scheduler, all other variables being the same
[04:37] <Alturic> ^ Meant that as your example was those numbers.
[04:37] <TJ-> Alturic: oh, yes, 'echo' is going to slow things down, any output to TTY is dependent on the console size and its drivers
[04:43] <Bashing-om> Alturic: Mine. Old dual core Athlon - 5.4 kernel >> real 0m6.512s user 0m6.503s Sys 0m0.001s .
[04:53] <Alturic> Thanks for the info both of you. One last question. This might be a bit low-level in terms of how processors work, but something that's cpu intensive calculating would it be better to process 2 iterations on 4 actual cores, or 1 iteration on the 4 cores/8 threads?
[04:54] <Alturic> I assumed there was a bit of overhead on the threads, and you would be better of using 100% of the core twice, instead of 100% of the "core" and 100% of the thread... once.
[04:58] <tomreyn> those are rather programming-like questions, and the language you'll use may have an impact on that. certainly bash is nto the right tool for performance measurements.
[04:59] <TJ-> Alturic: as earlier; it depends on the kernel scheduler :)
[05:06] <JeffATL> tomreyn: machine already has 2.4.3.
[05:07] <tomreyn> JeffATL: try setting "USB Flash Drive Emulation Type" bios option to "hard drive".
[05:08] <tomreyn> (i.e. not "auto")
[05:08] <tomreyn> another option, should all of this fail, is to use the BMC's "virtual media redirection" to boot the iso remotely.
[05:25] <JeffATL> tomreyn: that emul type change made the difference
[05:26] <tomreyn> you're welcome
[05:29] <JeffATL> tomreyn: is really slow to come up but then again i dont' deal with ubuntu live image often
[06:04] <tomreyn> JeffATL: https://askubuntu.com/questions/256739/ubuntu-12-10-wont-boot-from-usb-isolinux-bin-missing-or-corrupt is where i foudn the bios setting. also, you'll notice a couple older dell systems listed as affected there. this probably doesn't explain why the live system is slow for you, though. take a look at dmesg (you can switch ttys), maybe it has a hint on it.
[06:11] <audiocat> how can i set up multiple screens (for multiple bots)?
[06:11] <audiocat> ubuntu 20.01
[06:15] <sub526> Hi all, in my ubuntu PC , sudo apt-get update results "W: http://murphymgr.europe.root.pri/ubuntu-xenial/dists/xenial/InRelease: Signature by key 076AD552456BE6FF5C2374D37DFA9777703CAB41 uses weak digest algorithm (SHA1)"
[06:16] <sub526> How to resolve it?
[06:17] <sub526> Also, what does that warning message means?
[06:17] <tomreyn> sub526: use apt repositories which are not signed with a weak digest algorithm (i.e. which use a current gpg configuration for signing)
[06:18] <tomreyn> also, if this is an ubuntu 16.04 system, this is !EOL.
[06:20] <sub526> tomreyn: http://murphymgr.europe.root.pri/ubuntu-xenial/dists/xenial/InRelease this is the private repository , is there a way to fix this issue?
[06:20] <tomreyn> sub526: quoting myself: use a current gpg configuration for signing
[06:22] <sub526> tomreyn: Could you please point me to some web links which helps in using current gpg configuration for signing.
[06:23] <kenyon> sub526: do you administer that repository?
[06:24] <sub526> kenyon: yes
[06:25] <tomreyn> sub526: https://gnupg.org/faq/weak-digest-algos.html (though yours is about SHA-1, not about MD5), use gpg --digest-algo or edit the key and change its default digest algorithm order
[06:26] <tomreyn> for more help with gpgp, refer to the gpg man page and channel #gnupg
[07:24] <thyriaen> i have an application which uses an old version of a package and does not work properly with an updated one - apt-mark hold fixes it but my other applications need the new ones - can have an additional old package on the system which only my 1 application uses ?
[07:29] <ThinkT510> in general no. you could try installing the app your having issues with as a snap or flatpak instead
[07:31] <thyriaen> ThinkT510, the snap has the same issue unfortunately
[07:32] <ThinkT510> what is the app you are having issues with?
[08:34] <src> thyriaen: it can be done in general, but I don't think there's an official way to do it on ubuntu
[08:37] <src> thyriaen: I've been meaning to look into using nix on ubuntu which I think should achieve what you're trying to do (if you're in need of such capability often). Afaik it installs packages including dependencies in their own unique path, and so they shouldn't clash. OF course there would have to be nix packages available
[08:39] <src> thyriaen: maybe you want to manually compile the application in question though and point it to an older version of a library from somewhere. I don't think there's any reason why this shouldn't be possible.
[09:01] <zamba> i need to limit the amount of bandwidth consumed by uploading http threads.. what do you suggest to use for that?
[09:01] <zamba> some kind of web proxy?
[09:36] <locsmif> Anybody have trouble with the kernel crashing/(k)ubuntu completely freezing on Focal when the binary nvidia driver is installed and a QHD monitor is connected via displayport, either before or after switching on (the laptop in this case)?
[09:37] <locsmif> Connecting 4K monitor is fine, via HDMI, if the QHD is also connected via display port, I see a null pointer reference in the nvidia kernel module in the system logs
[09:38] <ogra> locsmif, https://discourse.ubuntu.com/t/nvidia-rtx-460-display-port-monitor-ubuntu-20-04/22624 perhaps ?
[09:42] <locsmif> ogra: if I try to install 450 I get 460 without asking for it.
[09:42] <locsmif> It simply jumps to 460 when I explclitly instruct it to get 450
[09:43] <locsmif> Honestly, I'm beyond furious how nvidia handles this
[09:43] <locsmif> a null pointer dereferenc is about as dire as a bug ina kernel module can get
[09:43] <ogra> locsmif, read the posts ... there seems ot be a -server package that works
[09:45] <locsmif> Yeah, I was reading that
[09:45] <locsmif> And some of the posters there feel the same way as I do, which is why I mentioned it
[09:46] <audiocat> do i need to run screen for a cronjob to execute?
[09:46] <locsmif> Now I have to install a driver meant for a datacentre
[09:47] <locsmif> ok, trying... :/
[09:50] <mrelcee> Wondering if anyone has seen a situation with syncthing under ubunty 20.04.  Bone stock systemd files from syncthing v1.17.0 installed with apt from the syncthing repo.     Added a folder to sync has test files in it.
[09:51] <locsmif> Well, however helped me just now, thank you, that worked.
[09:51] <ogra> 👍
[09:51] <locsmif> The -server nvidia driver works
[09:51] <mrelcee> Sarts up fine.   Starts syncing.    However systemd seems to keep spawn8ng copies till system runs out of memory and swap.
[09:52] <ogra> mrelcee, you should reprot that to the people offering that repo
[09:52] <ogra> *report
[09:52] <ogra> not really much we can do about in here ... given it is third party software
[09:53] <mrelcee> Figured.  Hoped someone had run into it and figured something out.
[09:54]  * ogra personally would simply use one of the syncthing snaps instead ... that will at least not affect the host when it misbehaves
[10:04] <MrGeneral_> .
[10:07] <holgersson> .: not enough arguments
[10:10] <sweb> is really mini.iso deprecated... ubuntu servers default came with many packages that i dont need . like snap ... what's alternative ? debian ?
[10:15] <guiverc> sweb, ubuntu server no longer uses the debian installer (used by mini), neither do any flavors (lubuntu last used it in 18.04); https://help.ubuntu.com/community/Installation/MinimalCD   all installation media is now LIVE
[10:16] <guiverc> or http://cdimages.ubuntu.com/netboot/focal/
[10:16] <ogra> the mini.iso has never been supported btw ...
[10:16] <guiverc> :)
[10:16] <ogra> it was just a by-product of building debian-installer
[10:18]  * guiverc notes it's not the first time I've seen ogra state that, I wonder if it's worth adding to the wiki?   (MinimalCD) .. thinking
[10:18] <ogra> yeah, perhaps
[10:19] <ogra> (given it is complpetely gone now i wonder if it is worth the effort though)
[10:20] <guiverc> the only change I've made to that page of late is removal of stuff... I don't mind doing an addition :)  ; besides more to remove anyway
[10:21] <Samian> Can anyone help me figure out why this isn't building? imgur.com/a/0RzKDBy
[10:21] <guiverc> thanks ogra for info :)
[10:21] <Samian> I tried installing pthreads
[10:22] <Samian> I also did sudo apt-get libboost-all-dev which I know install pthreads
[10:26] <ogra> Samian, try libc6-dev
[10:28] <Samian> cool
[10:28] <Samian> thanks
[10:30] <i0e> anyone using tor browser here?
[10:31] <guiverc> i0e, if you have a question, please ask just ask it (giving release details also)
[10:32] <i0e> guiverc: thanks. i'm just wondering if someone is experiencing problems with launching torbrowser-launcher today or this week?
[10:33] <i0e> i'm having problems with the signature keys and i can't find a solution
[10:33] <i0e> i'm running ubuntu 20.04
[10:34] <i0e> and trying to run torbrowser 10.0.17
[10:35] <Samian> I see what's wrong!
[10:35] <Samian> the cmake.txt file says it needs cmake 3.5 version minimum. I'm on a lower version
[10:38] <guiverc> yes I had problems last two tuesdays (my local time), went back to torbrowser-launcher, re-downloaded browser, repeated then worked..    I just tried now, and get signature verification failed Key expired too
[10:38] <guiverc> i0e, ^
[10:39] <i0e> guiverc: did you managed to fix it?
[10:40] <guiverc> what you described & I now have is new (& not issue I had last two tuesdays...)
[10:42] <i0e> guiverc: hmm, i just tried it today. but since they managed to fix your previous issue, hopefully they'll fix this one too sooner? :)
[10:42] <Samian> Agra libc6-dev I already have installed the computer says :-(
[11:54] <Guest62> i have fresh installation of 21.04 but from time to time i experience system freezes and crashes; how do I investigate?
[12:00] <Guest62> if /boot is unencrypted, is there away to verify the integrity of the kernel and initramfs after or during boot process automatically?
[12:01] <mgedmin> doesn't that happen automatically if you have secure boot enabled?
[12:02] <mgedmin> huh, askubuntu says not
[12:03] <olle> Is this a good place to talk about open-source licenses?
[12:05] <olle> Hm
[12:05] <olle> https://opensource.stackexchange.com/questions/10521/transpiled-source-code-license-copyright-holder
[12:11] <locsmif> olle: try #fsf
[12:12] <olle> thanks!
[12:12] <locsmif> Since GPL is being discussed too, and is often the most tricky licence in terms of understanding where e.g. the boundaries of API usage vs. incorporation are
[12:13] <Ginalo> Hi. Does anyone know of a calculator software that can do derivatives?
[12:13] <locsmif> Ginalo: only online
[12:14] <locsmif> Don't know one you can install locally, but perhaps/probably they exist
[12:18] <ogra> Ginalo, https://www.linuxjournal.com/content/introducing-genius-advanced-scientific-calculator-linux
[12:18] <ogra> should be in the archive ...
[12:25] <locsmif> Ginalo: maybe ##math has a preference as well
[12:29] <Ginalo> locsmif, ogra: Thanks! I'll look into those
[12:29] <locsmif> Ginalo: yw.. you should check it out, they have about 400 people there
[12:30] <locsmif> I tend to use Wolfram Alpha, but that's online
[12:31] <locsmif> There's also desmos, also online
[12:32] <locsmif> https://learn.desmos.com/derivatives
[12:43] <Ginalo> locsmif: I have a very potato machine, so applications are kinda laggy for me. I'd love to use those sites, which I used on other machines, but this laptop is too slow for multiple websites open.
[12:50] <heol> Hi everyone!
[12:50] <Bright> heol:Hi
[12:50] <heol> can someone help regarding custom image building for Ubuntu Core?
[12:51] <heol> I'm trying to create a custom image containing "network-manager" snap
[12:52] <heol> but if I run ubuntu-image i get "error: cannot add snap "network-manager" without also adding its base "core" explicitly"
[12:57] <Ginalo> heol: I am in no way an expert, but maybe there's a separate core network-manager snap? I don't really use snap but I recall that in Flatpak something like a separate package exists which other Flatpak apps depend on.
[12:57] <heol> Nevermind, found the issue. It works with "default channel: 20/beta"
[12:57] <Guest30> We are hosting a private repository which is giving “Signature by key 076AD552456BE6FF5C2374D37DFA9777703CAB41 uses weak digest algorithm (SHA1)” while running ‘sudo apt-get update’ from client machines. To resolve it, appended "cert-digest-algo SHA256" and "digest-algo SHA256" in repository server /root/.gnupg/gpg.conf, and then tried sudo
[12:57] <Guest30> apt-get update in another client machine, but still got the same warning message. How to resign the private repository files with new gpg.conf settings?
[12:57] <heol> Thanks for the suiggestion Ginalo
[12:59] <ogra> heol, for Ubuntu Core, come over to the #snappy channel ...
[12:59] <ogra> ah, i see you found the correct track and channel for the netwrk-manager snap already 🙂
[13:00] <ogra> (in general though, Ubuntu Core can be discussed in #snappy)
[13:01] <alguien> Does anyone have a quick way to turn proxy on/off?
[13:05] <locsmif> Ginalo: I'm in ##math, so I'm happy to see you were able to get some tips there :))
[13:07] <alguien> nvm, I installed https://extensions.gnome.org/extension/771/proxy-switcher/
[13:09] <malwar3hun73r> anyone familiar with amd rocm on 20.04
[13:10] <malwar3hun73r> everything seems to install ok, but clinfo hangs and never returns
[13:10] <malwar3hun73r> googling hasn't resulted in obvious solutions
[13:14] <BluesKaj> Hi all
[13:23] <Ginalo> locsmif: Yeah! I'm currently researching more about what was suggested :D
[13:38] <malwar3hun73r> clinfo hangs
[13:47] <bittin> good afternoon
[14:25] <Guest70> Hi, I'm trying to package a ruby app as a .deb. It requires some environment variables to be set from a remote key value store when it's installing. What's the best way of working this into the package, or the postinst script?
[14:26] <oerheks> !packaging
[14:27] <oerheks> there is #ubuntu-packaging on #libera too
[14:34] <Guest70> How do I stop getting disconnect from the channel?
[14:36] <mgedmin> Guest70: pick and register a nickname: https://libera.chat/guides/registration
[14:36] <Guest70> thanks
[14:38] <apsuedonym>  /msg NickServ VERIFY REGISTER apsuedonym 6bUo8EXqpq8MxjmA
[14:38] <apsuedonym>  /msg NickServ VERIFY REGISTER apsuedonym 6bUo8EXqpq8MxjmA
[14:39] <ogra> apsuedonym, you probably want to pick a new password now
[14:39] <ogra> and make sure there is no space before the /msg so your msg doesnt end up in the channel 😉
[14:39] <mgedmin> that's not a password, that's the one-time verification code
[14:39] <ogra> oh, right
[14:39] <BluesKaj> apsuedonym, register on the server page
[14:40] <Guest70> now I've lost my account :(
[14:42] <Guest70> can't change password on that account now b/c someone is logged into it
[14:42] <Guest70> v annoying
[14:43] <oerheks> no, that is you too..
[14:43] <oerheks> lolz
[14:44] <Samian> I modified some environment variables I see when I type export in the terminal
[14:44] <Samian> how do I save the changes
[14:44] <Samian> when I open a new terminal and type export again I don't see the changes :-(
[14:45] <mgedmin> edit ~/.bashrc
[14:47] <apsuedonym> ok, so, I want to feed some env vars to my post inst script from a remote location, has anyone done this before?
[14:47] <apsuedonym> if so, do you have any advice on how to do it?
[14:55] <ircuser> I'm still here, I just lost my connection and was signed back in with a different name
[14:56] <cbreak> type /nick nameyouwant
[14:59] <apsuedonym> back once again etc
[14:59] <apsuedonym> How do I make sure my postinst script uses /bin/bash and not /bin/sh?
[15:00] <apsuedonym> I have placed a shebang at the top of my file but dpkg seems to just ignore it
[15:01] <cbreak> apsuedonym: you could call an other script via `/bin/bash otherscript` explicitly? :/
[15:02] <cbreak> the #!/blah stuff only affects scripts started as executables, not scripts given to a shell to interpret directly
[15:03] <apsuedonym> v interesting, I like your idea
[15:05] <tomreyn> https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html suggests that the #! *is* interpreted
[15:05] <tomreyn> at least it demands for it to be set
[15:06] <tomreyn> (and suggests that different types of scripts could be used, while shell scripts are preferred)
[15:08] <apsuedonym> Interesting that's what debian says, but I am unable to use commands like `source` in my post inst script
[15:22] <cbreak> can you execute something like printenv > /tmp/pseudo-log-file ?
[15:22] <cbreak> that should contain the information about the current shell program
[15:24] <Samian> what do I when I have usr/lib/python3/dist-packages/torch.  but also have Home/.local/lib/python3.8/site-packages/torch
[15:24] <Samian> one should be removed right?
[15:26] <cbreak> Samian: I'd recommend removing both, and then create a virtualenv for torch
[15:27] <cbreak> `python3 -m venv` to create it, then `source venv/bin/activate` to activate it, after that, you can install stuff into it.
[15:28] <cbreak> that'll enable you to have multiple versions of torch, without colliding with anything outside
[15:28] <Samian> thanks cbreak
[15:34] <Samian> cbreak:  what do you use as your ENV_DIR ?
[15:35] <cbreak> ?
[15:35] <Samian> I typed your command
[15:35] <cbreak> oh, just pick a name
[15:35] <cbreak> I create them per project usuaully
[15:36] <cbreak> so I call them venv, or venv-tf1.15 or what ever is special about them
[15:49] <heap> hello can  i somehow check that alsa plugin type plug is properly working?
[15:49] <heap> its called automatic conversion plugin
[15:51] <heap> also is there some specific place where i can put freq of cpu after system boot?  /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
[16:03] <heap> okay i set it inside /etc/default/cpufrequtils:GOVERNOR=ondemand
[16:03] <heap> but more concerned about that alsa ... issue
[16:03] <heap> ;/
[17:00] <ox4e44> Hi all , Anyone knows if the future version of Ubuntu server will be having ZFS as the root level of file system as a default or option during the installation ? Right now it is possible but the out of the box experience is pretty ish regarding this option. Right now the version of Ubuntu 21.04 now support ZFS on root by default.
[17:06] <ogra> ox4e44, you might want to ask this in this thread where the zfs ubuntu devs tend to read along https://discourse.ubuntu.com/t/zfs-focus-on-ubuntu-20-04-lts-blog-posts/16355
[17:11] <ogra> ox4e44, i guess the last few server releases were a bit focused on the new installer, that bound some developer resources ...
[17:16] <Bluetooth_lag> Hello!  I'm having a consistent issue with bluetooth audio delay on Ubuntu 21.04.  It' appears to be about a half second of delay.
[17:18] <Bluetooth_lag> I've tried a handful of solutions centering around disconnecting/reconnecting the headphones, and changing the mode back and forth to "resync" the headset.  Neither of which works.
[17:23] <ox4e44> ogra, you are quite right with this one , although i'm not 100% confident to push this into a production environement to some customers now tho.
[17:23] <ox4e44> Bluetooth_lag, what is the device bluetooth version ?
[17:24] <ogra> ox4e44, well, ask dider in that thread above, he's the frontline maintainer and can surely give you hints ... also about the status of zsys on server and if you could try it in i.e. 4 months in the next release
[17:26] <Bluetooth_lag> ox4e44: Let me check real quick.
[17:30] <ox4e44> ogra, I will do this. Thanks !
[17:30] <Bluetooth_lag> @ox4e44 Looks like version 4.1  They're a pair of Bose Soundsport Free headphones
[17:30] <ox4e44> Bluetooth_lag, on the laptop it's 4.1 bluetooth ?
[17:30] <Bluetooth_lag> Also this issue is *not* present with my cellphone or windows laptop.  Only this newer machine when running Ubuntu specifically
[17:30] <ox4e44> You should not have any much delay on this.
[17:31] <Bluetooth_lag> When this laptop had windows installed there was no delay
[17:31] <ox4e44> What is the kernel version that you have ?
[17:31] <Bluetooth_lag> ox4e44: uname -a reports "Linux work 5.11.0-18-generic #19-Ubuntu SMP Fri May 7 14:22:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
[17:32] <ox4e44> Which version of Ubuntu ?
[17:32] <Bluetooth_lag> 20.04
[17:32] <ogra> Bluetooth_lag, it helps to state the make and model of your leptop in such a request, then people can look up the chipset in that laptop and potential known problems 😉
[17:32] <Bluetooth_lag> no problem, let me pull that
[17:33] <Bluetooth_lag> also my bad, my version is 21.04
[17:33] <Bluetooth_lag> not 20.04
[17:34] <Bluetooth_lag> Laptop is an hp zbook firefly 14 g7
[17:37] <ox4e44> Intel® AX201 Wi-Fi 6 (2x2) 160MHz and Bluetooth® 5 Combo, non-vPro
[17:37] <ox4e44> Intel® AX201 Wi-Fi 6 (2x2) and Bluetooth® 5 Combo, non-vPro
[17:37] <ox4e44> Have you tried this ? https://www.intel.ca/content/www/ca/en/support/articles/000005511/wireless.html
[17:37] <ox4e44> the 5.10+ driver
[17:37] <ox4e44> Bluetooth_lag, nice machine by the way
[17:38] <Bluetooth_lag> thanks, lol.  Company treats us well.
[17:38] <Bluetooth_lag> I'll give this a shot
[17:38] <JoshMulliken> Yeah nice machine
[17:38] <JoshMulliken> haha
[17:38] <JoshMulliken> Jealous
[17:38] <ox4e44> 14 inch full powerhouse.
[17:39] <Bluetooth_lag> Do I just copy it right into /lib/firmware like the page specifies?
[17:40] <ox4e44> here i'm pending on my laptop to get in through delivery.  https://www.amazon.com/Lenovo-IdeaPad-Flex-Keyboard-Fingerprint/dp/B08SMFZSLQ/ref=sr_1_4?crid=278SC5XZBH2GM&dchild=1&keywords=lenovo+flex+5+ryzen+7&qid=1623692376&sprefix=lenovo+flex+5+ry%2Caps%2C168&sr=8-4
[17:40] <JoshMulliken> https://wiki.ubuntu.com/Kernel/Firmware
[17:40] <JoshMulliken> Check out this link for info on installing it
[17:43] <Bluetooth_lag> this doesn't necessarily say how to install it
[17:43] <Bluetooth_lag> It looks like I could just throw it in /lib/firmware and reboot though
[17:43] <Bluetooth_lag> or toggle bluetooth on/off?
[17:43] <ogra> yeah, that might work ... note down the filenames so you dont have stray files on the system if it does not help
[17:43] <ox4e44> reboot , kernel need to call and load it up
[17:44] <ogra> yeah
[17:44] <Bluetooth_lag> do I need to delete any other files from this directory?
[17:44] <Bluetooth_lag> or just throw in the new one?
[17:44] <Bluetooth_lag> I already un-tar'd and threw it in
[17:44] <ogra> Bluetooth_lag, and tell your company to take a look at https://certification.ubuntu.com/ next time ... ubuntu has ceertified HP notebooks ;)
[17:44] <Bluetooth_lag> I specifically requested this machine
[17:44] <ogra> so just reboot ...
[17:44] <ogra> ah
[17:44] <Bluetooth_lag> Okay, I'll be back in a few
[17:45] <ox4e44> ogra , yeah well the beauty of Linux is that it's mostly handling fine all hardware at a bare minimum
[17:45] <ogra> right ... but not all bits are always up to date for the newest HW
[17:45] <JoshMulliken> Exactly. Also that link does show what the process is lol
[17:45] <ox4e44> even tho it's not certified, it does work. It drinks and don't do the job well , but it workd :p
[17:46] <ogra> heh
[17:47] <Bluetooth_lag> It appears to have not worked
[17:47] <Bluetooth_lag> but let me check if the right thing loaded
[17:49] <ogra> there is https://askubuntu.com/a/1343903/217953 as well
[17:49] <ogra> (also pointing to firmware issues)
[17:50] <ogra> (though less about audio quality, rather about unexpected BT reconnects and audio profile switches)
[17:52] <ox4e44> jack headphone ftw , just kidding !
[17:53] <Bluetooth_lag> Trying that link now
[17:56] <Bluetooth_lag> That didn't work either
[17:59] <JoshMulliken> Have you followed the debugging steps here? https://wiki.ubuntu.com/Kernel/Firmware
[18:04] <Bluetooth_lag> I don't see any entries in /var/log/syslog regarding bluetooth
[18:04] <Bluetooth_lag> at leats not within the last 3-4 days
[18:05] <JoshMulliken> It wouldn't say Bluetooth it would be something with your drivers/hardware name
[18:05] <JoshMulliken> > [  77.481635] e100 0000:00:07.0: firmware: requesting e100/d101m_ucode.bin
[18:05] <JoshMulliken> > [ 137.473940] e100: eth0: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -2
[18:07] <Bluetooth_lag> uploading the results of "cat /var/log/syslog | grep "firmware""
[18:08] <Bluetooth_lag> https://paste.ubuntu.com/p/pnKBkTt7vG/
[18:08] <Bluetooth_lag> Line 9 seems to imply it's loading firmware
[18:09] <Bluetooth_lag> it also seems to imply it's loading firmware from 2014
[18:11] <JoshMulliken> Looks like you installed the wrong one
[18:11] <JoshMulliken> > [  146.062426] iwlwifi 0000:00:14.3: loaded firmware version 59.601f3a66.0 QuZ-a0-hr-b0-59.ucode op_mode iwlmvm
[18:11] <JoshMulliken> This is the correct version for your chipset *Intel AX201* https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi/iwlwifi-qu-48.13675109.0.tgz
[18:12] <ox4e44> Bluetooth_lag,  Yeah it is weird, are you sure you extracted the right file into the folder ?
[18:12] <JoshMulliken> You installed the one for the *Intel® Wi-Fi 6 AX210 160MHz*
[18:12] <Bluetooth_lag> ah
[18:13] <Bluetooth_lag> so the file you just linked needs to go into /lib/firmware?
[18:14] <Bluetooth_lag2> I got disconnected from the server, weird.
[18:14] <Bluetooth_lag2> So I downloaded the new file you linked
[18:15] <Bluetooth_lag2> Just put that in /lib/firmware?
[18:16] <Bluetooth_lag2> I moved the file, going to reboot and try again
[18:20] <Bluetooth_lag> it appears to have not loaded anything
[18:20] <Bluetooth_lag> the syslog file doesn't show any new info if I search for "firmware"
[18:20] <JoshMulliken> Yeah it is supposed to go there
[18:21] <Bluetooth_lag> I put it there and rebooted
[18:21] <Bluetooth_lag> didn't seem to work
[18:21] <ikonia> does anyone know if 20.04 supports the forcefsck file in the root file system ?
[18:21] <ikonia> I'm not %100 sure with the current init changes
[18:24] <JoshMulliken> Bluetooth_lag unfortunately that is the end of my capabilities on the subject
[18:25] <JoshMulliken> Bluetooth_lag: Sorry!
[18:26] <Bluetooth_lag> Bummer, thanks for the help
[18:33] <ogra> Bluetooth_lag, you could try to insall "pavucontrol" IIRC that has a latency slider for BT audio devices, perhaps you can adjust it there
[18:59] <Bluetooth_lag> ogra: I tried that and it didn't actually seem to do anything
[19:00] <ogra> well, was worth a try at least
[19:07] <z1haze> Hi folks, when trying to figure out the proper way to set a static IP on my ubuntu server, when googling i have found several difference ways, all involving netplan, but why are everyone's cloud.yml files named differently, if they are all examples on 20.04 ?
[19:09] <z1haze> and in some of these files for the dhcp option, they have yes/no and in my file, it says true, so im assuming the opposite would be false, and not 'no' .. why so inconsistent
[19:12] <rbasak> z1haze: netplan reads /etc/netplan/*.yaml, so you can call the file whatever you like. This allows tools to drop-in and/or manage different networks as different files without interfering with one another.
[19:14] <rbasak> z1haze: yes/no or true/false come down to YAML syntax, where both forms are accepted as boolean types. See: https://yaml.org/type/bool.html
[19:33] <z1haze> thanks rbasak, so in that case -- is there some command that can be run to set a static ip? its recommended to keep this netplan process in place, right?
[19:35] <rbasak> z1haze: what do you have in /etc/netplan/ ?
[19:35] <z1haze> 1 file, default i assume
[19:35] <rbasak> Called what?
[19:35] <z1haze> 50-cloud-init.yaml
[19:35] <z1haze> that's why i was like .. why is my file named this way, and everyone elses named something else. thoughtit was weird
[19:35] <rbasak> OK so on your system cloud-init is managing your netplan config for you.
[19:36] <rbasak> I think it probably has instructions at the top on how to disable it?
[19:36] <z1haze> well, do i want to disable it?
[19:37] <z1haze> that's really what i dont know
[19:37] <bundtcake> dmesg says I'm using a 6 year old video driver, wtf ubuntu? [drm] Initialized amdgpu 3.40.0 20150101
[19:37] <rbasak> You want to take over network configuration from cloud-init, I think?
[19:37] <rbasak> That's what it sounds like you're requesting if you want to configure a static IP.
[19:37] <z1haze> i was thinking maybe this tool has a command to run to make static ip? i have no idea. that is why im here
[19:37] <z1haze> so netcloud is some dhcp thing?
[19:37] <rbasak> Where are you getting netcloud from?
[19:37] <z1haze> sorry, netplan
[19:38] <z1haze> i confused netplan and cloud-init
[19:39] <rbasak> What I suggest is that you follow the instructions at the top of /etc/netplan/50-cloud-init.yaml to disable cloud-init's configuration of netplan.
[19:39] <rbasak> Then rename that file to something else (eg. /etc/netplan/z1haze.yaml), then customize that file as you want it.
[19:39] <rbasak> See https://netplan.io/examples/#using-dhcp-and-static-addressing for a static network configuration example.
[19:39] <z1haze> nice. thank you
[19:39] <rbasak> You can run "sudo netplan apply" to test, though of course if remotely connected you can expect your connection to drop.
[19:40] <z1haze> so by disabling this, it simply disables this single file from generating, but it will still use any file i put in that folder?
[19:40] <rbasak> Right
[19:40] <z1haze> cool. i think i get it. thanks
[19:41] <rbasak> There should really be an "official" way to do what you want, and I'm not sure if this is it.
[19:41] <rbasak> I'll ask.
[19:41] <rbasak> However I believe what I suggest should be safe from future interference.
[19:42] <rbasak> Ah
[19:42] <rbasak> z1haze: I'm not sure you need to disable cloud-init there, actually.
[19:43] <rbasak> If you name the file lexicographically after 50-cloud-init.yaml (eg. 60-z1haze.yaml) then that should override it anyway.
[19:43] <rbasak> So no need to disable/remove the cloud-init snippet that's already there.
[19:43] <rbasak> https://ubuntu.com/server/docs/network-configuration has the instructions under "Static IP Address Assignment".
[19:47] <hotRustDeveloper> Hi!
[19:47] <hotRustDeveloper> I am learning to use IRC now.
[19:47] <hotRustDeveloper> *how to use
[19:48] <hotRustDeveloper> Good night to you All :).
[19:50] <sarnold> welcome hotRustDeveloper
[20:03] <heap> hello, where i can get kernel headers? or how...
[20:05] <heap> i mean if i have kernel lets say 5.8.16 is there away to get headers from somehwehre? if headers are not part of the package repository?
[20:06] <Aavar_> Is there a simple command to list all open network ports and the services connected to them?
[20:06] <ogra> heap, on ubuntu you just install the metapackage of your kernel and they come along
[20:06] <ogra> heap, but as i told you before you really need to ask in an armbian forum
[20:06] <ogra> armbian has its own kernel packages, asking here wont help you since these packages are different from ours
[20:07] <heap> i am asking general question
[20:07] <oerheks> !builf
[20:07] <oerheks> !build
[20:07] <ogra> heap, sudo apt install linux-generic ...
[20:08] <ogra> that pulls the headers in (but in a properly installed ubuntu this package is already installed and your headers are there by default)
[20:08] <heap> ogra: so headers dont have to match kernel version?
[20:08] <ogra> they do
[20:08] <ogra> the metapackage depends on all the matching versions
[20:08] <heap> so where i can get these?
[20:08] <heap> headers, can i built them from kernel source?
[20:09] <oerheks> sudo apt install --reinstall linux-headers-generic .. how did you try?
[20:09] <ogra> $ apt-cache show linux-generic|grep Depends
[20:09] <ogra> Depends: linux-image-generic (= 5.4.0.74.77), linux-headers-generic (= 5.4.0.74.77)
[20:09] <heap> no i meant built from scratc not from package  repository
[20:10] <oerheks> if you know howto build, you surely can find the src
[20:10] <ogra> the ubuntu kernel packages build them alogside the binary packages
[20:10] <oerheks> just add it in updates?
[20:10] <ogra> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel ...
[20:10] <heap> dont know
[20:11] <heap> make headers_install ARCH=i386 INSTALL_HDR_PATH=/usr
[20:11] <heap> i have kernel + sources
[20:11] <heap> i need to build / create headers...
[20:12] <heap> and the reason why armbian doesnt have it... its apparently bc their distro is one big buggy mess.
[20:12] <oerheks> ... for i386 ?
[20:12] <heap> oerheks: no. arm7
[20:15] <oerheks>  armhf ..
[20:16] <oerheks> no idea about that.
[20:16] <heap> ARMv7
[20:16] <heap> make headers_install ARCH=arm INSTALL_HDR_PATH
[20:16] <heap> i think this will work like every other...
[20:20] <xx> does ubuntu provide some backports package to get a newer kernel into 20.04?
[20:20] <tomreyn> !hwe | xx
[20:21] <tomreyn> there are -hwe and -hwe-edge, which *can* provide different versions
[20:21] <tomreyn> just for testing purposes, there is also !mainline
[20:23] <xx> I'm having trouble finding the package names I'd need to apt-get
[20:23] <ogra> linux-generic-hwe-20.04
[20:24] <tomreyn> amd linux-generic-hwe-20.04-edge
[20:25] <xx> looks like both of those are 5.8
[20:26] <tomreyn> yes, currently those are at the same version.
[20:26] <tomreyn> xx: what'S the goal?
[20:27] <xx> tomreyn: broken wifi and was told a newer kernel might make it work
[20:28] <tomreyn> xx: by someone here? which chipset, which driver?
[20:30] <xx> Intel® Wi-Fi 6 AX210 160MHz
[20:30] <xx> says it needs 5.10+ kernel
[20:36] <tomreyn> xx: https://askubuntu.com/a/1327621 looks correct ot me.
[20:38] <xx> so I either compile a kernel myself, or wait until ubuntu updates the kernel package?
[20:39] <tomreyn> xx: if you'll go the !mainline route, you should probably make use of https://github.com/pimlie/ubuntu-mainline-kernel.sh or https://github.com/tomreyn/scripts/blob/master/wget_kernel_mainline.sh
[20:39] <tomreyn> !mainline | xx
[20:40] <xx> thank you, hopefully I won't end up with broken pieces
[20:40] <tomreyn> note those are really meant for testing only. even though it's called a "PPA", this is not actually an apt repository.
[20:40] <Aavar> xx: What about 21.04? (maybe it's even possible to install only the kernel from 21.04 in 20.04?)
[20:40] <tomreyn> hwe-edge should soon provide 21.04's kernel in 20.04. i assume the kernel folks didn't get around to it, yet
[20:41] <ceed^> I have a problem/bug in Ubuntu Software Center. I can no longer check for updates with Ubuntu Software. I get a screen which tells me to go online but I am already online and everything else like apt and Synaptic works fine. It's only Software Center that thinks I am offline which I am not. I am not able to fix this myself.
[20:42] <xx> soon, as in next week or two, or soon™ as in by the end of 2021? Or no idea?
[20:44] <tomreyn> xx: no idea. i just brought it up in #ubuntu-kernel, but the maintainers will probably not read it before they hit the office again tomorrow, and may not respond to it at all.
[20:45] <tomreyn> it's also entirely possible they're already working on it, with or without running into issues holding it back.
[20:46] <Aavar> xx: This might be a hack (I dont know...) but I successfully installed 5.11 on linux mint using this a few days ago: https://easylinuxtipsproject.blogspot.com/p/hacks-mint.html#ID8
[20:46] <Walex> xx: there is a 'linux-oem-20.04b' kernel that seem to work in general.
[20:46] <tomreyn> ceed^: it's probbaly a snap problem, try    snap refresh     in a temrinal. (i won't try to help debugging snap, though.)
[20:46] <Aavar> I did not fix my issue, but it worked fine (and as far as i can tell it should work on ubuntu)
[20:46] <Walex> xx: and 'linux-oem-20.04b' is at 5.10
[20:47] <ceed^> tomreyn, snap refresh gives me "All snaps up to date".
[20:49] <tomreyn> ceed^: i see. so maybe it's more of a problem with "ubuntu-software" then. you could try running that from a terminal, too, but i'm not sure whether ti prints warnings to a terminal. it's a snao, too.
[20:49] <tomreyn> *snap
[20:49] <tomreyn> Aavar: this would provide you with this PPA, note the remarks on top https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa?field.series_filter=focal
[20:52] <ceed^> tomreyn, There's also a "Network Settings" button on that update screen in Ubuntu Software but nothing happens if I press it. I just tried to reinstall  the Ubuntu Software snap but the error is still there.
[20:55] <noarb> I'm trying to run a libvirt guest on my machine but I can't ssh from my host, like this problem describes: https://wiki.libvirt.org/page/TroubleshootMacvtapHostFail Once I add this isolated network, do I need to add a route on my ubuntu machine to get there? I've followed the steps but I don't see an additional interface available on the guest or the host
[21:15] <tomreyn> ceed^: sorry, i'm unable to help with debugging ubuntu-software or snapd / snaps (I do not use this software).
[21:16] <ceed^> tomreyn, where would it be possible to get help with this? I am not even sure how to file a bug against a snap :)
[21:18] <tomreyn> ceed^: i'm not able to support the snaßp eco system, you can try to get help with it here. there is also #snapcraft, but i think it's targewtting developers.
[21:18] <tomreyn> *snap eco system
[21:19] <ceed^> tomreyn,  thank you for trying. I feel so lost with a broken snap. I do not even know where to begin :)
[21:19] <Bashing-om> ceed^: See if https://ubuntuforums.org/showthread.php?t=2463504 applies and the work-a-round.
[21:28] <ogra> tomreyn, ceed^, for snaps -> https://forum.snapcraft.io ... open a topic there ... there is also the #snappy channel (though i guess everyone is asleep right now)
[21:28] <ceed^> ogra,  Thanks. I will do that.
[21:29] <ogra> 👍
[22:14] <bundtcake> Anyone got a guide for how to install latest amd drivers? Ubuntu tried shipping 6 year old drivers.
[22:16] <oerheks> no we do not, amdgpu 19 is from oct 2019
[22:17] <oerheks> if you need newer, there is the oibaf ppa https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
[22:17] <bundtcake> oerheks: thanks, what does it mean vulkanamd, amdgpu-pro?
[22:18] <oerheks> pro is the binairy blob ontop of amdgpu
[22:18] <oerheks> vulkan, must be a dedicated driver
[22:18] <oerheks> !amd
[22:19] <bundtcake> oerheks: okay thats what I thought, but is the vulkan amd thing a separate driver entirely?
[22:23] <oerheks> no clue there, do you have an amd vulkan device?
[22:23] <hoppity> How can I find out which program is getting my fans to speed up?
[22:24] <oerheks> hoppity, ACPI in your bios
[22:24] <oerheks> i would not mess with it, except full speed 100%
[22:24] <oerheks> that should do no harm
[22:24] <hoppity> oerheks, but I need to be running ubuntu for the issue to occur
[22:25] <hoppity> oerheks, I think I wasn't clear. When running ubuntu my fans will spin up about every 5 mins for about 15 seconds then go back to normal.
[22:25] <hoppity> I want to find out which program is causing this
[22:25] <tomreyn> bundtcake: vulkan support is included
[22:26] <tomreyn> hoppity: top
[22:26] <hoppity> tomreyn, that's a good idea haha
[22:28] <oerheks> one can install lm-sensors and fancontrol, but that would not show what gives a spike, i guess
[22:31] <bundtcake> oerheks: thanks for the help, my system is running smooth again
[22:32] <oerheks> have fun!
[22:32] <bundtcake> tomreyn: vulkan tools says I got vulkan support, I'm just wondering if there is a modded driver with better support. Btw how can I tell if I'm on Wayland or Xorg?
[22:34] <oerheks> depends what version you are on, and what graphical seesin you have chosen,. 21.04 is standard wayland
[22:35] <bundtcake> oerheks: it says I have both installed so does wayland rely on xorg libraries?
[22:36] <noarb> if I change a libvirt guest (ubuntu guest, ubuntu host) to have an additional network (https://wiki.libvirt.org/page/TroubleshootMacvtapHostFail) will ubuntu just "pick up" the interface, or do I need to configure the guest to route traffic through the second NIC?
[22:37] <oerheks> no, you will have both sessions installed, that is all
[22:38] <bundtcake> oerheks: the only other session I have is dwm, I will look into that. Anyway rebooting wish me luck
[22:41] <audiocat> does this crontab syntax look ok? 30 22 * * * /usr/bin/screen -dmS social-screen /home/gsb/socialbot.py
[22:41] <audiocat> it's not working
[22:41] <audiocat> it's supposed to run at 10:30 pm
[22:49] <Alabalistic> audiocat:  do you have the +x on the file
[22:49] <Alabalistic> on the script
[22:50] <audiocat> Alabalistic, idk. also i just tried running the command outside of cron and it didn't work either
[22:50] <Alabalistic> so first long list the socialbot.py
[22:50] <Alabalistic> see the permissions
[22:52] <Alabalistic> next stop the #!/bin/python3.xxx the first line of the script is it pointing to the interpreter
[22:53] <Alabalistic> ls -l /home/gsb/socialbot.py
[22:54] <audiocat> Alabalistic, -rw-r--r-- 1 root root 731 Jun 14 09:59 socialbot.py
[22:54] <Alabalistic> comes all the time with me, you need to do 2 things
[22:55] <Alabalistic> 1 you need to add execution bit
[22:55] <Alabalistic> 2 probably change the ownership root owning a file in your home looks wrong to me
[22:56] <hoppity> Can anyone recommend a free program for making flowcharts in Linux?
[22:56] <Alabalistic> audiocat:  this commands are for you
[22:56] <Alabalistic> cd
[22:57] <Alabalistic> chown gsb:gsb socialbot.py
[22:57] <Alabalistic> sudo chown gsb:gsb socialbot.py # sorry
[22:58] <Alabalistic> chmod +x socialbot.py
[22:58] <oerheks> hoppity, you should already have libre office : Draw (vector graphics and flowcharts)
[22:59] <Alabalistic> hoppity:  LibreOffice is great, for better compitability with MS Office, try OnlyOffice
[22:59] <oerheks> 'better compatibility ,.... serious?
[23:00] <oerheks> they don't live open standards.
[23:00] <Alabalistic> yes, there is there selling pitch
[23:01] <hoppity> Than you both for the Libre Office recommendation but I am looking for something tailored for Flowcharts not just a vector drawing program :)
[23:01] <Alabalistic> also installing ubuntu-restricted-extras # play a rolle in compitability
[23:01] <audiocat> Alabalistic, chown: invalid user: ‘gsb:gsb’
[23:01] <audiocat> i haven't created any users on the system yet
[23:02] <Alabalistic> audiocat: do you have a user I thought your user is gsb,
[23:03] <audiocat> Alabalistic, nah. iim not a good sysadmin man, i just code, usually with heroku
[23:03] <audiocat> Alabalistic, is creating one pretty straightforward?
[23:03] <audiocat> Alabalistic, gsb is the directory name and the digitalocean droplet name
[23:04] <Alabalistic> ok now l start understanding,
[23:05] <Alabalistic> skip the chown and do the chmode 700 so only root can read write and execute
[23:05] <sarnold> hoppity: the only things I know off the top of my head that's not a vector tool mscgen and texlive-pictures: http://www.mcternan.me.uk/mscgen/ and https://texample.net/tikz/examples/simple-flow-chart/
[23:06] <sarnold> hoppity: mscgen isn't really flowcharts, but it lives in a similar space..
[23:06] <audiocat> Alabalistic, is chmod 700 also chmod +x socialbot.py ?
[23:06] <hoppity> sarnold, thank you very much I will check them out!
[23:06] <Alabalistic> yes audiocat
[23:06] <audiocat> ok
[23:07] <audiocat> Alabalistic, command (outside of crontab) is still not working. did screen -ls and did not see the screen
[23:07] <audiocat> command: screen -dmS social-screen /home/gsb/socialbot.py
[23:08] <Alabalistic> screen is a program to detach you from the console,
[23:08] <Alabalistic> if you close the console and the task that you run will terminate, and screen prevent it
[23:09] <Alabalistic> I'm confusing myself :)  you don't need screen for cron
[23:09] <audiocat> :O
[23:09] <audiocat> Alabalistic, are you positive?
[23:10] <Alabalistic> if you need it sudo apt install screen
[23:10] <audiocat> already have it
[23:10] <audiocat> im running another bot using screen
[23:10] <audiocat> Alabalistic, are you positive i don't need screen for a bot to run via crontab?
[23:10] <audiocat> a python bot
[23:11] <Alabalistic> almost
[23:11] <sarnold> Alabalistic: quite often a lot of tools are written assuming that they'll have a terminal, and don't work correctly without one -- it's common to use screen in crontabs to work around such programs
[23:11] <Alabalistic> thanks
[23:11] <sarnold> it's usually a sign of software being made to do something it wasn't made to do, so it's not great, but it's common :)
[23:12] <Alabalistic> python --version must corespond to the #!/bin/python
[23:13] <oerheks> maybe the python-is-python3 package is bugging?
[23:14] <sarnold> "pick which scripts you'd like to break"
[23:15] <audiocat> Alabalistic, this script will run for 3-5 hours
[23:15] <Alabalistic> is it on python 2 or 3
[23:16] <audiocat> Alabalistic, why do you think i wouldn't need screen
[23:16] <audiocat> python 3
[23:17] <Alabalistic> probably wrong assumption, but cron will keep the task alive till the end.
[23:17] <audiocat> Alabalistic, dude this is frustrating me
[23:18] <audiocat> they need better docs for this crap
[23:18] <audiocat> i googled and the answers are ambiguous too
[23:18] <audiocat> ffs
[23:18] <Alabalistic> screen helps you if you wanna run a long task from the terminal and in case of network problem you can reatach the session
[23:19] <Alabalistic> is this script sensible? if not send it to me I will test it fast
[23:19] <Alabalistic> I have spare vm
[23:21] <Alabalistic> afk
[23:28] <audiocat> Alabalistic, what if i need to activate a python venv for the crontab to work?
[23:28] <audiocat> what do i do?
[23:30] <sarnold> audiocat: at some point it's easier to write a script to do all those things, and then run the script from cron
[23:30] <audiocat> sarnold, oh good call
[23:55] <audiocat> sarnold, i get "no module named x", a python error, when trying to run a python script from a shell script
[23:55] <audiocat> shell code: source /home/gsb/venv/bin/activate && /usr/bin/python3 /home/gsb/socialbot.py
[23:55] <audiocat> i set sys.path to the relevant dir as well
[23:56] <z1haze> if you install a package that runs a install wizard when its added, how do you typically re run that?
[23:57] <audiocat> sarnold, ???
[23:57] <sarnold> audiocat: sorry, I know next to nothing about venv stuff
[23:57] <sarnold> z1haze: dpkg-reconfigure packagename
[23:57] <audiocat> sarnold, it's not a venv problem, its an import problem
[23:58] <oerheks> does that socialbot.py start with #!/usr/bin/env python3 ?
[23:58] <z1haze> oustanding. thank you sarnold!
[23:58] <audiocat> oerheks, no. should it?
[23:59] <audiocat> oerheks, i added it, still doesn't work