[01:19] <RadSurfer> I'm trying to get grep to scan files with a specific extension, but its not working for me, help please.
[02:22] <Diagon> grep -r 'string' *.extension
[02:27] <Diagon> Actually no... Try this: find . -name '*.extension' -exec grep 'string' {} +
[02:27] <Diagon> RadSurfer ^^^
[02:39] <MrMobius> i installed ubuntu server and only had command line on the machine. at some point, i was logged in over ssh and tried running gedit with x windows and it downloaded about 500mb of stuff. now when i start the machine, it takes me to some type of gui but not a full desktop. ctrl+alt+T does not give me a terminal window
[02:40] <MrMobius> there is something called Byobu terminal and a handful of other programs but it doesnt do anything when i start it. how can i get a terminal on whatever this is?
[02:42] <MrMobius> alt+f2 then gnome-terminal is not found
[02:43] <mwhudson> MrMobius: if you can install ubuntu-desktop you'll get something more familiar
[02:43] <mwhudson> MrMobius: alternatively, switch to a different vt to get the usual log in?
[02:44] <MrMobius> mwhudson, what is the thing im logged into now out of curiosity? i only ever log in over ssh and only logging in now since i need to change network settings so dont really need a desktop
[02:44] <MrMobius> vt?
[02:45] <mwhudson> MrMobius: uhh not completely sure of the terminology but linux has multiple virtual consoles / virtual terminals
[02:45] <mwhudson> you can press control alt f1-f6 to switch between them
[02:46] <MrMobius> sorry, got disconnected. last i saw was "<mwhudson> you can press control alt f1-f6 to switch between them"
 MrMobius: uhh not completely sure of the terminology but linux has multiple virtual consoles / virtual terminals
[02:48] <MrKeuner> hi, I install apps using snap-store, they run initially but not after restarting the app... And when they run initially I see apparmor="DENIED" operation="open" profile="snap.pomatez.pomatez... errors in dmesg.
[02:48] <MrKeuner> Any ideas how to debug this problem?
[02:48] <MrKeuner> Issue is reproducible with, breaktimer, pomotroid and pomatez
[02:48] <MrKeuner> 21.04
[04:19] <pikapika> How do I know the current status of apt?
[04:19] <pikapika> Like
[04:19] <pikapika> I was getting a "partial upgrade" warning with the software updater gui
[04:20] <pikapika> I preferred not to click and closed it because I didn't know if it would have been a good idea
[04:20] <pikapika> Note that this phenomenon occurred after I had installed a certain package
[04:21] <pikapika> which showed nothing abnormal and all "success" in the terminal
[04:21] <pikapika> but popped up the partial upgrade dialog after a bit
[04:21] <pikapika> so I cancelled that
[04:21] <pikapika> just did an apt update
[04:21] <pikapika> then typed apt upgrade
[04:21] <pikapika> I wasn't sure the packages deprecated/marked for removal were not due to the new package install attempt
[04:21] <pikapika> and I feared their removal might cause issues
[04:22] <pikapika> so I cancelled
[04:22] <pikapika> and just apt remove'd the new package
[04:22] <pikapika> I reinstalled it again and this time there is no such message
[04:22] <pikapika> how do I query the current status of apt?
[04:35] <pikapika> it seems the software updater gui can't access internet for some reason
[04:36] <pikapika> but the apt commands that I always used work fine
[04:55] <ZackWard> Hello someone can help me i have tried everything i found on google i am able to mount a cifs netshare on ubuntu but my user cannot write to it, only root
[05:00] <pikapika> https://bugs.launchpad.net/ubuntu/+source/virtualbox-ext-pack/+bug/1768042
[05:00] <pikapika> This was the pckage in question
[06:30] <pikapika> Is "The following packages have been kept back:" a message that can be safely ignored?
[06:30] <pikapika> and is that the reason why I got a "partial upgrade" prompt?
[06:32] <pikapika> I am also wondering why I am getting seemingly something about distro upgrades from a normal package installation/upgrade
[06:32] <pikapika> I am choosing to simply ignore the prompt for now any time it comes up
[06:34] <pikapika> I definitely do not want to do a dist upgrade let alone a "half here half there" one
[06:37] <pikapika> hm
[06:37] <pikapika> so apparently its caused by some old mysql packages
[06:37] <pikapika> and
[06:37] <pikapika> when I try to manually upgrade them
[06:37] <pikapika> it shows some circular dependency and "broken package"
[06:37] <pikapika> strange
[06:58] <alkisg> pikapika: could you upload the output of `sudo apt full-upgrade` ?
[06:59] <pikapika> alkisg, maybe tomorrow
[06:59] <pikapika> alkisg, but for now
[06:59] <pikapika> I really no longer have a need for those mysql packages
[06:59] <pikapika> so I checked their reverse deps
[06:59] <pikapika> saw nothing other htan other mysql stuff
[06:59] <pikapika> and apt remove'd them
[07:00] <pikapika> magically the "partial upgrade" error is gone
[07:00] <alkisg> OK
[07:00] <alkisg> !enter
[07:01] <pikapika> alkisg, lol sorry bro
[07:01] <alkisg> No worries, just optimizing for future chats :D
[07:02] <pikapika> But yeah, this was the long and short of what happened. I had done a normal apt upgrade first in the hopes it would fix it but no. When I read certain forum results from google and corroborated with them the message at the bottom about how some packages "have been kept back"
[07:02] <pikapika> Manually attempt to upgrade them, encounter weirdness and a message about broken package. So just remove them after checking to make sure nothing critical has a reverse dep.
[07:02] <TJ-> Any ideas how to diag/monitor bluetooth input devices > libinput > X ? Got 2 BT devices (mouse, keyboard) that occassionally stop delivering input (in X) although remain connected and 'xinput -list' shows them. Tried 'xinput -test' so nothing there; want to check the lower levels
[07:03] <alkisg> Note that `apt upgrade` isn't the best way to upgrade. It's `apt full-upgrade`, which allows for new dependencies to be pulled in
[07:05] <pikapika> alkisg, I see
[07:18] <tdiabel> Can you recommend text-to-speech software? I've tried nanotts but it's terminal only and doesn't play well with other software like Foliate, also many languages are missing
[07:46] <nelgin> Hey all. I'm trying to find the font server pakcage for Ubuntu, all I can find is xfstt which is just for truetype fonts. Any suggestions? I'm running vcxsrv on my PC and I don't want to have to install all the fonts when I have them on the linux box.
[08:37] <ogra> nelgin, there have not been font servers in moe than a decade in any ubuntu default install, fontconfig and xft are used in modern desktops
[08:50] <nelgin> ogra hmm...
[08:51] <nelgin> So, how would one serve fonts to something like vcxsrv?
[08:53] <ogra> nelgin, how about https://sourceforge.net/p/vcxsrv/discussion/986201/thread/b545aa2b/#acf8 ?
[08:54] <nelgin> I think I tried that but let me try it again
[08:54] <nelgin> That still defeats the purpose tho? It's expect the font to be local
[08:59] <nelgin> If you look at the bottom, the solution the op came up with was to use a font server on another box, so...
[09:08] <Kingsy> getting lots of these -> possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915 <- is there a package I need?
[09:08] <Kingsy> its missing quite a few bins, but that is the first one
[09:29] <clarkk> I need to run something on every startup, but I can't find /etc/rc.local on ubuntu 20.04. Where do I put the commands now?
[09:32] <clarkk> is this a safe procedure to follow?  Is it best practice to allow me to execute a command on boot?  https://marsown.com/wordpress/how-to-enable-etc-rc-local-with-systemd-on-ubuntu-20-04/
[09:32] <Lumpio-> Make a systemd unit
[09:33] <Lumpio-> ...no need to make rc.local or whatever just put your stuff in a systemd unit
[09:33] <clarkk> I've no idea how to do that
[09:33] <Lumpio-> Google how to create a systemd unit
[09:33] <EriC^^> clarkk: easiest to do is add stuff to crontab with "@reboot /path/to/command"
[09:33] <Lumpio-> rc.local was deprecated like 15 years ago
[09:33] <clarkk> EriC^^, that does sound easy
[09:34] <EriC^^> but you should know the environment might be different (the bash variables) so set any you know you need
[09:39] <Kingsy> Anyone know what package I need to get rid of this error -> possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915
[09:39] <clarkk> EriC^^, thanks for your help
[09:41] <ogra> Kingsy, linux-firmware should have all these firmware files usually
[09:43] <ogra> Kingsy, but you should have that installed by default via the linux-generic metapackage
[09:44] <Kingsy> weird! how should I go about debugging this then?
[09:44] <Kingsy> yeah linux-firmware is installed and at the latest version
[09:48] <Kingsy> ogra: any ideas?
[09:48] <ogra> Kingsy, file a bug: "ubuntu-bug linux-firmware" or via https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+filebug (i recommend the former since that collects all info needed automatically)
[09:48] <Kingsy> shit
[09:48] <Kingsy> I was hoping for a fix.. hahah
[09:48] <ogra> well, find the bin file somewhere and copy it in place 😛
[09:49] <ogra> it is firmware ... just binary blobs ...
[09:49] <ogra> the actual fix has to come via the package ... which is why you should file a bug so devs are aware
[09:52] <ogra> upstream code is at https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[09:52] <ogra> (to find your missing files)
[09:53] <Kingsy> curious
[09:53] <Kingsy> what is the side effect of not having these?
[09:53] <Kingsy> poort graphics performance?
[09:54] <ogra> no idea
[09:54] <ogra> probably
[09:54] <ogra> they will eventually show up in linux-firmware, it gets synced from the upstream tree regulary i think
[09:55] <ogra> filing a bug will likely speed that up
[09:56] <Kingsy> will do.
[09:56] <sav> Kingsy: are you using the default kernel?
[09:57] <Kingsy> yes
[10:12] <uberlinux> hello
[10:12] <uberlinux> anyone here?
[10:13] <EriC^^> !ask | uberlinux
[10:17] <Gaming4LifeDE> Hi. I did a fresh install of Ubuntu Server 20.04 and the ssh server won't let me in. I already verified my password is correct (logged in locally), checked sshd_config, disabled ufw and even reinstalled the ssh server. i'm just out of ideas
[10:17] <Gaming4LifeDE> oh, and i set the timezone too
[10:19] <EriC^^> Gaming4LifeDE: what happens when you try 'ssh -vvv user@host' ?
[10:20] <EriC^^> (might want to remove your ip/port and other sensitive info)
[10:20] <EriC^^> !paste | Gaming4LifeDE
[10:24] <Gaming4LifeDE> https://paste.ubuntu.com/p/B8sDnqVmt2/
[10:28] <EriC^^> Gaming4LifeDE: see here https://serverfault.com/questions/913304/ssh-on-cygwin-win10-read-passphrase-cant-open-dev-tty
[10:29] <Gaming4LifeDE> that doesn't explain why i can login to other linux servers from here and why i can not login to the ubuntu system from another linux system
[10:31] <Kingsy> I am using ubuntu mate. are there any good themes in apt? I want to get away from this green colour
[10:34] <EriC^^> Gaming4LifeDE: is the openssh package installed?
[10:36] <Gaming4LifeDE> yes of course
[10:36] <EriC^^> Gaming4LifeDE: try to run the program as suggested in the thread first, try to run /usr/bin/ssh
[10:36] <Gaming4LifeDE> the service is binding to the port and i disabled the firewall first
[10:36] <Gaming4LifeDE> i'm not using cygwin
[10:37] <EriC^^> Gaming4LifeDE: on the ubuntu server if you type "ssh user@localhost" are you able to login?
[10:38] <Gaming4LifeDE> yes
[10:38] <Gaming4LifeDE> but not from any other system, even if it's linux based
[10:39] <EriC^^> Gaming4LifeDE: can you share any paste of ssh -vvv from another linux system? might help
[10:39] <EriC^^> Gaming4LifeDE: also, look at /var/log/auth.log in the server for any hints
[10:41] <Gaming4LifeDE> EriC^^ https://paste.ubuntu.com/p/XTcr6nmBJD/
[10:42] <EriC^^> Gaming4LifeDE: odd, anything in auth.log?
[10:52] <Gaming4LifeDE> EriC^^ i figured it out, i had conflicting ip's on the network
[12:08] <vlm> Is it possible to remount root as read only while in an ssh session without getting disconnected?
[12:09] <EriC^^> vlm: that sounds like it would work, never tried it though
[12:10] <EriC^^> why are you trying to mount root ro?
[12:11] <vlm> EriC^^, thats correct, ive done this in the past just dont recall if i did it in physical console or ssh just dont want to be disconnected though
[12:13] <EriC^^> why remount ro though?
[12:14] <vlm> EriC^^, im just fiddling about, was trying to restore a file for instance, requires it remount read only as to not risk overwriteing existing data
[12:15] <EriC^^> vlm: you could try to restore via testdisk, it doesnt require remounting
[12:17] <vlm> EriC^^, im just curious though if its all fine to remount it over ssh, might have to do it another time, tried testdisk didn't work though, its not that the file is important though just curious (,")
[12:18] <vlm> EriC^^, testdisk is great though, helped me restore partition schemes at other occasions
[12:20] <EriC^^> vlm: cant say for sure as i havent tried it, but it would make sense that ro wouldnt cause any disconnect afaik
[12:23] <vlm> EriC^^, probably, only thing comes to mind for me is might turn of logging and other writing applications just as a precaution thanks for help
[12:24] <EriC^^> vlm: yeah, no problem
[12:27] <Daulity> hey all
[12:27] <Daulity> I am having issues with timesyncd
[12:28] <Daulity> on one of my systems timedatectl says it's syncronized and up to date
[12:28] <Daulity> but on another system timedatectl says it's not syncronized
[12:29] <Daulity> and on that system it tries to get ntp from my gateway while on the working system it gets it from ntp.ubuntu.com
[12:29] <Daulity> any ideas ?
[12:29] <ogra> did you edit the config ?
[12:30] <ogra> (i.e. /etc/systemd/timesyncd.conf)
[12:30] <Daulity> on both it is default
[12:32] <Daulity> so no options filled in and thus it should use ntp.ubuntu.com (which it uses on the working system and on the non working system it uses the gateway for some reason ... )
[12:34] <ioria> Daulity, paste 'sudo systemctl restart systemd-timesyncd.service'
[12:36] <Daulity> ioria: there is no output
[12:36] <Daulity> it's not synchronized yet
[12:37] <Daulity> it is still trying to get it from my gateway for some reason
[12:39] <Daulity> can it get the server location from dhcp ?
[12:39] <Daulity> which is weird if that is the case because one of my systems works
[12:40] <Daulity> is there anyway to verify that? because i read only that there are options to set the ntp-server on your dhcp server
[12:55] <Daulity> hmm if i look in my leases: option ntp-servers 192.168.4.1;
[12:58] <Daulity> but both my working and non working setup show it though
[13:09] <Daulity> the problem wasn't on my system
[13:09] <Daulity> it was the dhcp server :D
[13:10] <newdimension> I added a key file using ssh-add ~/foo.pem. How do I remove it now?
[13:14] <ogra> newdimension, use the -d switch of ssh-add (see: man ssh-add)
[13:16] <newdimension> ogra ssh-add -d .foo.pem right? Becuase I'm getting an error that the file doesn't exist
[13:20] <newdimension> It's because I needed to use the public key: https://stackoverflow.com/questions/57334809/how-to-use-ssh-add-to-remove-identities-pem-files-from-the-agent
[13:23] <ogra> ah, yeah, i never used a .pem with ssh-add
[13:53] <MrMobius> is there a way to configure ubuntu server with another computer without internet? ssh over usb or something along those lines
[14:17] <mhoney> anyone know if the next LTS will support LXC without LXC like 18.04 does?
[14:39] <cluelessperson> So, this microsd card usb adapter no longer is being detected by ubuntu
[14:40]  * cluelessperson sighs and reboots
[14:41] <mort> fuuuck "you have held broken packages"
[14:42] <mort> I can't install openssl1.0-dev because libcurl-openssl1.0-dev depends on libcurl3 but it is not going to be installed, and apt blames me for having held broken packages even though I just have the packages from the repo
[14:45] <mort> I got it to install by manually installing libcurl3 first, but it's just weird
[15:12] <BluesKaj> Hi folks
[15:27] <Dyrcona> I installed updates this morning and rebooted some servers with VMs using qemu/libvirt. After the reboot, DNS resolution is no longer working.
[15:28] <Dyrcona> The hosts and vms are all running Ubuntu 18.04.
[15:29] <Dyrcona> The typical dnsmaq stuff doesn't seem to apply.
[15:33] <Dyrcona> OMG.... I figured it out. Someone typoed the secondary dns server address when certain vm hosts were set up. Dunno why that only became a problem today.
[15:34] <ogra> wow, congrats !
[15:36] <Dyrcona> Yeah, no. Turns out I'm wrong about that. I was looking at the wrong terminal window......
[15:56] <TJ-> bug # 2049495848373 for libvirt today ... virt-manager fails to even TRY to read $HOME/.pki/libvirt/ for TLS certificates (20.04 LTS) and instead tries and fails (due to lack of permissions) to read from /etc/pki/libvirt/
[15:57] <TJ-> anyone else set up qemu+tls:// for remote access (uses mutual TLS)
[17:13] <FreeBDSM> hello, what is some dockerfile-friendly `apt update && apt upgrade -y ...` approach that won't bloat the resulting image?
[17:21] <TJ-> Solved libvirt issue; mismatch between documentation and code as to where TLS client certificate parts, and CA cert, should be ($HOME/.pki/libvirt/ for *all* with hardcoded names)
[17:47] <raub> `n`n
[18:06] <Dyrcona> My DNS issue turned out to be iptables on the router. I had to switch from a SNAT rule to a MASQUERADE. I don't know why the SNAT stopped working unless someone else had made a correction and not saved in the script that we run at boot.
[18:55] <dreamon> hello. I use terminator as terminal. I added a startline in prefs. since it pops up 20 Windows by starting terminator. I purged it, and removed ~/.config/terminator/config put still 20Windows at starting terminator. dont know how to fix this
[19:01] <EriC^^> dreamon: try find ~ -iname '*terminator*' and see what you get
[19:05] <dreamon> Only ~/.config/terminator is found.
[19:11] <cbreak> Have you tried kitty term? If you can't fix the terminator problem, maybe kitty can help.
[19:24] <Ermine> Hello, how can I make update-initramfs include my firmware (lies in /lib/firmware)?
[19:26] <TJ-> Ermine: as long as the kernel module that requires that firmware is included thats all you need to do ( /etc/initramfs-tools/modules )
[19:32] <dreamon> cbreak, starting Kitty it opens 7 windows at same time.. Strange
[19:32] <cbreak> dreamon: maybe ... your problem is something else?
[19:32] <cbreak> how do you open the program?
[19:34] <dreamon> cbreak, your right. starting it from menu it only pops up 1 kitty window. but starting it out of terminator .. I count 7 windows.
[19:37] <Ermine> @TJ-: that module is nouveau, it is included, but it can optionally use firmware extracted from nvidia blob
[19:39] <TJ-> Ermine: right, but it declares all the firmware files it knows about in the module, and those declarations are used to include those firmware files when building the initrd
[19:39] <TJ-> Ermine: see "modinfo -F firmware nouveau "
[19:42] <Ermine> TJ-: can I modify these declarations without recompiling?
[19:43] <TJ-> Ermine: no; those are the only firmware files the module will look for
[19:45] <unlaudable> Hi, having a weird issue where after upgrading my desktop from 16.04 to 18.04 none of my services are accessible over the network anymore. No firewall running, services are listening on 0.0.0.0. If I try access them locally they work fine, over the lan, nothing. One is a docker container running Sickchill the other is httplz which I run
[19:45] <unlaudable> occasionally to copy stuff. They both worked perfectly before.  Any idea what could be causing this?
[19:47] <Apachez> anyone here who noticed broken special characters when using google remote desktop in ubuntu 21.04 ?
[19:48] <pikajude> is it possible to remove the sound indicator from the menubar in the top right?
[19:48] <unlaudable> ssh however still works, so its like high ports have been disabled somehow
[19:49] <cbreak> unlaudable: maybe it's a docker issue?
[19:49] <cbreak> have you tried it without that thing?
[19:50] <unlaudable> dreamon: Maybe you have multiple sessions running in terminator? But they hidden, perhaps one of the sessions is "full screen" and you have that thing set where you can type in one sessions and it sends it to all sessions
[19:51] <Ermine> TJ-: well, can I then exclude nouveau from initramfs?
[19:51] <unlaudable> cbreak: not really but httplz is a rust app that just runs a small http server and serves the files where you start it... no docker involved...
[19:52] <unlaudable> I thought it might be a capabilities thing... but not quite clued up enough about set/getcap etc...
[19:54] <unlaudable> defaults to port 8000, sickchill is on 8081, going to try something
[19:55] <cbreak> unlaudable: you can open listening sockets with netcat too, for example, for a test.
[19:55] <cbreak> also, you can try scanning with nmap from the outside, to see if your ports appear open from the outside
[19:55] <cbreak> or can you not even connect to the host?
[19:59] <unlaudable> nmap only shows 22 open
[20:00] <unlaudable> netstat shows my http and sickchill ports listening on 0.0.0.0
[20:01] <unlaudable> tried starting httplz with sudo on port 80 and it says its taken...
[20:01] <unlaudable> apparently I have lighttpd running for some reason...
[20:01] <TJ-> Ermine: if it is required then you'd need to add some kind of custom hook script to prevent including it
[20:05] <cbreak> unlaudable: lsof -i as root should show you all listening sockets
[20:05] <cbreak> sshd         5602            root    3u  IPv4    48310      0t0  TCP *:ssh (LISTEN) // this is probably how your sshd looks like
[20:13] <quackgyver> I use pm2 every day, but today when I logged in I got "command not found" when running pm2
[20:13] <quackgyver> How do I figure out what happened?
[20:13] <quackgyver> It's as if I never installed it.
[20:14] <quackgyver> Actually, node is gone too.
[20:14] <quackgyver> What the heck.
[20:14] <tomreyn> were those installed via apt?
[20:15] <quackgyver> Yes.
[20:15] <jmorey> hola
[20:15] <quackgyver> npm, node and pm2 are all gone.
[20:16] <tomreyn> quackgyver: see /var/log/apt/history.log or terminal.log
[20:16] <jmorey> requiero ayudar para pasar archivos de mi maquina virtual a mi
[20:16] <quackgyver> tomreyn: history.log only has two entries
[20:16] <tomreyn> how old?
[20:16] <quackgyver> regarding "unattended-upgrade"
[20:16] <quackgyver> from 2021-10-07 and 2021-10-09
[20:16] <quackgyver> Nothing else.
[20:17] <tomreyn> is there /var/log/unattended-upgrades.log - if so what's in there?
[20:18] <TJ-> what package supplies "pm2" ?
[20:18] <unlaudable> cbreak: mmm interesting, I see the port listed in netstat but not with lsof, ssh is there, a listening netcat shows up... but not docker, httplz shows up but still the only thing accessible is ssh....
[20:19] <cbreak> how does that httplz thing show up?
[20:19] <quackgyver> tomreyn: When I booted up the system it said that I have 32 unattended upgrades. I used the command that it supplied in order to see the list.
[20:19] <quackgyver> Most of it was stuff that I've installed.
[20:19] <quackgyver> But node, npm or pm2 aren't there.
[20:20] <quackgyver> nor*
[20:20] <quackgyver> are*
[20:20] <tomreyn> quackgyver: chances are that those packages were removed to resolve a dependency conflict.
[20:20] <TJ-> unlaudable: if those are all docker containers, docker usually installs iptables NAT rules
[20:20] <quackgyver> But how can that be when I left the system running just fine yesterday
[20:20] <quackgyver> Or the day before, whenever I used it last.
[20:21] <tomreyn> quackgyver: some package was updated that triggered the conflict resolver.
[20:21] <quackgyver> Oh, you mean updated automatically?
[20:21] <tomreyn> yes
[20:21] <quackgyver> Aha I see.
[20:21] <quackgyver> I haven't really installed anything weird though.
[20:21] <quackgyver> Just a couple of vanilla things.
[20:21] <tomreyn> the root cause would then be that you're probably installing incompatible packages in the first place
[20:21] <cbreak> I think other containers won't show up. At least for me, znc doesn't show up, which runs in an lxd.
[20:22] <Ermine> TJ-: well, thank you!
[20:22] <tomreyn> quackgyver: what does this print?   apt list --installed | grep ',local\]$' | nc termbin.com 9999
[20:23] <TJ-> is this a 'snap' thing?
[20:23] <quackgyver> Isn't that gonna upload my output to termbin.com
[20:23] <tomreyn> quackgyver: yes
[20:24] <quackgyver> I see. I don't think I want to upload a system output that I don't understand, for security reasons. As much as I appreciate all the help.
[20:24] <quackgyver> But I can try to check the output.
[20:24] <tomreyn> so just     apt list --installed | grep ',local\]$'     then
[20:24] <quackgyver> Will do.
[20:25] <quackgyver> I tried sudo apt-get upgrade just now as well.
[20:25] <quackgyver> and sudo apt-get update before that.
[20:25] <cbreak> unlaudable: it seems ss -l is better at this than lsof :/
[20:25] <quackgyver> In a couple of instances it complained that I wasn't using the package maintainer's version.
[20:25] <quackgyver> so maybe that has something to do with it
[20:26] <quackgyver> So when I run your command it just warns me "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."
[20:26] <quackgyver> despite using sudo
[20:27] <tomreyn> which ubuntu release is this?
[20:27] <quackgyver> 21.04
[20:28] <tomreyn> what's the output of    apt policy
[20:30] <quackgyver> It's giving me a long list of package files with my host (linode)
[20:31] <unlaudable> cbreak: doing a nmap shows as filtered
[20:32] <tomreyn> quackgyver: does it mention "packagecloud"?
[20:32] <cbreak> unlaudable: so it's not replying
[20:32] <cbreak> ss -lpn --tcp, how does that show your http thingie?
[20:33] <unlaudable> yes
[20:33] <unlaudable> so ufw is disabled
[20:33] <quackgyver> tomreyn: Nah, the word "cloud" doesn't appear anywhere in the list
[20:33] <unlaudable> but iptables -L is showing a bunch of stuff...
[20:33] <quackgyver> It's mostly just hirsute-updates/multiverse amd64 Packages
[20:33] <quackgyver> and then some "Pinned packages"
[20:34] <quackgyver> which are all prefixed with qemu
[20:34] <quackgyver> Nothing else
[20:34] <tomreyn> quackgyver: does /etc/apt/sources.list.d/*_pm2.list* exist?
[20:35] <quackgyver> You mean if I open if I navigate to /etc/apt/sources.list.d, the contents of the folder is empty
[20:36] <tomreyn> quackgyver: so this seems like you did not install pm2 using apt
[20:37] <quackgyver> Uh, maybe I installed it via npm. If that's at all possible.
[20:37] <quackgyver> But I mean, node and npm are still gone
[20:39] <unlaudable> quackgyver: you possibly installed it and ran the commands to be able to run it, but didn't add those commands to your profile so they would be set in your path again
[20:40] <cbreak> there's probably a node_modules or similar directory somewhere if you used npm to install stuff
[20:40] <cbreak> tried to find ~ -name pm2, or what ever else you think you should still have?
[20:41] <quackgyver> Hmm.
[20:41] <quackgyver> When you say "didn't add those commands to your profile", what does that mean?
[20:43] <unlaudable> If you installed node manually by just downloading the tar file and extracting it... then maybe did a export PATH=$PATH:~/node-version/bin so you could run it... now you come back later in a different session and you don't have it in your path anymore
[20:43] <quackgyver> Ok, apparently it was NVM. I have no idea how it works and was just told to install it because "it's the way to do it". Apparently it somehow doesn't load in node, npm or pm2 until you run the command "nvm use node"
[20:43] <quackgyver> After doing that, I can suddenly run the commands again.
[20:43] <unlaudable> yeah nvm is useful
[20:44] <unlaudable> nvm has setup the environment so its available again, all your stuff should be under .nvm or something
[20:45] <unlaudable> nvm allows you to switch between multiple versions of node
[20:45] <quackgyver> Aha I see. So I guess that my server must've rebooted while I was offline then
[20:45] <quackgyver> and NVM didn't automatically activate.
[20:45] <quackgyver> That's one mystery solved.
[20:45] <quackgyver> Hey, thanks for taking the time to help. I really appreciate it.
[20:45] <quackgyver> very kind of you.
[20:46] <unlaudable> https://github.com/nvm-sh/nvm#automatically-call-nvm-use
[20:46] <PeGaSuS> you can always check for how long your server is up using the `uptime` command
[20:47] <quackgyver> Ah cool.
[20:48] <unlaudable> another useful utility to read up about is https://direnv.net
[20:48] <unlaudable> I seem to have a firewall running without a firewall running... :-/
[20:51] <cbreak> unlaudable: firewalls are part of the kernel
[20:51] <cbreak> they're not programs that run
[20:53] <unlaudable> cbreak: yeah... I mean I have a bunch of iptables rules and I don't know where they came from...
[20:54] <unlaudable> iptables -F has sorted out my issues...
[20:55] <cbreak> I did wonder why you didn't upgrade to 20.04 :)
[20:56] <unlaudable> I'll do that soon... disk space was an issue :D
[20:56] <cbreak> the firewall rules will probably reappear the next time you reboot :/
[20:57] <unlaudable> maybe... I'll check tomorrow, sleep time... thanks for listening :-)
[21:01] <monaco> bhoom
[22:07] <funabashi> Is there any command like ipconfig /displaydns in ubuntu ?
[22:09] <EriC^^> funabashi: cat /etc/resolv.conf
[22:10] <Aavar> I need the name for a simple qt-app that I can use for testing. Like xclock or similar. Any ideas?
[22:13] <funabashi> EriC^^: there is no entries about DNS cache
[22:20] <EriC^^> funabashi: https://www.techrepublic.com/article/how-to-view-dns-cache-entries-with-the-new-systemd-resolved-resolver/
[23:44] <waltman> Is this the right channel to ask questions about snap?
[23:46] <Bashing-om> waltman: You may certainly ask - but there is a dedicated snap channel that may serve you better.
[23:46] <Bashing-om> !snap | waltman
[23:47] <waltman> Is it #snap?
[23:48] <waltman> Nope, I'm the only one there.
[23:49] <guigui-80> speak only french
[23:49] <Bashing-om> waltman: try as #snappy .
[23:50] <waltman> Thanks
[23:50] <guigui-80> ok