[00:00] <shepherd_> sarnold: and since i have no idea what I'm doing I don't believe it will work consistently either :D
[00:00] <sarnold> shepherd_: the general shape of this script feels like it should work
[00:00] <sarnold> it's just not super-friendly..
[00:17] <chazzo> Hi all. Want to automatically send an email containing the text of a file when that file is uploaded to a specified directory. Currently am using incron to monitor this directory, but having trouble getting the text to be included in the email.
[00:17] <chazzo> dir/being/watched      IN_CLOSE_WRITE      cat $# | msmtp email@email.com
[00:17] <chazzo> The following sends an email when a file is created, but said file is blank.
[00:17] <chazzo> Running the command outside of incrontab sends an email that is populated with the desired text.
[00:23] <sarnold> chazzo: it's kind of gross, but maybe adding a sleep 1 ; before the cat would help
[00:28] <chazzo> sarnold no dice with varying lengths
[00:28] <sarnold> :(
[00:29] <sarnold> on the one hand, that's probably best, it was a gross idea :) but it's harder to think what else would work then
[00:29] <nuala2> Do you have a standalone script? : 'avoiding the use of pipes inside incrontab file:' ..... Could or could not be related. https://askubuntu.com/a/368182
[00:29] <chazzo> I'm so lost with this.. getting ready to go at it with a reallllyyy gross cron work-around
[00:29] <chazzo> Tried with a script as well without much luck, gonna read through that and revisit nuala2
[00:30] <sarnold> wait a second...
[00:30] <sarnold> is the email ALWAYS blank? or occasionally blank?
[00:32] <chazzo> Always blank when it sends via automation. Never blank when I run the same exact command outside of incron (whether or not via script)
[00:32] <sarnold> cool!
[00:33] <sarnold> chazzo: try: dir/being/watched      IN_CLOSE_WRITE sh -c 'cat $# | msmtp email@email.com'    and see if this does anything..
[00:35] <chazzo> Still blank :/
[00:36] <sarnold> well bugger
[00:36] <chazzo> Got it!!!!
[00:36] <chazzo> Holy moly
[00:36] <chazzo> One sec
[00:38] <chazzo> dir/being/watched    IN_CLOSE_WRITE    /path/to/script $@/$#
[00:38] <chazzo> Script:
[00:38] <chazzo> cat $1 | msmtp email@email
[00:38] <sarnold> *why*
[00:38] <sarnold> still, that's not horrible
[00:38] <sarnold> nuala2: nice find :D
[00:38] <chazzo> I think I was omitting $@/$# at the end of the incron, was originally just using $# which omits the path before it
[00:39] <chazzo> nuala2 sarnold Thank you both for the assistance
[00:39] <sarnold> ohhhhh so it's possible the pipes aren't actually the issue? it might 'just' be three missing chars? :)(
[00:40] <chazzo> And by including $@/$# at the end of incron, calling $1 in the script actually pulls up the appropriate filepath to copy contents from
[00:40] <chazzo> I'm gonna try without the script now to see
[00:41] <nuala2> 🙈 honestly I just skimmed the question but pipe looked suspicious. But hmmmm. Shouldn't a script or `sh -c` be kinda equivalent (well maybe not equal)? Also you assume same: at IN_CLOSE_WRITE  file is just not fully written yet and it needs this small 'delay'?
[00:42] <sarnold> I'd *really* hope the linux kernel would show all of the write to other processes by the time the close is sent to inotify clients
[00:44] <chazzo> piping cat from incron also confirmed works. Super embarrassing misunderstanding of syntax.
[00:44] <chazzo> Needs to be
[00:45] <chazzo> cat $@/$# | msmtp
[00:45] <chazzo> Instead of
[00:45] <chazzo> cat $# | msmtp
[00:45] <chazzo> was just supplying a filename with no path
[00:46] <sarnold> chazzo: thanks! :) I don't think I *ever* would have spotted that :(
[00:49] <chazzo> Spent so long overthinking that lol.. gonna sleep good tn
[03:37] <bill_> hello to All
[03:38] <bill_> I mean if Somebody can tell me about the changes of sudo from Ubuntu 18.04 to 20.04
[03:41] <bill_> because I found THAT sudo -H is not necessary and -H come as default for Ubuntu 20.04,
[03:41] <bill_> as with Ubuntu 18.04, you shound/must use sudo -H,  am  I right?
[04:48] <hell_fire> hii
[04:48] <hell_fire> uh...
[04:48] <hell_fire> i want to change the bootlogo in 20.10
[04:48] <hell_fire> i did that once in linuxmint, but now it completly different so i need help
[04:49] <hell_fire> oh and also i need help to change the grubmenu's background
[04:49] <hell_fire> any help?
[06:55] <TheBigK> https://www.reddit.com/r/chrome/comments/rwfmpb/just_installed_970469271_on_kubuntu_when_i_try_to/ <- i saw theres a bugfix for it already. any idea when this comes? super annoying
[07:16] <arkanoid> I've accepted and installed upgrades via gnome gui prompt a couple of hours ago, all went good and it asked me to reboot, so I did. Now I want to check the log of that operation as I'm having problems in compilation of a project, but /var/log/apt stuff seems not containing that
[07:17] <arkanoid> also /var/log/dpkg.log stops way before a couple of hours ago
[07:20] <arkanoid> something really fishy is going on here. Ubuntu installed some software that is NOT present in logs
[07:22] <arkanoid> so /var/log/apt/* logs stops ~16 hours ago, but "stat /var/lib/apt/periodic/upgrade-stamp" correctly shows that an upgrade happened 2 hours ago
[07:25] <arkanoid> my trust in ubuntu just went zero
[07:50] <JackFrost> That should technically be your trust in GNOME, as it's likely GNOME software which used packagekit.  I'd guess at least, I don't use GNOME so can't really say.
[07:52] <arkanoid> JackFrost: well, gnome is the default desktop for ubuntu, moreover is the piece of software where canonical pushes their own products, so it's even more fishy
[07:53] <JackFrost> OK™
[08:12] <KBar> arkanoid: `stat --format="%n: %y" /var/log/apt/*`
[08:34] <arkanoid> KBar: it's off.
[08:43] <KBar> arkanoid: what do you mean it's off?
[08:44] <arkanoid> that the log doesn't match with reality. The last upgrade in log is way before the one I've executed via gui
[08:44] <Nobrem> hi
[08:44] <Nobrem> could anyone please tell me how I can get  /dev/kvm   into existence?
[08:44] <Nobrem> the package "qemu-kvm" has been installed via "apt"
[08:45] <Nobrem> yet, there is no  /dev/kvm
[08:50] <arkanoid> Nobrem: sudo modprobe kvm
[08:50] <KBar> arkanoid: can you post the output of `lsof /var/log/apt/history.log`? or post any output instead of being a pointless Karen?
[08:51] <Nobrem> arkanoid, thank you for your response!
[08:52] <Nobrem> arkanoid, I ran the command you told me to run,  and it ran _without_ errors  (so it looked good)
[08:52] <Nobrem> but, /dev/kvm  still does not exist
[08:52] <Nobrem> $ sudo ls /dev/kvm
[08:52] <Nobrem> ls: cannot access '/dev/kvm': No such file or directory
[08:53] <arkanoid> Nobrem: it depends on your cpu, try sudo modprobe kvm-intel
[08:53] <Nobrem> modprobe: ERROR: could not insert 'kvm_intel': Operation not supported
[08:53] <KBar> Nobrem: maybe your hardware doesn't support it? Check out this wiki article: https://help.ubuntu.com/community/KVM/Installation
[08:54] <arkanoid> KBar: Nobrem  also here https://wiki.ubuntu.com/kvm
[08:54] <Nobrem> Thank you very much, arkanoid and KBar
[08:54] <arkanoid> Nobrem: please call me Karen
[08:54] <KBar> You're most welcome Nobrem
[08:54] <Nobrem> sure, Karen, thank you!
[08:55] <arkanoid> you're welcome
[10:35] <Guest36> Hello why did you name ubuntu ubuntu?
[10:35] <Guest36> Seems to be some sort of a tribal name
[10:35] <lotuspsychje_> !discuss | Guest36
[10:36] <toddc> ubuntu african for freindly
[10:36] <Guest36> I m not gonna join another channel
[10:36] <Guest36> I m here to talk it s a free country
[10:36] <Guest36> At least the one i am in
[10:36] <Guest36> Yemen
[10:38] <lotuspsychje_> thats not what this channel is for Guest36
[10:38] <lotuspsychje_> only support questions
[10:38] <Guest36> It is
[10:38] <Guest36> I m in charge of this channel
[10:39] <Guest36> I m very powerful
[10:40] <lotuspsychje_> !guidelines | guest36
[10:40] <Guest36> I wrote them
[10:40] <Guest36> I can break them
[10:41] <KBar> !ops
[11:32] <Pricey> https://pastebin.ubuntu.com/p/7dsw9PmW66/ apt complains I have held packages that don't meet the requirements. apt also tells me I have the versions required. What am I missing?
[11:34] <Pricey> Seems to come down to " libc6-dev : Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed
[11:35] <JackFrost> Pricey: Can you run that with -o Debug::pkgProblemResolver=yes ?
[11:35] <JackFrost> AH.
[11:36] <Pricey> apt-cache policy shows libc6 "2.31-0ubuntu9.3" installed, but nothing from the archive. How on earth have I managed that...
[11:37] <Pricey> focal-updates only has 9.2...
[11:38] <Pricey> Aha https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1926918 answers everything! "
[11:38] <Pricey> Please downgrade libc6 to the version in focal-updates. The one installed has been removed from -updates because it caused regressions and the new version superseding 2.31-0ubuntu9.3 is not yet released.
[11:38] <KBar> Pricey: ppas? subscribed to focal-proposed?
[11:38] <KBar> ah
[11:40] <Pricey> Sorted.
[11:40] <JackFrost> Tip: apt list | grep ed,loc
[11:40] <JackFrost> And yeah, they "withdrew" an update, which is...I don't really think that's ideal.
[11:44] <Guest36> My dick is 17 centimetres
[11:47]  * ogra hugs JackFrost 
[11:48] <JackFrost> Heya.
[11:49] <KBar> JackFrost: thanks
[11:51] <Nobrem> Hello
[11:51] <Nobrem> "adb devices"   does not list my phone
[11:51] <Nobrem> sudo adb kill-server  &&  sudo adb start-server
[11:51] <Nobrem> ^ did not help
[12:19] <gebbione> hi folks, if i save a file without an extension it is not visible in Nautilus. Is that something known?
[12:28] <ogra> gebbione, definitely unexpected unless the filename starts with a dot it should be visible
[12:29] <ogra> extensions are moot on linux
[12:30] <gebbione> strange, i moved the files under a separate folder and it shows
[12:30] <gebbione> i can see the problem only on Downloads
[12:30] <gebbione> i ll move it back and try again
[12:31] <gebbione> now i can see ... really dont know what was happening there
[12:31] <gebbione> i did CTRL + R after i downloaded the file
[12:31] <gebbione> but the window didnt show it
[12:31] <gebbione> strange
[13:24] <static_x35> .
[13:57] <BluesKaj> Hi folks
[14:08] <Peedy2495> a minimized installation method is provided as of 21.10 server. Is a preseed-value existing for this method?
[14:28] <pitchshifter> when typing long paths on the cli, isn't there a keyboard shortcut to "paste" the previously typed path?
[14:29] <orange1> up and down arrows do last commands you type
[14:30] <orange1> or just last thing you typed after you pressed enter i mean
[14:32] <pitchshifter> afraid that's not what i'm looking for.
[14:32] <orange1> you can drag and drop folders in the terminal
[14:32] <orange1> then it puts the path in
[14:35] <pitchshifter> i want *just* the path.  for example.  $cp /etc/apache2/sites-available/000-default.conf *here i would press a key combo to "paste"* /etc/apache2/sites-available/000-default.conf
[14:35] <pitchshifter> so i could then just append a .bak to the filename for a backup
[14:36] <pitchshifter> im looking for a quick way to "paste" the *last* typed *path*
[14:36] <ravage> i dont think there is such a function
[14:36] <Manouchehri> stupid question, I'm trying to uninstall linux-image-5.4.0-91-generic, but it's saying it'll install linux-image-unsigned-5.4.0-91-generic instead :/
[14:36] <Manouchehri> which... kinda defeats the purpose of uninstalling
[14:38] <ravage> Manouchehri: make sure you also remove the meta package. linux-image-generic
[14:39] <ravage> and of course that you have another meta package installed so you will get updates in the future
[14:39] <Manouchehri> ravage: linux-image-generic is not installed
[14:40] <Manouchehri> I already have linux-image-5.4.0-94-generic installed, so I just want to get rid of linux-image-5.4.0-91-generic
[14:41] <ogra> Manouchehri, just let it do that install ... *then* remove the unsigned package (and as ravage said, make sure all meta packages like linux-generic, linux-image-generic etc are gone)
[14:42] <ogra> Manouchehri, and indeed make sure to have some other kernel installed (i.e. the hwe stack) so yu dont end up with an unbootable system
[14:42] <Manouchehri> ogra: cool, thanks, trying1
[14:42] <Manouchehri> ogra: ya, the issue is my /boot keeps filling up
[14:42] <ogra> it shouldnt
[14:42] <ogra> the system is set to keep exactly three kernels around
[14:42] <ogra> unless you changed something around that
[14:43] <Manouchehri> I have three of my own kernels as well
[14:43] <ogra> ah, you changed something around that then 🙂
[14:43] <ogra> (own kernels)
[14:43] <Manouchehri> mhm, I have to run mainline kernels for some of my hardware sometimes
[14:44] <Manouchehri> speaking of which, time to test out thunderbolt hotplugging again lol
[14:44] <ogra> well, as long as you build them with the ubuntu sauce patchest on top and the ubuntu config, this is surely fine
[14:45] <ogra> (i.e. *not* any stuff from the mainline PPA)
[15:04] <almostdvs> I recently updated a machine and now when trying to boot it is stuck on "Mounting Kernel Configuration File System..."
[15:07] <almostdvs> this is before grub. Not sure how to troubleshoot.  I would prefer to roll back my packages over reinstalling
[15:07] <leftyfb> almostdvs: before GRUB is the BIOS or EFI
[15:07] <leftyfb> which isn't Ubuntu
[15:08] <almostdvs> maybe I am mistaken then
[15:09] <almostdvs> I just rebooted and now it is stuck on Started Create Static Device Nodes in /dev
[15:09] <almostdvs> I don't see a grub menu
[15:10] <xwj> 这么多人的吗
[15:10] <xwj> 这是干啥的
[15:10] <almostdvs> just straight into the kernel and system startup scripts
[15:11] <leftyfb> almostdvs: what version of ubuntu is this and exactly how did you update it?
[15:11] <xwj> 我用的depin，不用ubuntu
[15:11] <leftyfb> xwj: no
[15:11] <xwj> deepin
[15:11] <ogra> xwj, this is an english speaking channel
[15:11] <leftyfb> xwj: no
[15:11] <xwj> 我不会英文啊
[15:12] <xwj> 我只会中文
[15:12] <almostdvs> 20.04 and I upgraded some nvidia packages that were held to troubleshoot another issue
[15:16] <almostdvs> ok, so it is not before grub. The menu must have a 0 timer
[15:16] <leftyfb> almostdvs: maybe try booting getting into the grub menu and booting to the previous kernel
[15:24] <Manouchehri> ogra: thanks, your idea of removing the unsigned one too worked!
[15:25] <ogra> yay
[15:25] <Manouchehri> ogra: I'm sadly using this script to get a mainline kernel, as my eGPU setup refuses to work with Ubuntu's stock kernels. https://github.com/pimlie/ubuntu-mainline-kernel.sh
[15:27] <ogra> Manouchehri, well, thats definitely wrong .. the mainline kernels miss a *lot* of things get no QA, dont have any security and are solely to verify bugs if a kernel team person asks yu to install them for a single tests  ... nothing you should use in production
[15:28] <ogra> that said ... if you dont have any graphics on normal ubuntu kernels thats indeed bad
[15:29] <Manouchehri> ogra: yeah, it's a tad frustrating, but sadly AMD really sucks at drivers.
[15:29] <ogra> have you tried the linux-generic-hwe-20.04-edge package yet ?
[15:30] <ogra> (5.13 based currently)
[15:30] <Manouchehri> I'm on 18.04 atm
[15:32] <ogra> well, there hould be a hwe version for 18.04 that is 5.13 based ...
[15:32] <ogra> check the -edge ones
[15:33] <Manouchehri> pretty sure I tried the hwe
[15:33] <ogra> the -edge build ?
[15:33] <Manouchehri> yeah linux-generic-hwe-18.04-edge
[15:34] <Manouchehri> what's frustrating is that only around 5.12.x works
[15:34] <Manouchehri> iirc up to 5.12.19
[15:35] <ogra> did you consider simply moving to 20.04 ? there is clearly a 5.13 available
[15:36] <ravage> or reinstall the system in april with 22.04 and possibly get 5.17 :)
[15:37] <ogra> well, that means 4 months with an insecure/inclomplete kernel ...
[15:38] <ogra> i'd move to 20.04 first
[15:42] <ogra> aakashi2001, wiggle the cable ! (your ntwork seems unstable)
[15:43] <ogra> .oO( or get k-lined ... )
[15:48] <lavaball> is there a way i can fix the darkplaces texture issue? they are all small and everywhere. compiled version works fine though.
[15:48] <lavaball> darkplaces - Game engine for Quake and similar 3D first person shooter games
[16:03] <nuala2> lavaball: could find more knowledge in their help channels? https://github.com/darkplacesengine/darkplaces#helpsupport
[16:05] <movo> oerheks, just wanted to say that my nvidia-340 problems seems to have resolved on its own after steam, system update... now steam correctly detects the nvidia driver and game performance is more in line with expectations.. system shutdown abruptly after 10 minutes but i think that might be unrelated (maybe aging harware power issues)
[16:06] <movo> i didnt find the 32-bit libraries but native games seem to be working.. need to further test proton/wine though
[16:07] <nuala2> pitchshifter:  i could imagine someone tried that before. maybe someone in #bash or #linux would know
[16:12] <movo> actually one steam play game that worked yesterday (with incorrect driver configuration) now stops working.. maybe 32-bit libs needed afterall.. will need to test further.
[16:12] <movo> it could also be wrong proton configs, or old gpu, driver related.. as i said need to test/diagnose further
[16:17] <Guest5033> First, thanks for your support of this project :)  https://cdimage.ubuntu.com/releases/ seems to be having problems.
[16:19] <Manouchehri> ravage: ya, might do a full reinstall when 22.04 comes out
[16:20] <Guest5033> The archives fail to download.
[16:21] <Guest5033> Yeah, 22 will be good.
[16:21] <Guest5033> 22.04* or something
[16:23] <oerheks> cdimage site works fine here
[16:23] <MrCollinsGA> I am trying to see if this could go into systemd and have inotify watch for the file and then execute script if someone could take a look at this please. I dont think this is it but maybe im close? https://paste.ubuntu.com/p/5QJKbTQdy4/
[16:25] <jhutchins> Guest5033: What process are you using to download, and what specific errors do you get?
[16:25] <Guest5033> Nevermind, think the comp was out of disk space so not  https://cdimage.ubuntu.com/releases/
[16:26] <MrCollinsGA> updated: https://paste.ubuntu.com/p/6s2pKzpm2D/
[16:26] <jhutchins> Manouchehri: Why would you reinstall for a new release?  Apt is entirely capable of smooth in-place upgrades.
[16:27] <Maik> indeed
[16:27] <oerheks> Manouchehri, nerds do both, upgrade and fresh install
[16:28] <Guest5033> For the paste bin, perhaps add a sleep for a while loop could be resource intensive.
[16:28] <Guest5033> However, I'm not sure about everything in the script.
[16:29] <Guest5033> Unless the "inotifywait" does that already.
[16:29] <MrCollinsGA> Guest5033, me either. I know I have something wrong. I just want to add inotify to systemd but have a script that executes if 'foo.mlt' is copied into said directory
[16:30] <Guest5033> Needed a fresh image
[16:31] <Guest5033> On a side note, Do the newer releases upgrade well?
[16:31] <Guest5033> do*
[16:31] <ogra> did they ever not ?
[16:32] <mannequin> http://paste.debian.net/1226870/
[16:32] <mannequin> is there any fix for that?
[16:33] <cbreak> ogra: 21.10 had a _NASTY_ data corruption bug for a few weeks
[16:33] <ogra> in the update-manager ?
[16:33] <cbreak> no, in the update itself
[16:33] <ogra> (or do you mean general package updates)
[16:34] <cbreak> https://news.ycombinator.com/item?id=28886897
[16:34] <ogra> ah, zfs
[16:34] <ogra> exotic nonsense 😛
[16:34] <cbreak> nah
[16:34] <ogra> ext4 is enough for everyone !
[16:34] <cbreak> zfs is the main reason to use ubuntu :)
[16:34] <ogra> (as are 640kb)
[16:34] <Guest5033> Perhaps the older releases sometimes had a problem (like before 18)? (not sure about this)
[16:35] <cbreak> Guest5033: I'm sure there are always problems
[16:35] <cbreak> and reading the release notes should show a few of those
[16:35] <ogra> yeah
[16:35] <Guest5033> As in the boot sequence would get messed up but perhaps due to EFI/ the other method doing strang things.
[16:35] <mannequin> ok whatever, the config was inproper
[16:35] <ogra> there are definitely always known issues freshly after release ...
[16:35] <ogra> which is why you should use LTS if you care ...
[16:36] <Guest5033> It seems like the different vendors have different implementations of EFI.
[16:36] <Guest5033> Yeah to LTS
[16:36] <ogra> (LTS upgrades are only happening at the .1 releases so there are chances some of the worst known issues are fixed when you upgrade)
[16:37] <cbreak> yes.
[16:45] <Guest5033> for the dns proxy, I was going to suggest looking at the configuration or if you had something else installed but it looks like you already replied
[16:52] <ice9> does snap automatically update installed snap apps?
[16:53] <cbreak> ice9: it is supposed to
[16:56] <Manouchehri> jhutchins: eh, I like to reinstall sometimes to free up disk space and crap I've forgotten about
[17:32] <darkeye> hi,
[17:33] <Maik> hi darkeye
[17:33] <darkeye> is it possible to change apt loading bar #### with another char
[17:35] <darkeye> like pacman-hearts the loading bar turn to heats instead of ####
[17:35] <darkeye> *hearts not heats
[17:42] <jhutchins> darkeye: Yes, it's possible.  It's not a configurable item, you would have to edit the source code and recompile.
[17:42] <genii> use the source, Luke
[17:43]  * genii skedaddles away
[17:43] <darkeye> so that's mean I have to do it over and over after every update
[17:45] <darkeye> is it possible to patch the package?
[17:46] <MarvinTheMartian> Hello. Is it possible to completely disable snap, and use only apt and .debs
[17:46] <MarvinTheMartian> ?
[17:47] <ogra> sudo apt purge snapd
[17:47] <ice9> what does this hourly cron do? /bin/sh -c [ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi
[17:48] <genii> ogra: But some deb packages like chromium just reinstall snap again anyways
[17:48] <ogra> MarvinTheMartian, the above will remove all snaps and snap support ... though note that you have to find replacemnts for the removed bits
[17:48] <MarvinTheMartian> ogra: does it also remove all snap installed apps, and it will survive updates?
[17:48] <ogra> yes, with the limitation that genii mentioned above
[17:49] <ogra> the chromium deb installs the snap (and snap support)
[17:49] <MarvinTheMartian> and there is no way to block/blacklist snapd?
[17:49] <ogra> you could probably do something in apt ..
[17:49] <ogra> is there any particular reason wh you want that ?
[17:50] <ogra> (i mean running ubuntu without snap support)
[17:51] <MarvinTheMartian> I find multiple package managers to a be less then elegant solution, plus a few snaps ate 20 gigabytes. It's as if I'm using windows and battling winsxs all over again.
[17:52] <ogra> wow, what snaps were that ?
[17:53] <MarvinTheMartian> not even sure anymore, but mostly dev related
[17:53] <ogra> (having 103 snaps installed here (some pretty big ones) and they all tgether only occupy 20G in /var/lib/snapd/snaps (which is the only place snaps actually take space on disk)
[17:54] <ogra> in general snaps usually occipy a lot less space than their deb equivalent
[17:54] <ogra> *occupy
[17:55] <MarvinTheMartian> and I dislike the way it installs 3rd party software
[17:55] <ogra> due to being compressed binary images that are never unpacked but only loop mounted
[17:55] <ogra> what 3rd party software ??
[17:56] <MarvinTheMartian> debs all come from ubuntu's repo (unless you add other repos)
[17:56] <ogra> i know
[17:56] <MarvinTheMartian> Snaps are packaged by 3rd parties
[17:56] <ogra> i still dont understand where "snaps istall 3rd party software"
[17:57] <ogra> yes, but they dont install themselves 🙂
[17:57] <MarvinTheMartian> dependencies do
[17:57] <ogra> you must conciously have picked to install it
[17:57] <ogra> dependencies ?
[17:57] <ogra> snaps are self contained
[17:57] <jkc> There are certain things that get directed to snapd by apt, such as chromium, and for VERY good reason.
[17:58] <ogra> there is exacly one package ... not "certain things"
[17:58] <MarvinTheMartian> slippery slope
[17:58] <ogra> that that was even announced long in advance (just that nobody read the announcement)
[17:58] <jkc> MarvinTheMartian: Doing something for a very good reason isn't really what that phrase means.
[17:59] <MarvinTheMartian> if one deb can do it, why not others?
[17:59] <MarvinTheMartian> is there a safeguard for that?
[17:59] <ogra> oh, others will
[17:59] <jkc> ogra: I phrased it the way I did very much on purpose. I'm aware of the one, but I didn't know if there were any additions.
[17:59] <ogra> it is the only way to keep your software selection functional on release to release upgrades
[17:59] <jkc> MarvinTheMartian: It wasn't something that some random person did. This was a very intentional thing, and you can't just "do it."
[18:00] <ogra> if some SW switches to snap, the only proper way to trasitio people is to use the deb to install the snap
[18:00] <ogra> jkc, well, firefox will go the same path with 22.04
[18:00] <ogra> but to date there is exactly one package ...
[18:00] <jkc> MarvinTheMartian: I suggest you actually understand what snaps provide instead of trying to blanket disable the whole thing because NEW THING BAD.
[18:01] <jkc> ogra: I'm just going to refer you to the last thing I tagged you in, and move on.
[18:01] <ogra> 🙂
[18:02] <MarvinTheMartian> I'm sensitive to supply chain attacks, and having worked with teams that were burned by npm and pypi, I'm biased
[18:02] <jkc> MarvinTheMartian: Good to know. This is not npm or pypi.
[18:02] <ogra> heh, you cant really compare these
[18:02] <anzer> hi! anyone have the Night Light feature not working on ubuntu 21.10?
[18:03]  * ogra has the night light feature not working on 21.10 ... (i didnt even know there os one 😛 )
[18:03] <ogra> *is
[18:04] <tomreyn> it's well hidden on some title bar
[18:04] <ogra> (well, i wouldnt use it anyway ... i just found the phrasing of the question really funny 🙂 )
[18:05] <anzer> yeah i configured it in display settings but somehow when it turns on my screen stays the same
[18:08] <tomreyn> anzer: whats your graphics driver? is this in a VM?
[18:09] <anzer> uh im a noob in all this, it is a tkinkpad 5 from lenovo with amd rayzen. It works well as a preview when I configure it, but doesn't work when i enable it/when it auto enables at night
[18:09] <anzer> no vm
[18:10] <tomreyn> hmm, not sure then, maybe file a bug
[18:10] <tomreyn> !bug
[18:40] <balticsun> hello chan, got a bit of a headscratcher with kernel patch 5.11.0-44 on hirsute apparently breaking usb, any ideas?
[18:41] <balticsun> seems rolling back to a snapshot of 5.11.0-41 fixes the issue but upgrading to impish/5.13 does not
[18:42] <lotuspsychje> balticsun: almost end of life, perhaps move to another ubuntu release?
[18:42] <balticsun> lotuspsychje: same issue on impish unfortunately
[18:44] <tomreyn> balticsun: use a non EOL release, we don't support EOL ones
[18:44] <balticsun> tomreyn: i have upgaded to impish but that didn't fix it. only rolling back to a previous snapshot has achieved usb working again on my device
[18:45] <tomreyn> impish has 5.13 though
[18:45] <balticsun> the issue is present when running 5.13
[18:46] <tomreyn> balticsun: so whatever happens also happens on 5.13?
[18:46] <lotuspsychje> balticsun: feel free to share a dmesg booting 5.13, and maybe volunteers can trace useful errors
[18:46] <tomreyn> and your device is? and whats the difference in logging for this device on the working vs non working kernel?
[18:46] <tomreyn> have you tried different devices, usb ports, usb hubs?
[18:48] <balticsun> thanks for the tips, i will go pull the logs
[18:48] <balticsun> all the usb ports on my intel laptop stopped working after an update
[18:49] <oerheks> add yourself to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956849 ?
[18:50] <lotuspsychje> nice find oerheks
[18:50] <tomreyn> oops, i wasn't aware
[18:51] <balticsun> yeah nice find, thanks. it has killed usb2 as well as 3.0 in my case as well
[18:51] <lotuspsychje> balticsun: do you know howto affect a bug?
[18:52] <balticsun> lotuspsychje: affect it? in what sense, sorry
[18:53] <lotuspsychje> balticsun: on the bug ID oerheks found, press, yes this bug affects me in the left upper corner
[18:53] <ogra> how to "me too" a bug 🙂
[18:53] <balticsun> ah! yes i will do that then
[18:54] <lotuspsychje> tnx balticsun that will also auto confirm it
[18:59] <marc_> got a question i got a dual cpu mainboard and i play games on it each cpu has 4 cores and 8 threads so times two that would be 8 cores and 16 threads now if i wrote this into steam would it use 8 cores and 16 threads.
[19:00] <marc_> in short how do i get steam to use all the cores
[19:03] <sem> marc_, what have you tried so far?
[19:03] <oerheks> if they are enabled, no need to do something special?  dmidecode -t4 | egrep 'Designation|Status'
[19:04] <marc_> https://pastebin.com/71EMizBE
[19:04] <tomreyn> which ubuntu + kernel version are you on?
[19:04] <marc_> and i wrote this in steam options -cpucount=8 -exthreads=16
[19:05] <marc_> 5.13.0-25-generic #26-Ubuntu SMP
[19:06] <tomreyn> that's the kernel version. and     lsb_release -ds     says?
[19:06] <marc_> how do i get that up
[19:06] <tomreyn> just run the command and post its output
[19:07] <tomreyn> should be just one line
[19:07] <balticsun> i have the dmesg logs now if anyone is interested in taking a look! many thanks https://pastebin.com/Wp0s8ry6
[19:08] <balticsun> i can already see the xHCI host controller is reported as not responding
[19:08] <marc_> https://pastebin.com/Ke8n4Gmj
[19:12] <eelstrebor> anyone having problems with the latest firefox closing on it's own? come to think of it, gedit closed when i clcked on minimize icon the other day
[19:15] <tomreyn> marc_: so you're on Ubuntu 21.10 with kernel 5.13.0-25-generic #26-Ubuntu SMP. and you know that all cores ar enot being used because what?
[19:17] <oerheks> they are all working, but one canot assign *all* cores to steam, what does ubuntu have to use?
[19:17] <oerheks> i could understand a dedicated cpu to steam..
[19:19] <marc_> I will be upgrading to E5-2687W v2 soon so it will have more cores to use
[19:20] <balticsun> ok i seem to have lost the old kernel, what's the best way to reinstall 5.11.0-41-generic, as its unavailable in apt?
[19:21] <marc_> i could set it to this for now -cpucount=6 -exthreads=12
[19:22] <sem> I just had a crash while running a system upgrade (lubuntu 20.04.3). In syslog, the line that starts it looks like this: kernel: [ 7266.781137] invalid opcode: 0000 [#1] SMP NOPTI
[19:22] <sem> What would cause that kind of thing? Full messages here: https://paste.ubuntu.com/p/KRthXzmrxF/
[19:23] <balticsun> trying to find that specific kernel release on kernel.ubuntu.com so i can just dpkg the debs but im kinda lost tbh, i can find 5.11 but not ...-0-41-generic
[19:23] <tomreyn> old kernel images are removed off mirrors after a while
[19:25] <sem> what does that mean 'invalid opcode'
[19:25] <balticsun> is there anywhere else i can source it then? i need that version again for my old snapshot to boot
[19:26] <tomreyn> balticsun: the sources should still be on launchpad.net, if you're happy to build it
[19:29] <balticsun> i dont really know how to build it but i guess ill look into it, thanks
[19:29] <tomreyn> sem: the latest amd64 5.4 kernel image is -94, you had -92 there. but this looks more like you should be running a memory test.
[19:30] <marc_> https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11/
[19:30] <marc_> is that it
[19:30] <sem> tomreyn, this crash happened as I was upgrading. I'll try to fix dkpg -a and run the memtest from bios
[19:31] <sem> tomreyn, for some reason I can find linux-headers for -92 but not -94 in apt
[19:32] <sem> my graphics driver depends on the linux-headers to install
[19:33] <tomreyn> sem: maybe your apt mirror is outdated and you're not using security.ubuntu.com as a mirror for security updates?
[19:34] <tomreyn> marc_: those are unsupported test builds
[19:34] <sem> i found it - I was using Muon package manager which somehow did not find it with the search 'linux header ' but it found the others. I am installing it now
[19:36] <sem> I also installed the 'linux-headers-generic' package now so hopefully future updates will also bring in the latest version of the headers
[19:40] <sem> Running memtest... Should I have forced SMP, or does that not matter
[19:44] <sem> Probably since the error opcode mentioned smp
[19:45] <sem> Hmm memtest may have crashed.
[19:46] <sem> Stuck on 72% on test #2
[19:48] <amazoniantoad> Hey guys. I'm trying to run xen-utils-common but when I try to install it says it's at the most recent version. But I cannot find a configuration file which everyone says is located at /etc/xen
[19:48] <amazoniantoad> (everyone on google search anyways)
[19:50] <tomreyn> and your ubuntu version is?
[19:50] <amazoniantoad> 20.04 LTS
[19:52] <tomreyn> dpkg -L xen-utils-common | grep ^/etc    will list the files installed by the package
[19:52] <amazoniantoad> thanks tomreyn
[19:54] <tomreyn> amazoniantoad: you may have manually removed the configuration files. if so, you can   sudo apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" xen-utils-common
[19:54] <amazoniantoad> Thanks. The config file is definitely missing
[19:54] <amazoniantoad> Let me try that
[19:56] <amazoniantoad> tomreyn, I ran that command but I get an error: need an action to perform
[19:56] <amazoniantoad> I just double checked the command and I entered it in as you had written it
[19:57] <tomreyn> amazoniantoad: sounds like you missed "install" or the hyphons in front of "reinstall"
[19:58] <tomreyn> that's two hyphons, in case oyu have a bad font there
[19:59] <amazoniantoad> Hm...
[19:59] <amazoniantoad> Let me try and copy and paste your command
[20:00] <amazoniantoad> tomreyn, my computer just shut down? Unrelated to this obviously but I think the computer is failing. This is a fresh install as well so I think it's the hardware.
[20:00] <amazoniantoad> brb
[20:02] <tomreyn> amazoniantoad: nothing i can do there. yes, unrelated.
[20:03] <amazoniantoad> I'm going to continue inside of a virtual machine, so I can see how this all works.
[20:04] <oerheks>  xl.cfg perhaps? http://manpages.ubuntu.com/manpages/trusty/man5/xl.cfg.5.html
[20:05] <sem> Memtest86+ keeps freezing at the same spot: test 2, 72%
[20:05] <sem> Does this indicate a faulty memory stick
[20:05] <oerheks> probably, yes
[20:06] <tomreyn> sem: quite likely. but we're reallyjust dealing with ubuntu here. try #hardware
[20:06] <sem> Hmm ok
[20:06] <tomreyn> it's also not unheard of with 15yo hardware
[20:15] <jhutchins> sem: you might try swapping slots, see if the error follows the module.
[20:24] <sem> Thanks jhutchins I'll try
[20:25] <mannequin> how to set a custom dns server for my connection with a custom dns port?
[20:26] <oerheks> what have you found sofar, mannequin ?
[20:27] <leftyfb> mannequin: https://askubuntu.com/questions/1296750/how-to-specify-a-port-number-for-dns-servers-with-netplan
[20:28] <mannequin> leftyfb: how to set a custom port there?
[20:28] <leftyfb> mannequin: why do you have a dns server running on a non-standard port?
[20:29] <mannequin> yes
[20:29] <leftyfb> mannequin: why?
[20:29] <mannequin> does not matter
[20:29] <leftyfb> it does
[20:29] <mannequin> it's dnsproxy
[20:29] <mannequin> i want my requests go trought tor
[20:30] <sarnold> you could probably get iptables or nftables to do port forwarding for you to run things on nonstandard ports
[20:31] <oerheks> there is a port number secion in dnsproxy.conf
[20:32] <jhutchins> This should be somewhere in the tor documentation.
[20:32] <mannequin> the port is taken by systemd-resolved
[20:32] <mannequin> it wont work
[20:33] <mannequin> and if i disable systemd-resolved i wont have dns at all
[20:33] <leftyfb> mannequin: so disable systemd-resolved if you're going to be using the proxy
[20:33] <mannequin> then i will have no dns at all
[20:33] <mannequin> it's mandatory
[20:33] <leftyfb> you will, you just need to relink /etc/resolv.conf
[20:33] <leftyfb> it's not mandatory
[20:40] <mannequin> How to do that, leftyfb ?
[20:41] <leftyfb> mannequin: https://gist.github.com/zoilomora/f7d264cefbb589f3f1b1fc2cea2c844c   # first result on google for "ubuntu disable systemd-resolved"
[20:42] <leftyfb> mannequin: or https://support.tools/post/how-to-disable-systemd-resolved/  2nd result. I think you might need to create resolv.conf yourself. If you're configuring your own dns anyway, do it through there
[20:46] <anzer> hi again, also my jack headphones don't work on ubuntu 21.10?
[20:46] <mannequin> I still get no małe resolution
[20:46] <anzer> is this also a bug or i'm doing something wrong
[20:47] <leftyfb> mannequin: ls -l /etc/resolv.conf | nc termbin.com 9999
[20:49] <mannequin> I got It set to 127.0.0.1
[20:50] <leftyfb> mannequin: that is wrong and isn't what I asked for
[20:51] <leftyfb> mannequin: it also shows that you didn't follow either of the links with instructions I posted for you
[20:51] <mannequin> Its not wrong i want to use dnsproxy
[20:51] <leftyfb> mannequin: ls -l /etc/resolv.conf | nc termbin.com 9999
[20:52] <mannequin> I have no dns running
[20:52] <mannequin> Do you understand
[20:52] <leftyfb> then edit /etc/resolv.conf and point it to 1.1.1.1
[20:54] <mannequin> ok i want it to be at 127.0.0.1 since i want my dns go trought tor
[20:55] <leftyfb> mannequin: ok, so unless you know exactly what you are doing and do not need any help with this, then I suggest we take this 1 step at a time and follow the given instructions in order to accomplish your end goal
[20:57] <leftyfb> mannequin: cp /etc/resolv.conf ~/ && echo "nameserver 1.1.1.1" |sudo tee /etc/resolv.conf
[20:57] <leftyfb> mannequin: the first step is to disable systemd-resolv.conf and confirm it's been done properly and completely
[20:58] <tomreyn> if the end goal is a system which provides you with actual privacy without leaking dns or other requests, then you  you should be using TAILS, not try to re-engineer that.
[20:58] <leftyfb> or that ^
[20:58] <oerheks> dnsproxy ánd tor.. dns-tor-proxy ?
[20:58] <mannequin> Dude the service is disabled and dnsproxy is running
[20:59] <MrCollinsGA> anyone see anything wrong with this script for incron? :) https://pastebin.ubuntu.com/p/MSgnVnw2tx/
[20:59] <leftyfb> mannequin: dude, do you want help or not?
[20:59] <leftyfb> mannequin: if you answer yes, we will proceed
[21:01] <mannequin> Of course thats why im Herę
[21:01] <mannequin> Here
[21:02] <leftyfb> mannequin: cp /etc/resolv.conf ~/ && echo "nameserver 1.1.1.1" |sudo tee /etc/resolv.conf && ( ls -l /etc/resolv.conf ; host ubuntu.com ) | nc.termbin.com 9999
[21:03] <leftyfb> well, don't run the first part if you already ran it before
[21:03] <leftyfb> sorry
[21:03] <leftyfb> no big deal either way
[21:07] <leftyfb> mannequin: it should take under 2 seconds for that command to run and give you a URL to post here
[21:08] <mannequin> yeah it's not working
[21:08] <sarnold> d'oh
[21:08] <leftyfb> mannequin: define not working. There should be an error of some sort somewhere
[21:08] <sarnold> nc.termbin.com
[21:08] <leftyfb> bah
[21:08] <mannequin> the commang just hangs in there doing notjing
[21:09] <leftyfb> mannequin: ( ls -l /etc/resolv.conf ; host ubuntu.com ) | nc termbin.com 9999
[21:14] <leftyfb> mannequin: ?
[21:16] <leftyfb> mannequin: if the command is still hanging, then we need to take smaller steps
[21:26] <mannequin> i will take this to ##networking at this point
[21:26] <mannequin> this is not ubuntu issue anymore
[21:26] <mannequin> this is dnsproxy configuration issue
[21:27] <leftyfb> :/
[21:39] <anzer> hey, sorry i was interrupting, but anyone has an idea why my jack headphones won't work in ubuntu 21.10? is it a bug?
[21:40] <anzer> i do not understand why this wouldn't work lol
[21:41] <anzer> is there unsupported drivers for jack ports or wtf
[21:42] <sarnold> sorry anzer, it's just that most people don't use jack, so knowledge around it is pretty thin :(
[21:43] <sarnold> anzer: you could try the #lau channel -- folks with more adventurous audio needs hang out there and may have suggestions
[21:45] <leftyfb> anzer: are you running "jack" server for your audio on your machine or are you just referring to headphones as "jack headphones" because they plug into a "headphone jack"?
[21:46] <sarnold> oh lol good question
[21:46] <anzer> sorry for being french lol :) i mean my headphones connected to the port, not a server leftyfb
[21:47] <anzer> like headphones with a cable and you connect it to the computer lol
[21:47] <sarnold> try running pavucontrol and looking around it a bit while audio is supposed to be playing -- it's usually enough to figure out what's wrong
[21:50] <anzer> this works with pavucontrol, but gnome settings don't show the option to play on headphones, why?
[21:50] <anzer> additionnally, only one hear works, i think something is wrong with the computer itself? headphones work great with my iPod
[21:51] <leftyfb> anzer: ubuntu cannot be expected to fix hardware issues
[21:51] <anzer> yeah that was my question
[21:51] <sarnold> anzer: when it comes out of only one side, that's usually fixable by wiggling the connector or the wires
[21:53] <anzer> ok, thanks for the help mates, stay safe!
[21:53] <sarnold> good luck :) sorry for the trouble
[21:53] <anzer> you're helping me i won't complain!
[21:57] <anzer> it's my first time in years using linux on a laptop and ubuntu (gnome) has changed so much for the better, really incredible
[23:24] <jhutchins> anzer: Sometimes the plugs don't match the sockets, sometimes the drivers don't really line up with the hardware.
[23:25] <jhutchins> anzer: Are you using stereo headphones, or headphones with a mic?
[23:25] <anzer> hi jhutchins, i'm using headphones with a mic. Apple Earpods
[23:29] <jhutchins> anzer: Any interesting effects depending on how far in the plug goes?  Push it in a little farther, or listen while you slowly move it in and out?
[23:30] <anzer> jhutchins, actually yes. It's like the jack is broken or something, but it works great on my iPod. I'm starting to think it is hardware problem.
[23:30] <MrCollinsGA> look at the rings. are there two rings? one ring? 3 rings on the hack
[23:30] <MrCollinsGA> jack*
[23:30] <anzer> there are 3 rings
[23:31] <MrCollinsGA> inserted in green port on the sound card?
[23:34] <jhutchins> anzer: Jack on motherboard or on separate card?
[23:35] <anzer> I have no idea for both questions, sorry. :( Can I check that?
[23:35] <anzer> (thanks for trying to help me)
[23:36] <eelstrebor> anyone having problems with the latest firefox closing on it's own? come to think of it, gedit closed when i clcked on minimize icon the other day
[23:37] <Rumen> Hi there
[23:38] <Rumen> Question - how can I check which programs use the audio? Seems there is a program that makes the audio to interupt and I want to see all programs that use the audio and delete the one makes troubles
[23:39] <matsaman> maybe you're mixing ALSA & OSS audio
[23:40] <sarnold> maybe you have an application that's not even using audio, but is causing a lot of disk traffic, and that causes the system to stutter
[23:43] <Rumen> No, because it makes it with the online sound as well - like YouTube and with localc - from hard disk
[23:47] <Rumen> I have ALSA https://i.imgur.com/3oQrI7z.png
[23:54] <Rumen> I see the cards, but not the applications that use them
[23:54] <Rumen> fuser -v /dev/snd/*