=== sfenik6 is now known as sfenik [02:00] Is this a decent place to ask questions about the 20.04 WSL2 image? [02:02] if you have an ubuntu question... you could i dunno... just ask here [02:02] bblinky take it to #ubuntu [02:03] lol, thanks... Just wanted to make sure, because sometimes people get a bit rude when it's a WSL question... [02:04] no lols allowed here, thanks [02:05] 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] KKate: kek's? === PasiZ2 is now known as PasiZ === chris14_ is now known as chris14 === stefix is now known as stefcc [03:21] 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] what do you mean all strange [03:22] glitchy and part of the screen is missing bottom right corner [03:22] like a driver issue? === stefix is now known as stefcc [03:24] you might need to install the nvidia driver === u_oopsa9 is now known as u_oopsa [03:37] 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 ? === stefcc is now known as Tes === Tes is now known as stefcc [04:38] what's the equivalent to running dhclient to force-renew SLAAC IPv6 addresses? [04:40] enew? [04:40] renew* [04:40] yeah, how do I renew the SLAAC address and force the router advertisement stuff? [04:41] whats to renew [04:43] I flushed the old address with "ip -6 addr flush eth0" and want to get new autoconf addresses [04:43] you could link down adn link up [04:44] if I kill the link I'll lose the ssh connection to the host... [04:46] i dont think yo ucan force the router to do anythig [04:46] it just does its thing === JanC_ is now known as JanC [06:04] 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] is this something OS related? === mwb_ is now known as tantricmagi [08:05] https://dpaste.com/9C4W52SB9.txt [08:05] pls help :( [08:26] hi [08:27] f4f4 [08:34] español? [08:35] español? [08:36] dani_, #ubuntu-es uses spanish (https://wiki.ubuntu.com/IRC/ChannelList) [08:36] thanks [08:39] pls, someone see my dpaste above? [08:59] looking at https://www.youtube.com/watch?v=GMqAo_As1D0 this seems more like an issue with collaboration [09:00] canonical should probably get in touch with valve to improve it [11:28] https://packages.ubuntu.com main page looks like it is down? [12:00] 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] https://dpaste.com/9C4W52SB9.txt [12:03] pls help :( [12:46] do I need to adapt apparmor config for allowing npm to acces /tmp? [12:47] much like selinux on centos [12:48] can't you just define a custom temp folder you've got rw access to, for it? [12:48] I'm not sure which npm uses or where to configure it [12:48] ..which folder+ npm uses.. [12:51] Haris_: you're supposed to be able to specify a tmp folder : https://docs.npmjs.com/cli/v10/configuring-npm/folders/ [12:51] Haris_: https://docs.npmjs.com/cli/v10/using-npm/config/#tmp [12:52] 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] or it notices it's executed by root and auto-constrains itself perhaps [13:56] Hi all [13:57] Haris_: it sounds like you're just assuming apparmor is the cause of your issue? [14:01] Hi [14:02] 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] tuxinator: server or desktop? [14:03] leftyfb: Desktop [14:04] tuxinator: nm-connection-manager would be my go-to [14:04] tuxinator: actually, I would do this on my DHCP server (router) [14:04] on the cli [14:04] why? [14:05] i want to deploy it [14:05] multiple search domains seem to be unsupported by our dhcp [14:05] https://www.putorius.net/update-search-domains-on-red-hat-7.html#:~:text=Adding%20Search%20Domains%20via%20Command%20Line%20Using%20NMCLI [14:06] leftyfb: thats for redhat 7 and Ubuntu seems to use netplan isn't it [14:07] tuxinator: Ubuntu desktop uses Network Manager to manage network setting/profiles. It doesn't matter the distro, nmcli is the same [14:11] leftyfb: not fully true [14:11] 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] beginning with 23.10 it changes [14:13] 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] yes, netplan is the backend. But NM is still the front-end [14:47] if i give yall nerds a ip address can yu hack it? [14:48] wwacko: we don't do that stuff in here. [14:49] you gave us yours when you joined the channel, by the way. [14:50] is that a threat [14:50] of course not [14:51] this channel is for Ubuntu support, wwacko. [14:53] wwacko: take it elsewhere === pushkarnk1 is now known as pushkarnk === u_oopsa2 is now known as u_oopsa [16:42] hi everyone. my firefox was zapped and now wont start, tries then stops. is ther any way I can fix this ? [16:46] mrpond: what release of ubuntu? Define "zapped". How do you have Firefox installed? [16:46] :/ or not [16:57] sad ponda, leftyfb [16:57] some just want to do a burnout before they exit abruptly, sometimes [16:58] you tried to help === pushkarnk1 is now known as pushkarnk [17:38] Hi, Can I define init level for leve 3 ? without graphic ? [17:39] denisbr: without mentioning "init levels", what is exactly you're trying to accomplish? [17:41] 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] I need to boot on machine without graphic for some tests and sandbox play :-) [17:45] denisbr: ok, then follow rfm's instructions [17:45] leftyfb: ok ... rfm thanks a lot === arif-ali_ is now known as arif-ali === runelind_ is now known as runelind === loller_ is now known as statesec [19:03] 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? === Dieu is now known as yuta [19:04] Toasty: it's likely not duplicated but linked with symlinks across the different releases of the app [19:05] leftyfb: I worry that if I do my backup incorrectly that I will end up backing up the duplicates. [19:05] Toasty: typically the confs are saved in ~/snap//common [19:05] but I've seen sometimes where it's saved in ~/snap//current/path/to/conf [19:05] That's going to make for some intresting multilevel wildcards. === tds9 is now known as tds [19:06] Yuck! Why couldn't it separate program files and config? [19:06] (To a different top level tree) [19:06] 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] That would work, but it doesn't scale for any future snaps I install. [19:08] 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] 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] stick with common unless you notice config data being written to current [19:08] pragmaticenigma: I can understand that, but I can't see why everything is mixed up in such a messy way. [19:08] and if the latter, maybe file a bug [19:09] Toasty: "current" points to one of the revision folders. It's a sym link [19:09] The revision folders are not symlinks though and hold duplicate data. [19:09] that's so you can roll back an update [19:10] 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] 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] 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] I'm looking at OBS. [19:11] Slack is one of the offenders [19:12] Thing is, if it's not reliable, I'll have to re-do my backup scripts for every new app. [19:13] 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] These are large .mkv files. [19:13] 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] 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] Thanks. [19:18] I'm now wondering how many of my files are squirrelled away in odd directories. [19:19] 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] 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] most of what I suspect you are seeing is cache files from active sessions that aren't nicely being cleaned up [19:20] Toasty: most of what I suspect you are seeing is cache files from active sessions that aren't nicely being cleaned up [19:20] not with Slack [19:20] I'm not running OBS now and haven't for months. [19:21] doesn't mean the program is a good stewards and cleans up everything on exit [19:22] pragmaticenigma: https://pastebin.ubuntu.com/p/Gfd6W24DXx/ [19:22] the ~/snap/slack/common/.config is just cache. The actual configs are in common [19:23] apt enforced separation of program data and everything else. Snap should also. [19:24] 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] Apt installs the program files outside the user directory. [19:26] 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] s/it's/it [19:26] apt manages nothing. the packager decides where things goes [19:27] 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] Toasty: MythTV would be one that does [19:28] Except when they were installed as snaps. [19:29] I've got a MythTV install somewhere. What stuff does it mix? [19:31] 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] So you're saying that when I use ubuntu packages that are not snaps, everything o23 [19:32] works? [19:33] That'd be impressive and there wouldn't be a need for launchpad for tracking bugs [19:33] It's *intended to* work, how about that? :) [19:33] :) [19:35] 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] 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] 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] That would be very useful. [19:40] Perhaps with another non-hidden /snap/userdata/appname tree. [19:43] 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] That way I should avoid lots of duplicates. I can then exclude any .cache directories. [19:45] I still can't see a clean way of getting the user data without also getting the program files. [19:45] Not without app specific code. [19:47] are those program file plugins? [19:47] I'm assuming you're saying that you're finding executable binary code or something [19:48] Toasty: I have 19 snaps installed and the common dir of all of them together is under 2GB [19:49] sorry, current [19:49] my common is out of control due to my personal settings and files [19:50] Current does seem to mix user generated files and program data. [19:51] Not without app specific code. [19:51] Sorry, ignore that last post. [19:52] 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] I kind of feel that it's safe to make that be a future you problem instead of a today one [19:54] 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] I should finish that thought... as I have a feeling things can be just as messy there too === PeGaSuS_ is now known as PeGaSuS === boswandeling3 is now known as boswandeling [20:19] Hi, is someone active here? I am having an issue to update zoom. [20:19] https://paste.ubuntu.com/p/BYFTTnTTHz/ [20:19] https://paste.ubuntu.com/p/8Rnq6Gq3s6/ [20:21] 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] Can someone please show me the output of: ls -al /lib/i386-linux-gnu/ld-linux.so.2 [20:21] tokam: what release of ubuntu is this? [20:22] Release: 22.04 [20:22] 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] tokam: remove the zoom package completely and install the snap package [20:23] jsmooth: I would suggest asking in #docker or reading some docker tutorials [20:23] Ok I will do it. Anyways, is there a command to show prevailing errors in apt and dpkg? [20:24] tokam: prevailing errors? [20:24] I mean version conflicts and errors that I have in my system [20:24] tokam: you get those errors when trying to install or update packages [20:24] for example I get an error displayed each for each apt operation regaring php8.1-cli [20:25] 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] 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] tokam: we only try to troubleshoot existing issues here. Not ones you had in the past [20:26] tokam: remove zoom completely, see where your packages state lands from there [20:27] the snap tries to install now [20:27] think it will work [20:27] 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] 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] it should not be a link [20:29] 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] ignore what? [20:30] symlink related errors from this pastebin https://paste.ubuntu.com/p/BYFTTnTTHz/ [20:30] are you still getting those errors and if so, after running what command? [20:31] they occured after trying to install the downloaded zoom package from their website [20:31] tokam: are you still getting errors when you try to install an application using apt? [20:32] yes one second, I will create a pastebin [20:32] what is a correct locale for LANG? en_US and en did not work well [20:33] https://paste.ubuntu.com/p/qcdf525j8P/ [20:33] those are my errors [20:34] tokam: apt-cache policy php-cgi php8.1 libxcb-cursor0 | nc termbin.com 9999 [20:35] https://termbin.com/lhdu [20:39] tokam: try: sudo dpkg-reconfigure php8.1-cli [20:39] /usr/sbin/dpkg-reconfigure: php8.1-cli ist kaputt oder nicht komplett installiert [20:40] /usr/sbin/dpkg-reconfigure: php8.1-cli is broken or not fully installed [20:40] maybe try removing and reinstalling it [20:43] well it means I uninstall many more packages [20:43] reinstalling the package is not enough? [20:43] you can try [20:44] 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] E: Internal Error, No file name for php8.1-cgi:amd64 [20:44] then just reinstall them [20:45] Can I get a list of what is removed along the way? [20:45] it will tell you [20:45] just like it already did [20:46] 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] https://paste.ubuntu.com/p/6hNBKXYHc6/ [20:48] E: Sub-process /usr/bin/dpkg returned an error code (1) [20:49] same issue as before /usr/sbin/dpkg-reconfigure: php8.1-cli is broken or not fully installed [20:49] you have a big mess [20:49] do I? [20:50] I don't want to delete the 5.6 yet, I might have very old code that is not comptible with others [20:50] I uninstalled libapache2-mod-php temporarily to fix the issues [20:51] tokam: 5.6? [20:51] veeeeeeeeeeeeeeeeery old code :D [20:51] 5.6 of what package? [20:52] 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] or continue with your mess any not have the ability to update or install any new packages [21:09] leftyfb: so my old php version is the root of the problems? [21:10] tokam: that's where I'm leaning [21:10] can't help further, sorry. Got meetings for the rest of the evening [21:14] 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] https://www.php.net/manual/en/appendices.php [21:14] tokam: oh, add "backward incompatible changes" to also check on that page for each version [21:21] 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 === ecdhe_ is now known as ecdhe [21:25] 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] so yes, someone else has it [21:25] or something similar to your problem [21:27] 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] you could try changing from the command line using `powerprofilectl` [21:31] it might provide more answers as to what prevents a change [21:34] yes, doesn't do much - https://paste.opensuse.org/pastes/a63f6899e847 [21:35] more than likely because they both use the same conduit to sending the signa [21:35] *signal [21:37] 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] alright thanks [22:05] shoreditch-samur: did you check temperatures also? === user03 is now known as gchound