[02:00] <bblinky> Is this a decent place to ask questions about the 20.04 WSL2 image?
[02:02] <rbox> if you have an ubuntu question... you could i dunno... just ask here
[02:02] <KKate>  bblinky take it to #ubuntu
[02:03] <bblinky> lol, thanks... Just wanted to make sure, because sometimes people get a bit rude when it's a WSL question...
[02:04] <KKate> no lols allowed here, thanks
[02:05] <bblinky> Anyways... I would like to use weechat but for some reason it's not working on the ubuntu images, it's working on the unofficial arch image tho... The error I get is: "irc: reading data on socket: error 104 Connection reset by peer"
[02:05] <bblinky> KKate: kek's?
[03:21] <Sam134943> Hi there, I have an MSI Geforce 4060 Ti, i tried running ubuntu live from a usb and it loads but is all strange.... does ubuntu not support that card?
[03:22] <rbox> what do you mean all strange
[03:22] <Sam134943> glitchy and part of the screen is missing bottom right corner
[03:22] <Sam134943> like a driver issue?
[03:24] <rbox> you might need to install the nvidia driver
[03:37] <P1ro> Hi, in Ubuntu 22.04.3 im trying to set max open files, so far i have add it to: /etc/security/limits.conf, add session required to /etc/pam.d/common-session also fs.file-max = 2097152 to /etc/sysctl.conf, DefaultLimitNOFILE=65536 to /etc/systemd/system.conf and /etc/systemd/user.conf , but atfer restart ulimit -a shows default 1024, what else i can check ?
[04:38] <jmw> what's the equivalent to running dhclient to force-renew SLAAC IPv6 addresses?
[04:40] <rbox> enew?
[04:40] <rbox> renew*
[04:40] <jmw> yeah, how do I renew the SLAAC address and force the router advertisement stuff?
[04:41] <rbox> whats to renew
[04:43] <jmw> I flushed the old address with "ip -6 addr flush eth0" and want to get new autoconf addresses
[04:43] <rbox> you could link down adn link up
[04:44] <jmw> if I kill the link I'll lose the ssh connection to the host...
[04:46] <rbox> i dont think yo ucan force the router to do anythig
[04:46] <rbox> it just does its thing
[06:04] <Haris_> I have node v16.17.1, npm v8.15.0. I'm getting this error --> https://dpaste.com/7ASHD2JBX . this is on ubuntu focal (20.04 LTS)
[06:04] <Haris_> is this something OS related?
[08:05] <ransho1> https://dpaste.com/9C4W52SB9.txt
[08:05] <ransho1> pls help :(
[08:26] <edwin_> hi
[08:27] <edwin_> f4f4
[08:34] <dani_> español?
[08:35] <dani_> español?
[08:36] <guiverc> dani_, #ubuntu-es uses spanish (https://wiki.ubuntu.com/IRC/ChannelList)
[08:36] <dani_> thanks
[08:39] <ransho1> pls, someone see my dpaste above?
[08:59] <enoq> looking at https://www.youtube.com/watch?v=GMqAo_As1D0 this seems more like an issue with collaboration
[09:00] <enoq> canonical should probably get in touch with valve to improve it
[11:28] <pombreda> https://packages.ubuntu.com main page looks like it is down?
[12:00] <ueberall> Hi. Am I reading the man page wrong? Why is " apt-cache policy --no-all-versions debhelper " not working as advertised? (It does not matter where you try to position said option on the command line.)
[12:03] <ransho1> https://dpaste.com/9C4W52SB9.txt
[12:03] <ransho1> pls help :(
[12:46] <Haris_> do I need to adapt apparmor config for allowing npm to acces /tmp?
[12:47] <Haris_> much like selinux on centos
[12:48] <tupni> can't you just define a custom temp folder you've got rw access to, for it?
[12:48] <Haris_> I'm not sure which npm uses or where to configure it
[12:48] <Haris_> ..which folder+ npm uses..
[12:51] <tupni> Haris_: you're supposed to be able to specify a tmp folder : https://docs.npmjs.com/cli/v10/configuring-npm/folders/
[12:51] <tupni> Haris_: https://docs.npmjs.com/cli/v10/using-npm/config/#tmp
[12:52] <Haris_> when running npm as root, the only reason I can think of why it wouldn't be able to access /tmp .. is .. apparmor or selinux
[12:53] <tupni> or it notices it's executed by root and auto-constrains itself perhaps
[13:56] <BluesKaj> Hi all
[13:57] <leftyfb> Haris_: it sounds like you're just assuming apparmor is the cause of your issue?
[14:01] <tuxinator> Hi
[14:02] <tuxinator> So what is the "proper" standard way of adding search domains in to ubuntu 22.04 ? nmcli? netplan? resolveconf? There seems to be no clear docs on that
[14:02] <leftyfb> tuxinator: server or desktop?
[14:03] <tuxinator> leftyfb: Desktop
[14:04] <leftyfb> tuxinator: nm-connection-manager would be my go-to
[14:04] <leftyfb> tuxinator: actually, I would do this on my DHCP server (router)
[14:04] <tuxinator> on the cli
[14:04] <leftyfb> why?
[14:05] <tuxinator> i want to deploy it
[14:05] <tuxinator> multiple search domains seem to be unsupported by our dhcp
[14:05] <leftyfb> https://www.putorius.net/update-search-domains-on-red-hat-7.html#:~:text=Adding%20Search%20Domains%20via%20Command%20Line%20Using%20NMCLI
[14:06] <tuxinator> leftyfb: thats for redhat 7 and Ubuntu seems to use netplan isn't it
[14:07] <leftyfb> tuxinator: Ubuntu desktop uses Network Manager to manage network setting/profiles. It doesn't matter the distro, nmcli is the same
[14:11] <tuxinator> leftyfb: not fully true
[14:11] <tuxinator> https://ubuntu.com/blog/netplan-configuration-across-desktop-server-cloud-and-iot#:~:text=Netplan%20is%20the%20default%20tool,hand%20over%20control%20to%20NetworkManager.
[14:12] <tuxinator> beginning with 23.10 it changes
[14:13] <leftyfb> tuxinator: first, that's for 23.10 which you aren't running. 2nd, that only entails the files where the configurations get saved to. Network Manager and nmcli are still used to configure your network profiles from the GUI and command line.
[14:14] <leftyfb> yes, netplan is the backend. But NM is still the front-end
[14:47] <wwacko> if i give yall nerds a ip address can yu hack it?
[14:48] <tupni> wwacko: we don't do that stuff in here.
[14:49] <tupni> you gave us yours when you joined the channel, by the way.
[14:50] <wwacko> is that a threat
[14:50] <tupni> of course not
[14:51] <tupni> this channel is for Ubuntu support, wwacko.
[14:53] <leftyfb> wwacko: take it elsewhere
[16:42] <Mrpanda> hi everyone. my firefox was zapped and now wont start, tries then stops. is ther any way I can fix this ?
[16:46] <leftyfb> mrpond: what release of ubuntu? Define "zapped". How do you have Firefox installed?
[16:46] <leftyfb> :/    or not
[16:57] <tupni> sad ponda, leftyfb
[16:57] <tupni> some just want to do a burnout before they exit abruptly, sometimes
[16:58] <tupni> you tried to help
[17:38] <denisbr> Hi, Can I define init level for leve 3 ? without graphic ?
[17:39] <leftyfb> denisbr: without mentioning "init levels", what is exactly you're trying to accomplish?
[17:41] <rfm> denisbr, ubuntu doesn't really use init levels since it's systemd.  If you want to boot into console (non graphic) use "systemctl set-default multi-user.target"
[17:44] <denisbr> I need to boot on machine without graphic for some tests and sandbox play :-)
[17:45] <leftyfb> denisbr: ok, then follow rfm's instructions
[17:45] <denisbr> leftyfb: ok ... rfm thanks a lot
[19:03] <Toasty> I'm trying to get my head round how snaps impact my backups. The ~/snap folder seems to mix configuration data, program data and user data and some of the data seems to be duplicated repeatedly in numbered folders. Is there a good guide on what I need to back up that someone could please point me to?
[19:04] <leftyfb> Toasty: it's likely not duplicated but linked with symlinks across the different releases of the app
[19:05] <Toasty> leftyfb: I worry that if I do my backup incorrectly that I will end up backing up the duplicates.
[19:05] <leftyfb> Toasty: typically the confs are saved in ~/snap/<app name>/common
[19:05] <leftyfb> but I've seen sometimes where it's saved in ~/snap/<app name>/current/path/to/conf
[19:05] <Toasty> That's going to make for some intresting multilevel wildcards.
[19:06] <Toasty> Yuck! Why couldn't it separate program files and config?
[19:06] <Toasty> (To a different top level tree)
[19:06] <leftyfb> Toasty: I would look through the individual snaps and see if there's any you cae about that aren't saved in common. If not, then you only need to worry about backing up the common directories
[19:07] <Toasty> That would work, but it doesn't scale for any future snaps I install.
[19:08] <pragmaticenigma> Toasty: Snaps run differently from other applications. By default, they're only given access to their folders inside the ~/snap folder. A user has to grant permission for a snap deployed application to see the rest of the file system.
[19:08] <Toasty> The user data seems to be duplicated. I guess I should only back up the stuff under current, but that's going to be a nasty rule to write.
[19:08] <leftyfb> stick with common unless you notice config data being written to current
[19:08] <Toasty> pragmaticenigma: I can understand that, but I can't see why everything is mixed up in such a messy way.
[19:08] <leftyfb> and if the latter, maybe file a bug
[19:09] <pragmaticenigma> Toasty: "current" points to one of the revision folders. It's a sym link
[19:09] <Toasty> The revision folders are not symlinks though and hold duplicate data.
[19:09] <pragmaticenigma> that's so you can roll back an update
[19:10] <Toasty> There's user data there too though. I would normally want to roll back the app, not the work I've done in it.
[19:10] <pragmaticenigma> If you start with revision 1, then revision 2 comes along and breaks something. You only have to change the symlink current to point to revision 1
[19:10] <pragmaticenigma> Toasty: If there is user data in those folders, you should file a bug with the developer or maintainer of that snap. Snaps are supposed to only store user data in the common folder
[19:10] <Toasty> I'm looking at OBS.
[19:11] <leftyfb> Slack is one of the offenders
[19:12] <Toasty> Thing is, if it's not reliable, I'll have to re-do my backup scripts for every new app.
[19:13] <pragmaticenigma> Toasty: are you sure the data you're finding is user data? and not just auto config stuff that OBS generates on each load?
[19:13] <Toasty> These are large .mkv files.
[19:13] <Toasty> I'm sure snap could have separated out program data, config and user data at the top level with sub folders holding the versions as now. That would have enforced separation. I wonder why it wasn't done that way?
[19:15] <pragmaticenigma> Toasty: If it was me, I would only back up what's in `common` and `current` (being that current points to the currently active revision.)
[19:17] <Toasty> Thanks.
[19:18] <Toasty> I'm now wondering how many of my files are squirrelled away in odd directories.
[19:19] <Toasty> That and if it's really duplicating file, or if they are some sort of link that's not immediately obvious in a directory listing.
[19:19] <cleric> Is there something wrong with linux-hwe-6.5-headers-6.5.0-15? It's not listed on packages.ubuntu.com but I pulled that down earlier and dpkg failed to unpack it (just hung forever) causing quite an annoyance as I rolled back to -14. Just curious if anyone else has seen that
[19:19] <pragmaticenigma> most of what I suspect you are seeing is cache files from active sessions that aren't nicely being cleaned up
[19:20] <pragmaticenigma> Toasty: most of what I suspect you are seeing is cache files from active sessions that aren't nicely being cleaned up
[19:20] <leftyfb> not with Slack
[19:20] <Toasty> I'm not running OBS now and haven't for months.
[19:21] <pragmaticenigma> doesn't mean the program is a good stewards and cleans up everything on exit
[19:22] <leftyfb> pragmaticenigma: https://pastebin.ubuntu.com/p/Gfd6W24DXx/
[19:22] <leftyfb> the ~/snap/slack/common/.config is just cache. The actual configs are in common
[19:23] <Toasty> apt enforced separation of program data and everything else. Snap should also.
[19:24] <pragmaticenigma> Toasty: I'm not aware of apt having that feature... apt just installs and removes packages. The "proper" placement of things is completely up to the developer. Gaining admitance to a well known package repository might be the enforcement you're thinking of
[19:25] <Toasty> Apt installs the program files outside the user directory.
[19:26] <Toasty> I've found a game that's copying the game assets every time it's updates. Luckly they are only 350MB, but that's just daft.
[19:26] <Toasty> s/it's/it
[19:26] <pragmaticenigma> apt manages nothing. the packager decides where things goes
[19:27] <Toasty> Perhaps I've got the terminology wrong, but I don't see any packages that I've installed though apt or similar having the install files mixed up with the user data or config files.
[19:28] <pragmaticenigma> Toasty: MythTV would be one that does
[19:28] <Toasty> Except when they were installed as snaps.
[19:29] <Toasty> I've got a MythTV install somewhere. What stuff does it mix?
[19:31] <pragmaticenigma> It's really not important at the moment. The point is apt has nothing to do with where things are put. The developer/maintainer of the package makes those decisions. If it is Canonical supplied, their devs take the time to make sure the applications files are in the right place and the application works
[19:32] <Toasty> So you're saying that when I use ubuntu packages that are not snaps, everything o23
[19:32] <Toasty> works?
[19:33] <pragmaticenigma> That'd be impressive and there wouldn't be a need for launchpad for tracking bugs
[19:33] <arraybolt3> It's *intended to* work, how about that? :)
[19:33] <Toasty> :)
[19:35] <Toasty> Well, I didn't have this problem before. I'm just going though the being rather miffed at design decisions that don't make sense to me, because now I've got more work to do and if I get the details wrong I have a broken backup. I'll get over it.
[19:35] <pragmaticenigma> Toasty: If I'm trying to imply anything... is the quiet part of my opinion on snaps. That I personally do not like them, nor the direction they are going.
[19:39] <pragmaticenigma> Given a moment, Toasty ... I have a prime example of what I was talking about earlier with mythtv... but it's not myth... it's snaps. The fact that in a user's root folder is ~/snap when really, it should probably be located in ~/.local and/or ~/.config as appropriate for the need.
[19:39] <Toasty> That would be very useful.
[19:40] <Toasty> Perhaps with another non-hidden /snap/userdata/appname tree.
[19:43] <Toasty> I think I should be able to make an RSYNC reg expression for the excludes list that ignores snap directories  at the appropriate level which are made only of numbers.
[19:43] <Toasty> That way I should avoid lots of duplicates. I can then exclude any .cache directories.
[19:45] <Toasty> I still can't see a clean way of getting the user data without also getting the program files.
[19:45] <Toasty> Not without app specific code.
[19:47] <pragmaticenigma> are those program file plugins?
[19:47] <pragmaticenigma> I'm assuming you're saying that you're finding executable binary code or something
[19:48] <leftyfb> Toasty: I have 19 snaps installed and the common dir of all of them together is under 2GB
[19:49] <leftyfb> sorry, current
[19:49] <leftyfb> my common is out of control due to my personal settings and files
[19:50] <Toasty> Current does seem to mix user generated files and program data.
[19:51] <Toasty> Not without app specific code.
[19:51] <Toasty> Sorry, ignore that last post.
[19:52] <Toasty> My snap area is only 2.3GB, so it's a manageable problem for now, but more and more apps are becoming snaps. It will become more of an issue with time.
[19:53] <pragmaticenigma> I kind of feel that it's safe to make that be a future you problem instead of a today one
[19:54] <pragmaticenigma> If these were in flatpak world, I'm not sure we'd have this conversation, as I'm not sure how deep you'd would go looking for it's userspace files
[19:59] <pragmaticenigma> I should finish that thought... as I have a feeling things can be just as messy there too
[20:19] <tokam> Hi, is someone active here? I am having an issue to update zoom.
[20:19] <tokam> https://paste.ubuntu.com/p/BYFTTnTTHz/
[20:19] <tokam> https://paste.ubuntu.com/p/8Rnq6Gq3s6/
[20:21] <tokam> I think in the paste I once crashed my system. Usually on Ubuntu systems some package (what is it's name?) manages the creation of symlinks of libs so that they are in /lib/ and in /usr/lib and for some reason I had a lot of non-symlink libs which required some manual fixing. I guess the error I am facing now might be a left over from this trouble?
[20:21] <tokam> Can someone please show me the output of: ls -al /lib/i386-linux-gnu/ld-linux.so.2
[20:21] <leftyfb> tokam: what release of ubuntu is this?
[20:22] <tokam> Release:	22.04
[20:22] <jsmooth> I have installed Docker, but I"m not sure how to run it. I'm trying to use Laravel Sail which is a front-end to Docker.
[20:23] <leftyfb> tokam: remove the zoom package completely and install the snap package
[20:23] <leftyfb> jsmooth: I would suggest asking in #docker or reading some docker tutorials
[20:23] <tokam> Ok I will do it. Anyways, is there a command to show prevailing errors in apt and dpkg?
[20:24] <leftyfb> tokam: prevailing errors?
[20:24] <tokam> I mean version conflicts and errors that I have in my system
[20:24] <leftyfb> tokam: you get those errors when trying to install or update packages
[20:24] <tokam> for example I get an error displayed each for each apt operation regaring php8.1-cli
[20:25] <leftyfb> tokam: you don't go about manually messing with links. Remove the offending package completely and if it's a 3rd party application, you reach out to the vendor for support with it
[20:25] <tokam> I had some severe bug, in the past that left the system in state were a complete newinstall was justified and I had to manually fix things
[20:26] <leftyfb> tokam: we only try to troubleshoot existing issues here. Not ones you had in the past
[20:26] <leftyfb> tokam: remove zoom completely, see where your packages state lands from there
[20:27] <tokam> the snap tries to install now
[20:27] <tokam> think it will work
[20:27] <tokam> Could I see the output of: ls -al /lib/i386-linux-gnu/ld-linux.so.2 on a non broken system? And what is the package that handles symlinks for libs?
[20:28] <leftyfb> tokam: if you are messing with that file and it's out of place, you are doing very very bad things and unless you know what you are doing, re-install
[20:28] <leftyfb> it should not be a link
[20:29] <tokam> well for me it is not a link... so as I have zoom installed now we just ignore that for now I guess
[20:30] <leftyfb> ignore what?
[20:30] <tokam> symlink related errors from this pastebin https://paste.ubuntu.com/p/BYFTTnTTHz/
[20:30] <leftyfb> are you still getting those errors and if so, after running what command?
[20:31] <tokam> they occured after trying to install the downloaded zoom package from their website
[20:31] <leftyfb> tokam: are you still getting errors when you try to install an application using apt?
[20:32] <tokam> yes one second, I will create a pastebin
[20:32] <tokam> what is a correct locale for LANG? en_US and en did not work well
[20:33] <tokam> https://paste.ubuntu.com/p/qcdf525j8P/
[20:33] <tokam> those are my errors
[20:34] <leftyfb> tokam: apt-cache policy php-cgi php8.1 libxcb-cursor0 | nc termbin.com 9999
[20:35] <tokam> https://termbin.com/lhdu
[20:39] <leftyfb> tokam: try:  sudo dpkg-reconfigure php8.1-cli
[20:39] <tokam> /usr/sbin/dpkg-reconfigure: php8.1-cli ist kaputt oder nicht komplett installiert
[20:40] <tokam> /usr/sbin/dpkg-reconfigure: php8.1-cli is broken or not fully installed
[20:40] <leftyfb> maybe try removing and reinstalling it
[20:43] <tokam> well it means I uninstall many more packages
[20:43] <tokam> reinstalling the package is not enough?
[20:43] <leftyfb> you can try
[20:44] <tokam> I would lose: composer, jsonlint, php-apcu, php-cgi, php-gettext, php-json-schema, php-pear, php-php-gettext, php-xdebug and many more
[20:44] <tokam> E: Internal Error, No file name for php8.1-cgi:amd64
[20:44] <leftyfb> then just reinstall them
[20:45] <tokam> Can I get a list of what is removed along the way?
[20:45] <leftyfb> it will tell you
[20:45] <leftyfb> just like it already did
[20:46] <tokam> composer jsonlint php-apcu php-cgi php-cli php-gettext php-json-schema php-pear php-php-gettext php-xdebug php8.1-apcu php8.1-cgi php8.1-cli php8.1-phpdbg php8.1-xdebug phpliteadmin
[20:48] <tokam> https://paste.ubuntu.com/p/6hNBKXYHc6/
[20:48] <tokam> E: Sub-process /usr/bin/dpkg returned an error code (1)
[20:49] <tokam> same issue as before /usr/sbin/dpkg-reconfigure: php8.1-cli is broken or not fully installed
[20:49] <leftyfb> you have a big mess
[20:49] <tokam> do I?
[20:50] <tokam> I don't want to delete the 5.6 yet, I might have very old code that is not comptible with others
[20:50] <tokam> I uninstalled libapache2-mod-php temporarily to fix the issues
[20:51] <leftyfb> tokam: 5.6?
[20:51] <tokam> veeeeeeeeeeeeeeeeery old code :D
[20:51] <leftyfb> 5.6 of what package?
[20:52] <leftyfb> I would stick all this ancient, insecure and unsupported php development into an LXD container and not muck up your main workstation with it
[20:53] <leftyfb> or continue with your mess any not have the ability to update or install any new packages
[21:09] <tokam> leftyfb: so my old php version is the root of the problems?
[21:10] <leftyfb> tokam: that's where I'm leaning
[21:10] <leftyfb> can't help further, sorry. Got meetings for the rest of the evening
[21:14] <pragmaticenigma> tokam: typically mode code should port to the new version with small adjustments. If you follow the migration documentation for PHP and don't see anything mentioned under deprecated features from 5.6 on up to the latest, that would apply to your code, you should have little difficulty in using the latest PHP version with your code.
[21:14] <pragmaticenigma> https://www.php.net/manual/en/appendices.php
[21:14] <pragmaticenigma> tokam: oh, add "backward incompatible changes" to also check on that page for each version
[21:21] <shoreditch-samur> hi, does anyone else have the problem where the laptop is always on Power Saver mode and can't switch to a different mode from the GNOME panel? I'm on Ubuntu 23.10
[21:25] <pragmaticenigma> shoreditch-samur: a search result found this: https://askubuntu.com/questions/1448538/why-is-power-settings-not-working-in-ubuntu-22-04-why-dont-i-have-performance
[21:25] <pragmaticenigma> so yes, someone else has it
[21:25] <pragmaticenigma> or something similar to your problem
[21:27] <shoreditch-samur> thanks. I've seen this before but it doesn't have an actual solution. For me, even the powerprofilesctl doesn't switch the modes
[21:30] <pragmaticenigma> you could try changing from the command line using `powerprofilectl`
[21:31] <pragmaticenigma> it might provide more answers as to what prevents a change
[21:34] <shoreditch-samur> yes, doesn't do much - https://paste.opensuse.org/pastes/a63f6899e847
[21:35] <pragmaticenigma> more than likely because they both use the same conduit to sending the signa
[21:35] <pragmaticenigma> *signal
[21:37] <pragmaticenigma> shoreditch-samur: the only things that come to mind is to check if there is a setting in BIOS/UEFI settings that prevents the OS from making changes to power profiles. Or start monitoring logs when you toggle the switch to see if dmesg or syslogs emit any help error messages. Everything that I was able to search for points to same question, no one attempting to troubleshoot or post logs.
[21:39] <shoreditch-samur> alright thanks
[22:05] <JanC> shoreditch-samur: did you check temperatures also?