[00:00] <user01> zenof, i thought maybe too . . . not sure how to find instructions though ill keep looking
[00:01] <zenof> user01, see https://legacy.imagemagick.org/Usage/draw/ and have a look at IM's 'montage' command
[00:01] <user01> zenof, thanks having a look
[00:01] <zenof> latter to create the colage
[00:01] <croraf> tomreyn, did you open a launchpad issue regarding that kernel list and mapping, or?
[00:02] <tomreyn> croraf: no. i wrote about it in #ubuntu-kernel, so the kernel devs can have a look at whether or not it needs fixing.
[00:03] <jcbjoe2021> are there certin hours or is there a time when this channel is very active?
[00:08] <tomreyn> jcbjoe2021: it's probably a bit more busy during the weekends than during the weeks, when people ask support questins, and others have an idea of how to answer them.
[00:10] <jcbjoe2021> ok thanks tomreyn
[02:00] <Obscenity> so, anybody else upgrading their servers to Jellyfish?
[02:00] <Obscenity> im about to
[02:00] <Obscenity> just gotta clear out the /boot folder so it can fit the kernel
[02:01] <Obscenity> stock kernel is massive these days
[02:01] <Bashing-om> !jammy | Obscenity
[02:01] <yukiup> i just use mini dlna Obscenity
[02:01] <yukiup> jellyfish was messy
[02:01] <yukiup> didn't work that well
[02:02] <yukiup> oh,.. i thinking of a differnt jellyfish :p
[02:02] <yukiup> jellyfin...
[02:03] <yukiup> can't wait for 22.04!
[02:08] <jon> hi
[02:13] <yukiup> hi
[02:34] <Obscenity> left this one instead of yabause, lol
[02:35] <Obscenity> yabause kinda dead, gave up trying to get Sega Ralley Champions to run
[04:36] <JLF> hi, I have a question
[04:37] <JLF> I was trying to install a gdrive cli from github
[04:37] <JLF> now after extracting the tar file I used this commands
[04:37] <JLF> chmod +x gdrive
[04:38] <JLF> sudo install gdrive /usr/local/bin/gdrive
[04:38] <JLF> but after running gdrive about
[04:39] <JLF> it just says: ~bash: /usr/local/bin/gdrive: No such file or directory
[04:39] <JLF> can someone help me with this one?
[04:49] <tomreyn> JLF: is /usr/local/bin/gdrive actually a shell script?
[04:52] <tomreyn> i see you also posted this in #linux
[04:59] <JLF> oh yeah sorry, I need to find a quick solution hehe
[06:13] <jcbjoe2021> anyone got office working with wine? im trying office 2016 and it keeps erroring out
[06:19] <lotuspsychje> try playonlinux maybe jcbjoe2021
[06:19] <lotuspsychje> !info playonlinux
[06:34] <Sven_vB> In focal, one of my sound cards has way too many outputs and profiles (more than 30!): https://paste.debian.net/plainh/c412976a so I have to scroll a lot in pavucontrol's device mode list. is there a way to ignore or disable all the HDMI-related stuff on that card?
[06:46] <KBar> sven_vb, /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
[06:48] <Sven_vB> KBar, thanks! what generates this file? how will my edits be merged with automatic updates?
[06:55] <KBar> Sven_vB, it's used as fallback. Updates will most likely revert them back to defaults. Mb try adding the `fallback = yes` to all hdmi mappings
[06:59] <KBar> Sven_vB, copy this file to your home directory. delete all hdmi mappings. use "profile_set" argument when loading module-alsa-card
[07:13] <Sven_vB> KBar, oh good idea. thanks!
[07:18] <KBar> Sven_vB, even better. comment out all those lines
[07:49] <hans> is lxde still in 21.10? (not lxQT but lxDE) ?
[07:57] <lotuspsychje> !info lxde impish
[07:59] <hans> !info lxde-core
[07:59] <hans> thanks
[09:15] <MrSassyPants> snap discord doesn't autostart anymore (after upgrading to 21.10 and reinstalling the latest discord snap)
[09:17] <lotuspsychje> MrSassyPants: here's the git contact page; contact:   https://github.com/snapcrafters/discord/issues
[09:21] <KBar> MrSassyPants, check if it has its desktop entry in $HOME/.config/autostart
[09:23] <MrSassyPants> KBar it seems to be pointing at the deb. I guess I didn't reinstall the deb after getting the snap
[09:24] <MrSassyPants> why the hell is autocomplete for files off in konsole all of a sudden
[09:25] <KBar> MrSassyPants `echo $SHELL`
[09:25] <KBar> is it bash?
[09:26] <MrSassyPants> yup
[09:26] <MrSassyPants> and running another bash doesn't fix it
[09:26] <MrSassyPants> wtf
[09:27] <KBar> MrSassyPants, `echo $-`
[09:27] <KBar> what's the output
[09:27] <MrSassyPants> command not found
[09:27] <KBar> MrSassyPants without backquotes, of course
[09:28] <KBar> echo $-
[09:28] <MrSassyPants> himBHs
[09:28] <MrSassyPants> ???
[09:28] <MrSassyPants> oh they're bash build flags
[09:30] <MrSassyPants> going into ctrl-alt-f terminals file autocompletion still works
[09:30] <MrSassyPants> maybe Konsole is busted
[09:32] <KBar> MrSassyPants, `bind -q complete`
[09:32] <MrSassyPants> I rebooted. now the ctrl-alt-f terminals don't autocomplete files either anymore
[09:33] <MrSassyPants> holon
[09:33] <MrSassyPants> Why is this randomly changing
[09:33] <MrSassyPants> yeah that fixed it
[09:33] <KBar> no that doesnt fix it
[09:33] <KBar> it just queries it :D
[09:34] <KBar> so it works now?
[09:34] <MrSassyPants> no it does not
[09:34] <MrSassyPants> I need more coffee, only just woke up
[09:34] <KBar> what is the output of that command?
[09:34] <MrSassyPants> complete can be invoked via "\C-i", "\e\e".
[09:34] <KBar> is it bound to C-i?
[09:34] <KBar> good
[09:34] <KBar> that means bash is messing up
[09:35] <KBar> did you modify your .bashrc?
[09:35] <MrSassyPants> holon
[09:35] <MrSassyPants> whats your favorite pastebin
[09:36] <MrSassyPants> I just checked my /var/log/dpkg.log
[09:36] <hans> any easy-ish way to get an up-to-date rsync on 20.04? specifically i want rsync --atimes introduced in 3.2.0, while 20.04 ships 3.1.3
[09:36] <MrSassyPants> because the only "system" thing I did today was try to dpkg -i the discord deb
[09:36] <KBar> MrSassyPants, you can do this: `SOME_COMMANDS | pastebinit`
[09:36] <KBar> it will automatically upload
[09:37] <MrSassyPants> no
[09:38] <MrSassyPants> I can't log in to view the paste
[09:38] <MrSassyPants> blaarhg, I can't view the paste because I'm not logged in
[09:38] <MrSassyPants> https://paste.ubuntu.com/p/mQzVK3BByV/ do you see this
[09:38] <KBar> yep
[09:39] <KBar> Well, you are installing a .deb package here.
[09:39] <KBar> .deb and snaps are completely different.
[09:39] <MrSassyPants> yes.
[09:39] <MrSassyPants> I assumed this was why the snap wasn't autostarting
[09:40] <MrSassyPants> well anyhow, the dpkg -i failed
[09:40] <MrSassyPants> yet it still managed to screw up the system
[09:40] <MrSassyPants> desktop-file-utils seems to be the likely culprit
[09:40] <hans> turns out that, by dumb luck, the 21.04 rsync deb (which ships rsync 3.2.3) installs just fine on 20.04 ^^
[09:41] <JanC> but does it run also?  :)
[09:41] <hans> rsync? yes
[09:41] <hans> well, --version runs fine at least
[09:41] <JanC> it doesn't have a lot of complicated dependencies, I suppose
[09:42] <MrSassyPants> yep, having removed that, and rebooting (???) it works again
[09:43] <KBar> It being bash completion or Discord autostart?
[09:43] <MrSassyPants> bash file completion
[09:43] <hans> >rsync: This rsync does not support --crtimes (-N)
[09:43] <hans> that's weird
[09:44] <MrSassyPants> discord autostart is still a no go
[09:45] <hans> can someone on 21.10 tell me what error they get from the command "rsync --crtimes"
[09:45] <hans> just that
[09:45] <KBar> MrSassyPants, that's very strange. Did you delete the Discord .deb package and now Bash completion works again?
[09:46] <MrSassyPants> I apt-removed desktop-file-utils
[09:46] <MrSassyPants> which had gotten installed dpkg-i'ing the discord deb
[09:46] <KBar> No.
[09:46] <MrSassyPants> (without actually installing the discord deb due to missing dependencies)
[09:47] <KBar> `dpkg --install` only install a given package.
[09:48] <KBar> if you only issued `dpkg -i discord-whatever.deb` it just installs that
[09:48] <KBar> the other entries in the log
[09:48] <KBar> are just configuring dependencies/making sure they're also installed
[09:48] <KBar> you can view .deb package's preinstallation scripts
[09:49] <hans> fwiw you can just use "apt install ./whatever.deb" (since 16.04 i think?)
[09:49] <KBar> +1
[09:50] <MrSassyPants> well it did install desktop-file-utils
[09:50] <MrSassyPants> and I didn't
[09:51] <MrSassyPants> there was some half-completed installation bs going on tho
[09:51] <KBar> MrSassyPants, regarding your Discord problem: 1) check if the app itself has 'Autostart on login' or a similar option; 2) install gnome-tweak-tool, you can manually add programs there
[09:51] <KBar> gl
[09:51] <MrSassyPants> 1 it does and doesn't work
[09:52] <KBar> Uncheck and check it again
[09:53] <KBar> Reinstall desktop-file-utils
[09:53] <MrSassyPants> desktop-file-utils just destroyed bash file completion
[09:53] <MrSassyPants> I am not going to reinstall that
[09:55] <MrSassyPants> in fact I'm apt-mark hold'ing that now
[10:30] <razerwaron_> Hello, I am getting a following error while attempting various commanda( for example "adb devices")
[10:30] <razerwaron_> Traceback (most recent call last):
[10:30] <razerwaron_>   File "/usr/lib/command-not-found", line 28, in <module>
[10:30] <razerwaron_>     from CommandNotFound import CommandNotFound
[10:30] <razerwaron_>   File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module>
[10:30] <razerwaron_>     from CommandNotFound.db.db import SqliteDatabase
[10:32] <lotuspsychje> !paste | razerwaron_ use a
[10:46] <xu-irc96w> hello how do u install enhancement tools for virtualbox
[10:53] <elhoir> xu-irc96w, you mean extension pack ?
[10:54] <elhoir> you must download it from website, then install within virtualbox
[10:54] <KBar> No.
[10:54] <KBar> If you installed VirtualBox from the Ubuntu repositories, run this: `apt install virtualbox-ext-pack`
[10:54] <KBar> That way, the versions match.
[10:55] <xu-irc96w> its called vboxlinuxadditions.run
[10:55] <elhoir> oh well, yea, i use to install from website xD
[10:55] <elhoir> or from official repo
[10:55] <KBar> xu-irc96w, how did you install Oracle VirtualBox VM? From their website or from the Ubuntu repositories via `apt install virtualbox`?
[10:55] <xu-irc96w> apt
[10:56] <elhoir> do what KBar º says then
[10:56] <KBar> xu-irc96w, use official repositories for additional tools, including Guest Additions and Extension Pack.
[10:57] <KBar> xu-irc96w, `virtualbox-ext-pack` for Extension Pack. `virtualbox-guest-additions-iso` for Guest Additions.
[10:58] <xu-irc96w> run ext-pack in xbuntu? guest-iso in virtual machine?
[10:59] <KBar> You need both on the host. Extension Pack will automatically appear under Preferences > Extension in Oracle VirtualBox VM Manager.
[10:59] <KBar> xu-irc96w, for Guest Additions ISO, you will need to specify the path and mount it inside guest.
[11:00] <xu-irc96w> hmm i maybe what u said are already installed, now i want to install additions.run in guest
[11:01] <KBar> I'm not aware of such a thing and I don't think the documentation includes it. Can you link it here?
[11:03] <xu-irc96w> there is a cd icon on guest desktop
[11:03] <xu-irc96w> when i try to ./ the run file, it pops a window then nothing changed
[11:03] <KBar> xu-irc96w, ah. I see. First, install these two packages: `apt install make gcc`
[11:04] <KBar> You need these two.
[11:06] <KBar> It will pull a bunch of dependencies required to build kernel modules.
[11:07] <xu-irc96w> also i see the wifi country icon is usable on guest, is this for the repository choose
[11:08] <xu-irc96w>  /is/isnt
[11:08] <KBar> Your host's Wifi appears as Ethernet on guest
[11:08] <argha> hi there
[11:08] <KBar> So no. It works the same on both versions: repository or "official".
[11:09] <argha> Sorry, what??
[11:10] <KBar> xu-irc96w, after you have installed these two packages and their dependencies. Eject/unmount the ISO and remount through Devices > Insert Guest Additions ISO or whatever it was.
[11:10] <argha> hi there
[11:10] <argha> Hello
[11:10] <KBar> xu-irc96w, a pop-up should appear telling you to take action. Choose run then.
[11:11] <KBar> It will install and build everything
[11:11] <KBar> argha, hello and welcome. What are your questions?
[11:11] <KBar> Feel free to ask. Knowledgeable people will gladly help you, if they're online and not busy.
[11:11] <argha> Nothing Sir/Ma'am actually I wanna make friends
[11:12] <weedmic> are there any already installed sound files I can try to play from the konsole to see if my spekaer is working?  there used to be a file where linus torvalds says "my name is linus and i pronounce linux linux"  - it's a very small device and I don't want to have to install anything.
[11:12] <KBar> argha, this channel is for Ubuntu support. Join #ubuntu-offtopic or #libera for general chat.
[11:13] <beuys> Hello! Is there a way to import my old Chromium settings into the Snap version of Chromium which nowadays ships with Ubuntu?
[11:13] <KBar> weedmic, WARNING: lower the volume. You can try speaker-test.
[11:14] <KBar> beuys, hi. Doesn't Chromium ask you to import at first start-up?
[11:14] <beuys> KBar: I don't remember. I installed it a few days ago.
[11:15] <weedmic> hmm - tried speaker test, nothing - trying new speakers
[11:15] <beuys> KBar: Could it even access my home folder? I thought snaps are sandboxed?
[11:15] <KBar> beuys, I don't use Chromium or snaps, but it should have its directory under $HOME/.config
[11:16] <beuys> KBar: I don't think that is how snaps work.
[11:16] <KBar> beuys I was talking about regular packages. Snaps are, as you said, sandboxed or confined or whatever.
[11:16] <beuys> Yeah
[11:16] <KBar> I think you can copy and paste those configs.
[11:18] <beuys> KBar: But where to?
[11:18] <KBar> beuys, $HOME/snap/
[11:18] <KBar> most likely
[11:20] <KBar> beuys, is Chromium snap already installed?
[11:21] <beuys> Yeah. Unfortunately, I have to go now.
[11:21] <beuys> Thanks for now. Cu later!
[11:22] <KBar> weedmic, how about this? speaker-test --channels=2 --nloops=1 --test=wav --device=default
[11:24] <KBar> weemdic a voice should read "front left, front right"
[11:27] <KBar> weedmic, `aplay -L | less` to list devices, `speaker-test --channels=2 --nloops=1 --test=wav --device=DEVICE_NAME` to test specific device
[11:31] <weedmic> i tried all the speaker-test before i got here - when i did  - speaker-test -c 2 -D default - i got Playback open error: -16,Device or resource busy
[11:39] <KBar> weedmic, well, how about the good ol' terminal bell? Make sure it's enabled in Konsole's preferences and ring the bell with ^G!
[11:39] <weedmic> how do I free up a device
[11:40] <weedmic> KBar: i only need to prove the prongs and the speakers work - so a bell would be enough.  do you have a command for what you describe?
[11:41] <KBar> weedmic, is it Konsole?
[11:42] <KBar> weedmic, try Ctrl+G
[11:42] <KBar> It's disabled by default on many terminals, though.
[11:43] <weedmic> only konsole
[11:44] <weedmic> oic - ctrl + G disconnected me from ssh connection, but might have been small g - trying again.
[11:46] <weedmic> must eat now - bbl - ty for the pointing
[11:48] <KBar> weedmic, a-ha! There should be some audio files in /usr/share/sounds/freedesktop. Do these: `pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga && pactl play-sample 0`
[12:17] <xu-irc96w> hello, when i try to ./vboxlinuxadditions.run, it says no such file or directory
[12:18] <KBar> xu-irc96w, are you running Xubuntu? Which version?
[12:18] <xu-irc96w> 20.04
[12:19] <KBar> xu-irc96w, guest is Xubuntu too?
[12:19] <xu-irc96w> debian buster with rasp desktop smth
[12:20] <KBar> xu-irc96w, what's the output of mount?
[12:20] <KBar> `mount | pastebinit`
[12:21] <KBar> from the guest
[12:22] <KBar> Wait.
[12:22] <KBar> xu-irc96w, you cannot do this on Debian guest.
[12:23] <KBar> xu-irc96w, Debian is not supported for Guest Additions.
[12:23] <KBar> I thought you were running Ubuntu on guest.
[12:24] <xu-irc96w> pastebin.debian.net/12211105
[12:24] <KBar> xu-irc96w, join their network for assistance: irc://irc.oftc.net/vbox
[12:24] <KBar> But as I said, I'm pretty sure you can't install Guest Additions on Debian.
[12:24] <xu-irc96w> maybe cuz its using a 4.1 kernel
[12:26] <longus_catus> How come the wacom tablet support on the default ubuntu install is so meager?  It's way too simplistic, it doesn't offer button mapping or changing sample averaging or profiles or any of the stuff the kde tablet manager does..........and so it's back to the command line
[12:27] <KBar> xu-irc96w, let me double check.
[12:27] <xu-irc96w> paste.debian.net/12211105
[12:28] <longus_catus> Anyone using 21.10?  There's an issue with certain apps like gnome-terminal and the Files app having duplicate window decorations when running under Xorg as compared to Wayland.  (two x, minimize, maximize buttons for example).  This is ugly and takes up a lot of space.  How do I fix this?
[12:28] <lotuspsychje> longus_catus: bug/wishlist to the rescue
[12:29] <KBar> xu-irc96w, here, follow these instructions on a Debian guest: https://wiki.debian.org/VirtualBox#Debian_10_.22Buster.22_and_Debian_11_.22Bullseye.22-1
[12:29] <KBar> longus_catus, sounds like you have gtk3-nocsd installed.
[12:30] <KBar> Uninstall that package or set $GTK_CSD to 1
[12:30] <longus_catus> Yes, I do have it installed.  I'll uninstall it.  Omg, I hope it works.
[12:30] <KBar> longus_catus you don't have to uninstall it
[12:30] <KBar> you can temporarily disable it
[12:30] <KBar> longus_catus, `sudoedit /etc/X11/Xsession.d/01gtk3-nocsd` I believe
[12:31] <KBar> uncomment this line: `#export GTK_CSD=1`
[12:31] <KBar> and change 1 to 0
[12:31] <KBar> relogin
[12:31] <xu-irc96w> nvm i guess its fixed now, i set the kernel section to 4.x linux from debian 64 in virtualbox
[12:31] <Guest6> Hey everyone, I had a small question to ask. Hey everyone, I had a small question to ask
[12:31] <Guest6> Using instructions from, https://www.dedoimedo.com/computers/rescue-fat32-disk-linux.html
[12:31] <longus_catus> Wow, that's even better.  I gotta check it out, thanks a lot it's been bugging me a lot
[12:32] <KBar> np
[12:32] <Guest6> It has been 20 minutes with a 16GB USB and its' still checking for bad clusters
[12:32] <Guest6> Do you know how long I should wait?
[12:33] <lotuspsychje> Guest6: do you have data on you need to be recovered still?
[12:34] <Guest6> Yeah not crucial but still strongly prefer to recover
[12:34] <xu-irc96w> after a successful install, guest cant be run in full window..
[12:34] <lotuspsychje> Guest6: try photorec to recover it all first, after that try a proper format
[12:34] <xu-irc96w> full sceen
[12:34] <lotuspsychje> !info testdisk | Guest6
[12:35] <KBar> xu-irc96w, do you only need it for full-screen?
[12:35] <xu-irc96w> yes
[12:35] <KBar> xu-irc96w, you don't have to install Guest Additions, then. Do the following:
[12:37] <longus_catus> I'd probably first make an image of the drive.  A 16GB USB drive is likely to be terribly slow.
[12:37] <KBar> xu-irc96w 1) Open Oracle VM VirtualBox Manager; 2) Select your virtual machine; 3) Click on Settings; 4) Go to Display > Screen; 5) Select "VBoxVGA" from the "Graphics Controller" drop-down; 6) change the resolution within the guest (if it's GNOME, go to Settings > Display)
[12:38] <Guest6> lotuspsychje ,  I already started dofsck, can I just interrupt it?
[12:38] <lotuspsychje> Guest6: well its always best to let stuff finish, but if you say it stalls?
[12:38] <KBar> xu-irc96w credits to guiverc :) just learnt that yesterday
[12:39] <Guest6> it just finished but didn't repair
[12:39] <Guest6> Dammit, hope i didn't lose the chance to use photorec?
[12:40] <lotuspsychje> ok Guest6 try to recover data with photorec, then after you try gparted or something else to format
[12:40] <longus_catus> A bad cluster scan is read only
[12:40] <Guest6> Alright, thanks for the advice
[12:40] <Guest6> By the way do you have a preffered guide for it?
[12:40] <lotuspsychje> Guest6: sudo apt install testdisk, then sudo photorec and scan the whole thing
[12:41] <Guest6> so like "sudo photrec /dev/sdx
[12:41] <lotuspsychje> Guest6: no, it will launch a cli gui from photorec
[12:42] <Guest6> right...
[12:45] <xu-irc96w> fixed
[12:45] <xu-irc96w> thanks
[12:49] <Guest6> Have to go, hopefully it will work, thanks for everything
[12:55] <weedmic> ty KBar
[13:14] <betuxy> betuxy
[13:14] <betuxy> 14:11:18
[13:14] <betuxy> Hey guys Im trying to setup a php-fpm server, but it crashes saying forking not possible, im not sure whats going wrong i gathered some infos about configs as well as the log: https://termbin.com/6jby
[13:38] <dreamon> Im writting measure data with timestamp to a file. I want to keep it in a constant size. Is there a bash command out there that cuts older than n-lines ?
[13:41] <KBar> that's very tricky. could be achieved with some advanced techniques or scripts that im sadly unaware of
[13:42] <lotuspsychje> more a question for #linux dreamon ?
[13:42] <KBar> +1
[13:43] <KBar> dreamon, 800 people on #bash. Try your luck there.
[13:44] <dreamon> thanks
[13:44] <KBar> np
[14:11] <BluesKaj> Hi folks
[14:13] <ryu`> Hi. Trying to use a GPS HAT on an raspberry pi 3 install with ubuntu-server makes it hang on boot. Now, after my knowledge, it hangs on boot -- the solution was found here https://forums.raspberrypi.com/viewtopic.php?t=269941
[14:13] <ryu`> But,, yeah - then it renders my GPS HAT useless. How can i enable UART after boot?
[14:24] <pycode1> hello
[14:24] <pycode1> i recently ihave updated the kernel via apt
[14:24] <pycode1> on my 16.04 (server)
[14:24] <pycode1> the last kernel for that ubuntu version is giving me problem with java
[14:25] <pycode1> how can i choose the previous kernel ?
[14:25] <pycode1> uname -r returns 3.14.32-xxxx-grs-ipv6-64
[14:27] <Fatal_Sushi> pycode1: 16.04 is EOL unless you use pqyed support ESM
[14:27] <Fatal_Sushi> pqyed/payed
[14:27] <pycode1> Fatal_Sushi, i do not need a new kernel i just want to use the previous one
[14:27] <KBar> pycode1, choose it during GRUB menu.
[14:28] <pycode1> i am on server how cna i see what kernels are available?
[14:28] <Fatal_Sushi> pycode1: i said 16.04 is EOL.... End Of Life and thus not supported anymore
[14:28] <jeremy31> Likely do>  ls /boot | grep system
[14:29] <pycode1> Fatal_Sushi, i understand but i said i would like to use one older kernel i mean the kernel i had before apt dist-upgrade
[14:29] <jeremy31> Likely do>  ls /boot | grep System
[14:29] <KBar> pycode1, `head /etc/default/grub` what's the content?
[14:29] <pycode1> jeremy31, i try
[14:29] <pycode1> i see
[14:29] <pycode1> KBar, https://bpa.st/3BFQ
[14:29] <pycode1> jeremy31, no i check
[14:30] <pycode1> jeremy31, https://bpa.st/WBAQ
[14:30] <KBar> pycode1, can you reboot and enter the GRUB menu?
[14:30] <KBar> pycode1, press and hold Shift.
[14:30] <pycode1> KBar, cant
[14:30] <pycode1> i am on vps
[14:30] <jeremy31> pycode1: Might have to install the older kernel again
[14:31] <pycode1> jeremy31, yes but can i found it using apt-cache?
[14:31] <KBar> I don't think you can.
[14:31] <pycode1> how cna i switch kernel
[14:31] <KBar> Dude.
[14:31] <KBar> You need to reboot and look at the GRUB menu
[14:32] <pycode1> KBar, i cant i just can "reboot" and wait the vps will be up again
[14:33] <pycode1> jeremy31, how can i install the older?
[14:33] <KBar> pycode1 you're gonna have to reboot anyway. If you want to downgrade. What do you have in in /boot/grub/grub.cfg?
[14:33] <pycode1> i see
[14:34] <pycode1> KBar, https://bpa.st/PTUQ
[14:34] <pycode1> sure i will reboot
[14:34] <KBar> pycode1 wait a sec.
[14:34] <KBar> actually a couple minutes
[14:34] <pycode1> that0s not a problem i just want to install the previous kernel only and then reboot
[14:34] <pycode1> KBar, ok
[14:37] <KBar> pycode1 is that a custom kernel?
[14:37] <jeremy31> That kernel is from 2016
[14:37] <pycode1> i think not, it is the one i scoming from OVH..
[14:37] <pycode1> yes a bit older i think
[14:37] <pycode1> but the previous one was better...
[14:37] <pycode1> i mean i did a dist-upgrade to have all the things but unfortunatly
[14:37] <pycode1> there is a bug in java 8
[14:38] <pycode1> that i did not have with the other kernel
[14:38] <pycode1> so now i have to go backwards i check what kernel i was using
[14:38] <pycode1> or a kernel that does not have that problem
[14:38] <KBar> pycode1, did you do `sudo apt upgrade` or `sudo apt dist-upgrade`?
[14:38] <pycode1> yes
[14:38] <pycode1> dist-upgrade
[14:39] <KBar> Pull out the journal and show us the full command/history.
[14:39] <pycode1> KBar, wait...how?
[14:39] <pycode1> in history there are plenty of things
[14:39] <pycode1> maybe is ther an apt history ?
[14:39] <pycode1> *there
[14:40] <jeremy31> pycode1: to boot to an older kernel see https://askubuntu.com/a/216420/300665
[14:41] <KBar> pycode1, of course there is. `less /var/log/apt/history.log`
[14:41] <pycode1> jeremy31, the problem is that i do not have that kernel anymore right?= i think i have to install it via apt and then configure grub....OR JUST install it and remove the one i am using now
[14:41] <KBar> If it was very recent.
[14:41] <KBar> Yes, you do not have the old kernel anymore.
[14:41] <KBar> It looks like it's gone for good.
[14:41] <pycode1> there is not just 2021-11-28
[14:42] <KBar> We need to find its version and somehow put it back.
[14:42] <jeremy31> Might have to search the syslogs in /var/log
[14:42] <KBar> pycode1, then look at history.log.1.gz
[14:42] <KBar> or 2.gz
[14:42] <KBar> etc
[14:42] <KBar> find that entry
[14:42] <pycode1> how cna i open those files?
[14:43] <KBar> pycode1 with any pager: more/less
[14:43] <KBar> cat, if you are hardcore
[14:44] <KBar> pycode1, `less /var/log/apt/history.log[.N.gz]` where N is a natural number from 1 to however many you have.
[14:44] <pycode1> i am seeing but there are many CRON JOB
[14:44] <pycode1> what should i find exactly?
[14:44] <KBar> Show me one.
[14:46] <pycode1> are basically cronjob
[14:46] <pycode1> there are no other things
[14:46] <pycode1> big list of cronjob
[14:46] <KBar> pycode1, when did you invoke `dist-upgrade`? Do you remember roughly?
[14:46] <pycode1> because those run every minute
[14:46] <KBar> pycode1, you're looking at wrong logs.
[14:46] <pycode1> i remember there was an "image" so i have upgraded the kernel for sure
[14:47] <pycode1> i am seeing syslog
[14:47] <KBar> pycode1, so when was it?
[14:47] <pycode1> updated? hmm i think around 1 month ago but today we had a problem we network so the server has been restarted and then we found that problem with java
[14:47] <KBar> pycode1, no. We don't need the syslog for now. Can you reread what I have written to you so far, so that you can fix it faster?
[14:48] <KBar> Okay. So the timeframe is around 1 month ago. It should still be in the regular history.log, without a number appended.
[14:48] <KBar> /var/log/apt/history.log
[14:48] <pycode1> waaaait i have dpkg logs
[14:48] <KBar> Show me that file.
[14:48] <pycode1> maybe i found
[14:49] <pycode1> ok
[14:49] <pycode1> one moment
[14:49] <KBar> pycode1, no. It's hard to look at dpkg logs. One last time, look at /var/log/apt/history.log please.
[14:49] <pycode1> yes yes one moment
[14:50] <pycode1> KBar, https://bpa.st/2HPQ
[14:50] <pycode1> i have to find one
[14:51] <pycode1> i see 2020
[14:51] <pycode1> strange
[14:51] <KBar> pycode1 open the one without numbers. /var/log/apt/history.log
[14:51] <KBar> pycode1 the very first one in your list
[14:51] <pycode1> already checked there are many attemps to works with java so many download of java 9 then again java 8 then again 8 purge etc etc
[14:52] <pycode1> it only has 2021-11-28
[14:52] <KBar> It's the last time it was modified.
[14:52] <KBar> I'm running out of patience.
[14:53] <pycode1> KBar, https://bpa.st/HVMA
[14:53] <pycode1> KBar, NO i read irts content
[14:53] <pycode1> history.log.3 has that content
[14:53] <pycode1> history.log only has 2021-11-28 inside
[14:54] <pycode1> i think linux-headers-4.4.0-197 <--- this one is ok
[14:54] <mjbatty> I'm creating files/dirs to show the effect of dircolors and done all but one; how can I create a file with capabilities (ideally from command line)?
[14:54] <KBar> pycode1, can you share it?
[14:54] <pycode1> KBar, what?
[14:54] <pycode1> the history.3.log is https://bpa.st/HVMA
[14:55] <pycode1> it has removed the linux-headers-4.4.0-189:amd64
[14:55] <pycode1> so i think that kernel is good to
[14:55] <KBar> pycode1, December 2020 is not 1 month ago. You told that you did an upgrade 1 month ago.
[14:55] <pycode1> because that period the server was running correctly
[14:55] <pycode1> KBar, yes but there is no mentiong
[14:55] <pycode1> mention
[14:55] <Apachez> what recommended to use as eq for audio output in ubuntu?
[14:56] <pycode1> what i will go with .1
[14:56] <Apachez> mjbatty: .bashprofile or similar
[14:56] <KBar> pycode1. okay. Now check /var/log/dist-upgrade
[14:56] <KBar> pycode1, do `ls -l /var/log/dist-upgrade`
[14:56] <pycode1> kbar this--> https://bpa.st/E6KA
[14:56] <mjbatty> Not sure what you mean Apachez?
[14:56] <pycode1> i found that in .1
[14:56] <pycode1> more than one month ago
[14:57] <pycode1> total 0
[14:57] <pycode1> ls -l /var/log/dist-upgrade` <-- total 0
[14:57] <pycode1> however this--> https://bpa.st/E6KA has everything
[14:57] <KBar> pycode1, okay. September 23 was history.log.1, correct?
[14:58] <pycode1> yes exactly
[14:58] <pycode1> so basically what i am seeing is that i have removed linux-headers-4.4.0-197
[14:58] <KBar> pycode1, in the future, don't autoremove old kernel images. It's a bad practice.
[14:58] <mjbatty> I can create everything like block/char/fifo/socket files, but don't know how to create file with capability to test dircolors
[14:58] <pycode1> yes i have running autoremove
[14:58] <Apachez> mjbatty: alter .bashrc in your homedirectory to tweak defaults for ls etc
[14:59] <pycode1> KBar, so basically now i can install the linux-headers-4.4.0-197 back again ?
[14:59] <KBar> pycode1, that's what I am telling you. DO NOT autoremove old kernel images immediately, especially on a SERVER.
[14:59] <pycode1> KBar, yes you are 100%! noted :)
[14:59] <KBar> pycode1, you cannot just install it, since it's not in the repos anymore.
[14:59] <KBar> pycode1, I'm trying to find it for you. Hold on.
[15:00] <pycode1> thank you!!
[15:00] <mjbatty> Apaches, yes I've done that and modified my .dircolors, the problem is creating files of certain types, in this case a file with "capabilities"  to trigger the "CAPABILITY" attribute
[15:01] <mjbatty> Sorry, I meant Apachez (see above)
[15:04] <KBar> pycode1, `lsb_release -rd`
[15:04] <pycode1> Description:	Ubuntu 16.04.7 LTS
[15:04] <pycode1> Release:	16.04
[15:04] <pycode1> KBar, ^
[15:05] <tar_xvf> why are you using a not supported LTS
[15:07] <pycode1> tar?
[15:07] <pycode1> tar_xvf, ?
[15:07] <pycode1> it is an old server i cant upgrade the OS
[15:07] <p13> why not?
[15:08] <pycode1> fear :D
[15:08] <p13> what's running on it ?
[15:08] <pycode1> i mean just with a kernel update i broke elastisearch
[15:08] <pycode1> webserver
[15:08] <pycode1> elasticsaerch
[15:08] <pycode1> nginx and other things
[15:08] <pycode1> the problem ik was talking about is https://bugs.openjdk.java.net/browse/JDK-8206243
[15:08] <p13> if you're that fearful, you could always run a 16.04 lxd container and run your "old" server from within there
[15:08] <pycode1> in some kernels java has that problem
[15:09] <pycode1> p13, yes that could be a solution
[15:09] <pycode1> after the this kernel fix i will try that
[15:10] <KBar> pycode1 looks like I found it
[15:10] <KBar> deb packages
[15:10] <KBar> no guarantees
[15:11] <KBar> from launchpad
[15:11] <Apachez> mjbatty: you got both ~/.basrc and /etc/environments to play with global settings
[15:11] <KBar> pycode1, https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/20342405/+files/linux-headers-4.4.0-198-generic_4.4.0-198.230_amd64.deb
[15:15] <KBar> pycode1, make sure you know how to revert back to your current kernel, before installing this
[15:16] <p13> those are just the headers
[15:17] <mjbatty> Sorry Apachez I know you are trying to help but don't think you understand my question. I am trying to create certain types of file; I can create something like a socket file with socat unix-listen:/tmp/stream,fork /dev/null &, this will create the file and trigger the SOCK attribute in dircolors to display that file with defined colors in ls; my problem is I do not know how to create a file that will trigger the CAPABILITY attribute.
[15:17] <pycode1> reading
[15:18] <pycode1> KBar, headers?
[15:18] <p13> pycode1: you want linux-image-blahblah
[15:18] <KBar> well, everything included is here: https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/20342405/+files/linux-source-4.4.0_4.4.0-198.230_all.deb
[15:19] <p13> that's the kernel source package
[15:19] <p13> ie to compile your own kernel
[15:19] <pycode1> no no i do not want to compile anything
[15:19] <pycode1> just run apt install fix_my_problems-kernel
[15:19] <p13> upgrade to 21.04 :D
[15:20] <pycode1> p13 next step
[15:20] <KBar> pycode1, well `dist-upgrade` only removed the old headers.
[15:20] <KBar> not the full image
[15:20] <pycode1> i need to fix it before tomorrow
[15:20] <pycode1> but what about autoremove ? i think it removed all the things
[15:20] <KBar> no
[15:20] <pycode1> so i can go with headers only?
[15:21] <KBar> yep. try that
[15:21] <KBar> first 198
[15:21] <KBar> if it doesnt work. further down to 197
[15:21] <KBar> pycode1 this is what got removed: Remove: linux-headers-4.4.0-197:amd64 (4.4.0-197.229), linux-headers-4.4.0-198:amd64 (4.4.0-198.230), linux-headers-4.4.0-197-generic:amd64 (4.4.0-197.229), linux-headers-4.4.0-198-generic:amd64 (4.4.0-198.230)
[15:21] <KBar> I don't see any image or modules being removed
[15:22] <ryu`> Does anyone comprehend what he is doing with the rpi.h file? https://youtu.be/_bZqJFGt0ZQ?t=282
[15:23] <ryu`> nevermind - https://raspberrypi.stackexchange.com/questions/84175/disable-uart-such-that-it-will-not-be-on-during-the-boot-process-but-only-after
[15:36] <soumadeep> Hello
[15:36] <tar_xvf> yo
[15:41] <pycode1> kbar
[15:41] <pycode1> after install
[15:41] <pycode1> ?
[15:42] <KBar> pycode1, did you install?
[15:43] <pycode1> no i was praying now i will do the job :D ahahahah
[15:44] <pycode1> before someone in #java told me to deal with cgroups
[15:50] <pycode1> KBar, if i install i suppose it will not makes problems right? i mean... if i not set it in grub
[15:50] <pycode1> it just instal new kernal
[15:51] <pycode1> and stop right?
[15:53] <tomreyn> pycode1: for as long as you keep running Ubuntu 16.04 LTS without ESM you will continue to have a major issue: running outdated, known insecure software.
[15:55] <pycode1> tomreyn, yes you are right but i must start running elasticearch before tomorrow
[15:56] <p13> why don't you set up a modern up-to-date ES version?
[15:56] <tomreyn> ES? do you mean LTS?
[15:56] <pycode1> elasticsearch
[15:56] <p13> eleasticsearch
[15:56] <tomreyn> oh
[15:57] <pycode1> yeah i need new elasticsearch version too but the software must be updated first
[15:57] <pycode1> so it is not so easy in that case
[15:57] <tomreyn> but yes, install new ubuntu first of all, then you can easily install a current elastic search
[15:57] <pycode1> some settings have changed in elastic 7.x
[15:57] <pycode1> tomreyn, yes that's the road map
[15:58] <tomreyn> then why are you trying to make that outdated installation work?
[15:58] <pycode1> tomreyn, because i am in hurry
[15:59] <p13> which version of ES do you need?
[15:59] <pycode1> p13 i would like to install the latest but as i wrote there are different things to check
[15:59] <pavlushka> how many steps memtester runs by default to check system ram? 10?
[15:59] <p13> which version would be compatible and meet your requirements?
[16:00] <pycode1> at the momemt the < 6
[16:00] <pycode1> so 5.6
[16:00] <pycode1> 5.6.3 or 5.6.16
[16:01] <p13> pycode1: might i offer an alternative?  Run it in docker: https://hub.docker.com/layers/elasticsearch/library/elasticsearch/5.6.16/images/sha256-752be83a53965522fd6914fb518cff9fa3b08ced2bac6e9d89a4b9971bc80b62?context=explore
[16:03] <pycode1> p13 that could be a solution too but i never used docker...i roughtly know that is a kind of virtualization
[16:03] <tomreyn> "Last pushed: 3 years ago"
[16:03] <pycode1> but i do not know if it impact on performances or if it is only good for dev
[16:03] <pycode1> nor production
[16:03] <p13> tomreyn: sure, it's an old version
[16:03] <pycode1> tomreyn, yeah 5.6 is old
[16:04] <p13> pycode1: it's not virtualization, it's a container.  Still uses the host kernel.
[16:04] <pycode1> p13, but if i remember correctly i can specify the OS i want no?
[16:04] <pycode1> is it 100% based on host ?
[16:05] <p13> pycode1: the docker image only includes what is needed to run ES in this case.
[16:05] <pavlushka> ok, it runs 10 tests per chunk, memtester
[16:05] <tomreyn> 5.6 upstream EOL was 2019-03-11
[16:05] <pycode1> p13, yes but i see it also load install the correct java
[16:06] <p13> pycode1: it includes what is needed to run ES
[16:07] <tomreyn> pavlushka: i'm not sure about memtester, but memtest86+ does 4 *full* passes (of different test patterns) by default.
[16:07] <pavlushka> tomreyn: yeah, 4 full passes of 10 tests per pass
[16:08] <tomreyn> oh memtester, too? ok.
[16:08] <pavlushka> tomreyn: no memtester86+
[16:08] <tomreyn> memtest86+, i see
[16:10] <pavlushka> tomreyn: I was asking about memtester86+ but was saying it as memtester and you answered about the exact tool I was really asking about
[16:10] <pycode1> p13 i can give it  atry
[16:10] <pycode1> without messing with kernel installation
[16:11] <pycode1> and so on
[16:11] <p13> pycode1: well, it's an easy way to have an up-to-date ubuntu installation and still run a severely outdated ES package
[16:12] <pycode1> p13 i mean i can do that without reinstalling the kernel
[16:12] <tomreyn> pavlushka: :) nice coincidence
[16:12] <pycode1> to avoid problem i mean
[16:12] <p13> be sure to read the docs on it first, so you can pass the correct parameters to the container
[16:12] <pycode1> where is the doc in the link you gave me?
[16:13] <pycode1> to understand how to set it correctly?
[16:13] <pycode1> p13, ^^
[16:13] <p13> pycode1: https://hub.docker.com/_/elasticsearch
[16:15] <pycode1> p13 yeah but when i find it i see the page you gave me
[16:15] <pycode1> is there not a dock to undertsand who to run it ?
[16:15] <pycode1> i mean AFTER THE PULL :)
[16:15] <p13> the documentation is on the page
[16:15] <p13> https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html
[16:17] <pycode1> ok thanks
[16:18] <p13> pay attention to how you will provision storage.  ES needs fast storage, and you don't want to be storing everything within the container
[16:26] <pycode1> however
[16:26] <pycode1> if i do
[16:26] <pycode1> dpkg --list | grep linux-image
[16:26] <pycode1> i see nothing
[16:27] <pycode1> is that normal?
[16:27] <pycode1> how can i see all the available kernels?
[16:27] <p13> uhh ... you don't have an installed kernel?
[16:27] <pycode1> no
[16:27] <p13> don't reboot :D
[16:28] <pycode1> p13, nono i havent touched nothing
[16:28] <pycode1> i have
[16:28] <jeremy31> pycode1: >  ls /boot | grep config
[16:28] <pycode1> headers <--
[16:28] <pycode1> jeremy31, nothing
[16:28] <p13> you're living dangerous.  respect
[16:28] <jeremy31> pycode1: anything in /boot
[16:28] <pycode1> bzImage-3.14.32-xxxx-grs-ipv6-64  grub	System.map-3.14.32-xxxx-grs-ipv6-64
[16:29] <pavlushka> lol @ p13
[16:29] <jeremy31> Only kernel that you can boot is still that antique
[16:30] <paul> Hello, I need to execute a script on a live Ubuntu running on a USB drive. But for some reason I can not execute my .sh file. Even the command "type ./aaa.sh" returns to me "not found", even tough the file is obviously there. What can I do? Thank you!
[16:30] <pycode1> what can i do?
[16:30] <pycode1> seems docker is the solution
[16:30] <p13> paul: chmod +x aaa.sh
[16:31] <paul> I tried chmod. It says no such file or directory. But the file is there!
[16:31] <p13> pycode1: running that old ES stack in docker will allow you to have a sane and supported ubuntu install
[16:31] <p13> paul: try "file aaa.sh"
[16:32] <paul> file also gives me: "cannot open" "No such file or directory)
[16:32] <p13> does ls show the file ?
[16:32] <jeremy31> paul is the script in the current directory?
[16:33] <paul> yes ls shows the file
[16:33] <pycode1> p13
[16:33] <pycode1> apt install docker
[16:33] <pycode1> docker pull ...
[16:33] <pycode1> docker not found
[16:33] <pycode1> is that normal?
[16:33] <p13> i think it's docker.io
[16:33] <p13> docker is a window manager dock thing :D
[16:34] <paul> script is in current directory
[16:34] <pycode1> oooh
[16:34] <pycode1> :D
[16:34] <pycode1> ahahah
[16:34] <pycode1> ok
[16:34] <p13> pycode1: are you doing this on your 16.04 ubuntu install ?
[16:34] <pycode1> p13
[16:34] <pycode1> ues
[16:34] <pycode1> yes
[16:34] <paul> I run "sudo ./aaa.sh"
[16:34] <p13> pycode1: my advice to you ... set up 21.04 and run your ES stack in a docker container on that
[16:35] <p13> paul: where is this aaa.sh file?  on a network share?  USB stick? ... ?
[16:35] <pycode1> p13, 21.04 is not LTS
[16:35] <tomreyn> better 20.04 LTS (or 21.10), though, 20.04 will be EOL soon
[16:35] <pycode1> i am running that for a server
[16:35] <pycode1> 20.04
[16:35] <pycode1> i think is ok ?
[16:35] <pycode1> no^
[16:35] <pycode1> ?
[16:36] <tomreyn> !lts
[16:36] <paul> This a live Ubuntu running from a USB drive. I tried running the script from this live USB and also from a second USB with no success.
[16:36] <p13> pycode1: try asking your questions in one line.  Don't hit return after every word.  The bot got angry.
[16:37] <pycode1> sorry, you are right
[16:37] <pycode1> however yes i can install it in a fresh 20.04
[16:37] <p13> paul: is the second usb stick fat32/exfat/ntfs formatted?
[16:37] <paul> fat32
[16:37] <p13> paul: bash aaa.sh
[16:37] <p13> or sh aaa.sh
[16:38] <paul> hey this works!
[16:38] <p13> magic :D
[16:38] <p13> windows filesystems don't support posix execute bit
[16:38] <paul> truly. Searched the internet all day with no solution.
[16:38] <paul> ok
[16:38] <paul> thank you so much!!!
[16:39] <p13> no worries friend
[16:39] <pycode1> p13 but maybe the problem is that i have to expose PORT as public
[16:39] <pycode1> i think it will give me problems
[16:39] <pycode1> no?
[16:39] <jeremy31> paul is the first line of the script  #!/bin/bash
[16:39] <p13> pycode1: you can expose it on your loopback (127.0.0.1)
[16:40] <pycode1> yes but if i use another server to run docker with noew 20.04 i have to expose as public
[16:41] <p13> firewalls are a thing
[16:44] <pycode1> p13 running!!
[16:44] <p13> \o/
[16:44] <pycode1> docker run .... is running
[16:44] <p13> ok try to connect to it
[16:44] <pycode1> now i have to check how to put it in background
[16:44] <pycode1> yes i tried connecting to http://127.0.0.1:9200
[16:44] <pycode1> and it works!
[16:45] <p13> oh lol you can hit ctrl+c
[16:45] <p13> then run docker ps -a and start the docker container
[16:46] <pycode1> ok
[16:46] <pycode1> two more thngs p13
[16:47] <pycode1> 1. ok it is temporary solution, it will work now and will help me to create new server with fresh ubuntu and other packages too...the question ism what is the problem about the storage?
[16:47] <pycode1> 2. how can i set the memory usage? i mean... this server has 32GB Of ram
[16:47] <pycode1> so i can give elastic 8/12GB without problems
[16:47] <p13> both of those questions are answered in the documentation page
[16:48] <pycode1> https://www.elastic.co/guide/en/elasticsearch/reference/7.5/docker.html#_set_the_heap_size
[16:49] <pycode1> ok so i need to put some ENV vars in the host
[16:49] <pycode1> and then docker will look at them to run the ES instance
[16:49] <p13> you pass those to the container, as part of your run statement
[16:49] <p13> also, you are not running 7.5, use this instead: https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html
[16:50] <pycode1> ok
[16:50] <p13> todi is having an identity crisis
[16:51] <pycode1> p13, last thing is, what about the problem with storage? does docker has some limit? i mean, if my indexes became big docker will not run ?
[16:51] <p13> pycode1: it does not have a limit, but as stated in the docs, please use a volume on some fast storage, which is, again ... stated in the documentation
[16:51] <p13> i hate to do this, but ... RTFM ... please
[16:53] <pycode1> p13 ywah pardon for asking stupid question, but...as i wrote, i need to set it up before tomorrow, so for now i need a "fast/ugly solution" and then i will learn more about volume etc.
[16:53] <pycode1> sorry
[16:53] <p13> the documentation goes over this, it's literally faster to read it than ask me why and how
[16:55] <p13> if you spend a little extra time now, it won't be fast/ugly.  It will be suitable for production ... well ... other than the fact that that ES version is pretty old
[16:55] <pycode1> yes sure ES version is a problem too, but yes, as i wrote my roadmap is 1. fresh ubuntu    2. upgrade the python code to meet ES 7.X requirements
[16:56] <pycode1> i do not know the reason but i always tought that docker is used for developing and not for production -_-
[16:56] <pycode1> baah
[16:56] <p13> no, docker is pretty neat
[16:56] <p13> some people try to use it for everything, which i don't necessarily recommend, but it sure has it's uses
[16:56] <th1> docker is great for distributing stuff with lots of dependencies
[16:56] <pavlushka> tomreyn: btw the Memtest86+ is running its 6th pass on 2GB ddr3 ram
[16:57] <pycode1> interesting, it is time to look at it
[16:57] <p13> and sort of automagic scaling and redundancy
[16:57] <pycode1> thank you p13
[16:57] <pycode1> thank you very very much
[16:57] <p13> no worries pycode1
[16:57] <pavlushka> tomreyn: this tool came with Ubuntu_20.04.3
[16:58] <p13> good luck with it.  Take the time to think about it and do things properly.  It will save you from a lot of potential bs later on
[16:58] <pycode1> yes, sure! thanks
[16:59] <pycode1> bye
[16:59] <p13> bye
[17:04] <tomreyn> pavlushka: good. if you have newer hardware, you may prefer https://www.memtest86.com/
[17:06] <pavlushka> tomreyn: already found 2 chunks of 300MB sized bad memory
[17:06] <pavlushka> in it
[17:11] <Exterminador> any idea why apt would hang on `apt install <package>` or `apt remove <package>`?
[17:12] <Exterminador> (Reading database ... 281261 files and directories currently installed.) | Removing qalculate (2.8.2-1build1) ... >> it is hung there for the last ~5 mins
[17:13] <Exterminador> and after i asked, it just finished -_-
[17:14] <pavlushka> Exterminador: nice
[17:15] <Exterminador> but still, it hangs for several minutes on every apt install/remove/dist-upgrade
[17:20] <pavlushka> Exterminador: how old is your machine and hdd?
[17:20] <Exterminador> as stated, its a VPS so no idea
[17:21] <Exterminador> cpu seems to be Intel(R) Core(TM) i5-3570S CPU @ 3.10GHz
[17:22] <pavlushka> Exterminador: and ram?
[17:23] <Exterminador> 11Gb still available apparently (it's a 16Gb RAM machine)
[17:23] <Exterminador> https://www.irccloud.com/pastebin/qMdY0iup/
[17:24] <Exterminador> probably needing a reboot (96 days of uptime)
[17:25] <Exterminador> also "*** System restart required ***" is quite annoying
[17:27] <love_> hello
[17:27] <love_> anyone here
[17:28] <Exterminador> just ask your question and if anyone can help, they'll step in
[17:28] <love_> this is my first time on IRC where can I find people to chat with
[17:28] <love_> for fun
[17:29] <Exterminador> you should "/join ##chat" probably (without the quotes)
[17:30] <cbreak> love_: you can /msg alis help to find a topical channel
[17:35] <marc_> Anyone know how to fix a slow NVMe drive with slow write speeds
[17:39] <p13> marc_: how slow?
[17:39] <marc_> less than 300mb's
[17:39] <p13> anything in dmesg about it ?
[17:39] <marc_> should be over 700
[17:41] <marc_> how do i do that ive been away from linux for 13 years so only started using again in the last week
[17:42] <p13> oh, just run "dmesg | less" as root and have a look to see if you can find any specific messages related to your drive
[17:42] <p13> I would also suggest that you have a look with "lspci -v" and read the info on your drive to see if it has the number of pci-e lanes that you expect
[17:42] <cbreak> marc_: what that SSD faster before? If so, before doing what?
[17:43] <cbreak> and how did you benchmark?
[17:43] <marc_> yesterday it was doing same around 300 i messed aroun it went up to over 600 today its back to 300
[17:43] <marc_> disk utility
[17:44] <th1> marc_: what did you do before it went to 600?
[17:45] <marc_> well ive just run it now after a few mins waiting for a reply here and it now shot up to 568 mbs
[17:45] <th1> what did you run?
[17:45] <marc_> just the disk utility benchmark
[17:45] <th1> which disk utility?
[17:46] <marc_> gnome-disk-utility 3.36.3
[17:47] <th1> probably when you run it, it causes the drive to run some internal cleanup and then it's faster when you run it again but returns to normal after a while. ssd disks do all sorts of advanced stuff under the hood, to wear level the flash, and garbage collect automatically
[17:48] <universe> hi
[17:48] <p13> could be that you are hitting some kind of cache
[17:48] <marc_> but it supposed to run at well over 700mb's its pretty slow in ubuntu in comparison to windows 10 which its over 1000
[17:49] <cbreak> which filesystem?
[17:49] <marc_> ubuntu Ext4
[17:50] <th1> marc_: start here https://easylinuxtipsproject.blogspot.com/p/ssd.html
[17:50] <marc_> the drive is Force MP510 (ECFM22.7)
[19:04] <szdani10> Intel 3165 how can I set to working this wireless device on PopOs?
[19:07] <jeremy31> szdani10: ask PopOS support
[19:12] <sers> OK. Hi. This drives me nuts, I have a question. Or, two questions. Are any true security experts currently around and present in regards to security on Ubuntu Linux?
[19:17] <sers> The scenario is, what are the actual security implications regarding the following two methods of running firefox on Ubuntu. There is a firefox-trunk/nightly-build, a precompiled binary build from the official mozilla site, unpacked in a user's $HOME directory with the default chmod/chown permissions.
[19:18] <sers> And, the other method is, a default firefox installation, as in, thru the official apt repository method.
[19:18] <sers> What are the actual security implications of both builds in comparison?
[19:18] <sers> What is more secure?
[19:18] <jon> what
[19:19] <sers> Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
[19:19] <sers> Would be the version
[19:19] <sers> running both "builds"
[19:19] <sers> what?
[19:21] <sers> What is more secure? The offical .tar.bz2 compiled build from mozilla, running in an user's $HOME folder, or the `sudo apt install firefox' version from the official ubuntu repositories installed via apt?
[19:23] <sers> Or let's say, a compiled nightly build from mozilla placed in a user's /opt/ folder...
[19:23] <sers> As a third possibility
[19:23] <jon> no
[19:23] <sers> no?
[19:24] <sers> Well, perhaps not the lucky day for questions on #ubuntu. :P
[19:24] <sers> Or perhaps wrong time. :P
[19:24] <jon> most people are out shopping
[19:25]  * sers nods
[19:25] <sers> OK.
[19:25] <sers> Or
[19:25] <sers> What is more secure, tmux+irssi, or screen+irssi? ;P
[19:25] <sers> damn shopping! ;P
[19:25] <jon> yeah
[19:26] <sers> Actually, what truly bothers me is, that canonical is apparently unwilling to provide an official firefox-trunk build thru their official repositories. Instead, the have the maintainer of the firefox build, provide an "untrusted" ppa...
[19:27] <jon> really
[19:27] <sers> oh. they*
[19:29] <sers> I used chrome builds too, with added KEYS, to provide update functionality thru apt/apt-get, however, I'd rather stick to two separate firefox installations, both provided thru canonical via their repository. :P
[19:29] <sers> I also tried...
[19:29] <sers> cog dillo epiphany-browser falkon hv3 konqueror links lynx netsurf surf chrome-stable chrome-beta chrome-unstable chromium
[19:29] <sers> :p
[19:30] <sers> and, did I mention, stuff thru snap?
[19:30]  * sers vomits
[19:30] <sers> :p
[19:30]  * sers hopes apt-get dies in a corner
[19:30] <sers> Only power to apt!
[19:30] <sers> :p
[19:30] <szdani10> And w3m?
[19:30] <sers> w3m? Oh.
[19:30] <szdani10> That is missing.
[19:31]  * sers hopes snap dies in a corner too
[19:31] <sers> ;>
[19:31] <sers> anyway, still drives me nuts
[19:31] <sers> and since I don't have another shell going to detach. cyas
[19:31] <sers> was good talking, tnx for the information
[19:31] <sers> later
[19:33] <szdani10> hi afterThought
[19:33] <afterThought> Hello szdani10
[19:36] <charlie_sando> sup yall
[19:43] <raxor2k> How can i add an existing ssh-rsa key to a file so both me and my mate can ssh to the server?
[19:43] <raxor2k> mine is already inside there so i can ssh the server already
[19:48] <raxor2k> nvm solved it
[19:48] <tomreyn> raxor2k: use a text editor to add theirs
[19:50] <raxor2k> ok so i added it to "authorized_keys" but he is still getting "access denied, publickey"
[19:50] <raxor2k> maybe i need to restart the service?
[19:50] <jon> maybe
[19:52] <raxor2k> because all i have to do is to add his key underneath mine key inside "authorized_keys" file, right ?
[19:53] <charlie_sando> raxor2k, and ensure the permissions to that file are correct ( 0600 I believe )
[19:53] <charlie_sando> raxor2k,  you can have him ssh -vvvv '...' to get more error info
[19:53] <raxor2k> what do you mean?
[19:54] <tomreyn> raxor2k: it won't be a permissions issue if you can alread authenticate using the uother key on this file. and you don't need to restart opensshd, if that's the server you're running.
[19:54] <th1> raxor2k: you don't need to restart sshd after changing a per-user configuration file in .ssh
[19:54] <th1> only if you change the master ones in /etc
[19:54] <raxor2k> ok then why can he not connect?
[19:55] <th1> maybe he's sending the wrong key or there's a problem with the key format or permissions file
[19:55] <charlie_sando> what do the logs say
[19:55] <tomreyn> raxor2k: what's the error message he's getting, and the log line that's added to the servers' auth.log about it?
[19:55] <th1> as charlie_sando said have him try running ssh -vvvv user@host
[19:55] <raxor2k> tht: he tried
[19:55] <raxor2k> he gets the same message
[19:55] <raxor2k> he aint even asked to type the password
[19:56] <tomreyn> most of this time in this scenario it's a matter of not specifiying the target user
[19:56] <th1> yeah but it will show a ton of debug information with all those v's
[19:56] <th1> that should give you a clue to what the problem is
[19:56] <th1> like "Server rejected the key"
[20:00] <raxor2k> mine, my mate1(which has been there for some months), and now my mate2
[20:00] <raxor2k> my mate1 has always been able to log in
[20:00] <raxor2k> i think i might just restart the whole server
[20:00] <th1> that's very unlikely to help
[20:00] <raxor2k> so how come that mate1 has been able to ssh all the time?
[20:00] <raxor2k> me and mate1
[20:01] <raxor2k> its the same authorized key
[20:01] <th1> if it's the same key are you sure that you can even log in now?
[20:01] <raxor2k> yes
[20:01] <th1> well
[20:01] <raxor2k> i am able to log in
[20:02] <raxor2k> Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
[20:02] <raxor2k> Warning: Permanently added '165.22.179.18' (ECDSA) to the list of known hosts.
[20:02] <th1> if two people are trying to  ssh in with the same private key, one is able to the other is not, then the problem is not on the server but on the client
[20:02] <raxor2k> woitech57@165.22.179.18: Permission denied (publickey)
[20:02] <raxor2k> he gets
[20:02] <th1> and the username is woitech57?
[20:02] <th1> you are both using that?
[20:04] <raxor2k> yes
[20:04] <raxor2k> me and mate1 have always been able to ssh and can still do that without problem, but mate2 can not ssh in
[20:04] <raxor2k> and i added his key underneath ours
[20:05] <th1> and in the output of ssh there is something like this on both yours and his: Offering public key: /home/whatever/.ssh/id_rsa RSA SHA256:asfkjhsdkjghdsf
[20:06] <raxor2k> th1: where can i see this ?
[20:06] <th1> in the output of ssh -vvvv ...
[20:06] <raxor2k> ssh -vvvv woitech57@165.22.179.18 ?
[20:06] <th1> yes
[20:07] <th1> also careful what you paste here, you don't want to give usernames and ip addresses away in public
[20:07] <raxor2k> isnt that all the point with the rsa? that nobody can hack the server?
[20:07] <th1> sure but the more information someone has the greater the chance they find a way to hack it..
[20:08] <raxor2k> ok i se
[20:08] <raxor2k> see
[20:08] <raxor2k> anyways, here is the information he got when using -vvvv : https://bpa.st/OXJA
[20:10] <th1> raxor2k: it never loads the key, it should be in /c/Users/Zana/.ssh/id_rsa
[20:13] <raxor2k> this is his path: https://nb.imgbb.com/
[20:13] <raxor2k> he says it already is like this¨
[20:13] <th1> that link didn't work
[20:14] <th1> debug1: Trying private key: /c/Users/Zana/.ssh/id_rsa
[20:14] <th1> debug3: no such identity: /c/Users/Zana/.ssh/id_rsa: No such file or directory
[20:14] <raxor2k> this then : https://ibb.co/3SGzJvR
[20:14] <th1> if he calls the file that instead of id_rsa he needs to tell ssh that he is using that file
[20:15] <th1> have him try this: ssh -i /c/Users/Zana/.ssh/websocketZana woitech57@165.22.179.18
[20:15] <charlie_sando> easiest just to rename it back to id_rssa , but yeah what th1 said
[20:16] <raxor2k> i will tell him to rename it back
[20:16] <tomreyn> renaming a file without file extension might not be so easy on windows
[20:17] <raxor2k> i will tell him to do from beginning
[20:17] <raxor2k> create a new one
[20:17] <th1> it'll be fine if he just renames it to id_rsa, that shouldn't be a problem
[20:17] <th1> if it already didn't have an extension windows will let him
[20:18] <tomreyn> mv /c/Users/Zana/.ssh/websocketZana /c/Users/Zana/.ssh/id_rsa        would also work
[20:18] <th1> true
[20:18] <th1> or even cp
[20:22] <raxor2k> we solved it
[20:22] <raxor2k> we just deleted that .ssh folder and created a new one
[20:22] <raxor2k> oh.. he is so dumb, he always changes names and that stuff..
[20:25] <th1> raxor2k: if that's the case I'd reconsider giving him access to my server.. just sayin'
[20:28] <raxor2k> haahah
[20:28] <raxor2k> no worries, he cant do anything
[20:52] <joan> Hello friends
[22:06] <ens> # snap install core
[22:06] <ens> error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /tmp/sanity-mountpoint-780933907: mount failed: Operation not permitted.
[22:06] <ens> this is an openvz instance. the fuse module is enabled.
[22:06] <ens> that is. the kernel module 'fuse' shows up in lsmod.
[22:08] <Bashing-om> ens: ' systemctl status snapd ' says what ?
[22:12] <ens> Bashing-om: https://pastebin.com/vCWTUFfJ
[22:14] <ens> i'm thinking i might also have to load squashfs as a kernel module
[22:17] <ens> oh... so i did: apt install fuse squashfuse
[22:17] <ens> that seems to work now
[22:18] <ens> (also went to the control panel on the vps and re-enabled the fuse adapter)
[22:25] <Bashing-om> ens: I also suggest that you insure that "squashfs-tools" exists.
[23:15] <RMOTAO> When I login on a TTY show me the last login date. I would like to change the format of the date. Is it possible?
[23:25] <mulliken> That should be part of your motd. I haven't vetted this but it might help: https://linuxconfig.org/how-to-change-welcome-message-motd-on-ubuntu-18-04-server
[23:29] <RMOTAO> I had searched every file inside upgrade-motd and nothing I found.
[23:30] <RMOTAO> I believe that is a direct system call to some library.
[23:32] <mulliken> It might be an SSH thing
[23:34] <mulliken> https://ownyourbits.com/2017/04/05/customize-your-motd-login-message-in-debian-and-ubuntu/
[23:35] <mulliken> Seems like you can generate your own last login and disable ssh's > "Finally, you can opt to get rid of the “last login” message if you want"
[23:35] <mulliken> > PrintLastLog no
[23:36] <RMOTAO> I am no nothing using ssh. It is a local login.
[23:37] <RMOTAO> A Host login.