[00:37] hi all === guiverc2 is now known as guiverc === l33t-h4x0r is now known as oldmemory [00:58] hey l334 [01:54] hello I am not able to update my software because the key for weechat is missing [01:54] it's not signed or something any ideas? [01:55] paul2: ( cat /etc/os-release sudo apt update ; sudo apt full-upgrade ) | nc termbin.com 9999 [01:56] or not [01:58] Fri 02 01:55:59 < leftyfb> paul2: ( cat /etc/os-release sudo apt update ; sudo apt full-upgrade ) | nc termbin.com 9999 [01:58] paul3: ( cat /etc/os-release sudo apt update ; sudo apt full-upgrade ) | nc termbin.com 9999 [02:02] Hola [02:03] https://bsd.to/6gRn sudo apt update [02:04] you need to update the gpg key for that repo [02:04] paul3: even though you did not provide the data I asked for, this time I'll help you. Remove the 3rd party weechat repository [02:06] or try: gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv D1820DB22A11534E ; gpg --export --armor D1820DB22A11534E | sudo apt-key add - [02:07] https://bsd.to/mFrE full upgrade [02:09] paul3: can you tell me which feature/bug from here since 3.5 that is forcing you to use the 3rd party weechat repository? https://weechat.org/files/releasenotes/ReleaseNotes-devel.html [02:10] from what I can tell, there really aren't any changes the average user should care about [02:11] I had no idea [02:11] paul3: then remove the repo, remove weechat and reinstall weechat from the official ubuntu repos [02:12] it wasn't that easy when I first tried I couldn't find it [02:12] then I did something but there's a lot of weechat packages installed [02:12] how do I remove the weechat that is problematic? [02:12] paul3: step#1: remove the weechat repo you added. [02:13] I don't remember how I added it [02:13] sudo apt remove weecht is good? [02:13] paul3: look in /etc/apt/sources.list.d/ [02:13] paul3: sudo rm /etc/apt/sources.list.d/weechat.list [02:14] sudo apt remove weechat* ; sudo apt update ; sudo apt clean ; sudo apt install weechat [02:16] thank you leftyfb [02:16] it works good [02:16] I love it, ubuntu saved my computer [02:17] thank you for your help it appears good now [02:18] going to poweroff this is the first time I think I have run any operating system on my own computer that is not windows on bare metal :) [02:18] and it literally made this computer awesome [02:18] from garbage [02:19] have a good weekend and later [02:19] peace [02:19] bye paul3 :) [02:19] !cookie leftyfb [02:20] leftyfb: okay I don't know how to get the bot to hand out cookies os just pretend I do :) [02:20] A cappy hustomer! [02:20] !cookie | leftyfb [02:20] leftyfb: Wow! You're such a great helper, you deserve a cookie! [02:21] yay Bashing-om remembers :) === chris15 is now known as chris14 [03:19] I'd like to be able to reload/restart Apache2 on Ubuntu. Apache2 and Ubuntu are fully current. No error log has any report. I had some discussion with #httpd; they asked me to come here for initial help. [03:19] They're most interested in me figuring out how to define environment variables first. Those not working are in "/etc/apache2/envvars". Examples: ${APACHE_CONFDIR##/etc/apache2-}, ${APACHE_CONFDIR}, and ${APACHE_RUN_DIR}. === realivanjx8 is now known as realivanjx [03:27] EagleOwl28: my guess is that /etc/apache2/envvars is either a feature of apache's init script or apache's default configuration file layout [03:27] EagleOwl28: ubuntu uses a systemd service file to start apache, so an init script sourcing that file wouldn't be used on ubuntu; and the debian and ubuntu packages have a different apache configuration that might not load that file, if it were loaded by the config [03:29] EagleOwl28: try systemctl edit apache2 and add Environment= lines under a [Service] heading and see if that does the trick? https://serverfault.com/a/413408 [03:29] Yes to the function of envvars. Yes to systemd. Working the next ... [03:34] hrmph. does anyone know off the top of their head how to disable this thing? https://paste.debian.net/1262590/ [03:34] I know I've seen instructions somewhere but can't remember where :( [03:39] looks like something from systemd [03:40] sarnold are you seeing this now? [03:40] sarnold: With "systemctl edit apache2" is your intent to edit the master config file for Apache? That would be "/etc/apache2/apache2.conf"; I can edit that. [03:40] The default version of that file has no headings like "[Service]"; would I turn the rest of the file after that into something it isn't now? [03:40] Do you want strictly an "Environment=" line or do you want something on the right? [03:41] EagleOwl28: no, the idea behind systemctl edit apache2 is to edit the apache2.service file that systemd loads -- that's how you assign environment variables to services launched by systemd [03:41] EagleOwl28: except you don't want to edit the apache2.service file directly; you instead just want to edit one of the 'drop-in' files [03:42] tech10171968: that message comes from the new needrestart package [03:43] Thanks. "systemctl edit apache2" results in "Failed to create directories for "/etc/systemd/system/apache2.service.d/override.conf": Permission denied" [03:43] Maybe "sudo systemctl edit apache2"? [03:44] EagleOwl28: yeah, try that [03:46] That file has, "Environment=APACHE_STARTED_BY_SYSTEMD=true" [03:47] It's after a "[Service]" header. === blazinglight is now known as oldmemory-31337 === blazinglight is now known as h4x0r [03:57] sarnold: I'm learning lots at the ServerFault link you sent. All good. I'll have to work it more tomorrow. Thx. [03:57] do you guys want ai ubuntu ? [03:58] how about yum or dnf source code [03:58] to be plug to ubuntu ? [03:58] won't it be so nice [03:59] have fun coding it [03:59] EagleOwl28: cool cool :) I wouldn't expect the Environment=APACHE_STARTED_BY_SYSTEMD=true bit to be in the file you get from sudo systemctl edit apache2 -- are you editing the service file directly? or did I make a mistake somewhere? hehe [04:00] do you love linux so much ? [04:00] do you want anti virus son [04:00] i will release it here [04:01] https://www.comodo.com/ [04:01] have fun [04:01] buy it guys [04:03] hah, someone's saved me the trouble of figuring out how to reply to him :) very handy [04:05] was that guy on drugs? [04:07] sarnold: No opinion on making an error.:] Usually me. (Sigh) "sudo systemctl edit apache2" resulted in a colorful screen seemingly displaying information about starting Apache. Maybe the full file was around 25 lines long. [04:13] EagleOwl28: hmmm. weird :/ I don't have apache installed, but when I try on eg audit, vim starts up with a blank file: /etc/systemd/system/auditd.service.d/.#override.conf4d4d9dda1d385b43 [04:18] sarnold: So much to learn and understand. Thanks for helping. [04:19] EagleOwl28: I feel that *every time* I touch systemd :) [04:19] EagleOwl28: I'm off for the night, good luck, have fun :) [04:20] sarnold: pretty sure that's needrestart [04:20] murmel: I tried changing /etc/needrestart/needrestart.conf to have $nrconf{restart} = 'l'; [04:20] I hope that does it [04:21] I wish this thing had a more clear SHUT IT UP section :) hehe === anti-kline is now known as kline-test [04:25] sarnold: yeah I would have liked debian/ubuntu to be less interactive :S [04:28] * researcher- wipe the whole .log kill -rehash solanium reload conifg wihout reboot that's all ... . i am out find me at https://facebook.com/skraito.0day or http://worldhacker.org for research ... . is up to you privacy or not privacy ... . if even someone like me use it , like you know what is privacy ... . [04:28] Error: You don't have the #ubuntu,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified. [04:32] sarnold: Ah, I know who that is. [04:33] Anyway, offtopic. [04:37] i seem to have gotten my ubuntu installation (22.04) into a state where it tries to upgrade to gcc-12 every time i try to install other packages. the problem is, gcc-12 causes all sorts of problems for some applications i'm developing [04:37] is there a way to reconfigure the package manager to be satisfied with the existing gcc-11 installation? [04:43] !info gcc-12 jammy | andjjj23 [04:43] andjjj23: gcc-12 (12.1.0-2ubuntu1~22.04, jammy): GNU C compiler. In component universe, is optional. Built by gcc-12. Size 71,347 kB / 227,582 kB [04:57] sorry, i'll be more specific [04:59] in /var/lib/dpkg/status, if i look under "Package: dkms" the dependencies line is like this: [04:59] Depends: kmod | kldutils, gcc, gcc-12, dpkg-dev, make | build-essential, coreutils (>= 7.4), patch, dctrl-tools [04:59] on a different ubuntu 22.04 machine, the depends line is like this: [04:59] Depends: kmod | kldutils, gcc | c-compiler, dpkg-dev, make | build-essential, coreutils (>= 7.4), patch, dctrl-tools [05:00] why does one of these require gcc-12, whereas the other only requires gcc? Is there a formal/official way I can change dependencies that are like 'gcc-12' to be just 'gcc'? [05:01] and just to clarify: these are both ubuntu 22.04 systems. One has the 'Depends:' line with gcc-12 for many packages, whereas the other has just 'gcc' [05:03] andjjj23: Both gcc and gcc-12 are optional to install, see ' apt show gcc gcc-12 ' . [05:05] yeah, i understand that gcc-12 is optional, but 'gcc-12' is showing up in the 'Depends: ...' line of many packages listed in /var/lib/dpkg/status [05:06] and that is causing commands like 'apt install dkms' (and many others) to attempt to install gcc-12 when i don't want to install gcc-12 [05:08] so i'm trying to understand why these packages have (incorrectly, i suppose) become dependent upon the gcc-12 package, whereas they should only be dependent upon the general 'gcc' package [05:09] andjjj23: Do you have third-party repos enabled on one of the systems? [05:09] * arraybolt3 checks the official Ubuntu repos [05:10] andjjj23: Oh. I see that the package changed to depend on gcc-12. [05:10] yeah :( [05:11] it started happening due to a recent ubuntu update of some kind [05:11] andjjj23: So just having gcc-12 present is messing things up, even though you can have gcc-11 installed at the same time? [05:11] I wonder if update-alternatives would be of any help here. [05:11] yeah, all kinds of header file errors started happening when gcc-12 got installed on the system. it seems to not play nice with clang being on the same system, which i use [05:11] so i uninstalled gcc-12, but now the dependency issue started happening.. [05:12] andjjj23: Weird. The presence of unrelated software like that shouldn't be able to cause problems. [05:12] Are you able to set any environment variables to rectify the problem? Like `export CXX="/usr/bin/clang"` (or whatever)? [05:12] (I don't use clang so I don't know what the actual binary name is but you get the idea.) [05:13] perhaps. i believe clang uses some of the same standard c++ header files that are installed by gcc/g++ packages, and these newer header files are not kosher in some way [05:13] i'm sure there's some solution for that, but i'd really like to just find a way to revert the system back to a state where it doesn't want all the packages to depend on gcc-12 [05:14] If gcc and clang had the same files, they shouldn't be able to be installed at the same time. [05:14] and get back to work :D [05:15] andjjj23: Sadly, trying to remove the dependencies on gcc-12 isn't an option. If it's more than just dkms that depends on it, removing the dependency would require an unimaginable amount of work on your end. And on Ubuntu's end, it's even more difficult to undo that. Working around the existing situation is going to be the easiest way to fix it, most likely. [05:16] Some possibilities I can think off of the top of my head: Perhaps your software is designed to look for header files in generic locations, and that's how gcc is able to provide files that override clang? If that's the case, maybe you can modify the header lines to be more specific. Or perhaps your software is accidentally trying to build with gcc rather than clang? [05:19] i suspect clang is configured to look for header files in generic locations, yes [05:19] andjjj23: Hey look what I found! https://askubuntu.com/questions/1441844/todays-ubuntu-22-04-updates-seem-to-break-clang-compiler Someone else had the exact same problem and was able to fix it by installing one extra package. [05:19] andjjj23: sudo apt install g++-12 [05:20] (Yes, that's installing yet *more* gcc-12 stuff into the system, but supposedly that fixes the problem and clang works again after that.) [05:21] and the clang ok yeah, we actually tried that... [05:21] andjjj23: And there's another solution here: https://stackoverflow.com/questions/74543715/usr-bin-ld-cannot-find-lstdc-no-such-file-or-directory-on-running-flutte/74605488#74605488 [05:21] unfortunately we were still haven't trouble [05:24] but ok thanks, it's good to know that gcc-12 requirement isn't some anomaly [05:24] i'd thought that maybe it was [05:25] Sorry. I can imagine that this would be frustrating. Seems like the world of compilers has no mercy when it comes to progress :( I've been snagged by compiler messes before, it's not fun. [05:25] yeah :( [05:26] boils down to that we'll have to either update our code or jump though some hoops with --gcc-toolchain or even a docker container or something [05:29] Does anyone on know how I can get the legacy.dll installed on my linux subsystem within Windows?  I have a requirement to generate a .pfx file using the DES3 cipher and I understand the -legacy option is the only way to do it.  I can't find which lib file it is in. [05:37] webchat62: What are you trying to do? Forgive my ignorance, but I have no idea what you just said. :P [05:38] Like I can see what a .pfx file is, and I think I know what DES3 is, but I don't think you're supposed to install a .dll file *into* WSL. [05:39] Is there a particular error message you get when trying to run a command? [05:44] i am using openssl command to combine a key file and an updated certificate to generate a private key certificate and the azure web app requires the DES3 encryption, which is no longer the default.  The legacy option automatically uses DES3, but I have to include an option -path-provider and the path to the legacy.dll [05:45] I hoped the libssl-dev install would add it, but I still can't find it anywhere === yamato is now known as Guest9194 === guiverc2 is now known as guiverc [08:14] hi, after upgrade to jammy from previous lts, my lxc containers do not resolve hostnames, any tips? I use lxbro veth [08:19] zprd: do you have a firewall active [08:19] ? [08:22] yes [08:22] on the host [08:22] zprd: yes, did you make sure that the traffic gets redirected? [08:22] especially with firewalld you need to add the veth to a zone [08:23] I use uwf [08:23] ufw [08:23] sorry, can't say too much about ufw, as I don't have experience with it [08:24] ok no worries. what do you mean by putting veth in a zone? [08:24] zprd: at least with firewalld you need to "configure" the veth before traffic can get passed through [08:24] I have no experience with firewalld [08:25] otherwise the firewall doesn't know what to do with all the packets ;) [08:26] hum ok [08:26] Ill have a look [08:26] so this was introduced in this lts? [08:28] zprd: no, but maybe something went wrong with the configuration when installing the new packages [08:28] morning. what is this? -> panel-8-docklik[119719]: segfault at 16 ip 00007f7749f6e3f3 sp 00007fff99ac01c0 error 4 in libdocklike.so[7f7749f5b000+17000] [08:40] dreamon, it's a busted binary somewhere. I'd back up any data I cared about, wipe and reinstall. [08:41] dreamon, the alternaive is to do apt-file on libdoclike, reinstall that package, etc. [08:47] at least that file is not in the official repos [08:55] murmel: I can ping thoug [08:57] zprd: can you "sudo nft list ruleset | nc termbin.com 9999" and post the link? [08:57] but disabling firewall make it work, so you're probably right [09:09] murmel: https://termbin.com/ba9h [09:11] zprd: found the culprit. docker doesn't support nftables, and the rule it adds to the firewall breaks lxd. but can't remember how to fix it [09:11] hum thx [09:17] murmel: I allowed in on lxcbr0 on port 53, and it works [09:17] thanks for pointers [09:17] Docker iptables rules are abominable. That said, with update-alternatives, you can choose iptables-legacy. [09:17] zprd: glad you found the fix [09:18] or just don't use docker *shrug* xD [09:18] I need both :) [09:18] at least for me, podman for life :) [09:18] (and lxd) [09:18] lxd... [09:19] that makes my searches diffcult [09:19] lxc from lxd vs lxc from lxc [09:19] yeah I also hate this :X [09:20] anyways I need to make all work for debian too so it's gonna be lxc for a while [09:20] not a question for ubuntu exactly but murmel zprd : worth getting a certificate for docker? [09:20] Oo no [09:20] only ever get certs, when a job you want require it [09:21] otherwise learn for yourself [09:21] * bG9s nods. [09:21] ok [09:21] one bit i'm a little puzzled about regarding the gcc11 -> gcc-12 switch. Any idea why the change was done in the middle of an LTS? seems 22.04 started out with gcc-11, then later a bunch of packages were made to depend upon gcc-12. it just seems an odd choice for an LTS release. i'd expect that sort of thing in 22.10 or the like... [09:22] andjjj23: I have 22.04 and no dev tools, no gcc-12 anywhere. so seems like something slipped maybe while packaging software [09:23] for example, I don't use dkms (as earlier pointed out, which pulls in gcc-12 for some reason) [09:24] hm, maybe it's part of using hwe or something [09:24] i use hwe? [09:24] no, but i do :D [09:25] eh, sorry, I wanted to say hwe on desktop is default, that's why I use it ;) [09:25] but I still believe that it's a bug [09:25] ooh, ok [09:25] yeah, not sure then [09:25] there's probably an issue on launchpad or a commit somewhere that explains this decision, it's just a matter of tracking it down [09:26] i feel like ideally LTSes could stick with a particular gcc major version as a dep for fairly important packages like dkms [09:26] so the decision was probably (hopefully) not made lightly [09:27] andjjj23: seems like here is a better explanation https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1997841 [09:27] -ubottu:#ubuntu- Launchpad bug 1997841 in dkms (Ubuntu Lunar) "More dkms fixes for exact cc compiler" [Undecided, New] [09:28] andjjj23: I would suggest adding yourself to affected, and follow that a bit [09:29] yep, thanks === yamato is now known as YamatoHD [10:19] Hi Folks I have accidently messed up the css, when I search on a app by super button then I cant see the results because I applied a bad css how can I reset that_ I tried ❯ d conf reset -f /org/gnome/ Please help me out === alocer1 is now known as alocer [10:25] hkyi [10:27] hello [11:05] Hi, how could i make my uefi ubuntu to legacy [11:14] marcopolo1_: probably by setting it to legacy in the BIOS of your computer and reinstall Ubuntu [11:18] @Maik: so i boot the dd on legacy? Will it let me? [11:19] marcopolo1_: There is another way but you will need a bios_grub partition and to reinstall grub [11:21] I might just stick to uefi, apparantly its better [11:21] At least what im reading online [11:30] opps sorry [12:01] hi! anyone know how I get rid of this? https://imgur.com/a/P28PphM seems I clicked on a bad link , thanks [12:02] I am running Ubntu 22.04 Gnome --- on a laptop - with thunderbolt - where I connected my adaptor to hdmi screen ---- also I have a bluetooth headset - strangely enough all was working until few days ago - now the blutooth headset does not work if I have the hdmi pluged in ----- in the Settings Audio - I can chose the bluetooth headseat - but I cant hear the music - only the system sounds [12:03] for some reason xkill cant even detect it as a dialog box/window [12:03] How do you get malware on a Linux machine? You have to be the unluckiest guy alive or going down some really dirty sites. I've never seen it before [12:03] non of the buttons do anything nor the close [12:03] transhumanist_: what's the program you see that popup? [12:04] was searching for heat exchangers [12:04] transhumanist_, https://www.howtoforge.com/tutorial/clamav-ubuntu/ [12:04] dont see any program [12:04] I thought it was part of chrome but its not [12:04] acu tried that, doesnt find it [12:05] I dont think is installed in your computer - is just a trick on their web [12:05] well, actually I was looking for research ON heat exchangers [12:05] to make sure clear the cache from your browser [12:06] interesting, so a reboot will clear it [12:06] browse usually in icongnito [12:06] also - install brave browser [12:06] one.mountainbender.xyz? [12:06] is the most secrea [12:07] anyone has an ideead why settings in sound does not allow change [12:07] ok I can delete my chrome directory .config directory too and reestablish my connection with google if you think that might clear it [12:07] from bluetooh [12:08] transhumanist_, well - if you downloaded the xyz file --- find it and delete it [12:08] and use brave ---- is pretty good safe browser [12:12] sudo dpkg-query -L firefox (or whatever app you installed) [12:21] guess we will se what find / -type f -exec grep "*.xyz" {} /dev/null \; finds [12:56] how to downgrade from 22.04 lts to 20.04 lts on my server [12:56] good day [12:56] downgrading is not supported on ubuntu Guest19 [12:57] okay [12:57] Guest19: best to start fresh, or fix your issue on current release [12:57] maybe if you share what the issue is, volunteers can give you advice here Guest19 [12:58] but my system always sleep and suspend for a long time [12:58] any link to fix that [12:59] can you elaborate a bit more of what exactly happens when you did what, perhaps also share your dmesg in a !paste Guest19 [13:00] !paste Guest19 [13:00] :< [13:00] !paste | Guest19 [13:00] Guest19: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [13:04] whenever i am working on my machine the server always sleep and suspend for a while without showing the gui but the uid will  function [13:50] Hi all === alocer1 is now known as alocer [14:36] Hi again BluesKaj [14:39] hey SteelRose....again === beaver is now known as pong [14:59] I'd like to be able to reload/restart Apache2 on Ubuntu. Apache2 and Ubuntu are fully current. No error log has any report. I had some discussion with #httpd; they asked me to come here for initial help, particularly with environment variables. Also, there was some discussion about 12 hours ago. [14:59] One of the obstacles is that environment variables aren't getting defined. They're in "/etc/apache2/envvars". Examples: ${APACHE_CONFDIR##/etc/apache2-}, ${APACHE_CONFDIR}, and ${APACHE_RUN_DIR}. [15:01] EagleOwl: sarnold already helped you on that case this morning? [15:01] EagleOwl: you might be better off in #ubuntu-server [15:02] EagleOwl: might be good to also mention the previous things you tryed with the help of earlier volunteers [15:07] @lotuspsychje: sarnold did his best to help. He pointed me to "systemctl edit apache2", which seemed to depend on a systems solution parallel to /etc/apache2/envvars. Perhaps the solution will be more internal to Apache? [15:08] systems => systemd [15:08] tnx EagleOwl perhaps also try what leftyfb adviced, with our more experts on ubuntu server [15:09] Thanks for your time! === miguelpires is now known as mpires [15:23] I have a session on the machine with vlc open, how do I make xrdp call this session with vlc? [15:36] hi I am trying to enable sshd server [15:36] any idea how to do it? [15:37] I actually want to transfer a file from my ipad to my computer [15:38] paul3: https://i.imgur.com/HpMMV0c.png [15:40] paul3: sudo apt install ssh [15:42] thank you ravage [15:43] leftyfb : ssh not available [15:43] paul3: then you aren't running a supported version of ubunut [15:43] ubuntu* [15:44] how do I fix that? [15:44] or you have a broken system [15:44] paul3: ( uname -a ; cat /etc/os-release ; cat /etc/apt/sources.list ) | nc termbin.com 9999 [15:44] please run that and paste the URL here [15:48] https://termbin.com/bvy0h [15:48] paul3: ls -l /etc/apt/sources.list [15:48] does that exist? [15:49] yes [15:50] how big is it? [15:51] paul3: ls -lh /etc/apt/sources.list |awk '{print $5}' [15:52] 0 [15:52] leftyfb 0 [15:53] W [15:53] paul3: sudo curl -s https://termbin.com/e827 -o /etc/apt/sources.list [15:53] paul3: then: sudo apt update && sudo apt full-upgrade [15:53] W [15:53] nig [15:53] Yo how r i [15:54] rollappuser1: can we help you with something? [15:54] yes [15:54] bruh: can we help you with something? [15:54] I need elp to config flatpak [15:54] bruh [15:54] rollappuser1: flatpak isn't supported here [15:54] bruh: please only use 1 nick at a time. No need to be here twice [15:55] Oh, then where can I find help with flatpak? [15:55] rollappuser1: maybe try #linux [15:55] thnx [15:56] thanks leftyfb just running it now [16:10] Hi everyone - I recently updated to 22.04 and now one of my drives is mounted, but you can't click folders in it to open in Files. You have to right click and select Open [16:10] Not sure what I did, but does anyone know how to fix? [16:11] wait I lied - it's all folders in all the drives not just one [16:14] Ok nevermind, I feel silly now: apparently I had "double click delay" set all the way to nothing in the accessibility settings [16:21] while using a system account to run a program can I still setup an environment or should I manually call "env FOO=bar myprogram"? [16:22] case in point I am moving a program someone put into root's crontab to a system account, the program calls `dotnet something.dll` and https://learn.microsoft.com/en-us/dotnet/core/install/linux-snap#export-the-install-location says I should export DOTNET_ROOT [16:22] I wonder if I should setup the system account or not [16:22] since it's a nologin, I wonder if a profile rc get sourced at all [16:23] anddam: https://flatcar-linux.org/docs/latest/setup/systemd/environment-variables/ [16:28] hrmm through systemd, is there a "systemd proper way" to schedule task as in crontab? [16:28] I mean I need to replicate the current crontab behavior [16:28] oh, wait, I guess crontab is being run as service [16:28] anddam: yes, systemd timers [16:29] anddam: systemd timers is the new way of doing crons [16:29] yeah, I am reading arch's wiki [16:30] (my default goto for stuff IDKY) [16:30] when I write a custom unit say for two timers, where should I place the unit files? [16:30] or is there an interface to register unit files into systemd regardless of their path on fs? [16:31] anddam: technically you can keep them wherever you like. But I put mine in /etc/systemd/system/ [16:31] there is [16:31] sorry for the newbie question, but I have ditched systemd a couple years ago so I am not used to do even the basic tasks [16:31] anddam: https://www.golinuxcloud.com/beginners-guide-systemd-tutorial-linux/ [16:32] anddam: https://www.golinuxcloud.com/beginners-guide-systemd-tutorial-linux/ [16:32] anddam: https://www.golinuxcloud.com/beginners-guide-systemd-tutorial-linux/ [16:32] wtf [16:32] anddam: https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files [16:32] thank you [16:32] anddam: https://www.thegeekdiary.com/centos-rhel-7-beginners-guide-to-systemd-service-units/ [16:33] leftyfb: the first (two) links(s) seemed fine as well [16:33] I guess it goes in "Local configuration" [16:33] anddam: I searched google for "systemd unit beginner" [16:34] "I don't have time to learn stuff!" [16:34] anddam: then hire someone to do it for you [16:34] the person who was short on time hired me [16:35] then that is your job [16:35] seriously, thanks, I am making my way through the info [16:35] good luck [16:35] that quoted line was meant as a joke === ubuntu is now known as Guest8259 [16:36] " If you need to modify the system’s copy of a unit file, putting a replacement in this directory is the safest and most flexible way to do this." -> so local files shadow distribution ones [16:36] let's find a .timer and get at it [16:39] "leftyfb | there is" <-- what is it? from what I gather so far the local configuration path is the way to let systemd aware of the unit [16:39] anddam: you can keep them wherever you want and enable the service using the full path [16:43] oh [16:43] nice === jje142191 is now known as jje14219 [16:45] the network.target network-online.target et al. are Ubuntu's specific things, right? [16:46] this task packs stuff and sends over via network, I figure one of the various "wait until networking is configured" is appropriate here [16:46] anddam: pretty sure it's in debian [17:07] Hi guys, I'm trying to cancel an in-progress update, its going so slow I think I should switch update servers. [17:07] Will canceling an in-progress update ruin/break/glitch my system? [17:08] not if it is in the download phase, not the installing phase [17:09] apt install -f to continue [17:09] oerheks: I don't think that will apply if it's still downloading [17:09] -f is to fix a broken/unfinished package config [17:09] oh indeed, just for the install part [17:10] 2 hours eta to download 20 megabytes omg [17:10] yes, i read you too in #linux.. [17:11] GoldenMango15: please don't crosspost [17:13] its two distinct, different channels [17:14] but ok [17:25] Omg, the snap-store won't update from Ubuntu software [17:25] What is going on? [17:25] https://share.riseup.net/#Yy1Xe-kl64u38OoObgbbjQ [17:30] what does ' snap-store --verbose' in terminal show? [17:31] maybe gnome-software is hanging, $ killall snap-store && snap refresh [17:39] oerheks: yes, that command did the job [17:51] Why does the default-jre default to 11 version? [17:51] Isn't it outdated? [17:52] hiya: openjdk-19-jre is available [17:52] but it should be default version, right? [17:52] or at least 17 [17:52] I can't answer that [17:54] hmm === alkisg1 is now known as alkisg === jje142199 is now known as jje14219 [18:28] Hello guys I am on ubuntu 22.04 I cant install libc6-dev I really need to to be able to install build-essentials [18:28] Why can't you install libc6-dev? [18:30] user_1337: sudo apt install build-essential [18:43] * alkisg has seen that twice these days, both times it was caused by ubuntu repository connectivity issues [18:57] I've installed Ubuntu (GNOME) 22.04 on rpi400. VNC/RDP work fine while the rpi400 is connected to a monitor. When I unplug it, they both show a black screen. [18:58] Any ways around that issue? I only have one HDMI monitor and I need it for my main PC, so I want to use rpi400 in headless mode, over VNC or RDP... [18:59] My test so far say that the problem happens on both wayland and xorg [18:59] hiya: Ubuntu isn't a bleeding edge distribution. The default is well tested and widely supported. The latest versions may not be. [19:00] alkisg: Do you really need a remote GUI? [19:00] jhutchins: hmm [19:00] jhutchins: I am just shocked with 1 thing [19:00] jhutchins: as I said, I only have a single hdmi monitor, and I need it for my PC, so yeah I can't use GNOME without a remote GUI [19:01] Lack of Linux kernel 6 in 22.10 [19:01] alkisg: So don't use gnome, use the console over ssh. [19:01] jhutchins: and how would I test GNOME then? [19:01] I can't test stuff, troubleshoot programs, fix bugs etc via ssh when the programs and the problems are on gnome [19:03] alkisg: Maybe make your primary system dual-boot then. Testing on a different architecture is useful, but might not be definitive. [19:04] jhutchins: thanks, but seeking different areas of work isn't an option of me currently... [19:07] * poisone learned: option of me [19:07] poisone: sorry, that should probably be "for me"; my english suck more when I multitask :/ [19:08] * poisone learned: option of me ... exist id: 0 [19:08] * poisone learned: option for me ... exist id: 1 [19:08] * poisone has quit IRC (Nz timeout: 256 seconds) [19:09] My Avg Read speed comes 6.6 GB/s as per Gnome Disk. Is it good? === dstein64- is now known as dstein64 [19:28] hiya: Extremely good. [19:53] Hi, I logged out of my Ubuntu desktop session (in Windows Remote Desktop) and now I cannot log back in with rdc, only with ssh, I tried following the instructions on https://linuxconfig.org/ubuntu-20-04-remote-desktop-access-from-windows-10 to no avail. Can someone please help? [19:54] relipse: Try restarting gdm (assuming that's your display manager on the remote). [19:54] relipse: Any reason not to just reboot it? [19:54] i did reboot [19:55] relipse: Time to start digging through the logs and processes then. [19:55] but still won't let me use RDC [19:55] maybe i'll reboot again [19:55] hold on [19:55] relipse: Does ps aux show gdm and your gnome components running? [19:56] oops, rebooting it fixed it, now I can RDC [19:56] thanks jhutchins [19:58] another question. I have the /home/webrepos/mywebsite directory chowned to www-data:www-data but when I open PHPStorm or vim it cannot edit the file unless i use sudo, my user should be in www-data as i tried using usermod -G to put him there, but when i checked he wasn't in it, what do I need to do to make the usermod stuff go into effect? [20:00] restart usually fixes those user permissions [20:01] oerheks: oh yes true, now i see him in www-data [20:01] thank you [20:01] but why putting webstuff in ahome folder? that makes it unnessasary complicated [20:02] Hi [20:03] How may I install java 1.7? [20:05] i would use openjdk [20:05] !java [20:05] To just use java you need a "Java Runtime Environment" (JRE) and/or a browser plugin. If that is not sufficient you will need a "Java Development Kit" (JDK) aka "Software Development Kit" (SDK). Please see https://help.ubuntu.com/community/Java about how to install one of three current implementations. [20:06] I just need to install java v1.7.0 [20:06] 17-18-19-20 .. https://packages.ubuntu.com/search?keywords=openjdk [20:06] but it isnt in the repositorys [20:06] oracle java not, indeed [20:08] apt-cache search openjdk # and install the one you need, 17 perhaps? [20:09] 1.7 [20:10] there arent 1.7 there [20:10] that numbering is oracle, we use openjdk 17 or higher [20:13] I'm try to use wine [20:13] and the app cry for 1.7 java [20:13] what is the equivalent? [20:14] oh in wine, ask in #winehq? [20:16] ok [20:16] thanks [20:18] Hi, I'm upgrading to 22.04.1 LTS and in the middle of the upgrade it asks me yes or no, and I pick yes and instantly I disconnect from RDC, I connect again and now there is a black screen [20:20] the server is still running by the mysql is down [20:22] what am I supposed to do? [20:22] Is it still upgrading? [20:22] relipse: you did an in-place upgrade from an LTS to a non-LTS on a mission-critical machine that is also running a desktop GUI all over RDP? [20:24] E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2572 (jammy) [20:24] N: Be aware that removing the lock file is not a solution and may break your system. [20:24] E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? [20:24] !paste | relipse [20:24] relipse: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [20:25] can someone please help me get my system back [20:25] it is just a black screen on RDC [20:25] it's not really mission critical, just a dev machine [20:25] relipse: are you attempting to upgrade to 22.10 or were you just doing normal apt upgrades? [20:26] leftyfb: I did do_release_upgrade or something [20:29] relipse: ssh in, kill any apt or dpkg process and run: sudo apt install -f [20:29] i rebooted and now I cannot ssh in anymore :( [20:30] ok, then login locally [20:31] i have no idea where the server is [20:32] relipse: you can't login remotely, you can't login locally. I'm not sure what answer you're looking for here [20:33] i need some help. i was trying to get my nividia card working with my ubuntu 22.04 install because it was not inuse after a recent upgrade. a search suggested i install the linux headers for the installed kernel which i did. now it appears the display manager will not load [20:33] Hi, just did an update on 22.10, got stuck in a loop of updates, restarted now I've lost ethernet & nvidea, can someone help thanks [20:33] laptop screen is stuck on disk check [20:34] i am sshd in and communicating from my phone [20:34] Hi guys [20:34] I need help with ubuntu [20:34] so its somewhat working [20:35] I have propietary nvidia drivers and i upgraded and now they are kept back [20:36] Help with propietary drivers: https://paste.debian.net/1262670/ [20:41] etore: it's possible those glib updates are being held, https://people.canonical.com/~ubuntu-archive/phased-updates.html shows glib2.0 on the phasing list [20:42] etore: I suggest ignoring it for a day or two [20:42] well i upgraded to a new kernel but use old graphics card thats discontinued. [20:42] gt630 [20:42] and dont worry im not suffering its gddr5 version [20:43] i was on debian before, and this happened TOO much [20:43] reason why i switched to ubuntu [20:43] its a bit more stable [20:44] ok the server got back up, but when I log in with Remote Desktop Connection, it just disconnects immediately, but I am still connected via ssh, [20:44] leftyfb: [20:44] how do I kill all the apt and dpkg processes [20:44] RDP? whats the reason for remote desktop connection [20:45] relipse you shouldnt kill apt and dpkg processes [20:45] relipse: did you reboot? [20:45] etore: yes i tried to reboot and it never started up then I got the server admin to start it up [20:45] etore: Did you have a question about getting your graphics driver working? [20:45] You don't own this system? [20:45] yes [20:45] it works [20:45] but my packages kept back [20:46] when i upgrade kernel [20:46] its fine will fix itself [20:46] leftyfb: what do I do? [20:46] relipse dont mess with anything [20:46] relipse: ps -ef |egrep "[d]pkg|[a]pt" [20:46] etore: we got this [20:46] leftyfb: it is empty [20:46] try sudo [20:46] same command but with sudo [20:46] or root [20:46] etore: we got this [20:47] relipse: sudo apt install -f [20:47] leftyfb: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [20:47] relipse: ok, then follow what it tells you to do [20:47] ok [20:48] relipse: mind you, upgrading across ubuntu releases remotely is not for the faint of heart. Especially over RDP. [20:48] i'd rather upgrade over telnet while apocalypse is happening [20:48] relipse: you really shouldn't be relying on RDP for anything other than if you NEED access to some graphical application that only runs locally on that machine [20:49] leftyfb: i use RDP for PHPStorm an IDE on that machine [20:49] neither of which require the use of RDP [20:49] Really for an IDE? [20:50] what are you using the access that server [20:50] we got this etore [20:50] to* [20:50] leftyfb: hwo are you supposed to see the screen and use a GUI unless you remote in? [20:50] relipse: https://www.jetbrains.com/help/phpstorm/remote-development-a.html [20:51] hello if you want to see me look for me in Google putting (muchasmascosicas es Alice_coquine) [20:51] ana21: spam is offtopic here [20:51] ana21 dont feel like it, cat pictures rule [20:52] etore: this is a support channel. Feel free to chat and provide commentary in #ubuntu-offtopic [20:52] ok, thanks for telling [20:54] leftyfb: Errors were encountered while processing: usb-creator-gtk [20:54] leftyfb: after running sudo dpkg --configure -a [20:54] hello if you want to see me look for me in Google putting (muchasmascosicas es Alice_coquine) [20:54] relipse: pastebin the full errors please. Not just the single line [20:54] !op | ana21 [20:54] ana21: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [20:54] any reason my laptop screen would be stuck at disk checking (never gets to gui login prompt), but i can ssh in? i was upgrading kernel headers before it happened. [20:55] No WaV, you cannot just ssh into it, its still stuck at disk checking. [20:55] it's not [20:55] im literally sshed into it right now talking [20:55] WaV: CTRL+ALT+F1 [20:55] hmm [20:55] switch through terminals [20:56] nothing leftyfb [20:56] try F2 [20:56] press ctrl alt f1 f2 f3 f4 f5 ... [20:56] etore: please stop [20:56] i'm just suggesting, happened to me before. [20:56] !dpaste [20:56] !paste [20:56] For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [20:57] leftyfb: https://dpaste.com/6322FX389 [20:57] what would be the easiest way to share with you a picture of the screen? im on a phone... cant printscrn but can take a picture [20:58] relipse: try removing the package first for now: sudo apt remove usb-creator-common [20:58] WaV: imgur.com [20:58] relipse: sorry, add in usb-creator-gtk as well [20:58] relipse: try removing the package first for now: sudo apt remove usb-creator-common usb-creator-gtk [20:59] leftyfb, thats not a good idea, other apps may depend on that package. [20:59] etore: they don't. Not any real packages anyway [21:00] well let them try [21:00] etore: we got this [21:00] Given that usb creation is usually not a continuous process but a one-off, it should be safe and is easily reversed. [21:01] leftyfb: https://imgur.com/a/5BjXr2b [21:02] its been stuck like this since i rebooted several minutes ago. [21:02] WaV: that's just the inactive tty. Try f2 or f7 [21:02] CTRL+ALT+F2 [21:02] didnt wav already try that? [21:02] i think [21:02] leftyfb: i already tried that, yes [21:02] nothing happens [21:03] something should certainly show up differently on the screen [21:03] corrupted kernel? [21:03] he talked about a kernel upgrade [21:03] etore: please stop [21:04] leftyfb: Actually, he has a good point. Corrupted, probably not, incompatible? Perhaps. [21:04] WaV: over ssh, try restarting the gdm service [21:04] arraybolt3: not if ssh and networking it functional [21:04] it/is [21:04] leftyfb, can you please be more constructive, please. we can do it together [21:05] wav do you have any recovery drives? [21:05] you can boot from [21:05] etore: Perhaps try to not take over quite so much when this is the first day you've been here that I can see. [21:06] etore: booting from a usb flash drive serves no benefit when we can ssh in just fine [21:06] leftyfb: a blinking cursor appeared briefly. now its a blank screen [21:06] hmmm, somethings with xorg [21:06] WaV2: ok, now try F1, F2, F7 (sorry, it's changed a few times over the years, I don't remember which one ) [21:06] WaV2 what graphics card do you use [21:06] blinking cursor came back but cant type anything [21:07] WaV2: you don't see typing when you try switch tty's [21:07] nvidia quadro [21:07] i suspect there is problem with login service or xorg [21:07] i just got a tty [21:08] the type of graphics card nor xorg will affect tty [21:08] tty3 [21:08] heh, didn't even know about that one being used [21:08] WaV2 assuming by that high resolution are you using nouveau or nvidia propietary graphics? [21:08] that's a start [21:08] I always use tty3, since tty1, 2 and I think 7? are sometimes used for graphics and there's almost no telling which one will be used yet :P [21:08] WaV2: can you login to the local console now? === WaV2 is now known as WaV [21:09] I am in now yes [21:09] WaV: ok, over ssh run: journalctl -f # then on the local console: sudo systemctl restart gdm [21:09] we're looking for an error in the log over ssh [21:10] standby [21:10] WaV: also, what release of ubuntu and which kernel are you running? [21:10] leftyfb: I did all that but still when i connect to rdc it shows the session Xorg username and password prompt and i fill it in and then it disconnects [21:10] on a good note ,i did use jetbrains tool to connect remotely to it [21:10] thank you for that link [21:11] relipse: ok, then forget about RDP. Remove it completely [21:11] but I still need the ability to RDP [21:11] why? [21:11] because it is a shared server, other people don't use ssh [21:11] can you help me fix the upgrade, i don't know if it actually upgraded or not [21:12] relipse: did dpkg-reconfigure finish? [21:12] leftyfb: Ubuntu 22.04 kernel 5.15.0-1025-oracle [21:12] WaV: oracle? [21:12] There is a lot of information in the journal [21:12] leftyfb: That's what it says, yea [21:12] Not on purpose on my part if that's what you're asking [21:13] WaV: Is this hosted on Oracle's VPS? [21:13] no [21:13] WaV: what type of hardware is this on? [21:13] Lenovo laptop [21:13] WaV: sudo apt install linux-generic-hwe-22.04 [21:13] (linux-oracle is in the Ubuntu repositories, so it is supported here, just odd to see.) [21:13] leftyfb: yes everything finished [21:13] reboot into that kernel and then remove the oracle kernel [21:13] but it still won't rdp [21:13] That's what i did when the oracle kernel was installed [21:13] (And you almost certainly should not be running an oracle kernel on a laptop :P) [21:13] do you guys get paid to give ubuntu support? [21:14] relipse: maybe try: sudo apt update ; sudo apt full-upgrade [21:14] WaV, you have a lenovo laptop with nvidia quadro graphics with a oracle kernel? [21:14] relipse: No. [21:14] !esm | relipse [21:14] relipse: Canonical offers paid extended security support for end-of-life LTS releases through the Ubuntu Advantage program. For more information, see https://ubuntu.com/esm . ESM is not an Ubuntu community offering; please direct questions about it to Canonical directly. [21:14] arraybolt3: just because it's supported doesn't mean there's a valid reason to run it and we shouldn't recommend removing it to undo breakage [21:15] leftyfb: True. I was just making sure about that since sometimes third-party stuff isn't supported and it looked third-party. But it definitely should be removed AFAICT. [21:16] (That's why I followed it up with the bit about "probably don't run an oracle kernel on a laptop".) [21:17] leftyfb: is it even wise to upgrade from 20.04 to 22.04 ? [21:17] etore: Yes, not on purpose. [21:17] relipse: yes. Over RPD, NO. Without backups or scheduled downtime, no. [21:18] I ran apt install linux-generic-hwe-22.04 and it pulled in the right kernel this time. [21:18] should i reboot before removing the oracle kernel? [21:18] no [21:18] oracle kernel is loaded into memory [21:18] shouldnt change anything [21:18] WaV: reboot and make sure you're not running the oracle kernel. Then remove the oracle kernel [21:18] but i think you should listen to leftyfb [21:18] 10-4 brb [21:19] leftyfb: how much down time are we talking about? [21:19] relipse: depends on your internet connection, server resources, complexity of your configuration and your aptitude [21:20] leftyfb: You are the man [21:20] gdm loaded [21:20] wav whats ur kernel version now [21:20] give lefty a paycheck [21:21] I specifically picked the correct one under advanced options on boot. It was going to load oracle again [21:21] eavremove the oracle kernel packages [21:21] you always had oracle kernels? [21:21] WaV: remove the oracle kernel packages [21:21] etore: no this is sometihng that happened today === Guest3256 is now known as genevive [21:22] can you do dpkg -l | grep linux-image [21:22] and paste it into pastebin [21:22] WaV: zgrep -a oracle /var/log/dpkg.* # that should give you an idea of when the oracle kernel was installed [21:22] leftyfb: sudo apt remove linux-image-5.15.0-1025-oracle linux-modules-5.15.0-1025-oracle linux-objects-nvidia-470-5.15.0-1025-oracle [21:22] correct? [21:22] leftyfb: today, 3 hours ago [21:23] WaV: sudo apt remove --purge linux-image-5.15.0-1025-oracle linux-oracle [21:23] then: sudo apt autoremove # you might see other oracle related packages want to be removed [21:24] 0 to remove [21:24] with both commands? [21:24] no with autoremove [21:24] ok, that's fine. The --purge probably got them [21:24] the first command executed fine [21:25] linux-modules-5.15.0-1025-oracle linux-objects-nvidia-470-5.15.0-1025-oracle are both still installed. [21:25] according to dpkg [21:25] should I explicitly remove them? [21:25] yes [21:25] 10-4 [21:25] with --purge [21:26] done [21:26] restarting again for good measure [21:26] brb [21:27] leftyfb: ok sudo apt update ; sudo apt full-upgrade finished and now i still can't log into RDC after the Xorg screen pops up [21:28] relipse: again, I don't care about RDP yet. reboot. Then run: cat /etc/os-release [21:28] Ok, we're good there, but now my nvidia graphics card does not appear to be in use [21:29] leftyfb: its not letting me connect [21:29] relipse: define connect [21:29] relipse: ssh or rdp? [21:29] which was my original issue which is when i did sudo apt install linux-headers-$(uname -a), and I think that's when things broke [21:29] leftyfb: ooo it worked: PRETTY_NAME="Ubuntu 22.04.1 LTS" [21:30] what the heck is jammy [21:30] relipse: I thought you were upgrading from 22.04 to 22.10? [21:30] leftyfb: no 20.04 [21:30] ok, that's a bit better [21:30] congrats [21:30] wav.... i think that oracle kernel was the reason you were able to use your gpu [21:30] leftyfb: what, now you want me to upgrade to 22.10 ? [21:30] etore: no [21:30] relipse: no [21:31] well he removed it and bam he cannot use gpu [21:31] relipse: I always recommend sticking with LTS [21:31] with lts you can use livepatch [21:31] i see leftyfb thanks [21:31] i even got in RDP [21:31] is it me, or is everything beginnin gto look like MacOS [21:32] relipse: sorry to hear that :) [21:32] leftyfb: oh darn, now it says "System program problem detected Do yo uwant ot report the problem now?" [21:32] relipse: please teach your colleagues how to use their IDE's remotely. You should get rid of RDP and the entire desktop. It's only a burden [21:32] relipse, windows and linux desktops copied macos, its always been macos [21:33] relipse: ls /var/crash/ # what files do you see? [21:33] etore: lets not [21:33] _usr_bin_gnome-shell.128.crash _usr_bin_landscape-sysinfo.0.crash [21:34] relipse: you're probably fine. Delete both of those files with sudo [21:34] nvidia-driver-470 is installed according to Software & Updates, but i get this error: NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. [21:34] It was working fine a couple days ago, and I don't know exactly when it broke [21:35] WaV: https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/ [21:37] leftyfb: installing [21:37] my apache is not starting can someone help [21:37] lefty [21:38] what errors do you get? [21:38] you're not specific, apache http server? [21:38] !paste [21:38] For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [21:38] leftyfb: https://dpaste.com/DEPXJ9RPT [21:39] apache httpd [21:39] relipse: it literally tells you where to look [21:39] leftyfb: the file does not exist though, i tried [21:40] relipse: if /etc/apache2/apache.conf doesn't exist, you got bigger problems [21:40] sorry, apache2.conf [21:41] relipse i think you should talk to people who also use the server if they are fine with you changing the apache configs [21:42] relipse: you probably have a symlink in /etc/apache2/mods-enabled to a php module that supposed to be in /etc/apache2/mods-available/ but isn't because the package name changes and you don't have it installed [21:44] leftyfb: so apt removed 470 and installed 515 but the driver still doesn't appear to be in use [21:44] relipse: sudo apt install libapache2-mod-php && sudo a2enmod php [21:45] WaV: open the "additional drivers" app [21:46] says 515 is in use, but nvidia smi says differently [21:46] Module php does not exist [21:46] additionally the nvidia-settings gui is extremely limited [21:47] WaV: what does the ubuntu-drivers cli tell you? [21:48] relipse: ls -l /etc/apache2/mods-available/php* [21:48] relipse: did the package install? [21:48] !paste [21:48] For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [21:49] leftyfb: Here is something that may be telling: Cannot find xserver-xorg-video-nvidia-525-open package in the cache. Cannot check ABI [21:49] leftyfb: https://dpaste.com/DRUACRXJB [21:49] By the way you are doing an amazing job helping me and others, Jesus bless you and your family to know Him [21:49] relipse: try restarting apache then enabling the module [21:50] relipse: my only ask is work towards not relying on RDP and a remote desktop :) [21:50] leftyfb: i totally hear you [21:51] might as well delete the whole gui while we are at it [21:51] exactly [21:51] so apache is not started and won't start [21:51] ah right [21:51] because of that error [21:51] leftyfb: https://termbin.com/go4n [21:51] relipse: sudo rm /etc/apache2/mods-enabled/php* [21:51] relipse: then try restarting apache [21:52] Hello everyone --- I have a bizare thing - that my laptop with Ubuntu 22.04 can play only throught thunderbold hdmi SOUND (on the monitor) and not to bluetooth headphone ----- if I unplug the thunderbolt - bluetooth headphone works.... ----- any hints what is the cause - howto solve it? === Doffi_ is now known as Doffi [21:52] ok its running but now it's not serving php files [21:52] it just outputs the whole file as text [21:53] acu: go into your sound settings while plugged into TB and pick the BT as your output device [21:53] relipse: now enable php like I showed you [21:53] leftyfb, yes I did --- it does not work [21:53] acu: pipewire or pulseaudio? [21:53] relipse: then restart apache2 again [21:54] leftyfb: all appears to be working now [21:54] leftyfb: thank you for your help [21:54] tech10171968, thats a new termI lern --- pipewire ---- I think pulseaudio is default sound server --- but how can I check [21:54] WaV: to be honest, this is about as far as I go with nvidia drivers. I just hammer it with everything I can find until it eventually works. Usually breaking my system half a dozen times in the process [21:55] relipse: please do not PM [21:55] you can check in system settings. But if you didn't know then I'm going to guess pulseaudio [21:56] leftyfb: ok thanks. I noticed my audio is messed up now as well. No drivers appear to be in use there either. May have to re-install at this point whenever I get free time. [21:56] Changing the sound with keyboard shortcuts changes the volume for "Dummy output" instead of my onboard audio or hdmi out. [21:56] just care about you leftyfb [21:57] but will do [21:57] WaV: that's all due to nvidia funny business [21:57] And in the process of join/parting a billion times from restarting, I managed to get myself banned from #linux. What a day. =( [21:59] WaV: wow, harsh [22:01] Wav: I think there is a bug --- it may happen when I updated the system --- my sound plays through HDMI or I need to unplug it - to play to others (bluetooth or headphone) -----I am tryint to install pipewire ---- per tech10171968 suggestion [22:08] is there a proper place of howto for sound and pipewire ? [22:09] acu: yeah, seems that pipewire is everything pulseaudio was supposed to be. [22:09] I am so confused ---- pipewire pulseaudio jack ---- how they are managed - controled - by OS by user ? [22:10] acu: usually the arch linux forums have some surprisingly good writeups for this sort of thing [22:11] acu: https://wiki.archlinux.org/title/PipeWire [22:17] tech10171968, thanks, I am reading about it --- I wonder what license is used for that (I use FreeBSD too --- so I wonder if that is available there) ---- I can see though that in Ubuntu a lot of aplication GUI are not available ---- perhaps I need to enable some special repository [22:20] acu: yeah, it's still pretty new. I know of no GUI tools but everything seems similar to configuring pulseaudio [22:21] acu: doesn't mean there aren't any gui applications - just that I know of none at the moment [22:24] acu https://ubuntuhandbook.org/index.php/2022/04/pipewire-replace-pulseaudio-ubuntu-2204/ [22:27] Can anyone link a good tutorial to learn how to check/install wireless card drivers in Ubuntu? [22:29] WifiHelp: run the 2 commands @ https://gist.github.com/jeremyb31/a2bee9856d8c13f42f1835bc31bf9480 and post the termbin.com URL after the second command is done [22:29] WifiHelp: this a good starting place to determine chip and some driver options https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx [22:29] Atheros QCA6174 Wireless card, it works in the live boot (USB) but does not work after install. [22:30] WifiHelp: also check addl drivers in software and updates [22:31] toddc i have read a bunch of tutorials, i know what my chipset is, and it is listed in lshw, but i dont know how to check what driver it is using or where to read error messages about it starting up [22:31] I think I may have found my issue with the audio. "modprobe --show-depends snd_hda_intel" reports modprobe: FATAL: Module snd_hda_intel not found in directory /lib/modules/5.15.0-1021-intel-iotg . I installed the kernel modules and now lspci reports the correct kernel module loaded [22:31] About to restart to see what happens. [22:31] WifiHelp: it should use ath10k_pci [22:31] WaV: good luck. but I think you may have found the issue [22:33] That fixed my issue [22:33] Cool [22:33] Jeremy31 thanks, i looked in /lib/firmware/ath10k, i can see a bunch of files in there. [22:34] Jeez, whatever update happened completely borked my system :( [22:34] Spent the last 3-4 hours tryin to fix [22:34] That kernel module also fixed the issue with my nvidia driver not being used as well [22:35] Jeremy31 How can I tell if my wifi card if using these drivers? is there a log somewhere? is there a way i can force it to use these drivers? [22:35] WiFiHelp: use lsmod|less ? [22:35] WifiHelp: Run those 2 commands @ https://gist.github.com/jeremyb31/a2bee9856d8c13f42f1835bc31bf9480 and post the termbin URL and I can help [22:36] tech10171968 thanks i will try this, lsmod is kernel modules right, i will go read a tutorial on how this works and why i need them for drivers [22:37] Hello [22:37] Jeremy31 ok, need to copy them on usb, give me a minute, this computer only has a wifi card. [22:37] tech10171968, the pipewire works - thanks a bunch --- it seem that not only I got my bluetooth -but the sound is better... hmm [22:37] WiFiHelp: lsmod just lists which modules/drivers you have running. [22:37] WifiHelp: check in terminal> rfkill list [22:38] acu: no problem. like I said, pipewire is what pulseaudio was supposed to be [22:38] i am using two computer to try and fix this hahah [22:38] rfkill list returns nothing [22:39] So for some reason the driver didn't load or it crashed [22:39] Jeremy31rfkill list returns nothing, lshw and lspci do show the wireless card and the correct make a model though [22:39] what does "snap-store pending update" mean, and why can't I make it update [22:40] tech10171968, I will try it in FreeBSD too -- hopefully it works ---- FreeBSD seem a bit even more sensitive - there are two GUi helvum and some other one -----it seem that this PipeWire replaces jack and pulse ? Interesting -- though it makes sense [22:40] WifiHelp: is it a Lenovo? [22:40] S40-? [22:40] I didn't know I had the snap store app open [22:40] WiFiHelp: that's why I suggested using lsmod. you can have the right hardware but the drivers may be fscked - or not even loaded [22:41] acu: not sure how well it works with *BSD but it should work [22:41] @mybalzitch it runs in the background, type "killall snap-store" in the terminal and then type "snap refresh snap-store" it cant update it cus its running, sometimes it starts by itself [22:41] these snaps are just so well thought out and well implemented. lol [22:41] thank you WifiHelp [22:41] I just kill'd it [22:41] Jeremy31no dell xps 9570 [22:43] tech10171968 I download linux-firmware from the ubuntu package site, deleted everything in /lib/firmware/ath*, installed linux-firmware again, all the files are back in the right place and match the correct hash. is there a log i can see where i can see modprobe not loading the right module or why it crashed? [22:44] WiFiHelp: you could try sudo dmesg|grep $DRIVER [22:45] WifiHelp: in terminal> sudo dmesg | grep ath10k [22:45] WiFiHelp: if the driver is loading then it should be reflected in xorg.log [22:45] tech10171968 thanks, dmesg is the kernel ring buffer, so modprobe stuff should be in there. I have no idea what I am doing, i reading a book on the linux kernel and trying to guess this stuff thanks so much for the help [22:45] leftyfb: Thank you for your patience with me. I am back to normal operation. [22:46] Aside from getting banned from #linux but hopefully that'll drop at some point. [22:46] Jeremy31 thanks dude, trying that as well now [22:46] mybalzitch: snap store runs all the time in the background you can kill or wait and it will close in the 13 day time frame ps kill the sudo snap refresh to force store update [22:48] yeah I got there, thank you [22:50] tech10171968 ok so nothing in dmesg with ath inside of it. so i guess the model is not loaded? [22:50] Jeremy31^^ [22:50] Jeremy31 ^^ [22:51] WiFiHelp: it's possible. but make sure you have the correct driver name, that's easy to mess up [22:51] I'm now running 22.04/ optimus/ nouveau- is there any way to tell what process is using what GPU? Also, is bumblebee just for nvidia? Or nouveau also? [22:51] WifiHelp: Check in terminal> dpkg -l | grep linux-modules-extra-$(uname -r) [22:52] WiFiHelp: for example. my touchpad is known in xorg.log as ELAN1300. So try to find out how your driver's name shows up [23:00] MY WIFI IS WORKING!!!!! [23:01] What did you do? [23:02] Jeremy31 tech10171968 ok so after looking in dpkg -l, i noticed that the only packages that have the name linux-modules-extra and they all end in one kernel number. it was not the kernel number i was running. so i rebooted in grub advanced setting and picked the same kernel number. now i have wifi. [23:02] I am right i thinking here, if i installed some more linux-modules-extra packages, it will work with the new kernels? [23:03] WifiHelp: ugh I've wasted hours debugging problems that turned out to missing linux-modules-extra packages before :( that's not fun [23:03] WiFiHelp: Nice! [23:03] basically what just happened to me. [23:04] sarnold it has not been fun, but i learnt a lot [23:04] WiFiHelp: I'm thinking there's some DKMS package which should be installed? [23:05] WifiHelp: true that :( [23:05] linux-modules-extra is full of kernel modules? [23:05] WifiHelp: If you reinstall the newest kernel, the linux-modules-extra might install with it this time [23:05] are all drivers kernel modules? [23:06] Jeremy31: That's why I mentioned DKMS [23:06] WifiHelp: yeah, around 4500 of them [23:06] WifiHelp: some drivers are run in userspace, libusb makes it easier for usb devices to have userspace drivers [23:06] ok i am going to read the man pages for all these commands. [23:07] tech10171968: the only DKMS I know of for ath10k were ones I made years ago [23:08] ok im going to read the man pages on these commands thanks everyone. [23:08] Jeremy31 and tech10171968 thanks so much, i would be here all day if you didnt point me in the right direction [23:08] WiFiHelp: well, I rarely run into this problem. I compile my own kernels and, when you use make menuconfig, you pretty much have to answer these questions in your config. [23:08] BTW, no problem [23:09] would there have been a log somewhere that would have told me this problem? [23:09] WifiHelp: maybe a dpkg or apt log [23:10] thanks again. :-D === brassado is now known as sam_sepi0l [23:10] modprobe would've shown that no module was loaded, but if you don't know what module is supposed to be loaded or what package to install then it's not too helpful. [23:10] WiFiHelp: other than dmesg and lsmod, I'm not sure. but those are two of the tools I reach for when stuff like this happens [23:10] WaV that is 100% my problem :P [23:11] WifiHelp: find the version of the newest kernel and use that to replace $(uname -r) in my command [23:11] it's a matter of knowing what to look for [23:12] tech10171968 ok i try them commands now [23:12] Jeremy31 trying them as well. [23:13] WifiHelp: you may need> sudo apt install --reinstall linux-modules-extra-5.15.0-56-generic [23:13] Jeremy31 nice!!!!! [23:14] WiFiHelp: also, I highly suggest using lshw to get a list of EVERYTHING hardware related on your system. It'll help in the future [23:15] tech10171968 thanks, reading the man page now. [23:18] Has anyone had an issue with an Ubuntu base upgrade breaking their system? It should simply be securing the kernel with better patching but it seems like every time I allow it, it seriously corrupts the OS so I usually just stick to apt when I update. [23:18] How are you doing this "base upgrade"? [23:19] bingoJACKPOT: you're the third person I've seen in here today - including myself - that has reported an issue like this. [23:19] Yeah, it wants to update the kernel and depending on what programs I have, that could render them incompatible [23:19] Oh. [23:19] Some kernel upgrades will break certain versions of VMware for instance. I think it is super daft that Ubuntu does this to us [23:19] You can put a hold on the older kernel. But if kernel upgrades are breaking apps... are they apps installed outside of apt, or what? [23:20] You think Ubuntu should care about VMWare, a commercial piece of software, and how it can't keep up with modern kernels? [23:20] Given Ubuntu is always an unstable stream of Debian we don't need Canonical asking us for permission to make our stuff even more unstable. [23:20] I don't. [23:20] But VMware relies on some kernel modules installed by DKMS [23:20] I would direct these complaints at VMWare, not Ubuntu. [23:21] No, some of the apps are just not upgraded simply because in some cases the upgrades aren't free or I choose not to upgrade because the newer versions are unstable - I mean, it depends [23:21] You might have chosen the wrong os. Or at least the wrong flavor. [23:21] Yeah, I mean, I can see that: blaming the developers more than the OS ... [23:21] I mean, for your specific needs. [23:21] I am upset that Microsoft won't allow Office 365 to run as a full install on Linux [23:22] I have to use the Beta which will work with Office Live but the local programs are always better [23:22] I thought they pushed O365 all the way to the cloud. [23:22] You don't need anything installed an longer, do you? [23:22] bingoJACKPOT: I know that Virtualbox has a DKMS module just for this very problem. Maybe VMWare has the same? [23:23] Well, I always install it. The approach with everything is to go full-on cloud and as a business owner, I know I profit more that way. I think in many ways though it's bad for the consumer or data custodian [23:24] Putting it in the cloud can save space locally but whenver something goes offline, we can't control the privacy or confidentiality of it ... We can't keep it locked down or we don't fully know how it's protected since the systems protecting it are not our own. So, for those reasons, I try to keep everything locally but if I have something very very [23:24] important and want redundancy, I will put it in the cloud [23:25] As far as the Office products go, some of the features aren't as good online and it's sort of a hassle to have to download all of the saves from the online cloud. Also, I don't want my business data or personal data in the cloud if I can avoid it [23:29] bingoJACKPOT: I agree 100%. There are some things you just don't want to leave in someone else's hands [23:30] bingoJACKPOT: BTW, have you ever considered using Digital Ocean to, say, spin up a droplet as a app server, or for something like a cloud storage server? [23:35] That's a good idea! Sorry, I'm going a bit slow. Instead of just updating Ubuntu blindly, I'm doing what a wise end user does and I'm reading about the updates. On Windows I don't feel the need to do that. It looks like the only important updates or at least the ones I find vital will patch up CVEs [23:35] Those should always be updated unless doing so will critically render a system unstable