/srv/irclogs.ubuntu.com/2022/01/12/#ubuntu.txt

shepherd_sarnold: and since i have no idea what I'm doing I don't believe it will work consistently either :D00:00
sarnoldshepherd_: the general shape of this script feels like it should work00:00
sarnoldit's just not super-friendly..00:00
chazzoHi 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
chazzodir/being/watched      IN_CLOSE_WRITE      cat $# | msmtp email@email.com00:17
chazzoThe following sends an email when a file is created, but said file is blank.00:17
chazzoRunning the command outside of incrontab sends an email that is populated with the desired text.00:17
sarnoldchazzo: it's kind of gross, but maybe adding a sleep 1 ; before the cat would help00:23
chazzosarnold no dice with varying lengths00:28
sarnold:(00:28
sarnoldon the one hand, that's probably best, it was a gross idea :) but it's harder to think what else would work then00:29
nuala2Do you have a standalone script? : 'avoiding the use of pipes inside incrontab file:' ..... Could or could not be related. https://askubuntu.com/a/36818200:29
chazzoI'm so lost with this.. getting ready to go at it with a reallllyyy gross cron work-around00:29
chazzoTried with a script as well without much luck, gonna read through that and revisit nuala200:29
sarnoldwait a second...00:30
sarnoldis the email ALWAYS blank? or occasionally blank?00:30
chazzoAlways 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
sarnoldcool!00:32
sarnoldchazzo: try: dir/being/watched      IN_CLOSE_WRITE sh -c 'cat $# | msmtp email@email.com'    and see if this does anything..00:33
chazzoStill blank :/00:35
sarnoldwell bugger00:36
chazzoGot it!!!!00:36
chazzoHoly moly00:36
chazzoOne sec00:36
chazzodir/being/watched    IN_CLOSE_WRITE    /path/to/script $@/$#00:38
chazzoScript:00:38
chazzocat $1 | msmtp email@email00:38
sarnold*why*00:38
sarnoldstill, that's not horrible00:38
sarnoldnuala2: nice find :D00:38
chazzoI think I was omitting $@/$# at the end of the incron, was originally just using $# which omits the path before it00:38
chazzonuala2 sarnold Thank you both for the assistance00:39
sarnoldohhhhh so it's possible the pipes aren't actually the issue? it might 'just' be three missing chars? :)(00:39
chazzoAnd by including $@/$# at the end of incron, calling $1 in the script actually pulls up the appropriate filepath to copy contents from00:40
chazzoI'm gonna try without the script now to see00:40
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:41
sarnoldI'd *really* hope the linux kernel would show all of the write to other processes by the time the close is sent to inotify clients00:42
chazzopiping cat from incron also confirmed works. Super embarrassing misunderstanding of syntax.00:44
chazzoNeeds to be00:44
chazzocat $@/$# | msmtp00:45
chazzoInstead of00:45
chazzocat $# | msmtp00:45
chazzowas just supplying a filename with no path00:45
sarnoldchazzo: thanks! :) I don't think I *ever* would have spotted that :(00:46
chazzoSpent so long overthinking that lol.. gonna sleep good tn00:49
=== genii is now known as genii-core
=== pamela22 is now known as homura
=== hays is now known as h_
bill_hello to All03:37
bill_I mean if Somebody can tell me about the changes of sudo from Ubuntu 18.04 to 20.0403:38
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?03:41
hell_firehii04:48
hell_fireuh...04:48
hell_firei want to change the bootlogo in 20.1004:48
hell_firei did that once in linuxmint, but now it completly different so i need help04:48
hell_fireoh and also i need help to change the grubmenu's background04:49
hell_fireany help?04:49
=== Abrax- is now known as Abrax
=== boubou_ is now known as boubou
=== pasiz8 is now known as pasiz
=== tofran7 is now known as tofran
=== arhue5 is now known as arhue
=== adamus1red_ is now known as adamus1red
=== _miruoy is now known as miruoy
=== buzelAzul is now known as buzel
=== Trieste_ is now known as Trieste
=== martums56 is now known as martums5
TheBigKhttps://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 annoying06:55
arkanoidI'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 that07:16
arkanoidalso /var/log/dpkg.log stops way before a couple of hours ago07:17
arkanoidsomething really fishy is going on here. Ubuntu installed some software that is NOT present in logs07:20
arkanoidso /var/log/apt/* logs stops ~16 hours ago, but "stat /var/lib/apt/periodic/upgrade-stamp" correctly shows that an upgrade happened 2 hours ago07:22
arkanoidmy trust in ubuntu just went zero07:25
JackFrostThat 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:50
arkanoidJackFrost: 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 fishy07:52
JackFrostOK™07:53
KBararkanoid: `stat --format="%n: %y" /var/log/apt/*`08:12
=== manwhowouldbekin is now known as YourNick
=== YourNick is now known as manwhowouldbekin
arkanoidKBar: it's off.08:34
KBararkanoid: what do you mean it's off?08:43
arkanoidthat the log doesn't match with reality. The last upgrade in log is way before the one I've executed via gui08:44
Nobremhi08:44
Nobremcould anyone please tell me how I can get  /dev/kvm   into existence?08:44
Nobremthe package "qemu-kvm" has been installed via "apt"08:44
Nobremyet, there is no  /dev/kvm08:45
arkanoidNobrem: sudo modprobe kvm08:50
KBararkanoid: can you post the output of `lsof /var/log/apt/history.log`? or post any output instead of being a pointless Karen?08:50
Nobremarkanoid, thank you for your response!08:51
Nobremarkanoid, I ran the command you told me to run,  and it ran _without_ errors  (so it looked good)08:52
Nobrembut, /dev/kvm  still does not exist08:52
Nobrem$ sudo ls /dev/kvm08:52
Nobremls: cannot access '/dev/kvm': No such file or directory08:52
arkanoidNobrem: it depends on your cpu, try sudo modprobe kvm-intel08:53
Nobremmodprobe: ERROR: could not insert 'kvm_intel': Operation not supported08:53
KBarNobrem: maybe your hardware doesn't support it? Check out this wiki article: https://help.ubuntu.com/community/KVM/Installation08:53
arkanoidKBar: Nobrem  also here https://wiki.ubuntu.com/kvm08:54
NobremThank you very much, arkanoid and KBar08:54
arkanoidNobrem: please call me Karen08:54
KBarYou're most welcome Nobrem08:54
Nobremsure, Karen, thank you!08:54
=== henry404089 is now known as henry40408
arkanoidyou're welcome08:55
Guest36Hello why did you name ubuntu ubuntu?10:35
Guest36Seems to be some sort of a tribal name10:35
lotuspsychje_!discuss | Guest3610:35
ubottuGuest36: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!10:35
toddcubuntu african for freindly10:36
Guest36I m not gonna join another channel10:36
Guest36I m here to talk it s a free country10:36
Guest36At least the one i am in10:36
Guest36Yemen10:36
lotuspsychje_thats not what this channel is for Guest3610:38
lotuspsychje_only support questions10:38
Guest36It is10:38
Guest36I m in charge of this channel10:38
Guest36I m very powerful10:39
lotuspsychje_!guidelines | guest3610:40
ubottuguest36: The guidelines for using the Ubuntu channels can be found at https://wiki.ubuntu.com/IRC/Guidelines10:40
Guest36I wrote them10:40
Guest36I can break them10:40
KBar!ops10:41
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu10:41
Priceyhttps://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:32
PriceySeems to come down to " libc6-dev : Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed11:34
JackFrostPricey: Can you run that with -o Debug::pkgProblemResolver=yes ?11:35
JackFrostAH.11:35
Priceyapt-cache policy shows libc6 "2.31-0ubuntu9.3" installed, but nothing from the archive. How on earth have I managed that...11:36
Priceyfocal-updates only has 9.2...11:37
PriceyAha https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1926918 answers everything! "11:38
ubottuLaunchpad bug 1926918 in glibc (Ubuntu) "cannot install libc6-dev, requires old libc6 version" [Undecided, In Progress]11:38
PriceyPlease 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
KBarPricey: ppas? subscribed to focal-proposed?11:38
KBarah11:38
PriceySorted.11:40
JackFrostTip: apt list | grep ed,loc11:40
JackFrostAnd yeah, they "withdrew" an update, which is...I don't really think that's ideal.11:40
Guest36My dick is 17 centimetres11:44
* ogra hugs JackFrost 11:47
JackFrostHeya.11:48
KBarJackFrost: thanks11:49
NobremHello11:51
Nobrem"adb devices"   does not list my phone11:51
Nobremsudo adb kill-server  &&  sudo adb start-server11:51
Nobrem^ did not help11:51
gebbionehi folks, if i save a file without an extension it is not visible in Nautilus. Is that something known?12:19
ogragebbione, definitely unexpected unless the filename starts with a dot it should be visible12:28
ograextensions are moot on linux12:29
gebbionestrange, i moved the files under a separate folder and it shows12:30
gebbionei can see the problem only on Downloads12:30
gebbionei ll move it back and try again12:30
gebbionenow i can see ... really dont know what was happening there12:31
gebbionei did CTRL + R after i downloaded the file12:31
gebbionebut the window didnt show it12:31
gebbionestrange12:31
=== [Pokey] is now known as Pokey
static_x35.13:24
=== pah is now known as pa
=== klebers_ is now known as klebers
BluesKajHi folks13:57
Peedy2495a minimized installation method is provided as of 21.10 server. Is a preseed-value existing for this method?14:08
=== mIk3_09 is now known as mIk3_08
=== mIk3_09 is now known as mIk3_08
pitchshifterwhen typing long paths on the cli, isn't there a keyboard shortcut to "paste" the previously typed path?14:28
orange1up and down arrows do last commands you type14:29
orange1or just last thing you typed after you pressed enter i mean14:30
pitchshifterafraid that's not what i'm looking for.14:32
orange1you can drag and drop folders in the terminal14:32
orange1then it puts the path in14:32
pitchshifteri 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.conf14:35
pitchshifterso i could then just append a .bak to the filename for a backup14:35
pitchshifterim looking for a quick way to "paste" the *last* typed *path*14:36
ravagei dont think there is such a function14:36
Manouchehristupid 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
Manouchehriwhich... kinda defeats the purpose of uninstalling14:36
ravageManouchehri: make sure you also remove the meta package. linux-image-generic14:38
ravageand of course that you have another meta package installed so you will get updates in the future14:39
Manouchehriravage: linux-image-generic is not installed14:39
ManouchehriI already have linux-image-5.4.0-94-generic installed, so I just want to get rid of linux-image-5.4.0-91-generic14:40
ograManouchehri, 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:41
ograManouchehri, and indeed make sure to have some other kernel installed (i.e. the hwe stack) so yu dont end up with an unbootable system14:42
Manouchehriogra: cool, thanks, trying114:42
Manouchehriogra: ya, the issue is my /boot keeps filling up14:42
ograit shouldnt14:42
ograthe system is set to keep exactly three kernels around14:42
ograunless you changed something around that14:42
ManouchehriI have three of my own kernels as well14:43
ograah, you changed something around that then 🙂14:43
ogra(own kernels)14:43
Manouchehrimhm, I have to run mainline kernels for some of my hardware sometimes14:43
Manouchehrispeaking of which, time to test out thunderbolt hotplugging again lol14:44
ograwell, as long as you build them with the ubuntu sauce patchest on top and the ubuntu config, this is surely fine14:44
ogra(i.e. *not* any stuff from the mainline PPA)14:45
=== genii-core is now known as genii
almostdvsI recently updated a machine and now when trying to boot it is stuck on "Mounting Kernel Configuration File System..."15:04
almostdvsthis is before grub. Not sure how to troubleshoot.  I would prefer to roll back my packages over reinstalling15:07
leftyfbalmostdvs: before GRUB is the BIOS or EFI15:07
leftyfbwhich isn't Ubuntu15:07
almostdvsmaybe I am mistaken then15:08
almostdvsI just rebooted and now it is stuck on Started Create Static Device Nodes in /dev15:09
almostdvsI don't see a grub menu15:09
xwj这么多人的吗15:10
xwj这是干啥的15:10
almostdvsjust straight into the kernel and system startup scripts15:10
leftyfbalmostdvs: what version of ubuntu is this and exactly how did you update it?15:11
xwj我用的depin,不用ubuntu15:11
leftyfbxwj: no15:11
xwjdeepin15:11
ograxwj, this is an english speaking channel15:11
leftyfbxwj: no15:11
xwj我不会英文啊15:11
xwj我只会中文15:12
almostdvs20.04 and I upgraded some nvidia packages that were held to troubleshoot another issue15:12
=== ctrlbreak_MAD is now known as ctrlbreak
almostdvsok, so it is not before grub. The menu must have a 0 timer15:16
leftyfbalmostdvs: maybe try booting getting into the grub menu and booting to the previous kernel15:16
=== Sven_vB_ is now known as Sven_vB
Manouchehriogra: thanks, your idea of removing the unsigned one too worked!15:24
ograyay15:25
Manouchehriogra: 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.sh15:25
ograManouchehri, 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 production15:27
ograthat said ... if you dont have any graphics on normal ubuntu kernels thats indeed bad15:28
Manouchehriogra: yeah, it's a tad frustrating, but sadly AMD really sucks at drivers.15:29
ograhave you tried the linux-generic-hwe-20.04-edge package yet ?15:29
ogra(5.13 based currently)15:30
ManouchehriI'm on 18.04 atm15:30
ograwell, there hould be a hwe version for 18.04 that is 5.13 based ...15:32
ogracheck the -edge ones15:32
Manouchehripretty sure I tried the hwe15:33
ograthe -edge build ?15:33
Manouchehriyeah linux-generic-hwe-18.04-edge15:33
Manouchehriwhat's frustrating is that only around 5.12.x works15:34
Manouchehriiirc up to 5.12.1915:34
ogradid you consider simply moving to 20.04 ? there is clearly a 5.13 available15:35
ravageor reinstall the system in april with 22.04 and possibly get 5.17 :)15:36
ograwell, that means 4 months with an insecure/inclomplete kernel ...15:37
=== genii is now known as genii-core
ograi'd move to 20.04 first15:38
ograaakashi2001, wiggle the cable ! (your ntwork seems unstable)15:42
ogra.oO( or get k-lined ... )15:43
lavaballis there a way i can fix the darkplaces texture issue? they are all small and everywhere. compiled version works fine though.15:48
lavaballdarkplaces - Game engine for Quake and similar 3D first person shooter games15:48
=== guntbert_ is now known as guntbert
=== Guest5435 is now known as pong
=== shokohsc5 is now known as shokohsc
nuala2lavaball: could find more knowledge in their help channels? https://github.com/darkplacesengine/darkplaces#helpsupport16:03
movooerheks, 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:05
movoi didnt find the 32-bit libraries but native games seem to be working.. need to further test proton/wine though16:06
nuala2pitchshifter:  i could imagine someone tried that before. maybe someone in #bash or #linux would know16:07
movoactually 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
movoit could also be wrong proton configs, or old gpu, driver related.. as i said need to test/diagnose further16:12
Guest5033First, thanks for your support of this project :)  https://cdimage.ubuntu.com/releases/ seems to be having problems.16:17
Manouchehriravage: ya, might do a full reinstall when 22.04 comes out16:19
Guest5033The archives fail to download.16:20
Guest5033Yeah, 22 will be good.16:21
Guest503322.04* or something16:21
oerhekscdimage site works fine here16:23
MrCollinsGAI 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:23
=== diskin_ is now known as diskin
jhutchinsGuest5033: What process are you using to download, and what specific errors do you get?16:25
Guest5033Nevermind, think the comp was out of disk space so not  https://cdimage.ubuntu.com/releases/16:25
MrCollinsGAupdated: https://paste.ubuntu.com/p/6s2pKzpm2D/16:26
jhutchinsManouchehri: Why would you reinstall for a new release?  Apt is entirely capable of smooth in-place upgrades.16:26
Maikindeed16:27
=== genii-core is now known as genii
oerheksManouchehri, nerds do both, upgrade and fresh install16:27
Guest5033For the paste bin, perhaps add a sleep for a while loop could be resource intensive.16:28
Guest5033However, I'm not sure about everything in the script.16:28
Guest5033Unless the "inotifywait" does that already.16:29
MrCollinsGAGuest5033, 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 directory16:29
Guest5033Needed a fresh image16:30
Guest5033On a side note, Do the newer releases upgrade well?16:31
Guest5033do*16:31
ogradid they ever not ?16:31
mannequinhttp://paste.debian.net/1226870/16:32
mannequinis there any fix for that?16:32
cbreakogra: 21.10 had a _NASTY_ data corruption bug for a few weeks16:33
ograin the update-manager ?16:33
cbreakno, in the update itself16:33
ogra(or do you mean general package updates)16:33
cbreakhttps://news.ycombinator.com/item?id=2888689716:34
ograah, zfs16:34
ograexotic nonsense 😛16:34
cbreaknah16:34
ograext4 is enough for everyone !16:34
cbreakzfs is the main reason to use ubuntu :)16:34
ogra(as are 640kb)16:34
Guest5033Perhaps the older releases sometimes had a problem (like before 18)? (not sure about this)16:34
cbreakGuest5033: I'm sure there are always problems16:35
cbreakand reading the release notes should show a few of those16:35
ograyeah16:35
Guest5033As in the boot sequence would get messed up but perhaps due to EFI/ the other method doing strang things.16:35
mannequinok whatever, the config was inproper16:35
ograthere are definitely always known issues freshly after release ...16:35
ograwhich is why you should use LTS if you care ...16:35
Guest5033It seems like the different vendors have different implementations of EFI.16:36
Guest5033Yeah to LTS16: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:36
cbreakyes.16:37
Guest5033for 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 replied16:45
=== Ricardus_ is now known as Ricardus
ice9does snap automatically update installed snap apps?16:52
cbreakice9: it is supposed to16:53
Manouchehrijhutchins: eh, I like to reinstall sometimes to free up disk space and crap I've forgotten about16:56
darkeyehi,17:32
Maikhi darkeye17:33
darkeyeis it possible to change apt loading bar #### with another char17:33
darkeyelike pacman-hearts the loading bar turn to heats instead of ####17:35
darkeye*hearts not heats17:35
jhutchinsdarkeye: Yes, it's possible.  It's not a configurable item, you would have to edit the source code and recompile.17:42
geniiuse the source, Luke17:42
* genii skedaddles away17:43
darkeyeso that's mean I have to do it over and over after every update17:43
darkeyeis it possible to patch the package?17:45
MarvinTheMartianHello. Is it possible to completely disable snap, and use only apt and .debs17:46
MarvinTheMartian?17:46
ograsudo apt purge snapd17:47
ice9what 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; fi17:47
geniiogra: But some deb packages like chromium just reinstall snap again anyways17:48
ograMarvinTheMartian, the above will remove all snaps and snap support ... though note that you have to find replacemnts for the removed bits17:48
MarvinTheMartianogra: does it also remove all snap installed apps, and it will survive updates?17:48
ograyes, with the limitation that genii mentioned above17:48
ograthe chromium deb installs the snap (and snap support)17:49
MarvinTheMartianand there is no way to block/blacklist snapd?17:49
ograyou could probably do something in apt ..17:49
ograis there any particular reason wh you want that ?17:49
ogra(i mean running ubuntu without snap support)17:50
MarvinTheMartianI 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:51
ograwow, what snaps were that ?17:52
MarvinTheMartiannot even sure anymore, but mostly dev related17: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:53
ograin general snaps usually occipy a lot less space than their deb equivalent17:54
ogra*occupy17:54
MarvinTheMartianand I dislike the way it installs 3rd party software17:55
ogradue to being compressed binary images that are never unpacked but only loop mounted17:55
ograwhat 3rd party software ??17:55
MarvinTheMartiandebs all come from ubuntu's repo (unless you add other repos)17:56
ograi know17:56
MarvinTheMartianSnaps are packaged by 3rd parties17:56
ograi still dont understand where "snaps istall 3rd party software"17:56
ograyes, but they dont install themselves 🙂17:57
MarvinTheMartiandependencies do17:57
ograyou must conciously have picked to install it17:57
ogradependencies ?17:57
ograsnaps are self contained17:57
jkcThere are certain things that get directed to snapd by apt, such as chromium, and for VERY good reason.17:57
ograthere is exacly one package ... not "certain things"17:58
MarvinTheMartianslippery slope17:58
ograthat that was even announced long in advance (just that nobody read the announcement)17:58
jkcMarvinTheMartian: Doing something for a very good reason isn't really what that phrase means.17:58
MarvinTheMartianif one deb can do it, why not others?17:59
MarvinTheMartianis there a safeguard for that?17:59
ograoh, others will17:59
jkcogra: 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
ograit is the only way to keep your software selection functional on release to release upgrades17:59
jkcMarvinTheMartian: It wasn't something that some random person did. This was a very intentional thing, and you can't just "do it."17:59
ograif some SW switches to snap, the only proper way to trasitio people is to use the deb to install the snap18:00
ograjkc, well, firefox will go the same path with 22.0418:00
ograbut to date there is exactly one package ...18:00
jkcMarvinTheMartian: I suggest you actually understand what snaps provide instead of trying to blanket disable the whole thing because NEW THING BAD.18:00
jkcogra: I'm just going to refer you to the last thing I tagged you in, and move on.18:01
ogra🙂18:01
MarvinTheMartianI'm sensitive to supply chain attacks, and having worked with teams that were burned by npm and pypi, I'm biased18:02
jkcMarvinTheMartian: Good to know. This is not npm or pypi.18:02
ograheh, you cant really compare these18:02
anzerhi! anyone have the Night Light feature not working on ubuntu 21.10?18:02
* ogra has the night light feature not working on 21.10 ... (i didnt even know there os one 😛 )18:03
ogra*is18:03
tomreynit's well hidden on some title bar18:04
ogra(well, i wouldnt use it anyway ... i just found the phrasing of the question really funny 🙂 )18:04
anzeryeah i configured it in display settings but somehow when it turns on my screen stays the same18:05
tomreynanzer: whats your graphics driver? is this in a VM?18:08
anzeruh 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 night18:09
anzerno vm18:09
tomreynhmm, not sure then, maybe file a bug18:10
tomreyn!bug18:10
ubottuIf you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.18:10
=== tomaw_ is now known as tomaw
=== qa6_ is now known as qa6
=== Duck- is now known as Duck
=== lord4163- is now known as lord4163
=== aaguhagegaooeg is now known as westor
=== Razva_ is now known as Razva
=== LarsErik1 is now known as LarsErikP
=== mongole_ is now known as mongole
=== dabbill_ is now known as dabbill
=== kantlive- is now known as kantlivelong
=== mmx_in_orbit_ is now known as mmx_in_orbit
=== ASap_ is now known as ASap
=== gandalf1 is now known as gandalf
=== patviafore_ is now known as patviafore
=== StoneMonarch_ is now known as StoneMonarch
=== h00k_ is now known as h00k
=== rpittau_ is now known as rpittau
=== holbrode_ is now known as holbrode
=== PotatoGim_ is now known as PotatoGim
=== tomreyn- is now known as tomreyn
=== AsenMx_ is now known as AsenMx
=== madhens_ is now known as madhens
=== mort8 is now known as mort
=== cryocaustik76 is now known as cryocaustik7
=== KnownSyntax_ is now known as KnownSyntax
=== westor is now known as Guest6475
=== frickler_ is now known as frickler
=== oerheks_ is now known as oerheks
=== tisiphone is now known as onepict
=== ogra` is now known as ogra
balticsunhello chan, got a bit of a headscratcher with kernel patch 5.11.0-44 on hirsute apparently breaking usb, any ideas?18:40
balticsunseems rolling back to a snapshot of 5.11.0-41 fixes the issue but upgrading to impish/5.13 does not18:41
lotuspsychjebalticsun: almost end of life, perhaps move to another ubuntu release?18:42
balticsunlotuspsychje: same issue on impish unfortunately18:42
=== rvgate3 is now known as rvgate
=== mort1 is now known as mort
=== TonyL is now known as DarkG
=== tomreyn_ is now known as tomreyn
tomreynbalticsun: use a non EOL release, we don't support EOL ones18:44
balticsuntomreyn: 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 device18:44
tomreynimpish has 5.13 though18:45
balticsunthe issue is present when running 5.1318:45
tomreynbalticsun: so whatever happens also happens on 5.13?18:46
lotuspsychjebalticsun: feel free to share a dmesg booting 5.13, and maybe volunteers can trace useful errors18:46
tomreynand your device is? and whats the difference in logging for this device on the working vs non working kernel?18:46
tomreynhave you tried different devices, usb ports, usb hubs?18:46
balticsunthanks for the tips, i will go pull the logs18:48
balticsunall the usb ports on my intel laptop stopped working after an update18:48
oerheksadd yourself to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956849 ?18:49
ubottuLaunchpad bug 1956849 in linux (Ubuntu) "Almost all USB ports suddenly stopped working; unbootable" [Undecided, New]18:49
lotuspsychjenice find oerheks18:50
tomreynoops, i wasn't aware18:50
balticsunyeah nice find, thanks. it has killed usb2 as well as 3.0 in my case as well18:51
lotuspsychjebalticsun: do you know howto affect a bug?18:51
=== l0de_ is now known as l0de
balticsunlotuspsychje: affect it? in what sense, sorry18:52
lotuspsychjebalticsun: on the bug ID oerheks found, press, yes this bug affects me in the left upper corner18:53
ograhow to "me too" a bug 🙂18:53
balticsunah! yes i will do that then18:53
lotuspsychjetnx balticsun that will also auto confirm it18:54
=== BlessJah_ is now known as BlessJah
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.18:59
marc_in short how do i get steam to use all the cores19:00
semmarc_, what have you tried so far?19:03
oerheksif they are enabled, no need to do something special?  dmidecode -t4 | egrep 'Designation|Status'19:03
marc_https://pastebin.com/71EMizBE19:04
tomreynwhich ubuntu + kernel version are you on?19:04
marc_and i wrote this in steam options -cpucount=8 -exthreads=1619:04
marc_5.13.0-25-generic #26-Ubuntu SMP19:05
tomreynthat's the kernel version. and     lsb_release -ds     says?19:06
marc_how do i get that up19:06
tomreynjust run the command and post its output19:06
tomreynshould be just one line19:07
balticsuni have the dmesg logs now if anyone is interested in taking a look! many thanks https://pastebin.com/Wp0s8ry619:07
balticsuni can already see the xHCI host controller is reported as not responding19:08
marc_https://pastebin.com/Ke8n4Gmj19:08
eelstreboranyone 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 day19:12
tomreynmarc_: 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:15
oerheksthey are all working, but one canot assign *all* cores to steam, what does ubuntu have to use?19:17
oerheksi could understand a dedicated cpu to steam..19:17
marc_I will be upgrading to E5-2687W v2 soon so it will have more cores to use19:19
balticsunok 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:20
marc_i could set it to this for now -cpucount=6 -exthreads=1219:21
semI 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 NOPTI19:22
semWhat would cause that kind of thing? Full messages here: https://paste.ubuntu.com/p/KRthXzmrxF/19:22
balticsuntrying 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-generic19:23
tomreynold kernel images are removed off mirrors after a while19:23
semwhat does that mean 'invalid opcode'19:25
balticsunis there anywhere else i can source it then? i need that version again for my old snapshot to boot19:25
tomreynbalticsun: the sources should still be on launchpad.net, if you're happy to build it19:26
balticsuni dont really know how to build it but i guess ill look into it, thanks19:29
tomreynsem: 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:29
marc_https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11/19:30
marc_is that it19:30
semtomreyn, this crash happened as I was upgrading. I'll try to fix dkpg -a and run the memtest from bios19:30
semtomreyn, for some reason I can find linux-headers for -92 but not -94 in apt19:31
semmy graphics driver depends on the linux-headers to install19:32
tomreynsem: maybe your apt mirror is outdated and you're not using security.ubuntu.com as a mirror for security updates?19:33
tomreynmarc_: those are unsupported test builds19:34
semi 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 now19:34
semI also installed the 'linux-headers-generic' package now so hopefully future updates will also bring in the latest version of the headers19:36
semRunning memtest... Should I have forced SMP, or does that not matter19:40
semProbably since the error opcode mentioned smp19:44
semHmm memtest may have crashed.19:45
semStuck on 72% on test #219:46
amazoniantoadHey 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/xen19:48
amazoniantoad(everyone on google search anyways)19:48
tomreynand your ubuntu version is?19:50
amazoniantoad20.04 LTS19:50
tomreyndpkg -L xen-utils-common | grep ^/etc    will list the files installed by the package19:52
amazoniantoadthanks tomreyn19:52
tomreynamazoniantoad: 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-common19:54
amazoniantoadThanks. The config file is definitely missing19:54
amazoniantoadLet me try that19:54
amazoniantoadtomreyn, I ran that command but I get an error: need an action to perform19:56
amazoniantoadI just double checked the command and I entered it in as you had written it19:56
tomreynamazoniantoad: sounds like you missed "install" or the hyphons in front of "reinstall"19:57
tomreynthat's two hyphons, in case oyu have a bad font there19:58
amazoniantoadHm...19:59
amazoniantoadLet me try and copy and paste your command19:59
amazoniantoadtomreyn, 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
amazoniantoadbrb20:00
=== Leoneof|2 is now known as Leoneof
tomreynamazoniantoad: nothing i can do there. yes, unrelated.20:02
amazoniantoadI'm going to continue inside of a virtual machine, so I can see how this all works.20:03
oerheks xl.cfg perhaps? http://manpages.ubuntu.com/manpages/trusty/man5/xl.cfg.5.html20:04
semMemtest86+ keeps freezing at the same spot: test 2, 72%20:05
semDoes this indicate a faulty memory stick20:05
oerheksprobably, yes20:05
tomreynsem: quite likely. but we're reallyjust dealing with ubuntu here. try #hardware20:06
semHmm ok20:06
tomreynit's also not unheard of with 15yo hardware20:06
jhutchinssem: you might try swapping slots, see if the error follows the module.20:15
semThanks jhutchins I'll try20:24
mannequinhow to set a custom dns server for my connection with a custom dns port?20:25
oerhekswhat have you found sofar, mannequin ?20:26
leftyfbmannequin: https://askubuntu.com/questions/1296750/how-to-specify-a-port-number-for-dns-servers-with-netplan20:27
mannequinleftyfb: how to set a custom port there?20:28
=== Cueball_ is now known as Cueball
leftyfbmannequin: why do you have a dns server running on a non-standard port?20:28
mannequinyes20:29
leftyfbmannequin: why?20:29
mannequindoes not matter20:29
leftyfbit does20:29
mannequinit's dnsproxy20:29
mannequini want my requests go trought tor20:29
sarnoldyou could probably get iptables or nftables to do port forwarding for you to run things on nonstandard ports20:30
oerheksthere is a port number secion in dnsproxy.conf20:31
jhutchinsThis should be somewhere in the tor documentation.20:32
mannequinthe port is taken by systemd-resolved20:32
mannequinit wont work20:32
mannequinand if i disable systemd-resolved i wont have dns at all20:33
leftyfbmannequin: so disable systemd-resolved if you're going to be using the proxy20:33
mannequinthen i will have no dns at all20:33
mannequinit's mandatory20:33
leftyfbyou will, you just need to relink /etc/resolv.conf20:33
leftyfbit's not mandatory20:33
mannequinHow to do that, leftyfb ?20:40
leftyfbmannequin: https://gist.github.com/zoilomora/f7d264cefbb589f3f1b1fc2cea2c844c   # first result on google for "ubuntu disable systemd-resolved"20:41
leftyfbmannequin: 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 there20:42
anzerhi again, also my jack headphones don't work on ubuntu 21.10?20:46
mannequinI still get no małe resolution20:46
anzeris this also a bug or i'm doing something wrong20:46
leftyfbmannequin: ls -l /etc/resolv.conf | nc termbin.com 999920:47
mannequinI got It set to 127.0.0.120:49
leftyfbmannequin: that is wrong and isn't what I asked for20:50
leftyfbmannequin: it also shows that you didn't follow either of the links with instructions I posted for you20:51
mannequinIts not wrong i want to use dnsproxy20:51
leftyfbmannequin: ls -l /etc/resolv.conf | nc termbin.com 999920:51
mannequinI have no dns running20:52
mannequinDo you understand20:52
leftyfbthen edit /etc/resolv.conf and point it to 1.1.1.120:52
mannequinok i want it to be at 127.0.0.1 since i want my dns go trought tor20:54
leftyfbmannequin: 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 goal20:55
leftyfbmannequin: cp /etc/resolv.conf ~/ && echo "nameserver 1.1.1.1" |sudo tee /etc/resolv.conf20:57
leftyfbmannequin: the first step is to disable systemd-resolv.conf and confirm it's been done properly and completely20:57
tomreynif 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
leftyfbor that ^20:58
=== PonyBlocks-_- is now known as PonyBlocks
oerheksdnsproxy ánd tor.. dns-tor-proxy ?20:58
mannequinDude the service is disabled and dnsproxy is running20:58
MrCollinsGAanyone see anything wrong with this script for incron? :) https://pastebin.ubuntu.com/p/MSgnVnw2tx/20:59
leftyfbmannequin: dude, do you want help or not?20:59
leftyfbmannequin: if you answer yes, we will proceed20:59
mannequinOf course thats why im Herę21:01
mannequinHere21:01
leftyfbmannequin: 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 999921:02
leftyfbwell, don't run the first part if you already ran it before21:03
leftyfbsorry21:03
leftyfbno big deal either way21:03
=== PonyBlocks is now known as purple_sarco
leftyfbmannequin: it should take under 2 seconds for that command to run and give you a URL to post here21:07
mannequinyeah it's not working21:08
sarnoldd'oh21:08
leftyfbmannequin: define not working. There should be an error of some sort somewhere21:08
sarnoldnc.termbin.com21:08
leftyfbbah21:08
mannequinthe commang just hangs in there doing notjing21:08
leftyfbmannequin: ( ls -l /etc/resolv.conf ; host ubuntu.com ) | nc termbin.com 999921:09
leftyfbmannequin: ?21:14
leftyfbmannequin: if the command is still hanging, then we need to take smaller steps21:16
mannequini will take this to ##networking at this point21:26
mannequinthis is not ubuntu issue anymore21:26
mannequinthis is dnsproxy configuration issue21:26
leftyfb:/21:27
=== gry_ is now known as gry
anzerhey, 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:39
anzeri do not understand why this wouldn't work lol21:40
anzeris there unsupported drivers for jack ports or wtf21:41
sarnoldsorry anzer, it's just that most people don't use jack, so knowledge around it is pretty thin :(21:42
sarnoldanzer: you could try the #lau channel -- folks with more adventurous audio needs hang out there and may have suggestions21:43
leftyfbanzer: 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:45
sarnoldoh lol good question21:46
anzersorry for being french lol :) i mean my headphones connected to the port, not a server leftyfb21:46
anzerlike headphones with a cable and you connect it to the computer lol21:47
=== RikMills__ is now known as RikMills
sarnoldtry running pavucontrol and looking around it a bit while audio is supposed to be playing -- it's usually enough to figure out what's wrong21:47
anzerthis works with pavucontrol, but gnome settings don't show the option to play on headphones, why?21:50
anzeradditionnally, only one hear works, i think something is wrong with the computer itself? headphones work great with my iPod21:50
leftyfbanzer: ubuntu cannot be expected to fix hardware issues21:51
anzeryeah that was my question21:51
sarnoldanzer: when it comes out of only one side, that's usually fixable by wiggling the connector or the wires21:51
anzerok, thanks for the help mates, stay safe!21:53
sarnoldgood luck :) sorry for the trouble21:53
anzeryou're helping me i won't complain!21:53
anzerit's my first time in years using linux on a laptop and ubuntu (gnome) has changed so much for the better, really incredible21:57
=== jje7 is now known as jje
jhutchinsanzer: Sometimes the plugs don't match the sockets, sometimes the drivers don't really line up with the hardware.23:24
jhutchinsanzer: Are you using stereo headphones, or headphones with a mic?23:25
anzerhi jhutchins, i'm using headphones with a mic. Apple Earpods23:25
jhutchinsanzer: 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:29
anzerjhutchins, 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
MrCollinsGAlook at the rings. are there two rings? one ring? 3 rings on the hack23:30
MrCollinsGAjack*23:30
anzerthere are 3 rings23:30
MrCollinsGAinserted in green port on the sound card?23:31
jhutchinsanzer: Jack on motherboard or on separate card?23:34
anzerI have no idea for both questions, sorry. :( Can I check that?23:35
anzer(thanks for trying to help me)23:35
eelstreboranyone 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 day23:36
RumenHi there23:37
RumenQuestion - 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 troubles23:38
matsamanmaybe you're mixing ALSA & OSS audio23:39
sarnoldmaybe you have an application that's not even using audio, but is causing a lot of disk traffic, and that causes the system to stutter23:40
RumenNo, because it makes it with the online sound as well - like YouTube and with localc - from hard disk23:43
RumenI have ALSA https://i.imgur.com/3oQrI7z.png23:47
RumenI see the cards, but not the applications that use them23:54
Rumenfuser -v /dev/snd/*23:54

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