[00:00] <ForeverNoob[m]> all the more reason for me to make a backup then
[00:01] <sarnold> backups are always a good idea :)
[00:02] <sarnold> you could check for memory issues with memtest86 or memtest86+, and disk, you could use badblocks.. neither one is quick though
[00:12] <ForeverNoob[m]> sarnold: badblocks on SSDs are not always representative IIRC
[00:14] <jeremy31> wear levelling and life left
[00:30] <sarnold> ForeverNoob[m]: oh yeah :/ time to teach this old dog new tricks I guess
[01:37] <arooni_team_b> any help getting this techkey bluetooth 5.0 adapter working on ubuntu 20.04? https://gist.github.com/40709a3bf61eaf478294f60b89da01aa
[01:50] <sarnold> arooni_team_b: $ errno 2
[01:50] <sarnold> ENOENT 2 No such file or directory
[01:50] <sarnold> arooni_team_b: find the firmware for the device?
[01:50] <sarnold> arooni_team_b: I think start looking at https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/
[02:09] <neildugan> hello!   I am trying to get a Epson all-in-one scanner working, I have connected the device to my LAN, I can ping the device, I can't get 'scanimage -L' to work!    I have put what I think is the correct entries in /etc/sand.d/net.conf and /etc/sane.d/saned.conf    I have no filewall ATM   but I can't get the scanimage to work.
[02:13] <sarnold> neildugan: the table on https://github.com/alexpevzner/sane-airscan may have advice on your unit
[02:26] <neildugan> sarnold, my device -- epson wp-4530 isn't listed in that page
[02:30] <sarnold> dang
[02:53] <rodrigoty23> can anybody help me my arrow keys arent working!
[02:55] <deltab> rodrigoty23: where? what happens?
[02:55] <arooni_team_b> hey team; i could use help getting bluetooth 5.0 usb adapter working
[02:56] <arooni_team_b> [  683.776281] Bluetooth: hci0: command 0x2038 tx timeout
[02:56] <sarnold> rodrigoty23: check around on your keyboard for a 'fn lock' or something similar..
[02:56] <arooni_team_b> thats from dmesg
[02:56] <rodrigoty23> im on a laptop
[02:57] <deltab> rodrigoty23: separate arrow keys or part of the numeric keypad?
[02:57] <rodrigoty23> when i click the botton button i get a locket keypad icon
[02:57] <rodrigoty23> locked
[02:57] <rodrigoty23> there part of my keyboard
[02:58] <deltab> try the num lock key
[02:59] <rodrigoty23> nop tried num lock
[02:59] <rodrigoty23> nothing
[03:00] <deltab> what happens when you press them?
[03:01] <rodrigoty23> the numlock?
[03:02] <deltab> the arrow keys
[03:03] <rodrigoty23> i told you either thety dont work or i get a dislog of a disabled keypad!
[03:04] <rodrigoty23> dialog
[03:46] <arooni_team_b> is there any command line way to make my screen grayscale?
[03:46] <arooni_team_b> ubuntu 20.04
[03:47] <arooni_team_b> theres some gnome extension for it ; but would like to have it invoked automatically via cron nightly to help my eyes
[03:47] <lotuspsychje> theres redshift-gtk
[03:47] <arooni_team_b> does that take it to grayscale
[03:47] <matsaman> no
[03:48] <matsaman> arooni_team_b: what graphics driver?
[03:49] <matsaman> arooni_team_b: https://unix.stackexchange.com/questions/125257/how-can-i-make-the-screen-black-and-white
[03:52] <arooni_team_b> intel built in
[05:24] <loxie> Hi, I'd like to add a grub entry to be able to boot either ubuntu or windows10. In my case both os's are installed each on a separate drive (ubuntu sda... windows10 sdb. how do i add windows to grub? "sudo update-grub" and then sudo grub-install /dev/(windowsbootpartition)"sdb in my case?"
[05:28] <loxie> both os's have been installed to their respective drive, and at the time (during installation,only one drive was ever connected|mbr on two separate drives)
[05:39] <loxie> please help me with this"grub-install: warning: File system `ntfs' doesn't support embedding.
[05:39] <loxie> grub-install: error: embedding is not possible, but this is required for cross-disk install."
[05:41] <loxie> i have two os's windows and ubuntu each on sda and sdb respective wanting to add to grub "windows 10" rand sudo grub-update then grub-install /dev/sdb1
[05:42] <loxie> what did i do wrong, don i only need to run sudo update-grub
[05:42] <loxie> *don=do
[06:24] <loxie> in the spirit of sharing and learning, running sudo grub-update was sufficent to add a grub boot entry for windows 10 to my ubuntu grub2 menu (each install was done independently with only one hdd/sdd (sda and sdb respective) drive connected at a time
[06:46] <pi0> i am currently running ubuntu 20.04, pidcat should be available via apt install, but i cannot seem to find it
[06:46] <Hash> Hello
[06:46] <Hash> I am on 20.04 and I noticed that initctl process takes 2gb of ram. I can't find any info on why this is
[06:46] <Hash> Does anyone know?
[07:20] <fling> Hash: you should ask #systemd
[08:09] <coolstar> how do I resize the on screen keyboard on the Ubuntu 20.04 login screen?
[08:09] <coolstar> since this is kinda unusable: https://imgur.com/a/C7s9BBW
[08:11] <coolstar> also how do I run xrandr when gdm starts up? since I want to rotate it into landscape mode
[08:29] <peter22222> hi folks... anybody knows how to use deluser with wildcard *?
[08:30] <peter22222> i want to delete obsolete guest-users e.g. guest-fihhdh
[08:30] <peter22222> i have many of them, i like to delete them in one command with deluser
[08:30] <peter22222> but deluser guest-* doesnt work
[08:30] <peter22222> seems it takes the asterisk * literally.
[08:31] <peter22222> how can i mark the asterisk as a wildcard?
[08:37] <llutz> peter22222: something like:  awk -F\: '/^guest/ {print $1}' /etc/password | xargs deluser ....
[08:51] <peter22222> cool thank you llutz
[08:52] <peter22222> llutz doesnt work like that unfortunately
[09:02] <llutz> peter22222: means what?
[09:04] <peter22222> deluser only allows 1 or 2 usernames to delete
[09:05] <llutz>  /etc/passwd i meant*
[09:08] <llutz> peter22222: for name in $(awk -F\: '/^guest-/ {print $1}' /etc/passwd ) ; do  deluser -r ....options... $name; done
[09:24] <peter22222> llutz Thank you!!!
[10:36] <dev-isnt-a-dev> UI changges
[10:36] <dev-isnt-a-dev> hi! so because of the ubuntu 20.04 image being to big, and no netinst image being available, i installed ubuntu 16.04, but is there any good reason to upgrade to 20.04? I just xfce on my laptop, so i dont care about
[10:37] <dev-isnt-a-dev> i dont care about UI changes. are there any technical reasons to upgrade? for example battery life or performance increase?
[10:39] <Habbie> 16.04 will stop getting security updates in a few months
[10:41] <dev-isnt-a-dev> is 16.04 5 yeas old already? yeez, i am feeling old
[10:42] <iptable> 16.04 = 2016 April release date
[10:42] <dev-isnt-a-dev> but are there any other technical advantages?
[10:42] <iptable> according to my maths, it will be 5 years in april 2021
[10:43] <iptable> why not pick 18.04 then? if 20.04 you don't like and 16.04 is EOL
[10:43] <dev-isnt-a-dev> ha, i never saw that relation (I am not really a ubuntu user, only for my laptop i use ubuntu, and i only have a laptop since a few days)
[10:44] <dev-isnt-a-dev> i don't dislike 20.04, i dislike upgrading without a good technical reason
[10:44] <dev-isnt-a-dev> "don't fix it if it aint broke
[10:44] <iptable> end of life is pretty much a 'broke' situation
[10:45] <iptable> I do like my linux Mint for desktop though, so what do I know ;)
[10:45] <dev-isnt-a-dev> well, i am definetly going to upgrade before march, but now i need to decide 18.04 or 20.04
[10:46] <dev-isnt-a-dev> if i upgrade to either of those, will i get the gnome DE? because i rather not have that
[10:46] <iptable> if you wait long enough, you can upgrade to 22.04 :P. I would go with 20.04, no need to worry about upgrades for 5 years
[10:46] <iptable> You can install 'ubuntu server' which is really just ubuntu without the desktop, and choose and install the DE you want
[10:47] <iptable> or actually ubuntu desktop = ubuntu server + DE and some other apps
[10:47] <dev-isnt-a-dev> i thought about that, and that was my initial plan, but since i am on a laptop, i figured the battery life would probely worse
[10:47] <ducasse> dev-isnt-a-dev: if you have xfce now, that will not change with an upgrade
[10:47] <dev-isnt-a-dev> yes, but will gnome be added to the list?
[10:47] <dev-isnt-a-dev> now i have unity, and xfce
[10:47] <dev-isnt-a-dev> i dont have Xubuntu, i have ubuntu with xfce added myself
[10:47] <iptable> you don't have to install gnome, you can
[10:48] <iptable> youcan get ubuntu server and install xfce DE and not have gnome
[10:48] <ducasse> if you have ubuntu-desktop you will get gnome
[10:52] <dev-isnt-a-dev> i got an encrypted drive, can i still upgrade with a complete reinstall, or is the only way to use apt-get dist-upgrade
[11:02] <dev-isnt-a-dev> quit
[11:53] <tosaraja> Do we have idrac service modules available for focal yet? Seems the repo http://linux.dell.com/repo/community/openmanage/950/ does not contain that
[11:58] <tosaraja> or would it work if i just installed an older one meant for bionic and put it in focal?
[12:00] <killall> hello, on ubuntu server i have removed systemd-resolved and keep having resolv.conf with 127.0.0.1. How do i fix so i can have dns from dhcp.
[12:04] <legreffier> killall: why are you removing it ? systemd is usually reliable on this.
[12:05] <killall> legreffier, its a crap, 127.0.0.1 as dns is slow, often does not resolve domains i have either in hosts or online. So i disable it.  Can you help me make this work as "normal"?
[12:06] <killall> my resolv.conf point to /run/resolvconf/resolv.conf  but still have a 127.0.0.1 :/
[12:06] <legreffier> 127.0.0.1 is litterally your machine. it won't get any faster. we're talking microseconds overhead.
[12:07] <legreffier> if your machine doesn't know about an host, or doesn't have it in cache, it forward to whatever your dhcp service indicated.
[12:07] <legreffier> that's the default.
[12:07] <killall> legreffier, can we avoid 127.0.0.1 and proceed to fixing my dns to dhcp nameserver instead of 127.0.0.1?
[12:08] <iptable> define slow
[12:09] <killall> iptable, i have lots of  cases where users cannot resolv local domains due to systemd-resolved
[12:09] <killall> as soon as i remove systemd-resolved it works all as expected no problems for ages.
[12:11] <legreffier> killall: 1. don't ever modify /etc/resolv.conf (the 1st lines of this file should tell you not to) 2. edit files in /etc/systemd/network/ in order to force systemd to not use its local cache 3. you're not gonna get anything significant performance-wise out of this work.
[12:11] <legreffier> 4. you'll probably, actually, slow down your network performances as you'll request the dns servers more often.
[12:13] <killall> legreffier,  i dont edit resolv.conf as it is overwritten. At the moment i have set a dns /etc/resolvconf/resolv.conf.d/head here, and it works, but in the /etc/resolv.conf still see a 127.0.0.1 dns and cannot find who putted there instead a dhcp nameserver.
[12:14] <killall> since this machine is connecting to a lot of networks on the move having a dns fixed is not desirable
[12:14] <legreffier> it's the normal behavior
[12:14] <legreffier> 127.0.0.1 IS the machine.
[12:15] <legreffier> it's not on internet... it's just "your box" network-wise.
[12:15] <killall> i know that :)
[12:16] <killall> i just need to have there the dns received from dhcp and that is not working :(
[12:17] <legreffier> did you try editing /etc/systemd/resolved.conf ?
[12:17] <killall> legreffier, no
[12:19] <killall> either i dont see the setting or there i can only put some static nameserver setting.
[12:19] <iptable> killall: how about working out why they cannot resolve and fix that instead of removing systemd-resolved?
[12:20] <iptable> like, tried dig? find out where it fails, is systemd not getting the right DNS from dhcpd
[12:21] <killall> i have done in the past, the problems is in systemd-resolved dhcp responds ok, if at the moment i edit resolv.conf with router dhcp all is ok and works as expected, back to 127.0.0.1 not working even with systemd-restart
[12:21] <killall> so i quit using it on all network. happens that this server i cannot find how to make it work with dns from dhcp
[12:27] <legreffier> first lines of resolv.conf should tell you where the change come from , is it related to systemd ? or networkmanager ?
[12:28] <killall> i dont have networkmanager, this is a server
[12:28] <killall> they come from resolvedconf
[12:32] <legreffier> have you considered reading resolvconf manual ? it's short and simple.
[12:32] <killall> :) thanks
[12:32] <legreffier> http://manpages.ubuntu.com/manpages/hirsute/man8/resolvconf.8.html
[12:34] <legreffier> cause you're kinda holding a knife by its blade here :)
[12:39] <BluesKaj> Hi all
[12:48] <andreas1107> hi everyone, can anyone help with how I can configure Tracker to index all my files?
[12:48] <andreas1107> I've tried to use the GUI settings and clicked all the files I want to index
[12:48] <andreas1107> also tried using gconf-editor
[12:48] <andreas1107> no avail
[12:48] <andreas1107> is there a trick to it?
[15:20] <LenniePike> hello
[15:21] <LenniePike> can anyone help me to install a printer?
[15:28] <rando25892> maybe what do you need
[15:29] <LenniePike> I am trying to install an hp printer... laserjet pro m404dw
[15:29] <rando25892> ok first of all have you read through the arch wiki
[15:31] <LenniePike> ok
[15:32] <LenniePike> this is on Mint btw
[15:32] <rando25892> it shouldnt matter
[15:32] <rando25892> it same basic guideline and its best documentation
[15:33] <LenniePike> they have a tool called hp-locatedriver but I am not sure how to use it
[15:33] <rando25892> you may not even have to
[15:33] <LenniePike> ok
[15:33] <rando25892> if you look at the cups archwiki youll be able to scan and find something about hplip
[15:34] <LenniePike> ok
[15:34] <rando25892> then just understand those two components and it may just work quickly
[15:34] <rando25892> but you want to interface with cups to see if it recognize the printer when plug etc
[15:35] <LenniePike> yea... it shows up as a device
[15:35] <LenniePike> it shows up in my file system
[15:35] <rando25892> yes but is cups running?
[15:35] <LenniePike> yea
[15:35] <LenniePike> it shows up in CUPS also
[15:35] <rando25892> cupsd and cups-browsed
[15:35] <rando25892> make sure you check cups in the interface like the archwiki says
[15:36] <rando25892> localhost:631
[15:36] <rando25892> otherwise it may be relate to a hp specific binary driver but im pretty sure hplip is already set up
[15:37] <LenniePike> I don't know if I should have used the custom install with hplip when I updated it
[15:38] <LenniePike> I also keep getting the message hp-locatedriver Invalid Model Name Passed
[15:38] <LenniePike> I have tried many variations of the model name
[15:39] <LenniePike> or perhaps I need to find the device name... not sure how though
[15:39] <rando25892> look at this text box https://wiki.archlinux.org/index.php/CUPS/Printer-specific_problems#HPLIP
[15:39] <rando25892> specifically the portion about ppd file
[15:39] <rando25892> and use the cups web interface and install through cups
[15:41] <LenniePike> ok
[15:45] <LenniePike> how do I find out which ppd file in /usr/share/ppd/HP/ matches my printer
[15:45] <LenniePike> I installed the class driver
[15:45] <rando25892> well once you find the correct one you will know
[15:45] <rando25892> and hp release the ppd for your printer
[15:45] <rando25892> so one of them
[15:46] <LenniePike> should I keep trying different ones?
[15:47] <rando25892> its list here on mint https://developers.hp.com/hp-linux-imaging-and-printing/news/hplip when it was add
[15:48] <rando25892> i would find the specific ppd
[15:48] <rando25892> not just try randoms
[15:48] <rando25892> at least for the 404
[15:48] <rando25892> HP LaserJet Pro M404d
[15:48] <LenniePike> oh ok
[15:51] <rando25892> otherwise look elsewhere like hplip and cups and why it isnt working it should just work
[15:51] <ogurk> trying to understand what are the effects of appending 'GRUB_CMDLINE_LINUX_DEFAULT="fsck.repair=yes"' in /etc/grub/default
[15:52] <rando25892> fsck does a filesystem check
[15:52] <rando25892> im not sure what it does if it check the filesystem every boot or something
[15:53] <rando25892> do you need it every boot?
[15:53] <LenniePike> I had upgraded to HPLIP 3.20.11
[15:53] <rando25892> sometime fsck can repair complications in drives but usually you dont have to have it repair but it doesnt really take long and if its on the fly like that..
[15:53] <LenniePike> it says ppd browsing is a known issue
[15:54] <rando25892> thats with hp-setup
[15:54] <rando25892> if you have the correct ppd and use cups it usually a sure shot and a test page will print right away
[15:55] <LenniePike> I don't see where it shows what the correct ppd is
[15:55] <LenniePike> if I can find out what it is I can browse to it in CUPS
[16:00] <rando25892> looks like you have to run hp-plugin
[16:01] <ogurk> looking at this article https://www.linuxuprising.com/2019/05/how-to-force-fsck-filesystem.html
[16:01] <rando25892> but im not sure how you want to remain compliant on linux mint tbf. its just if you do go the route outside package management you are kinda on your own but i do think those are options to try
[16:02] <rando25892> what is wrong with the drive ?
[16:02] <rando25892> just use a boot up disk
[16:02] <rando25892> that never fails
[16:03] <ogurk> looks like it goes together with fsck.mode=force - just don't understand what setting fsck.repair=yes is adding
[16:04] <rando25892> yea its just check your fs you can not have it
[16:05] <rando25892> i think if you leave it on it doesnt hurt
[16:05] <rando25892> probs just take it off
[16:05] <tinyhippo> When I try and print via CUPS, I get the error:     Unsupported format "application/vnd.cups-pdf-banner". - anybody have a suggestion of what I could try to fix it?
[16:07] <rando25892> try another ppd file
[16:07] <rando25892> remove that current printer driver
[16:07] <rando25892> its all it takes
[16:07] <tinyhippo> ok
[16:07] <rando25892> or go the hp-plugin appplication that is bundle with hplip
[16:08] <rando25892> look at the tools in hplip and make sure your printer is fully partially support ...
[16:08] <LenniePike> I have LJ classes 1-6... perhaps I can just try 6?
[16:08] <rando25892> you can always just remove the printer driver
[16:08] <rando25892> if it looks like it could be it try it
[16:08] <tinyhippo> rando25892: I am not sure that a printer driver exists for this printer, for Linux
[16:08] <LenniePike> ok
[16:08] <tinyhippo> it's a Zebra GK420d, a label printer
[16:09] <rando25892> if it works with cups it is support
[16:09] <rando25892> sometimes a third party site will have a list of ppd if its not on your filesystem
[16:09] <rando25892> like for ricoh printers its super easy
[16:11] <genii> You can alsoo just try seeting it as a generic IPP printer with Postscript capability, this works for many of them
[16:11] <rando25892> https://www.zebra.com/us/en/support-downloads/printers/desktop/gk420d.html#downloadlistitem_9aa it has a third party download option
[16:14] <tinyhippo> I'll give it a go, thanks rando25892 and genii
[16:15] <rando25892> LenniePike: does hp-check do anything
[16:15] <rando25892> you can look at this here https://forums.linuxmint.com/viewtopic.php?t=307295
[16:17] <tinyhippo> it works now, rando25892 and genii  - thanks!
[16:17] <rando25892> youre welcome
[16:23] <LenniePike> I don't know how to use hp-check
[16:23] <LenniePike> I tried all the class drivers but none of them worked
[16:25] <LenniePike> perhaps I need to reinstall hplip using discrete drivers
[16:27] <razorback> I am trying to mount a hfsplus file system in a way that ignores permissions (e.g. the current system user can read and write all files). Which options can I use for mount command to accomplish that? I've already tried uid, gid, umask, mode, setuid, setgid and others but they're either not supported or don't work at all.
[16:28] <rando25892> LenniePike: you make sure the ppd is unpack?
[16:28] <rando25892> what file did you try first?
[16:28] <LenniePike> I tried all the class drivers
[16:28] <rando25892> it ends in ppd or gz?
[16:28] <razorback> I'm just trying to read the file system of an external hard drive without being constrained by permissions
[16:29] <LenniePike> I tried it through the driver search in cups
[16:29] <rando25892> no
[16:29] <rando25892> look in /usr/share/ppd/hp or /usr/share/ppd/HP
[16:29] <oerheks> i think you don't want write access.. else see the wiki https://help.ubuntu.com/community/hfsplus
[16:30] <LenniePike> it has the class folders there
[16:30] <rando25892> really well just to be sure i would..
[16:30] <rando25892> g unzip it yourself and browse it from home
[16:31] <rando25892> you should be obsessing over HP/hp-laserjet_pro_m404-m405-ps.ppd.gz
[16:31] <rando25892> its fully support it works
[16:32] <LenniePike> each folder has one ppd file with the same name as the folder
[16:32] <rando25892> you only need the ppd file then go through the motion in cups to install
[16:33] <rando25892> its the driver and cups will do the rest basically
[16:33] <rando25892> though there may be perks with hp software you could find also
[16:34] <rando25892> if you didnt find the ppd file
[16:34] <rando25892> find a different hplip in your distro repo
[16:34] <LenniePike> none of the folders have the name of the printer model
[16:34] <rando25892> yea remove hplip
[16:34] <rando25892> and get a diff one
[16:34] <rando25892> then recheck
[16:35] <LenniePike> well I can try it with a different option
[16:35] <rando25892> otherwise
[16:35] <LenniePike> instead of installing the class drivers I can try the discrete drivers
[16:35] <rando25892> wasnt there a manually method to it
[16:35] <LenniePike> I did it manually yes
[16:35] <rando25892> if you find hplip source package unpack it and take it out of there
[16:35] <LenniePike> perhaps I should have chose automatic
[16:36] <LenniePike> but I think the discrete drivers will work
[16:36] <rando25892> https://developers.hp.com/hp-linux-imaging-and-printing/install/manual/distros/linuxmint
[16:36] <LenniePike> I believe it will uninstall the old hplip when I reinstall it
[16:37] <oerheks> please, use the ubuntu pages, not that crappy mint, thanks >> https://developers.hp.com/hp-linux-imaging-and-printing/install/manual/distros/ubuntu
[16:38] <LenniePike> I'll try it a little later...
[16:39] <LenniePike> I'll come back and let you know if it worked if you are here... I'll have to do it a little later though
[16:39] <LenniePike> thanks very much for your help
[16:39] <rando25892> youre welcome
[16:49] <kotrunga> Hello all. I installed the most recent version of Ubuntu on my macbook pro (early 2015 retina edition). The keyboard and trackpad does not work- can anyone help me?
[16:50] <kotrunga> I'm surprised it does not work out of the box- that version of the macbook pro's was arguably the most popular.
[16:50] <mefistofeles> yeah, that's surprising
[16:50] <mefistofeles> kotrunga: how did you install it? It worked in the live system/installer?
[16:51] <kotrunga> mefistofeles: it did not work in the live installer. I had to use an external keyboard and mouse to install.
[16:52] <kotrunga> I verified the iso after downloading it, and then put it on the flash drive. I've installed linux what feels like 1000 times on other stuff, but it doesn't work on the macbook pro
[16:55] <ioria> kotrunga, see if a custom image might help : https://vinodhsblog.co.za/ubuntu-20-04-lts-on-a-macbook-pro/
[16:57] <kotrunga> ioria: thank you! checking it out now
[16:57] <ioria> ok
[16:58] <kotrunga> I'm really curious why it's not supported out of the box though :(
[17:29] <xok> Hello All...
[17:29] <xok> I am running Ubuntu 20.04, I want to be able to launch applications ( .desktop files ) from the nautilus...
[17:29] <xok> Can anyone help me with that?..
[17:41] <oerheks> xok, nope, https://www.linuxuprising.com/2018/05/nautilus-will-no-longer-launch-binaries.html
[17:43] <rr123> for ubuntu console(ctrl-alt-f3), is it fbcon? i.e. a tty based off framebuffer?
[17:52] <xok> oerheks, https://www.linuxuprising.com/2018/05/nautilus-ability-to-launch-binaries-or.html
[17:53] <oerheks> xok, again, no; and it is a bad thing to run nautilus as root or something.
[17:59] <xok> oerheks, who said I want to run it as root?..
[18:00] <xok> How do I run desktop apps from the nautilus then?..
[18:00] <xok> And why is it a good idea to run them from the Desktop and a bad thing to run them from nautilus?..
[18:05] <oerheks> xok, security, answered in that 1st url i posted
[19:36] <SynfulAck> Anyone know how I should install node.js? Apparently I need it to run ansible in vscode through a remote ssh session. Tried running this but it gave me a warning. https://paste.ubuntu.com/p/yzvjSsDF92/
[19:40] <Squishy> SynfulAck, either install without snap or run it with the '--classic' like it says should do the trick
[19:41] <SynfulAck> Squishy, out of curiosity, how do you install it without snap? The vscode refered me to the node website to download the .tar.gz but i would of thought apt would have something as well but a sudo apt install node yields nothing.
[19:42] <oerheks> snapcraft.io + nodejs
[19:42] <oerheks> https://snapcraft.io/node
[19:43] <oerheks> and more reading https://snapcraft.io/docs/node-apps
[19:43] <Squishy> that is with snap, without you would need to install a PPA I think if using the 20.04 or later
[19:44] <tomreyn> https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
[19:44] <tomreyn> there's also nodejs in ubuntu, but those packages will grow older than you probably want
[19:54] <croraf> I'm confused about ubuntu's apt package for "mongodb". When I download it it is version 3.6. And official mongo site says it is not their own recommendation, but they offer a different installation. What is going on?
[19:55] <croraf> Why does Ubuntu not let them to publish deploy the latest version, why does Ubuntu not have the latest version in apt repo, and how to download different mongodb versions?
[19:55] <tomreyn> !latest | croraf
[19:56] <tomreyn> also read up on mongodb + licensing (but that's off-topic here)
[19:56] <croraf> OK, but can I download older version than 3.6?
[19:57] <tomreyn> you didn't even specify your ubuntu release
[19:57] <croraf> Does apt offer managing versions?
[19:57] <croraf> 20.04
[19:57] <tomreyn> !info mongodb focal
[19:57] <sarnold> croraf: you can configure new ppa sources with whatever versions you or someone else has packaged
[19:58] <tomreyn> ...or use this version which is in ubuntu's *universe* repository.
[19:58] <tomreyn> you probably want a PPA, though.
[19:59] <tomreyn> or a third-party repository rather
[20:00] <croraf> I didnt get your last reply, I only got  "or a third-party repository rather" tomreyn
[20:00] <croraf> there was some disconnection in the IRC proxy
[20:01] <tomreyn> croraf: you probably want this https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ - which is not supported here.
[20:01] <sarnold> < tomreyn> ...or use this version which is in ubuntu's *universe* repository. < tomreyn> you probably want a PPA, though. < tomreyn> or a third-party repository rather
[20:02] <croraf> sarnold, thanks. Last I got from <tomreyn> you didn't even specify your ubuntu release, till my comment that I didnt get his reply
[20:02] <croraf> tomreyn, I want official ubuntu apt version
[20:02] <croraf> I'm asking, can I get different versions form apt, or only the one that apt gives me?
[20:02] <tomreyn> i'd talk to you, but there's no point if your irc bouncer is buggy. ;)
[20:03] <croraf> I just had a minor disconnection from "<tomreyn> you didn't even specify your ubuntu release" till "<croraf> I didnt get your last reply,"
[20:04] <sarnold> croraf: you can install whatever has been packaged
[20:04] <sarnold> croraf: that's a huge universe of things, though
[20:04] <tomreyn> croraf: from ubuntu's repositories, you can (only) get the community supported packages, and for Ubuntu 20.04, there's only this one version ubottu told you about.
[20:04] <sarnold> croraf: there's thousands of ppas, and you can of course set up your own repositories with aptly or apt-ftparchive etc
[20:05] <croraf> I dont want to add ppas. So I'm left only with 3.6
[20:05] <croraf> WHere can I check the Ubuntu's avaialbe versions?
[20:05] <croraf> Is that the universe repository?
[20:06] <legreffier> yes
[20:06] <sarnold> croraf: apt-cache search mongo .. followed by apt-cache show <packagenames>
[20:08] <croraf> sarnold,  So for any other version the package has to be named differently?
[20:08] <croraf> I cannot select between two versions of "mongodb" package?
[20:08] <sarnold> croraf: that'd be best, yes
[20:08] <sarnold> croraf: i fyou want that, you may prefer a snap-packaged mongo
[20:08] <croraf> i heard snaps are bad
[20:09] <croraf> i had also some issues with them
[20:09] <croraf> so I use apt only
[20:09] <legreffier> you can safely use the repository handled by mongodb, they're pretty serious about it. and mongodb recommends it...
[20:09] <legreffier> it should be your prefered if you need a newer mongodb version
[20:09] <croraf> And one last thing, tomreyn, you said that mongodb doesnt ship newer version on Ubuntu repo, because of the licensing issue?
[20:09] <croraf> legreffier, thanks, I see.
[20:09] <legreffier> if version is not a concern, just use ubuntu universe.
[20:10] <croraf> I was confused about all those commands on their site needed for donwload.
[20:10] <legreffier> no. not even licensing :) . only upgrade policy issue.
[20:11] <croraf> legreffier, what do you mean by that?
[20:13] <legreffier> both approach (having newer package from mongodb company, or an older distribution-maintained package from ubuntu) are totally valid.
[20:13] <legreffier> both have pros and cons.
[20:34] <coconut> Is there any policy for when a package has only one instead of two packages in apt with "apt-cache madison"?
[20:39] <sarnold> coconut: well that's handy, thanks
[20:40] <coconut> i do not really have experience with it though :)
[20:42] <oerheks>  apt-cache policy madison
[20:43] <coconut> oerheks, no not the package madison, but the madison tool inside apt-get.
[20:44] <coconut> some packages have only on version, some two
[20:44] <coconut> i was asking myself for why that is\
[20:45] <coconut> was hoping some might know here
[20:46] <legreffier> some packages are present in many repos ?
[20:46] <coconut> legreffier, no the same repo sometimes
[20:47] <coconut> oh i notised it was 64 and 32 bit now. Sorry for asking :)
[20:47] <legreffier> what you're calling "the repo" is actually a bunch of few repos
[20:47] <legreffier> yeah :)
[20:48] <legreffier> sometimes they're not even the same package ! :D
[20:48] <legreffier> 32 vs 64 bit
[20:51] <coconut> thank you legreffier
[21:06] <croraf> OK, now I tried to install this mongodb-org and my apt got messed up. I have broken packages now
[21:06] <croraf> How to fix that?
[21:07] <croraf> apt --fix-broken install does not work
[21:09] <coconut> croraf, you can only get help here if your repo is default
[21:10] <croraf> what do you mean by default?
[21:11] <croraf> coconut,
[21:11] <coconut> croraf, with default i mean that the sources.list file(s
[21:11] <coconut> croraf, with default i mean that the sources.list file(s) are not modified
[21:11] <oerheks> share the output when you try? paste.ubuntu.com
[21:13] <coconut> coreycb, oerheks is social to you now
[21:14] <croraf> termbin is broken with apt, is that standard?
[21:14] <coconut> pastebinit is an option too
[21:15] <leftyfb> croraf: termbin is broken? How so?
[21:15] <croraf> I noticed that couple of days ago also.
[21:15] <leftyfb> croraf: it's working fine for me
[21:15] <croraf> When I do for example "sudo apt remove mongodb-org | nc termbin.com 9999"
[21:15] <leftyfb> croraf: nc termbin.com 9999 < <(sudo apt update )
[21:15] <croraf> it puts part of the content to termbin, and part into the cosole
[21:16] <croraf> leftyfb, why you posted that command?
[21:16] <leftyfb> croraf: that command works fine for me. Try it
[21:17] <croraf> oerheks, https://paste.ubuntu.com/p/kgYQG6ndTv/
[21:17] <croraf> leftyfb, that command doesnt generate an error
[21:18] <leftyfb> croraf: that's good. Did it give you a termbin.com url and did that url have everything needed from the output of the command?
[21:18] <croraf> leftyfb, and also the warning that apt interface is not stable is shown in the terminal, and the rest is on termbin
[21:18] <croraf> The warning is not shown in the termbin
[21:18] <croraf> for your command. But in the terminal
[21:18] <leftyfb> croraf: that's fine. That's because that's stderr which isn't being redirected in the command
[21:18] <croraf> Oh :(
[21:19] <croraf> I need everything to be directed to termbin, otherwise how to debug
[21:19] <sarnold> don't worry about "this isn't scriptable interface" thing, we've seen that a billion times
[21:20] <leftyfb> croraf: ( sudo apt update ) 2>&1 | nc termbin.com 9999
[21:20] <leftyfb> croraf: that will do what you are looking for then
[21:20] <croraf> thanks.
[21:24] <croraf> oerheks, have you checked my pastebin, what should I do to unblock
[21:24] <croraf> How come do I need to have a dependency installed to uninstall the package?
[21:27] <sarnold> croraf: you didn't give us the link
[21:27] <croraf> I did, above https://paste.ubuntu.com/p/kgYQG6ndTv/
[21:29] <oerheks> just run an apt update && apt full-upgrade, and post your /etc/apt/sources.list.d/mongodb-org-4.4.list
[21:29] <oerheks> a removal command did not show anything.
[21:31] <sarnold> croraf: ah, I thought you were generating a termbin link but forgot to share that..
[21:31] <sarnold> croraf: try next sudo apt purge mongodb-org mongodb-org-tools
[21:32] <croraf> oerheks, sudo apt update worked fine
[21:33] <croraf> all up to date. And full-upgrade https://paste.ubuntu.com/p/jr7gQWwRWF/
[21:34] <croraf> https://termbin.com/wypa
[21:35] <croraf> sarnold, ok I think that unplugged it
[21:38] <croraf> It is working now. THanks guys
[21:38] <sarnold> cool cool
[21:44] <starlinkgazer> im using esxi with 2 ubuntu vm's i have a old ubuntu install still on mobo how to access it? vmware sent me here lol
[21:45] <starlinkgazer> something about rdm
[21:47] <sarnold> starlinkgazer: you'll have to explain what you want a bit better, I think :)
[21:48] <starlinkgazer> ok
[21:48] <starlinkgazer> so i have 2 HDD's on my motherboard
[21:48] <starlinkgazer> 1 is for esxi
[21:48] <starlinkgazer> the other is an old ubuntu server drive
[21:49] <starlinkgazer> i have 2 ubuntu vm's and i wanna access the data on the motherboard to back up up
[21:49] <leftyfb> starlinkgazer: I would suggest booting to a live usb/cd to access the other ubuntu drive. Copy off the data as needed.
[21:50] <starlinkgazer> i dont need to do that i can just boot it
[21:50] <starlinkgazer> lol
[21:50] <starlinkgazer> but im trying to not have downtimew
[21:50] <leftyfb> starlinkgazer: boot the physical machine to a live usb/cd. It'll be easier. Other than that, this is 100% an esxi issue to "attach" a physical storage device to a guest OS. Not related to ubuntu
[21:50] <starlinkgazer> ok ty
[21:51] <leftyfb> starlinkgazer: once your guest OS is attached and you can see it in your guest OS with something like "lsblk" and need help mounting it, come back and we'll help you with that
[22:12] <Rojola> hi
[22:13] <sarnold> hello
[22:13] <Rojola> I realized, that my computer is getting really slow sometimes.  So I ran the command "top" in order to find out more.
[22:13] <Rojola> turned out,  "zammad" is using up most of my CPU power.
[22:14] <Rojola> the problem:  I cannot remember, how I installed zammad.
[22:14] <Rojola> apt purge zammad <== no installed via apt
[22:14] <oerheks> zammad is not in our repositories, see https://www.howtoforge.com/tutorial/how-to-setup-zammad-ticketing-system-on-ubuntu-1604/
[22:14] <Rojola> snap remove zammad <== not installed via snap
[22:14] <sarnold> Rojola: you can find the path to the executable via /proc/pid/cmd
[22:14] <Rojola> thank you oerheks
[22:15] <Rojola> thank you sarnold
[22:15] <sarnold> Rojola: note the pid from top, then ls -l /proc/<whatever>/exe
[22:15] <oerheks> apt-cache policy zammad perhaps?
[22:15] <sarnold> I'm sorry, it's not cmd, it's exe :(
[22:15] <sarnold> stupid fingers
[22:15] <Rojola> just say it was a typo ;)
[22:19] <sarnold> oh no it's escalated way beyond that, the stupid fingers are out to get me
[22:20] <Rojola> sarnold, exe in a linux channel :)
[22:20] <Rojola> sarnold, by way: I solved it
[22:20] <Rojola> thank you oerheks
[22:20] <Rojola> thank you sarnold
[22:20] <oerheks> have fun!
[22:20] <Rojola> by the way: "zammad" is cool.
[22:20] <sarnold> Rojola: excellent :)
[22:20] <Rojola> it's a help desk software
[22:21] <Rojola> but, installing it on a 10-year-old laptop was a bad idea
[22:21] <sarnold> hehe
[22:21] <Budd> According to glxinfo, wayland+gnome gives me much better GL compatibility than X11+gnome, but Gnome is heavy lifting for my old laptop. Is there a lighter-weight WM for wayland on Ubuntu?
[22:21] <sarnold> Budd: sway?
[22:22] <Budd> I'll look for it, though apt doesn't know about it on my (x86) install.
[22:22] <Rojola> can I delete "redis-server" and "ruby" ?
[22:23] <Rojola> they also use up a lot of CPU
[22:23] <Rojola> I don't program in "ruby"
[22:23] <Rojola> but maybe I need it anyway?  Not sure
[22:24] <Budd> Oh, I can't upgrade past 18.04.5, due to old (Atom) hardware. Looks like sway may not be available to me.
[22:24] <sarnold> oh.. https://launchpad.net/ubuntu/+source/sway
[22:24] <sarnold> first introduced in focal
[22:25] <oerheks> !flavors
[22:25] <oerheks> xubuntu or mate are more lightweight desktops
[22:25] <Budd> Rojola: Are you sure it's using CPU? If so, something is clearly using it.
[22:25] <sarnold> Budd: sway was the only other wayland compositor thing I knew about
[22:25] <Rojola> Budd, then I keep it.
[22:25] <Budd> oerheks: thanks
[22:25] <Rojola> Budd, thank you
[22:25] <sarnold> Rojola: it might be better to figure out what they are being used for, and why
[22:26] <sarnold> I don't like surprise software :)
[22:26] <Rojola> I installed a lot of stuff on my laptop without keeping track
[22:26] <Rojola> that's my bad
[22:26] <Budd> I have long wished for a "Why did you just do that?" button on my computer.
[22:26] <Rojola> by the way, you guys just talked out ubuntu flavours
[22:26] <Rojola> concerning a light-weight desktop:
[22:27] <Rojola> TDE (trinity desktop environment) is my go-to  desktop
[22:27] <sarnold> Budd: I'd pay good money for a button like that!
[22:27] <sarnold> Rojola: oh wow that's cool :)
[22:28] <Rojola> sarnold, it must have been more than a decade ago, that Slavek and Tim (two developers) forked the old KDE 3 base when KDE 4 became the new version
[22:28] <Rojola> sarnold, and they kept developing it ever since, and even got new devs on board
[22:29] <sarnold> Rojola: tim was involved in designing and selling these things https://www.raptorcs.com/ -- I learned of TDE after hanging out in that community for a while, hehe :)
[22:30] <Rojola> in German, there is a saying:  "The world is a village"
[22:30] <Rojola> means:  "we all somehow know each other / the same people"
[22:30] <sarnold> IRC certainly is..
[22:37] <Budd> sarnold: Except my version of the button would include an expletive in the phrase.
[22:37] <sarnold> Budd: oh yeah, also helpful :D
[22:54] <codebam1> can someone help me figure out why I can't resolve anything (dns)?
[22:55] <codebam1> I have nameservers set in /etc/systemd/resolved.conf but they aren't working
[22:56] <oerheks> codebam1,  on what type of install? and what version?
[22:57] <jeremy31> codebam1: server?
[22:57] <oerheks> For server use netplan, i guess.
[22:58] <codebam1> it's on an odroid xu4 running ubuntu 20.04.1 LTS
[22:58] <codebam1> what should /etc/resolv.conf be a symlink to
[22:59] <jeremy31> codebam1: /run/systemd/resolve/stub-resolv.conf
[22:59] <codebam1> symlinking it to /run/systemd/resolve/resolv.conf made it work but it's not using DNS over TLS like the /etc/systemd/resolvd.conf says
[22:59] <codebam1> okay let me fix that then
[22:59] <oerheks> don;t use resolv like that, use netplan, or read about "sudo nano /etc/resolvconf/resolv.conf.d/head" https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/
[23:01] <codebam1> jeremy31: I set it to that and my nameserver is 127.0.0.1 now
[23:01] <codebam1> but nothing resolves
[23:01] <codebam1> systemctl status systemd-resolved says it's running fine
[23:02] <codebam1> according to netstat it's listening on 53
[23:03] <codebam1> or wait it's listening on 127.0.0.53:53
[23:03] <codebam1> which also isn't resolving anything when I test it with `dig @127.0.0.53 example.com`
[23:04] <sarnold> does anything look amiss in resolvectl output?
[23:06] <codebam1> let me pastebin it, but it just says my nameservers are 1.1.1.1 and DNS over TLS is enabled
[23:07] <sarnold> a lot of ISPs can't route to 1.1.1.1, are you sure that part works?
[23:07] <codebam1> or actually. it says it's 10.0.0.1 according to the link section
[23:07] <codebam1> which is my router
[23:07] <codebam1> yeah my ISP works for 1.1.1.1
[23:07] <codebam1> I've checked before
[23:08] <codebam1> dig @1.1.1.1 whatever.com works
[23:08] <sarnold> okay, cool;' how about your router?
[23:09] <codebam1> it's an edgerouterx that's plugged into the main router, but it worked fine on autoconfig for my desktop when I reinstalled my OS the other day
[23:09] <codebam1> it just lost network connection so I have to reboot it I think
[23:10] <sarnold> heh, sorry, I meant, if resolvectl thinks some dns requests ought to be sent to it, does it handle dns requsts?
[23:11] <sarnold> I never understood systemd-resolved's different dns servers per network link thing, that's completely bonkers to me, but somehow it thinks it knows what it's doing..
[23:11] <codebam1> now I can't ssh into it so I don't know what's wrong. I might just back it up and reinstall
[23:12] <sarnold> last time that happened to me, my idiot dhcp server gave the machine a different IP address on a standard dhcp renewal
[23:12] <sarnold> try an nmap -p 22 10.0.0.0/8 or whatever to see if you can spot it
[23:22] <codebam1> honestly I'm just reinstalling because I haven't booted it in months and I was having these problems back then too
[23:22] <codebam1> it started happening when I did the release upgrade
[23:22] <codebam1> I shoulda bought a rpi
[23:22] <codebam1> not really though, this thing is fast