[01:17] <mybalzitch> lol ubuntu. "Use the mutt client in snap? It's NEWER!" okay fine. Oh, by default the snap can't access the /var folder and thats why I can't access my local mailbox. Awesome.
[01:22] <sarnold> hopefully it's just a snap connect away or something
[01:29] <ogra> sarnold, https://github.com/snapcrafters/mutt/blob/master/snap/snapcraft.yaml ... doesnt look like ... (only home ans network plugs)
[01:30] <ogra> *and
[01:31] <sarnold> ogra: oh interesting find, thanks; does this mean that whoever packaged this has never tested it with eg postfix or fetchmail on the 'local' system?
[01:31] <sarnold> ogra: interesting, it's got to package along three different editors, too
[01:33] <ogra> sarnold, i think popey packaged it originally ... and perhaps only tested from an enduser perspective ... adding a system-files interface for /var/mail access might be enough though
[01:34] <sarnold> ogra: heh, that doesn't feel like entirely the right name for that :) and probably a postfix or procmail snap would want similar accesses, too..
[01:36] <ogra> well, getting a new interface into snapd can take months (or longer if someone thinks an architect needs to review it) ... a system-files entry in snapcraft.yaml is just 4 lines and being nice to alex and emilia in the forum to get it auto-connected 😉
[01:37] <ogra> but yeah, might make sense in the long term to have some "mail-spool" interface or some such
[01:38] <sarnold> right up there with usenet-spool... :)
[01:38] <ogra> hah
[02:03] <ednash> is there any way to check which packages depend on a given package, for a ubuntu distributin, without actually install it? like a web tool may be?
[02:04] <ednash> specifically, i want to know which packages have a dependency on snap in 22.04. i heard in 22.04 firefox is installed via snap (that makes me worried)
[02:04] <sarnold> ednash: web front end thing at https://packages.ubuntu.com/  -- it might also be suitable to grab the relevant files off the archives and either use those directly, or trick apt into using them..
[02:05] <sarnold> ednash: that's way easier to see: https://launchpad.net/ubuntu/+source/firefox
[02:06] <ednash> wow that's awesome! thanks
[02:08] <ednash> wonder if there's a way to do that in reverse. i.e. see which packages depend on X (not which packages X depends on)
[02:10] <sarnold> ednash: apt-rdepends is great for these kinds of questions, but it runs according to your apt sources..
[02:11] <sarnold> (though it supports an --option=Apt::Option::Here thing, maybe that could be used to use different apt sources than The System apt sources)
[02:11] <ednash> thanks
[02:11] <ednash> i might install it in a virtual machine to see
[02:12] <ednash> but i guess it won't add that much info now that the link confirms firefox is a snap package
[02:14] <ednash> launchpad is pretty neat :)
[02:16] <sarnold> yeah there's lots of cool stuff in there if only you know how to drive it :)
[02:17] <ubuntu> s
[02:17] <ubuntu> df
[02:17] <ubuntu> dfg
[02:17] <ubuntu> h
[02:20] <fankai> aaa
[02:48] <pycurious> I've a Kernel panic - not cyning: Fatal exception in interrupt - any ideas on how to debug this? My machine sometimes goes into this state these days?
[02:55] <sarnold> pycurious: grab a screenshot of the stack trace if you get one; run memtest86 or memtest86+ when you've got a few spare hours; consider if you've got sufficient powersupply for the machine's load, etc
[03:01] <Lebela_> hi
[03:01] <jhutchins> pycurious: ps ax | wc -l  -- exactly how many processes are running on your system, any one of which might be the culprit?
[03:02] <Lebela_> I was told to come here from #bash
[03:02] <Lebela_> I currently mount my external LUKS encrypted devices by using  "tail -f /var/log/syslog"  and seeing what new device comes in.
[03:02] <jhutchins> pycurious: Yeah, open the case, clean the components, reseat modules, cards, and cables.
[03:02] <Lebela_> then:   sudo cryptsetup luksOpen /dev/sdc1 foo
[03:02] <Lebela_> and then:  sudo mount /dev/mapper/foo   /mnt/foo
[03:03] <Lebela_> the goal is, to auto-mount the luks encrypted drives, but the /dev/ mountpoint changes
[03:03] <Lebela_> so it must the the UUID we're looking at
[03:03] <jhutchins> UUID
[03:03] <Lebela_> the LUKS container has a different UUID than the filesystem inside
[03:03] <Lebela_> /etc/fstab alone does not help,  "crypttab" is also needed
[03:03] <Lebela_> and I am a bit (or many bits) overwhelmed by it all
[03:03] <jhutchins> Lebela_: Simplest test is to try one, then the other.
[03:05] <sarnold> Lebela_: I have to wonder if this should be done via udev scripts instead
[03:05] <sarnold> Lebela_: those are built around getting kernel event notifications and taking action
[03:10] <Lebela_> I really don't know, sarnold, you tell me :)
[03:10] <sarnold> Lebela_: dang :) I don't know them know well, hehe
[03:15] <oerheks> mmhq/clear
[03:21] <pycurious> holding downt he shift key at boot does not get me into grub - any ideas?
[03:21] <oerheks> maybe esc
[03:21] <oerheks> !grub
[03:22] <pycurious> oerheks: will try esc now
[03:24] <pycurious> oerheks: that worked! Thanks. Now I dont have memtest as an option in grub - need to find that
[03:26] <oerheks> maybe because you have UEFI, our memtest is mbr only, use the live iso on the memtest site
[03:26] <oerheks> not sure if it is just a license problem, or technical
[03:27] <Bashing-om> pycurious: http://www.memtest86.com/ <- proprietary UEFI offering.
[03:47] <Juice80539> Hello, I have a multiples question I'd like to ask on https://discourse.ubuntu.com/c/multipass/21 but I can't post. Is there another good channel for support? I've already asked here: https://askubuntu.com/questions/1395373
[03:47] <Juice80539> Multipass*
[03:51] <sarnold> Juice80539: there's a #multipass channel here that might work
[03:52] <Juice80539> oh so there Is! Thank you. Its missing from https://wiki.ubuntu.com/IRC/ChannelList
[03:55] <sarnold> it's not *really* an ubuntu thing, despite being strongly ubuntu-oriented.. I'm not sure it really fits in any of the existing categories. maybe it should, hehe
[03:58] <Juice80539> enough of an ubuntu thing to be given its own discourse section in the ubuntu discourse
[03:59] <Juice80539> Raspberry Pi is in there too, so I guess its not a high bar
[04:01] <sarnold> heh
[08:48] <k_sze> Something isn't right. On Ubuntu 20.04 (on WSL2), `cp -r` behaves differently depending on whether the destination folder already exists. Is that normal?
[08:52] <matsaman> k_sze: yeah
[08:52] <llutz> k_sze: should be. If destination not exists, it will create it and you get a copy of "source". If destination exists, it will copy "source" into that
[08:53] <k_sze> Looks like I need to add `-T` for it to be "idempotent", regardless of whether the destination already exists.
[08:54] <matsaman> think I'd either switch to rsync
[08:54] <matsaman> or
[08:55] <matsaman> use test -d
[08:55] <matsaman> probably the former, for so many reasons
[10:34] <Diagon> UEFI Variable Store Getting Filled:
[10:34] <Diagon> https://superuser.com/questions/1707250/uefi-variable-storage-removing-sys-firmware-efi-dump-files-when-kernel-variab
[10:34] <Diagon> https://bugs.launchpad.net/ubuntu/+source/acpi-call/+bug/1953261
[10:35] <Diagon> tomren - deleting /sys/firmware/efivars/dump* didn't work.
[11:05] <Fossil> Is there anyway I could detect which network interface has link, BEFORE either interface has been configured? Im dumping images back onto different hardware so the iface names keep changing rendering my netplan.yml useless because I need to go in and set the correct interface name. "ip link" doesn't do much because it shows DOWN until a proper IP or DHCP has been configured on the correct iface name. Trying to script this.
[11:13] <alkisg> `ip link` should say LOWER_UP even if the device doesn't have an ip, right?
[11:14] <Fossil> Nah it just says DOWN
[11:14] <alkisg> And what happens if you set it up without asking for an IP?
[11:15] <Fossil> These devices have 2 NICs and I need to check which one has link and configure that one for DHCP
[11:15] <Fossil> I figured easy, just do ip link and use that. But a 30 second job has become a 2 hour search now already lol
[11:17] <Fossil> dmesg or syslog arent helpful either. Just say one iface. got disconnected if I switch the cable. It's like it doesnt see it as connected to anything until it has an IP
[11:17] <Fossil> - /sys/class/net/(interface name here)/operstate this doesnt work either. Just says down until IP configured
[11:17] <Fossil> Same with ethtool
[11:20] <oerheks> for i in $( ls /sys/class/net ); do echo -n $i: ; cat /sys/class/net/$i/carrier; done
[11:20] <oerheks> any :1 is connected?
[11:24] <Fossil> oerheks Comes back with invalid argument on the interface which has a cable in it but nothing configured in netplan
[11:26] <Fossil> if I bring the interface up with ifconfig IFACE up then it looks like it shows a :1. Maybe thats the trick? Just force every interface found to be up and then loop through /sys/class/net
[11:26] <oerheks> No force, it should work
[11:26] <alkisg> Yeah that's what I suggested above, ip link set up dev enp4s0
[11:28] <Fossil> oerheks Just says invalid arg on the one with the cable in. So maybe what alkisg says works as a "dirty" workaround
[12:06] <nmds> join #gnome
[13:28] <Kangarooo> The following NEW packages will be installed:
[13:28] <Kangarooo>   chromium-browser
[13:28] <Kangarooo> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
[13:28] <Kangarooo> Need to get 48,3 kB of archives.
[13:28] <Kangarooo> After this operation, 164 kB of additional disk space will be used.
[13:28] <Kangarooo> Get:1 http://lv.archive.ubuntu.com/ubuntu focal-updates/universe amd64 chromium-browser amd64 1:85.0.4183.83-0ubuntu0.20.04.2 [48,3 kB]
[13:28] <Kangarooo> Fetched 48,3 kB in 5s (8 908 B/s)
[13:38] <sybariten> hey hey, could someone give some advice on samba/cifs mounting? I am having problems mounting a remote resource. I have tried on another, maybe newer Ubuntu and gotten a bit further but am talking to the support about a technical issue there.
[13:39] <sybariten> But now on my main machine, i am trying and get this:  sudo mount.cifs -o user=blahblah //blah.some.server.com/backup /mnt/lester        ---->    mount error: cifs filesystem not supported by the system
[13:40] <sybariten> modprobe cifs  --->  modprobe: FATAL: Module cifs not found in directory /lib/modules/5.4.0    (i didnt sudo there though)
[13:43] <gaspard> bonjour
[13:43] <gaspard> a
[13:43] <gaspard> a
[13:51] <BluesKaj> Hi folks
[15:08] <jhutchins> sybariten: Did you install CIFS support?
[15:08] <jhutchins> !cifs
[15:09] <jhutchins> Somebody needs to take a shotgun and put that worthless bot out of it's misery.
[15:09] <sybariten> jhutchins: yeah, just talking in #linux, seems i might not have that. I managed to install cifs-utils but i guess my kernel doesnt have cifs support?
[15:09] <sybariten> jhutchins: haha
[15:09] <jhutchins> sybariten: It's modular.
[15:10] <sybariten> jhutchins: aha... meaning?
[15:13] <jhutchins> sybariten: It looks like everything's in the cifs-utils package these days.  Used to be more complicated.
[15:13] <jhutchins> sybariten: Modular means that the kernel module can be packaged and installed separately, isn't built into the kernel.
[15:20] <sybariten> jhutchins: i see
[15:25] <jhutchins> sybariten: When I started using linux the kernel had just gone modular, and a lot of the howtos began with compiling support into the kernel.
[15:26] <jhutchins> For a long time, that just meant that the modules were loadable but all packaged with the kernel.
[15:26] <jhutchins> Now there are modules that are distributed independently.  Of course, that means they have to keep up with every kernel release.
[15:33] <d0loresh4ze> hello
[15:33] <d0loresh4ze> anyone here?
[15:34] <BluesKaj> nope
[15:34] <d0loresh4ze> heh hey bro
[15:35] <BluesKaj> oops:-)
[15:59] <toolbox_> Hi. I have a Gemalto CT40 cardID reader. Anyone know if it can be used in Ubuntu 20.04. Don't find that much info. I installed libccid.
[16:07] <genii> toolbox_: The discussion at https://github.com/LudovicRousseau/PCSC/issues/71 leads me to believe it probably works on x86 but may have issues with ARM
[16:08] <genii> ( or the USB implementation on the Pi )
[16:10] <toolbox_> genii, Thanks. Found that URL. I am on x86.
[16:16] <toolbox_> genii, This looks promising and same name as your URL appears: https://github.com/LudovicRousseau/CCID
[16:19] <lotuspsychje> toolbox_: does your country have some sort of middleware package for ID reader?
[16:20] <lotuspsychje> toolbox_: in my case/country i need to install the software for ubuntu and install eid-mw with apt to use my ACR card reader
[16:21] <toolbox_> lotuspsychje, Well don't know. I use a card for identification and it works fine in windows environment. Just trying to see out if I can get Ubuntu 20.04 to find the mentioned card reader.
[16:42] <toolbox_> My Ubuntu 20.04 now find the card reader, following these instructions: https://askubuntu.com/questions/1226474/using-smart-card-reader-gemalto-idbridge-k30
[18:11] <spacedust> hi
[18:11] <spacedust> where does snap download and keep things ?
[18:11] <spacedust> which directory that keeps the large files ?
[18:12] <leftyfb> spacedust: /snap
[18:12] <leftyfb> spacedust: why?
[18:12] <spacedust> no thats not the one, /var/lib/snapd/snaps
[18:13] <leftyfb> spacedust: why?
[18:13] <leftyfb> spacedust: we can probably help you better if you explain your end goal
[18:14] <spacedust> i just asked a simple question :) why ? because i want to move it
[18:15] <leftyfb> spacedust: why do you want to move /var/lib/snapd/snaps? (not recommended )
[18:17] <spacedust> cause i dont have space
[18:18] <sarnold> spacedust: you might do better to ask snapd to only store one or two of everything
[18:19] <spacedust> one or two of everything ?
[18:19] <spacedust> what do you mean ?
[18:19] <spacedust> it stores older versions ?
[18:20] <sarnold> spacedust: yes; https://snapcraft.io/docs/keeping-snaps-up-to-date#heading--refresh-retain
[18:20] <leftyfb> spacedust: I have about 70 snap files (about 40 actual snaps installed snap totaling 6.6G. Do you not have ~10G of free space on your machine or do you have more than 40 snaps installed?
[18:20] <sarnold> spacedust: run mount | grep /snaps/   and you'll see what it's got
[18:23] <spacedust> its complicated :) but thanks ill see what the best option is, was just a question :)
[18:37] <ioria> spacedust, i use popey  's script, if you're interested : https://termbin.com/jybl     (run with sudo)
[19:19] <irc_user> Hi, I'm running Ubuntu on Windows with WSL and trying to run yt-dlp, but I keep getting an error `No module named '_ctypes'` when running `yt-dlp`. Would anybody know of any potential solutions?
[19:21] <sarnold> irc_user: try sudo apt install libpython3-stdlib  and see if that helps
[19:36] <irc_user> sarnold: Thank you, seems like that was already installed
[19:37] <irc_user> This just happened randomly when I re-installed yt-dlp, but I tried installing quite a few versions and it's still not working.
[19:52] <sarnold> irc_user: heh, I did wonder how you would have been in the situation of that package not being installed .. but now I'm out of ideas :(
[19:52] <irc_user> All good, I'll just use stupid powershell :(
[19:52] <irc_user> Thank you!
[20:53] <jhutchins> Low level stuff that needs kernel modules or network config is unlikely to work on wsl.
[22:21] <RoyK> hi all. I have an HP EliteBook 725 G3 and I've setup Ubuntu 20.04.4 with it. Works well, but - if the screen blanks, it stays blank until I strike a key. Fine - but - then it keeps blanking the screen every 7 seconds or so for about 1 second and then going back non-blanked, which rather ruins my day. After logging out and hitting the login prompt, this behavour is still there
[22:23] <RoyK> it doesn't matter if I use xorg or wayland, which makes things even more 'interesting'
[22:27] <sarnold> ewww
[22:31] <RoyK> sarnold: fun, right?
[22:31] <RoyK> product: Wani [Radeon R5/R6/R7 Graphics]
[22:31] <genii> If you turn off dpms does it still do it?
[22:31] <RoyK> genii: how can I do that?
[22:32] <genii> RoyK: xset -dpms
[22:33] <RoyK> server does not have extension for /dpms option
[22:34] <RoyK> s/\//-/
[22:34] <genii> Weird
[22:35] <genii> oh, probably on Wayland right now
[22:35] <RoyK> yes
[22:35] <RoyK> ok - faded out now
[22:35] <RoyK> let's see
[22:36] <RoyK> 7 seconds, blip
[22:38] <RoyK> trying xorg with -dpms
[22:40] <RoyK> same thing
[22:42] <genii> Radeon drivers are sometimes flaky
[22:44] <RoyK> any idea if they are newer in 20.10, 21.04 or 21.10 for this particular gpu?
[22:45] <sarnold> the kernel portions might be newer; I'm less sure about the firmware blobs -- you could try an HWE kernel and see if that helps
[22:46] <sarnold> it'd be easier than upgrading the whole thing, anyway
[22:46] <RoyK> lemme check
[22:46] <sarnold> https://wiki.ubuntu.com/Kernel/LTSEnablementStack just in case :)
[22:46] <RoyK> 5.13.0-30-generic now
[22:47] <genii> I had before a Radeon which would always forget the EDID information of the monitor after screen blanking
[22:47] <enigma9o7[m]> https://wiki.ubuntu.com/Kernel/OEMKernel is slightly newer `sudo apt install linux-oem-20.04d`
[22:56] <RoyK> enigma9o7[m]: thanks - trying
[23:06] <RoyK> enigma9o7[m]: thanks - that worked - ish
[23:07] <genii> heh
[23:11] <RoyK> that is - after upgrading the kernel, and after blanking the screen once, I had this terminal running in the background and after 7-8 seconds, the cursor stops flashing
[23:11] <RoyK> everything else works, though
[23:11] <sarnold> that's still pretty weird
[23:12] <RoyK> better than 1S off 7S on
[23:12] <RoyK> as in the whole monitor