[00:01] <arraybolt3[m]> matsaman: (Not trying to restart our debate over software installation, but I am sorry for the tone I used, and I'm also sorry for some of the confusing stuff I said (particularly over "compiling software" - I get why you said, no, that kills your system, and you're right, I was using a different meaning of "compile software" there). I'll try to not go so fast in the future. I had kind of a bad day and got a bit out of sorts.)
[00:05] <Sbur3> Bye everyone (it's 2:05 am here ...
[00:09] <matsaman> arraybolt3[m]: oh think nothing of it, as far as I'm concerned
[00:22] <arraybolt3[m]> matsaman: Thanks. I don't want to be like that. Thank you for your patience and forgiveness.
[01:09] <blugreen> hi all.is there a way to make a driver persistent after an update ?
[01:26] <enigma9o7[m]> No.
[01:27] <enigma9o7[m]> Probably not anyway.  It's hard to understand the question.
[01:28] <enigma9o7[m]> There's things like DKMS that can be useful....
[01:29] <blugreen> coz the driver for the wifi is not native to ubuntu18,did manual install via dkms & is working fine,but whenever there is an update it cant be detected again & i have to redo the manual installation,so is there a way to make it persistent after an update
[01:36] <Jari--> Err:6 http://ppa.launchpad.net/duh/duh/ubuntu focal Release                                      404  Not Found [IP: 185.125.190.52 80]
[01:36] <Jari--> how do I upgrade now?
[01:36] <Jari--> this must be optional though
[01:37] <enigma9o7[m]> try again
[01:40] <Jari--> nopes it gives 404
[01:40] <Jari--> grepped /etv/apt/* ... it does not have a launchpad.net at all
[01:41] <Jari--> Any secondary configurations could give it?
[01:41] <enigma9o7[m]> That site is in fact responding to me.
[01:41] <enigma9o7[m]> Dunno why its not for you.
[01:42] <Jari--> so maybe reboot?
[01:42] <enigma9o7[m]> But your sources are in /etc/apt/sources.list and /etc/apt/sources.list.d
[01:42] <enigma9o7[m]> launchpad is run by canonical, it should be reliable
[01:42] <jhutchins> !upgrade
[01:43] <jhutchins> Jari--: Try reading the instructions.
[01:56] <Jari--> well
[01:56] <blugreen> if ubuntu made an update ,does the generic kernel on dkms install is also updated?
[01:56] <Jari--> I did a apt dist-upgrade
[01:56] <Jari--> now its okay
[01:57] <Jari--> thats what the guys at https://askubuntu.com/questions/65911/how-can-i-fix-a-404-error-when-using-a-ppa-or-updating-my-package-lists told me to do
[02:00] <Jari--> ppa works ok on the most recent distributions available
[02:00] <Jari--> here
[02:32] <omerf> hi
[02:43] <Jari--> Ubuntu says this current hardware is supported until 2025. Nice one. Old machine though :) HP rules.
[02:46] <wez> Yeah, HP ia alright, unless you deal with the rack servers :/  Then it's all "Here's the specs the server has, oh, but you can't use any of them until you pay a subscription", "You want another HDD? sure, but it has to be an overpriced version cause we check the serial number of drives and disable ones that don't match our allow list"
[02:47] <wez> And Intel is doing the same thing, "here is out latest CPU, but all of the features have been disabled until you 'unlock' them via a subscription"
[06:53] <brandoneliza> I would like to configure ufw so that I a particular system can access incoming and outgoing connections to a particular ip but is denied from connecting to any other ip how do I set up the rules?
[06:56] <brandoneliza> I read some tutorials but it is not clear.
[07:29] <dagb> I see that ufw enable/disable does not impact the execution of the startup script. What file(s) do 'ufw enable' touch?
[07:30] <brandoneliza> not sure
[07:30] <brandoneliza> if was only partially successful
[07:31] <brandoneliza> dagb, https://paste.opensuse.org/view/raw/1ccba191 is what I tried and a better explanation
[07:31] <brandoneliza> *I was only
[07:32] <brandoneliza> i disabled ufw as i've successfully been able to do the first part block all outgoing conns so even irc wont work. But I cannot get the allow server access on lan bit to work
[07:32] <dagb> I had a look at ufw for the very first time yesterday. SO a bit green myself.
[07:32] <dagb> but firewalls in general stop processing rules when they find a matching rule.
[07:32] <dagb> order matters
[07:32] <brandoneliza> yeah never needed it but there is this special case.
[07:33] <brandoneliza> dagb, so I'd need to allow that ip and then deny all other outgoing
[07:33] <dagb> so if a rule denies the traffic, then there was a match
[07:33] <brandoneliza> so I think the default deny is matching first
[07:33] <dagb> that would be the general way firewalls work
[07:33] <brandoneliza> yes so how would i deny all else as a rule
[07:33] <dagb> allow what must be allowed first, then deny all
[07:35] <brandoneliza> wonder if it is "ufw deny all" or "ufw deny *"
[07:35] <brandoneliza> can try it
[07:36] <brandoneliza> will be disconnected for a bit can't change rules when ufw is disabled
[07:38] <brandoneliza> dagb, hmm both those don't work
[07:39] <brandoneliza> how do i deny all outgoing except that ip
[07:39] <brandoneliza> and deny all incoming except that ip
[07:40] <brandoneliza> anyway will ask again later need to run thank you so much for your guidance.
[07:40] <dagb> ufw allow from 192.168.200.11 proto tcp to 192.168.200.10 port 22
[07:40] <dagb> and
[07:41] <dagb> a reverse of that
[07:41] <dagb> I assume
[07:42] <brandoneliza> yes i think i need to allow outgoing an incoming for 192.168.100.11 and then deny outgoing and incoming
[07:42] <brandoneliza> bit will ask again later thank you I don't have a bnc
[07:42] <brandoneliza> *but
[07:48] <mvitolin> hi there
[07:52] <gpkumar> hello 👋
[08:10] <LUONGDUC> hello
[08:10] <webchat47> Hello!
[08:10] <LUONGDUC> wow
[08:11] <LUONGDUC> somebody else in there ?
[08:13] <dagb> There are 1077 of us here
[08:13] <webchat47> I was here yesterday, I didn't get nvidia drivers to work. I booted Lubuntu through Live USB and Nouveau are working fine here lol
[08:14] <webchat47> I don't know why they are not working in Ubuntu 20.04
[08:15] <geirha> Lubuntu 20.04 and Ubuntu 20.04 should be using the exact same driver versions
[08:15] <webchat47> Yeah
[08:15] <webchat47> Everything is working in Lubuntu 20.04
[08:16] <webchat47> I can't access my Ubuntu 20.04 root partition from this Live boot, is it not possible?
[08:16] <webchat47> I'm able to access my home directory
[08:17] <webchat47> I'm getting permission denied when I try to open root folder
[08:20] <webchat47> is it possible to repair driver issue using live usb?
[08:22] <geirha> which kernel version is it using?  uname -r   in a terminal
[08:22] <webchat47> 5.4.0-42-generic
[08:22] <webchat47> I had made this live boot usb two years back
[08:23] <webchat47> I had kept it for use in such cases
[08:23] <geirha> so it's not using the hwe kernel. Perhaps try having the installed system use the 5.4.x kernel instead of the 5.13(?) or whatever the hwe kernel version is at
[08:24] <geirha> no wait. 5.4.x ... that sounds like 18.04
[08:24] <webchat47> Kernel version upto 5.8 are available in advanced boot menu
[08:25] <webchat47> No, it is Lubuntu 20.04
[08:26] <geirha> Aha I now see it has several 5.x versions, including 5.4. Never noticed that before
[08:28] <webchat47> @geihra It's okay, I'll reinstall the OS itself
[08:28] <geirha> seems a bit drastic.
[08:28] <geirha> I'd try installing and using the 5.4 kernel
[08:30] <webchat47> I don't know how, I'm already wasting your time here since yesterday.. I feel bad for doing that..
[08:31] <webchat47> apt install would work for kernel?
[08:32] <webchat47> http://archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe-5.4/ there are these available
[08:33] <Maik> webchat47: https://wiki.ubuntu.com/Kernel/LTSEnablementStack
[08:33] <alkisg> webchat47: can you summarize the main issue? E.g. you've install nvidia drivers and something went wrong and now you want to uninstall them?
[08:34] <Maik> webchat47: and weird you have 5.4, Lubuntu should be 20.04.4 LTS pointrelease with the 5.13 kernel
[08:34] <Maik> i bet you downloaded the wrong iso
[08:35] <alkisg> Installing 20.04 or 20.04.1 and updating gets you 5.4 kernel
[08:35] <webchat47> It's showing 20.04 on wallpaper
[08:35] <alkisg> While installing 20.04.2 and up gets you 5.13
[08:35] <webchat47> This is an old usb live boot
[08:35] <alkisg> So it depends on the initial .iso you used; 5.4 is fine if you installed using the original iso
[08:35] <webchat47> 2 not the latest one
[08:36] <alkisg> Ah you're checking the iso kernel, not the disk kernel? Why do you care about that?
[08:38] <Maik> alkisg: he's trying to repair his Ubuntu install, scroll back up
[08:38] <alkisg> Maik: AFAIK he's continuing from yesterday; I really don't want to read all of yesterday's logs :D
[08:39] <alkisg> From what I understood his ubuntu installation has issues with nvidia, but what issues...
[08:39] <webchat47> @alkish I tried to install webcam driver on ubuntu 20.04 my main os, installation failed and it somehow changed my display settings and my external monitor was running at lower resolution and HDMI was not getting detected. Then we found out there were multiple Nvidia drivers on my system, so I removed all of them and installed one driver. That didn't work and gde.service is not starting and I can only access system through tty.
[08:40] <alkisg> webchat47: in grub, if you select advanced > recovery mode, and then "resume boot", does it give you a graphics login?
[08:40] <alkisg> (that adds nomodeset so it should use vesa graphics)
[08:41] <webchat47> I tried and It crashed during on page where it shows "resume", then I had exit and boot regular way
[08:42] <Maik> webchat47: isn't it better to just re-install Ubuntu....
[08:42] <webchat47> Yeah, I've decided to do that now. I'm trying to take backup of my files
[08:42] <Maik> ok :)
[08:43] <webchat47> I'm not able to access root folder of my main os partition, it's giving permission denied error
[08:43] <Maik> why are you even trying to access the root folder
[08:44] <webchat47> I have a file in root folde I need to take its backup
[08:44] <Maik> i see
[08:47] <webchat47> How can I take backup of my softwares and app data?
[08:50] <webchat47> I have these folders https://imgur.com/a/tAOcVv7 in my main os partition, which all folder do I have to take backup?
[08:51] <Maik> i suggest to start from scratch
[08:51] <webchat47> ohh
[08:51] <webchat47> okay
[08:52] <Maik> taking a backup of the root folders of a messed up install and putting them back on a fresh install messes up the system again
[08:53] <webchat47> I'll leave root folder
[08:53] <Maik> just re-install ubuntu and don't mess around with it too much
[08:53] <webchat47> I'll take backup of home folder it contains my files
[08:54] <webchat47> what is the fast way to take backup of 80GB Home folder backup?
[08:54] <webchat47> I don't to corrupt any files
[08:54] <webchat47> want*
[08:58] <EriC^^> webchat47: cp -a /home/user /path/to/backup
[08:58] <webchat47> live boot is not detecting my external hard drive
[08:58] <EriC^^> webchat47: it doesn't show up in 'sudo parted -ls' ?
[08:59] <webchat47> No
[09:00] <geirha> make sure the backup dir is on a sane filesystem. E.g not (ex)FAT or NTFS
[09:02] <EriC^^> webchat47: try to unplug and plug it in a different usb port
[09:02] <EriC^^> webchat47: you can open a terminal and type "dmesg -w" and another with "udevmon monitor" to see if anything is being picked up
[09:02] <webchat47> I'll tried, led on HDD lights up. but it won't get detected
[09:03] <Maik> webchat47: is the external HDD formatted in NTFS?
[09:04] <webchat47> yes
[09:05] <webchat47> It was being used for windows
[09:05] <webchat47> dmesg shows nothing
[09:05] <Maik> sudo apt install ntfs-3g
[09:05] <Maik> log out and back in after that
[09:05] <EriC^^> it should show up in parted as a device though
[09:06] <EriC^^> webchat47: anything in udevmon?
[09:06] <webchat47> how to check udevmon?
[09:07] <EriC^^> type "udevmon monitor" then plug the hdd
[09:08] <webchat47> udevmon not found
[09:08] <webchat47> I'm not Lubuntu 20.04 Live boot
[09:08] <webchat47> on*
[09:08] <Maik> webchat47: try what i suggested
[09:09] <EriC^^> webchat47: sorry, udevadm monitor
[09:09] <webchat47> @Maik it doesn't show up in sudo parted -ls
[09:10] <webchat47> nothing shows up when in udevadm monitor
[09:11] <Maik> webchat47: did you do: sudo apt install ntfs-3g
[09:11] <webchat47> no
[09:11] <Maik> as i said do that and log out and back in after that
[09:12] <webchat47> okay I'll try
[09:12] <Maik> please try to keep up with what's suggested
[09:12] <webchat47> okay
[09:13] <webchat47> ntfs-3g is already installed
[09:13] <webchat47> I'll try logout and login
[09:13] <Maik> no need to
[09:13] <webchat47> okay
[09:14] <Maik> try sudo apt install exfat-utils and log out and in again
[09:14] <webchat47> okay
[09:14] <EriC^^> Maik: it's not even detecting the hdd in linux
[09:15] <EriC^^> there's no /dev file to mount using any fs type
[09:15] <Maik> he's on a live session but shouldn't matter
[09:15] <darshan> I logged out and all my session got wiped 😅
[09:16] <darshan> Still it didn't recognise my HDD
[09:16] <EriC^^> darshan: try different usb port i guess
[09:16] <Maik> darshan: could you please stick to one nick? It's confusing when providing support.
[09:17] <darshan> Okay sorry
[09:17] <darshan> I'll restart and check once
[09:20] <Maik> restarting the live session makes you lose everything again...
[10:08] <brandoneliza> dagb, I figured it out I think.
[10:37] <dagb> brandoneliza: great
[11:04] <BluesKaj> Hi all
[11:35] <engin> is there a concise book on ubuntu? (i used to be a linux dev but it has been like 20 years ago now, i want to get up to speed with things like new services systens etc)
[11:36] <lotuspsychje> !manual
[11:36] <engin> we used to have /etc/init.rd stuff but now it seems it's all replaced with new kernel security policies etc. so i want a book to quickly get up to speed. a book that is not written for newbies to be honest
[11:37] <guiverc> engin & lotuspsychje ; alas the Ubuntu Manual project failed to get volunteers to update it; so it's still Unity 7 & not the current GNOME
[11:37] <lotuspsychje> oh right
[11:37] <engin> also i find gnomes simplicity philosophy is gone way too far?
[11:38] <engin> there used be KDE that is very customizable, bloated and slow
[11:38] <engin> and gnome. atm, in Polaris (gnome's recommended IRC) there's no way to enter advanced settings to set up a BNC. Also recommended mail app doesn't have an option to list only unread mail.
[11:38] <engin> am i doing something wrong. is this is the current state of affairs?
[11:39] <guiverc> engin, KDE using Qt5 is actualy lighter/faster (generally) than GTK3 used by current GNOME...   KDE4 is what was slow; the complaints were heeded by Qt & KDE4 was improved (lightended) then replaced with faster/lighter Qt5
[11:40] <engin> noted
[11:40] <tomreyn> and most people won't actually use most of the gnome applications, but just the desktop itself.
[11:58] <scortal1> ih
[12:01] <leftyfb> tomreyn: ?
[12:01] <tomreyn> leftyfb: ?
[12:01] <leftyfb> the last post here? Ban evading troll
[12:02] <scortal1> US YBYTY##]
[12:03] <Maik> scortal1: please stop
[12:03] <scortal1> i mikey
[12:04] <Maik> tomreyn: if you're around mind doing the honor ^
[12:04] <scortal1> hi tomreyn
[12:07] <sdjkvsod> Hi, every
[12:12] <rjwiii> Is "LivePatch" supposed to be able to update the kernel with out rebooting or am I smoking crack?
[12:15] <Maik> !livepatch | rjwiii
[12:29] <leftyfb> rjwiii: livepatch patches the kernel running in memory until you reboot, at which time you're now running the regularly updated kernel
[12:32] <rjwiii> leftyfb: I hate having to reboot ...
[12:41] <jmft2> Hi all, is it possible to get a version log of an apt package? I don't just want the current version number, I want to know how often upgrades are being made.
[12:42] <lotuspsychje> jmft2: perhaps the dpkg logs can help you?
[12:43] <lotuspsychje> but that would only show the versions from your current install
[12:44] <jmft2> lotuspsychje: right, that's not what I need, I need to know how often the developers are releasing new versions
[12:45] <jmft2> https://packages.qa.debian.org/common/index.html good starting point
[12:45] <Elliria> This gives timestamps: less /var/log/apt/history.log
[12:48] <jmft2> Elliria: yes, but this is only for packages that I have installed and am updating
[12:50] <deltreey> I've been googling, and haven't seen anyone with this issue, so I thought I'd check here.  I upgraded to 22.04, but my computer keeps crashing back to the login screen.  1. It leaves things like ssh tunnels open, so ports are still in use, but I can't access them anymore.  2. It seems to happen when I get to a certain level of RAM usage.  3. I can reliably recreate it by opening a 98mb image in GIMP.
[12:53] <Elliria> I'm not sure if this is what you're after, jmft2, but I've collected these links for use in finding out specifics about packages: https://pastebin.com/WR4w6e1A
[12:53] <ioria> deltreey, what about your swap size ?
[12:54] <Elliria> Just curious, deltreey, but is wslu installed?
[12:56] <Elliria> In Kubuntu, the gimp-help-en package automatically installs wslu, which stops all shortcuts from working and turns my operating system into a brick (this has been reported as a bug). Perhaps it behaves differently in Ubuntu?
[12:57] <deltreey> ioria, Swap:        2097148       15872     2081276
[12:57] <deltreey> Elliria, which wslu returns nothing
[12:58] <ioria> deltreey, heavily  in use
[12:59] <deltreey> strange
[12:59] <ioria> deltreey, how much ram ?
[12:59] <deltreey> ioria, Mem:        15957948     4221644     6499032      799884     5237272    10598912
[13:01] <ioria> deltreey, run 'vmstat 1' and see if there 's some 'si   so ' activity
[13:01] <deltreey> ioria, one row has it
[13:01] <deltreey> 4  0  17664 6436476 418728 4626616    2  214   739   561  657 1220 19  3 76  2  0
[13:02] <deltreey> si 2, so 214 on that row
[13:05] <ioria> deltreey, try this cmd to check which process is using it : for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done
[13:06] <deltreey> ioria, there's a lot of output here, what am I looking for?
[13:06] <ioria> deltreey, you look for the number after the proc name
[13:08] <ioria> deltreey, btw, there an ongoing issue with  systemd-oomd on 22.04
[13:12] <ioria> deltreey, you can increase the swap size or disable  that service
[13:15] <deltreey> the largest is dockerd, at about 2k kb
[13:15] <deltreey> that systemd-oomd sounds like what I'm dealing with
[13:15] <deltreey> turning it off, thanks for the tip
[13:15] <ioria> ok
[13:16] <carillons0> How much RAM a normal Ubuntu O.S. needs ATM once booted?
[13:16] <dagb> carillons0: how long is a fish?
[13:19] <matvei> Who is Russian?
[13:19] <matvei> Who is Use Linux Mint?
[13:20] <lotuspsychje> !mint | matvei
[13:31] <deltreey> well, that was fun
[13:32] <deltreey> ok, so systemd-oomd was definitely kicking me out of my session, but apparently the problem is bigger than that because with systemd-oomd stopped, my whole computer would just lock up (when doing the things that would have caused it to crash my session)
[13:32] <deltreey> ioria, thanks for the info.  Not sure where to go from here
[13:41] <user_id> matvei: what is your question?
[13:45] <deltreey> any recommended memory testing tools?  Maybe I have something wrong with my RAM
[13:46] <ravage> deltreey, https://www.memtest86.com/downloads/memtest86-4.3.7-iso.tar.gz
[13:46] <Guest81> in kde system tray, under "battery and brightness" there's an option that prevents sleep "manually block sleep and screen locking". How do I achieve the same using terminal? I want it as a keyboard shortcut.
[13:57] <dpq> hi all
[14:40] <ioria> deltreey, you can change the limit in the unit service file
[14:46] <jhutchins> memtest86 still a thing?
[14:46] <murmel> jhutchins: on bios systems yes
[14:46] <murmel> but afaik there is an update for uefi
[14:47] <tomreyn> the one ravage pointed to
[14:48] <tomreyn> ah no, that's the bios one
[14:48] <tomreyn> https://www.memtest86.com/downloads/memtest86-usb.zip is uefi
[14:48] <ravage> the website also has version 9 that supports uefi
[14:48] <ravage> but only a usb zip. found no iso
[14:50] <tomreyn> "Changes in v8.0 (December/2018): Removed MemTest86 ISO download packages. Users are encouraged to use the USB boot images which allow logs, reports and configuration files to be written to the USB drive. If CD boot is required, please use ISO images from MemTest86 v7 or earlier."
[14:52] <ravage> which really sucks. USB storage is not allowed in a lot of environments with servers. so a bootable read-only CD/DVD would be really nice
[14:52] <tomreyn> you can pxe boot though
[14:52] <ravage> right
[14:53] <ravage> but not every customer has that setup when he asks for a memtest :)
[15:25] <noarb> I'm trying to take a backup of an LVM snapshot of a running system. I can create the snapshot and mount it with `lvcreate -L5G -s -n backup /dev/ubuntu-vg/ubuntu-lv`, but when I try to merge it back with `lvconvert --merge /dev/ubuntu-vg/backup` it says Delaying merge since origin is open. Merging of snapshot ubuntu-vg/backup will occur on next activation of ubuntu-vg/ubuntu-lv. Am I missing a step here?
[15:28] <noarb> https://askubuntu.com/a/680451 indicates a reboot is necessary, too, but is that only to discard changes? I want to keep all changes, just need a stable system for the backup
[15:36] <noarb> should I just delete the snapshot `lvremove /dev/ubuntu-vg/backup`? "Do you really want to remove and DISCARD active logical volume ubuntu-vg/backup?"
[16:07] <jhutchins> ravage: There are ISO images for V7.  These do not include the persistent features of later versions - which I suspect is the major difference in the later versions.  Why do you have to have the latest one?
[16:10] <ravage> i never said i do. usually servers still have a legacy boot option
[16:11] <ravage> that's why I linked the older iso
[16:18] <webchat94> When I 'M installing mysql I get the following SOLVED – Failed! Error: SET PASSWORD has no significance for user ‘root’@’localhost’ as the authentication method used doesn’t store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters.
[16:21] <webchat94> Is anyone there
[16:22] <jhutchins> webchat94: Why are you asking us about the instructions your MySQL system is giving you?
[16:22] <webchat94> Because I want to use mysql
[16:22] <webchat94> And I tried everything
[16:23] <ravage> webchat94, https://askubuntu.com/questions/1406395/mysql-root-password-setup-error
[16:23] <jhutchins> webchat94: Did you try using ALTER USER?
[16:23] <ravage> i tried googling :)
[16:23] <oerheks> webchat94, what guide do you folow?
[16:23] <oerheks> oh
[16:24] <webchat94> Are there any solutions
[16:24] <ravage> ok. im out :D
[16:24] <oerheks> sure, but we cannot copy paste all the commands
[16:25] <oerheks> read back, ravage  might gave your fix
[16:25] <jhutchins> https://www.google.com/search?q=oreilly+mysql&oq=oreilly+mysql&aqs=chrome..69i57j0i10l2j0i10i22i30j0i22i30l2j0i10i15i22i30j0i10i22i30j69i64.7175j0j7&sourceid=chrome&ie=UTF-8
[16:26] <jhutchins> I was going to say O'Reilly has a book, it turns out they have several.
[16:26] <jhutchins> I was going to say O'Reilly has a book, it turns out they have several.
[16:27] <jhutchins> webchat94: What are you actually trying to do with your SQL server?
[16:27] <oerheks> sudo mysql_secure_installation .. and see step 3; https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-22-04
[16:27] <oerheks> so many guides ..
[16:27] <jhutchins> Pretty much anything that uses MySQL as a back end has step-by-step instructions for setting up the DB.
[16:30] <oerheks> Now webchat94 , register your name with Libera, and login :-) .. that is if you take our support seriously.
[16:30] <webchat94> Yes I did mysql_secure_installatiation and they I got the error
[16:33] <webchat94> I did this and then I got the error
[16:34] <jhutchins> webchat94: Did you try looking up "ALTER USER" in the online command index to learn the syntax?
[16:34] <webchat94> Yes I did everything and it still doesn't work
[16:35] <oerheks> it is not an error, just a warning
[16:35] <jhutchins> webchat94: Of course it doesn't work, you're trying to do something that doesn't work.
[16:36] <webchat94> Can you join. A call and help me
[16:36] <jhutchins> webchat94: We are very sceptical that you tried "everything".
[16:36] <jhutchins> webchat94: No, a call won't do any good if you can't follow simple instructions.
[16:36] <jhutchins> People have asked you several questions, like what is the SQL server for, and you haven't answered anything.
[16:37] <webchat94> I followed all the toturuals I found online and it still doesn't work
[16:37] <webchat94> I even tried generating  A password using a password generator
[16:38] <jhutchins> webchat94: That's because, as the message indicates, you're trying to do something that can't be done.
[16:38] <webchat94> What can I do
[16:38] <jhutchins> webchat94: ALTER USER instead of SET PASSWORD.
[16:39] <jhutchins> webchat94: Answer the questions people here have asked you.
[16:39] <webchat94> I used alter user many times it doesn't work
[16:41] <tomreyn> how could you tell "it does not work"? that's the most unspecific response you can give. were there error messages, did something (what?) not work as expected (what was expected) afterwards?
[16:41] <oerheks> mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by '************************d';
[16:41] <oerheks> and ' exit'
[16:41] <webchat94> It said it doesn't match policies
[16:42] <webchat94> I did that
[16:42] <jhutchins> webchat94: That means your password doesn't meet the requirements (which you can set).
[16:43] <webchat94> I tried many password but I didn't work
[16:43] <jhutchins> webchat94: Did you try looking up the password requirements?
[16:43] <oerheks> too short, i capital, 1 number, one special character..
[16:44] <jhutchins> webchat94: There, oerheks has done it for you.
[16:44] <webchat94> Yes it was set to medium
[16:44] <jhutchins> oerheks: Seems to me like it's 8 characters.
[16:44] <oerheks> 12345ABCDEFG!@# is an easy test.
[16:44] <jhutchins> oerheks: Doesn't it need one lower case?
[16:44] <oerheks> better more than 32 characters, to avoid rainbowtables
[16:44] <oerheks> oh good spot, jhutchins
[16:45] <webchat94> The policy was set to medium
[16:45] <jhutchins> webchat94: You could look at the on-line documentation and see what "medium" actually means.
[16:46] <jhutchins> webchat94: If it says it doesn't match the policy, that's what it's talking about.
[16:46] <webchat94> I did that
[16:46] <jhutchins> webchat94: Also make sure you're using the right quotes.
[16:46] <webchat94> The policy was set to medium
[16:46] <jhutchins> webchat94: Yes, you've said that several times.
[16:47] <jhutchins> webchat94: https://kb.iu.edu/d/aphg
[16:47] <webchat94> So I generated many password according to the policy but I didn't work
[16:47] <oerheks> then show us the full log on paste.ubuntu.com ?
[16:47] <jhutchins> !info mysql
[16:48] <jhutchins> !info mysql-server
[16:48] <oerheks> mysql-server
[16:49] <webchat94> You want a screen shot
[16:50] <jhutchins> https://linuxhint.com/install_mysql_ubuntu_20-04/
[16:50] <webchat94> I 'M on Ubuntu 22.04
[16:50] <oerheks> no screenshots please, paste the text
[16:50] <jhutchins> webchat94: So is that page, actually.
[16:50] <oerheks> so lame, screenshots
[16:51] <webchat94> Can anyone just join me on a call and help please a discord call
[16:52] <jhutchins> I think my last inventory was ~234 MySQL servers, most of them upgraded to Percona 8, but a few malingering at MySQL5.
[16:53] <jhutchins> webchat94: Yes, my community rates are $75US/hr with a three hour minimum.
[16:53] <jhutchins> webchat94: Or you could just answer the questions and follow the suggestions here.
[16:53] <webchat94> Find give me the questions
[16:54] <jhutchins> webchat94: Look through the scrollback.  What is the server for?
[16:54] <webchat94> *fine
[16:54] <webchat94> Setup up databases
[16:55] <webchat94> I did secure_installation
[16:55] <jhutchins> webchat94: There are lots of guides out there, that's part of the problem.  You need to follow ONE guid that's specific to the release and version you have.
[16:55] <webchat94> I did follow those guide
[16:55] <jhutchins> webchat94: Do you not understand that SET PASSWORD is never going to work, you must use ALTER USER, with a password that meets the medium requirements, and the right quotes in the right places.
[16:56] <jhutchins> webchat94: Why not just use the current root password as it is?
[16:56] <webchat94> I don't know the password
[16:57] <webchat94> For root I just want to secure mysql
[16:57] <jhutchins> webchat94: Obviously you're setting up databases, that's what MySQL is!  What are the databases for?
[16:57] <webchat94> Just for testing and practicing comabss
[16:58] <webchat94> Commands
[16:59] <sophie> I imagine it is already secure, only root can login using a shell. I think more recent mysql versions on ubuntu work like that
[16:59] <webchat94> I tried alter user with a random password generator but j didn't work
[16:59] <webchat94> It didn't work
[17:00] <jhutchins> 20% of the database market is MySQL.  It's not the software's fault.
[17:00] <jhutchins> webchat94: You are stuck in a fail loop.  You need to put this down, do something else for a while, let your brain rest.
[17:01] <jhutchins> webchat94: Clean your room, wash the cat, vacuum the lawn, just get away from the computer for a while
[17:01] <jhutchins> I'm out of coffee.
[17:02] <webchat94> Well should I reinstall mysql
[17:02] <webchat94> Cause I did alter user many times
[17:02] <webchat94> I didn't work
[17:03] <webchat94> And you said something about the correct commas what does that mean
[17:04] <jhutchins> Y'know, if he's using a password generator, it's probably a cut-and-paste error like a hidden character.
[17:05] <jhutchins> webchat94: I think a clean reinstall, following one single guide like the one I linked above that's specific to MySQL8 and Ubuntu, might be a good idea.
[17:05] <webchat94> I typed in the password manually
[17:05] <jhutchins> webchat94: I still think you need to break the loop and do something else for at least half an hour.
[17:06] <webchat94> I did that
[17:06] <jhutchins> 201 users on #mysql
[17:07] <webchat94> Can anyone just join me on a chat and help me live
[17:07] <oerheks> no, register and join #mysql
[17:09] <webchat94> Ok
[17:09] <webchat94> Can i have a guide then
[17:10] <jhutchins> https://linuxhint.com/install_mysql_ubuntu_20-04/
[17:10] <webchat94> And what if alter user doesn't work
[17:11] <webchat94> I was trying to run mysql_secure_installation
[17:11] <jhutchins> Then 20% of the databases in the world will suddenly stop.
[17:12] <oerheks> as you are testing, do a fresh install with these guides.
[17:12] <webchat94> Then I tried alter user
[17:12] <oerheks> if it does not work again, join mysql?
[17:12] <webchat94> Join nyswo
[17:12] <webchat94> Join mysql
[17:13] <webchat94> And then
[17:16] <webchat94> What will happen if I don't want the password validation plugin for mysql
[17:16] <Leafboi> hi
[17:16] <Leafboi> fafsf
[17:16] <webchat94> Will it affect my security
[17:18] <webchat94> Will it or not
[17:19] <webchat94> And can I disable the password validation plugin for mysql
[17:20] <dsc_> you can disable it or enable it
[17:20] <dsc_> read the documentation regarding the plugin and make a decision
[17:20] <dsc_> https://mariadb.com/kb/en/password-validation/
[17:20] <dsc_> i would not use it (i would not use mysql at all :P)
[17:21] <webchat94> Is there an alternative
[17:22] <dsc_> postgres
[17:22] <webchat94> Will my server be insecure if I don't enable the plugin
[17:23] <webchat94> No right
[17:23] <webchat94> Because I do want to disable it
[17:23] <dsc_> the plugin seems to enforce password strength
[17:24] <webchat94> Will It destroy my security
[17:24] <dsc_> it doesnt matter what you use, i will hack your server anyway
[17:24] <dsc_> use the plugin or not, its irrelevant
[17:24] <webchat94> So I don't need it
[17:24] <dsc_> I don't know what you need
[17:25] <dsc_> if you need to enforce strong passwords, the plugin seems nice
[17:25] <webchat94> I don't want the plugin but I 'M afraid my security would be at risk
[17:26] <webchat94> That's what us causing my problem
[17:26] <webchat94> *Is
[17:27] <bastardboy1> hey please hwlp!!!!!!! NOW!!!!!
[17:27] <dsc_> why are you afraid your server will be insecure?
[17:27] <dsc_> have you read the documentation I sent?
[17:28] <webchat94> Well I don't want the plugin but I don't want my server to be hacked
[17:28] <jhutchins> It's a bit redundant to set a password policy if you're the only user with passwords.
[17:29] <webchat94> But I don't want the plugin it is causing all the errors
[17:29] <Razido> Out of nowhere, my screen crashed and I had to force shutdown. Can anyone tell me what happened? here is what it looked like: https://i.imgur.com/JLiJ5Zh.jpg
[17:29] <Razido> I am using xubuntu
[17:30] <webchat94> Do you have enough ram
[17:30] <dsc_> smells like a GPU or otherwise video driver issue
[17:31] <Razido> in which log file would a trace of this error be found
[17:31] <webchat94> Syslog  I think
[17:31] <Razido> i must mention that i recently updated my distro
[17:31] <bastardboy1> HELPPPPPPPPPPPPPPP!
[17:31] <Razido> hopefully evil kernel updates didn't screw the hardware support
[17:31] <bastardboy1> NOW  HELP NOW !!!!!!!!!!!!!! NOW NOW NOW NOWN OWN OW NOW NOW NOW HELP!!!!!!! NOW HELP !!!!!!!
[17:32] <webchat94> Stop spamming
[17:32] <webchat94> I also need help
[17:32] <Razido> what keyword should i search for in the syslog?
[17:32] <webchat94> I don't know
[17:33] <hggdh> bastardboy1: stop please
[17:33] <InPhase> Razido: You restarted your computer right after that I assume, right?  What you look for is the tightly packed logs of the boot sequence, then you go right above that and scroll up slowly looking for errors.
[17:34] <Razido> yes i restarted. the syslog has many lines, what is a word that i should search for to get the boot sequence?
[17:34] <Razido> so then i can see for any nearby errors
[17:34] <ravage> Razido, journalctl -b1
[17:34] <hggdh> Razido: look for "Linux version"
[17:35] <InPhase> Razido: BOOT_IMAGE
[17:35] <InPhase> Or "Linux version"
[17:37] <jhutchins> Razido: We don't know which release you're on, what video hardware you have, which driver you're using, what you were doing when it crashed, or any other details.
[17:37] <jhutchins> Razido: Syslog probably won't have GUI related info.
[17:38] <jhutchins> Razido: xorg has logs, not sure what wayland does.  journalctl might have info.
[17:38] <jhutchins> Razido: dmesg is probably a good place to look.
[17:39] <Razido> im using Ubuntu 20.04.4 LTS, my gpu is basically my cpu, it's intel xe graphics. i was doing nothing, just browsing around and it happened. i must mention that i just updated my distro today, it was one of those weekly maintenance updates that come around here and then
[17:39] <bastardboy1> STOP!!!!!!!!!
[17:40] <bastardboy1> I AM  USING UBUNTU 20.04 AND IS 22.04 MORE STABLE THAN 20.04????????????????????????????????????????????????????????????????????????????????????? THANKS!!!!!
[17:40] <dsc_> :D
[17:40] <jhutchins> Razido: Could have something to do with whatever web page you hit.  Were you able to restart with the desktop?
[17:41] <Razido> @jhutchins: i had to force shut down and start it up again
[17:41] <Razido> @jhutchins: this has never happened before. hopefully the update didn't mess with the hardware support for the GPU
[17:41] <jhutchins> Razido: There aren't any well known instabilities with the i915 driver and common hardware, 20.04 has been in support for a couple of years so it's not going to throw random crashes.
[17:42] <jhutchins> Razido: Any chance it was a thermal issue?  Something got too hot?  Laptop or desktop?
[17:42] <oerheks> hello guest bastardsomething; no, wait for the 22.04.1 release point,
[17:43] <jhutchins> oerheks: Already gone.
[17:43] <Razido> im using a laptop, i should also mention that it's hardware comes with so-called "ubuntu" support so i just had to install the distro and could use everything normally
[17:43] <oerheks> i know
[17:43] <ioria> the issue might be exactly that 'xe graphics'
[17:44] <Razido> "00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)" here is the description for the gpu
[17:45] <jhutchins> Razido: One random crash isn't really enough to go on.
[17:45] <Razido> we're not even sure if it was a gpu issue, it may be something else. so far, i have not found any error in syslog just before i had to force shutdown
[17:45] <ioria> Razido, is the module loaded ?
[17:45] <Razido> @ioria: how do i check that?
[17:46] <ioria> Razido, i mean 'i915'
[17:46] <ioria> Razido, can't you open a console ?
[17:46] <ioria> Razido, or boot in text mode ?
[17:49] <ioria> Razido, then you might force load the module with this parameter :  i915.force_probe=9a49
[17:50] <ioria> Razido, or use a more recent kernel, idk
[17:55] <oerheks> 20.04 Razido ?
[17:55] <oerheks>  use the oem kernel
[17:55] <oerheks> https://askubuntu.com/questions/1299067/ubuntu-20-04-no-driver-loaded-for-intel-iris-xe-graphics
[17:55] <oerheks> apt install linux-oem-20.04  # and reboot
[17:56] <Razido> i915 is loaded
[17:56] <Razido> inxi -g gives Graphics:
[17:56] <Razido>   Device-1: Intel driver: i915 v: kernel
[17:58] <Razido> dmesg also doesn't say 9a49 isn't properly supported
[17:58] <lotuspsychje> Razido: maybe share your dmesg in a paste, so the volunteers can help debug you better
[17:59] <Razido> here is the output of dmesg | grep i915
[17:59] <Razido> https://pastebin.com/raw/A7buFA8M
[17:59] <oerheks> that is what that article is about, fixes for irisXE
[17:59] <Razido> im using kernel 5.13
[18:00] <oerheks> that means you enabled HWE, or HWE is enabled during install
[18:05] <duuude> we have written a xubuntu iso into a dvd
[18:06] <duuude> grub is shown
[18:06] <duuude> but after that, it is just a black screen with _ in the corner
[18:07] <arraybolt3[m]> duuude: There is a known problem in Ubuntu 22.04 dvds that results in the live ISO taking a very long time to boot on some buggy BIOS systems. It may take over 10 minutes. However, this only happens on the live ISO, not on the installed system.
[18:08] <arraybolt3[m]> https://discourse.lubuntu.me/t/slow-boot-times-of-lubuntu-22-04-lts-on-some-hardware/3280 This is the Lubuntu Discourse post on the issue, however the issue applies to all Ubuntu flavours, including Xubuntu.
[18:09] <arraybolt3[m]> Once you get through the long initial boot and install Xubuntu on the system, the installed system should boot without a massive delay.
[18:11] <duuude> arraybolt3[m]: thanks
[19:15] <duuude> arraybolt3[m]: it took 16 minutes and nothing happened btw
[19:16] <arraybolt3[m]> duuude: Like it's still booting? Or it took that long to boot with nothing happening during that time?
[19:17] <arraybolt3[m]> duuude: We are working on a fix for this problem (it's a bit of a mess involving different booting methods, bootloaders, firmware on various systems, and partitioning), so hopefully this won't always be like this. There's a almost-but-not-quite good workaround that may turn into a solution.
[19:29] <duuude> arraybolt3[m]: actually I am remotely helping someone else
[19:30] <duuude> nothing happened and they gave up
[19:40] <arraybolt3[m]> duuude: Man, that's crummy. The workaround is complicated, and it probably won't work on a DVD, so I'm not sure what else to do other than try again. You could also try using the older Xubuntu 20.04, which doesn't have this bug.
[19:42] <yates_work> running 18.04, is there a way to get the build utility "stack"?
[19:42] <yates_work> apt search doesn't find it
[19:46] <oerheks> openstack?
[19:47] <oerheks> or give us a clue what package you reffering to?
[19:47] <yates_work> nm, got it
[19:47] <hans_> has do-release-upgrade been released for 20.04->22.04 yet?
[19:48] <oerheks> hans_,  no, around august IIRC
[19:48] <oerheks> 22.04.1
[19:48] <yates_work> haskellstack
[19:51] <yates_work> it's the utility required to install pandoc from source as discussed here: https://pandoc.org/installing.html
[19:55] <hans_> have an old ubuntu 16.04 with broken openssh that i need to... ssh
[19:55] <hans_> can i just do something like nc -l 9999 | bash
[19:55] <hans_> or something?
[19:55] <hans_> (internet is working, apt/openssh isn't)
[19:56] <hans_> gotdammit pipe character isn't working either
[19:58] <yates_work> oerheks: thank you for responding anyway.
[20:15] <rikan> Hi! Not sure if this is the right place, but I have noticed a thing in Ubuntu 22.04 that is amazing and I have no explaination about it works! I have a HDD encrypted with Bitlocker (windows encryption program) and before, I had to use a sript and a program called "dislocker" to decrypt it in Ubuntu. Now, when I plug in the encrypted HDD, a GUI windows show asking me for the password and successfully manages to decrypit it! Like as if bitlocker was native to
[20:15] <rikan> Ubuntu! How does it work? It is a new program?
[20:16] <johnjaye> is there an accepted way of removing old kernel images and their modules? I'm running into trouble because dpkg says they are marked for removal ("rc") yet apt refuses to remove them.
[20:17] <johnjaye> i've had to resort to calling dpkg --purge explicitly on some of the kernel packages
[20:24] <oerheks> johnjaye, sudo apt autoremove
[20:25] <johnjaye> that doesn't work in this case. i guess it might have something to do with dkms. not sure
[20:29] <johnjaye> strange. it suddenly offered to purge linux-modules-5.8.0-53-generic when i ran that command. hmm
[20:31] <johnjaye> oh thank goodness apt-get is letting me remove the next one.
[20:31] <oerheks> :-)
[20:58] <johnjaye> is there much advantage for a home user to use a LTS edition?
[20:59] <oerheks> stability, yes.
[20:59] <johnjaye> stability in what? package versions?
[20:59] <arraybolt3[m]> johnjaye: You don't have to upgrade or reinstall every 6 months - you can go four years between upgrades or reinstalls.
[20:59] <johnjaye> i did. this is ubuntu 18 or 20
[20:59] <leftyfb> 5 years
[20:59] <johnjaye> ah 20.04
[21:00] <arraybolt3[m]> johnjaye: Yes, most of the packages will stay at the same version, and only have bug fixes and security vulnerabilities repaired. This reduces the number of bugs you may experience.
[21:00] <johnjaye> ah i see.
[21:01] <arraybolt3[m]> leftyfb: Well, true, but if you install the moment a release comes out, and then upgrade after five years, you're a year into the next LTS cycle, and will have to start doing it every four years. So you might be able to squeeze a bit more out of your time between upgrades the first time, but it will still be about every four years.
[21:01] <arraybolt3[m]> But you are right, each release is supported for five years.
[21:01] <ravage> each LTS release
[21:02] <arraybolt3[m]> ravage: Right, sorry.
[21:03] <oerheks> and there is HWE, on top of LTS
[21:03] <oerheks> !hwe
[21:04] <arraybolt3[m]> johnjaye: You should be aware that only Ubuntu LTS comes with 5 years of support. For Ubuntu flavours (Lubuntu, Ubuntu Studio, Kubuntu, etc.), the LTS versions are only supported for 3 years, which means that you'll need to upgrade or reinstall every 2 years.
[21:04] <arraybolt3[m]> (Totally didn't express any bias toward my favorite Ubuntu flavours in my example list. OK, nevermind, I did.)
[21:05] <johnjaye> i see
[21:05] <johnjaye> yes i'm looking at the tracker list right now. i see some of those lol. so for example if a package in 21.10 is 3.3 and the same package in 22.04 is 3.5. then after a year it will *still* be 3.5 in the LTS
[21:05] <transhumanist> I figured out how to fix my script problem! seems its caused by using rbind instead of - - bind when building chroots
[21:06] <johnjaye> even if the one in the 21.10 get upgraded and is not 3.6?
[21:07] <arraybolt3[m]> johnjaye: Mostly true. There may be some packages which are updated constantly (such as Firefox in pre-22.04 releases), but much of the system will always stay with the same version, but repaired as needed.
[21:07] <arraybolt3[m]> johnjaye: Note that Snap packages behave a bit differently - they will always automatically update to the latest version, even on LTS releases (I believe). So if you install software through Snap, be aware of that.
[21:08] <johnjaye> interesting. good to know!
[21:09] <arraybolt3[m]> johnjaye: Also, quick tip in case you install Ubuntu 22.04 - Firefox is a Snap package on Ubuntu 22.04 and its flavours, and the OS may occasionally nag you to close Firefox to allow it to auto update. If it doesn't seem to auto update even when you close Firefox, open a terminal with Ctrl+Alt+T, run "sudo snap refresh firefox", type your password, and that will force it to update.
[21:15] <johnjaye> ah ok. i don't use snaps. are snaps used by default in ubuntu to install things other than firefox?
[21:16] <oerheks> sure you do use snaps, unless you removed them completely..
[21:16] <arraybolt3[m]> johnjaye: Not that I'm aware of, other than internal system stuff. In the event you don't like the Firefox snap or you discover that it isn't compatible with something you're trying to do, you can install Firefox from the Mozilla Team PPA, or manually install it with a tarball from Mozilla.
[21:16] <oerheks> gnome depends on snap, so get used to it
[21:17] <arraybolt3[m]> oerheks: I think he just means that he doesn't install anything via Snap.
[21:17] <oerheks> livepatch too..
[21:17] <oerheks> he should have seen snaps are already on his system
[21:17] <oerheks> so, the argument i don't use snap is weird
[21:18] <arraybolt3[m]> oerheks: I really don't think that's what he means. "I don't use snapd" would have meant what you said, but "I don't use snaps" probably doesn't mean that.
[21:22] <jadenlian> is it ok if i run git init in /bin folder ?  no issues by doing that
[21:23] <johnjaye> i think i used snaps a few times when there was no other way to get the package.
[21:23] <arraybolt3[m]> jadenlian: I'm not 100% positive it would break anything, but I highly recommend against doing that. What are you trying to accomplish?
[21:23] <johnjaye> but in general i try to stick to apt
[21:24] <arraybolt3[m]> jadenlian: All that git init will do is plop a .git folder full of stuff in the folder you run it in. But you generally don't want anything in /bin that the system doesn't put there itself, and if you're using Git in /bin intentionally, you are likely to mangle something very badly (and eat tons of disk space).
[21:25] <jadenlian> arraybolt[m] i just want to  save certain files in github and /bin folder is one of them just to my save some scripts
[21:26] <jadenlian> maybe not going about it the right way
[21:26] <jadenlian> ill just create a folder
[21:26] <arraybolt3[m]> jadenlian: Oh, I see. Hmm. You might try saving your scripts in /opt/myscripts, using Git in that, and then symlinking the scripts to /usr/local/bin.
[21:27] <arraybolt3[m]> jadenlian: That's much less likely to mangle your stuff.
[21:28] <arraybolt3[m]> jadenlian: Using the trick I described will also allow you to still run your scripts without having to reference the full path to them.
[21:28] <jadenlian> arraybolt3[m] symlinking will have /bin execute my scripts?
[21:28] <jadenlian> ok
[21:28] <enigma9o7[m]> add a local folder to your path like ~/scripts
[21:28] <jadenlian> never heard of symlink
[21:29] <arraybolt3[m]> jadenlian: Yep. Though I wouldn't put the symlinks in /bin, putting them in /usr/local/bin will have the same effect without muddying up your /bin folder. Also, enigma9o7 appears to have a good idea that would likely also work.
[21:29] <jadenlian> symlinks you mean softlinks
[21:30] <hans_> i mean headache
[21:30] <enigma9o7[m]> means simlink
[21:30] <enigma9o7[m]> lotsa stuff in bin folders are simlinks
[21:30] <enigma9o7[m]> to create a simlink just `ln -s filetolinkto` and it'll put a link your current folder
[21:30] <arraybolt3[m]> jadenlian: Softlinks are a Windows term, I believe, they're called symlinks in Linux. There are hardlinks, those are different.
[21:31] <enigma9o7[m]> if you want it somewhere else `ln -s filetolinkto /where/to/putthelink`
[21:31] <enigma9o7[m]> symbolic link
[21:31] <arraybolt3[m]> hans_: LOL sometimes this stuff can be confusing
[21:31] <jadenlian> jajajjaj
[21:31] <jadenlian> you right
[21:31] <jadenlian> yeah i know how to do it
[21:31] <jadenlian> thanks
[21:32] <enigma9o7[m]> You'll notice most linux packages that are apps that create ad irectory, they dont actaully put their binay in /usr/local/bin, instead they put a simlink there.
[21:32] <enigma9o7[m]> but simple binaries that install without a folder go straight into bin
[21:33] <jadenlian> so its not good practice to put the scripts in /bin
[21:33] <jadenlian> cuase i usually do it
[21:33] <enigma9o7[m]> Its not bad.
[21:33] <arraybolt3[m]> jadenlian: Also note that you should usually NEVER put something in /bin yourself, especially if you're replacing something that's already in there.
[21:33] <enigma9o7[m]> But thats a hassle cuz requires root.
[21:33] <enigma9o7[m]> Thats why I'd create a local folder like ~/bin or use ~/.local/share/bin or make ~/scripts
[21:33] <arraybolt3[m]> jadenlian: It's not the end of the world, but it can cause problems. (I'm guilty of doing it sometimes, though.)
[21:33] <enigma9o7[m]> (and add it to path)
[21:33] <jadenlian> ok thats good to know
[21:34] <free47> hi
[21:34] <jadenlian> before i never really saw a need to creat simlinks but now i see
[21:35] <arraybolt3[m]> jadenlian: To add a folder to your $PATH, you just plop "PATH=$PATH:~/my/path/here" in your ~/.profile file.
[21:35] <enigma9o7[m]> the point of a simlink in the case I described was so apps dont have to put their whole folder in the path
[21:35] <enigma9o7[m]> instead just put a simlink to a folder thats already in the path
[21:35] <jadenlian> ok
[21:35] <arraybolt3[m]> jadenlian: That will allow you to directly execute your scripts without having to use root privileges to copy them to /usr/local/bin.
[21:36] <jadenlian> ok
[21:36] <arraybolt3[m]> jadenlian: So you make ~/myscripts, then add "PATH=$PATH:~/myscripts" to ~/.profile, then your scripts are directly executable, and you can use git inside of ~/myscripts.
[21:37] <jadenlian> got it thanks though
[21:37] <arraybolt3[m]> 👍️
[21:40] <Guest76> Help!!!!!!!!!
[21:41] <arraybolt3[m]> Guest76: What's gone wrong?
[21:43] <oerheks> !ask
[21:44] <johnjaye> no matter what it is Guest76 I assure you I've seen worse. one time ubuntu simply failed to start because the kernel it updated me to was invalid.
[21:47] <oerheks> When you find a bug that is not a bug but a feature ..
[21:47] <arraybolt3[m]> johnjaye: You think that's bad? I once installed KXStudio 14.04 to install on a UEFI system, despite the lack of UEFI support. I learned how to manually install a bootloader by copying files from the live ISO to the EFI partition and then writing my own grub.cfg from scratch, also learned how to boot manually using the GRUB command line. Took me three days, maybe more, and I had no Internet access to help me, plus I was a newbie in the
[21:47] <arraybolt3[m]> Linux world at the time.
[21:48] <arraybolt3[m]> (Crazy that the DVD didn't have the ability to install to UEFI, despite the fact that it booted on UEFI just fine...)
[21:48] <johnjaye> arraybolt3[m]: well considering i'm not sure how to recover from such problems yes it was terrifying
[21:49] <johnjaye> learning grub commands might be useful though
[21:50] <arraybolt3[m]> johnjaye: I was trying to be silly, of course it was terrifying. Sorry you went through that, glad you got it sorted out. (If you ever hit the same problem in the future, just hit Esc during early boot, select "Advanced Options for Ubuntu", then select the third option in the list. That will boot you up. You will have to find the exact right time to hit Esc, though.)
[21:50] <arraybolt3[m]> johnjaye (And if Esc doesn't work no matter when you press it, try holding down Shift during early boot instead.)
[21:51] <johnjaye> fun fact: debian install doesn't let you specify boot parameters to the installer unless you hit ESC at just the right time during cd boot
[21:51] <arraybolt3[m]> (Esc is for EFI systems, Shift is for BIOS systems.)
[21:51] <johnjaye> the things you learn!
[21:51] <arraybolt3[m]> johnjaye: Oh no.
[21:51] <johnjaye> and if you are running an emulationstation with retropie you have to hold... F4 I think?
[21:51] <arraybolt3[m]> Guest76: Whenever you're ready, we're ready to try to help you sort out whatever's gone wrong.
[21:52] <johnjaye> and when playing Final Fantasy X-2 you have to hold X at a key moment in a cutscene or you don't get to see Tidus
[21:52] <johnjaye> so as you can see... the world of computing is scary
[21:53] <arraybolt3[m]> johnjaye: Could be worse - just try escaping out of rvim without using :q or forcing the terminal emulator closed. Good luck, I have yet to figure that one out.
[21:53] <johnjaye> but yeah to your point it is funny to look back and laugh at it.
[21:54] <johnjaye> it's not so funny when you turn on your pc which was *fine* yesterday and today is not fine.
[21:55] <johnjaye> and you can specify preseed and custom options to the debian installer... if you know which sub-menu to click on. XD
[21:55] <johnjaye> (the menus have no description as to what they do)
[21:55] <arraybolt3[m]> johnjaye: I will never forget the day that my most important Windows XP system bluescreened on my out of nowhere because a strand of hair got stuck in one of the RAM sockets. That scared the daylights out of me.
[21:56] <johnjaye> aren't those things bolted down with the force of 10 giants or something
[21:56] <johnjaye> how did a hair get in
[21:56] <johnjaye> or it was literally just a socket lol?
[21:57] <arraybolt3[m]> johnjaye: Beats me. I had done RAM upgrades on it just before that happened, but what boggles my mind is that the system took a day or two to start going crazy, even though that hair was probably in there all along. I guess it must have gotten trapped during installation, and then somehow migrated to just the right (wrong?) spot.
[21:57] <johnjaye> amazing
[21:58] <arraybolt3[m]> The hair was in a socket that had a RAM stick inserted, not just an empty one.
[22:03] <Wantom60> Do you guys build chat bots here???
[22:04] <arraybolt3[m]> Wantom60: I don't think so, this is the official Ubuntu chat support channel.
[22:04] <Wantom60> I was just wondering that's what a lot of people are into on this irc chats
[22:05] <hans_> Wantom60: maybe try #programming
[22:05] <Wantom60> I was just gauging interest
[22:06] <Wantom60> Arch or Debian???
[22:06] <arraybolt3[m]> Wantom60: You might also try #ubuntu-offtopic if you're interested in talking about it with Ubuntu users.
[22:06] <arraybolt3[m]> Wantom60: Ubuntu is based off of Debian.
[22:07] <Wantom60> They all seem to be based off of each other
[22:07] <Wantom60> Def sped up my old iMac
[22:07] <hans_> is it normal that this step takes long time? https://i.imgur.com/M6DZyzy.png
[22:07] <arraybolt3[m]> hans_: Not sure, how long has it been taking you?
[22:07] <Wantom60> You should restart it
[22:08] <arraybolt3[m]> Wantom60: It's in the middle of an install.
[22:08] <arraybolt3[m]> hans_: Don't restart it.
[22:08] <Wantom60> Most things are lightning quick unless a sub-process is off
[22:08] <hans_> arraybolt3[m]: about 8 minutes i'd say
[22:08] <Wantom60> Damn.....
[22:08] <Wantom60> I'd restart it
[22:08] <enigma9o7[m]> You need to wait 11.
[22:08] <Wantom60> It's all a matter of opinion
[22:08] <Wantom60> Hahahaha wait 11
[22:08] <arraybolt3[m]> LOL that's always the way, isn't it?
[22:09] <arraybolt3[m]> Wantom60: That would result in an entirely broken system, since the OS is in the middle of the installation process.
[22:09] <Wantom60> Nahhhhhhh mine writes right over it
[22:09] <Wantom60> Ive never had a crashed system
[22:09] <Wantom60> (<>.. <>)
[22:09] <arraybolt3[m]> hans_: Are there any particular configuration changes you've made?
[22:09] <Wantom60> Exisg
[22:10] <Wantom60> #TERMUX
[22:10] <Wantom60> #ephasia
[22:10] <enigma9o7[m]> Try /join first.
[22:11] <hans_> well i started it from netboot.xyz , but other than that there's nothing special about the setup, very minimal
[22:11] <arraybolt3[m]> hans_: That might be the problem, I have no idea what netboot.xyz will have done to the system. Does CloudAtCost have a way for you to choose from an ISO they already have on hand?
[22:12] <arraybolt3[m]> hans_: Or maybe you just have a really slow VM in the cloud.
[22:15] <arraybolt3[m]> hans_: It appears that the cloud service you're using gets very bad reviews. https://www.trustpilot.com/review/cloudatcost.com It might be their fault.
[22:16] <hans_> arraybolt3[m]: no they don't support custom ISOs. just to get netboot.xyz in there, i firt created a ubuntu 16.04 VM (yeah that's the newest Ubuntu image they), then ran "apt install ipxe;" followed by wget https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn -O /boot/ipxe.lkrn
[22:16] <hans_> (a hack to boot netboot.xyz from grub)
[22:17] <arraybolt3[m]> hans_: Good grief.
[22:17] <arraybolt3[m]> hans_: Are you trying to do cloud bitcoin mining, or are you just looking for a generic cloud service for hosting VMs?
[22:18] <hans_> just want to set up a proxy server. yeah it would be possible to do it on Ubuntu 16.04, but... i'd much prefer getting ubuntu 22.04/20.04 if i can
[22:20] <arraybolt3[m]> While I've never used this service before, the KDE neon folks advertise them: https://www.shells.com/l/en-US/ I'm guessing they must be at least sorta good if KDE is willing to put them on their OS download page. They also get good reviews. And they support Ubuntu Server 20.04.
[22:43] <arraybolt3[m]> hans_: Just in case it's netboot.xyz's fault, I'm trying to make a QEMU VM using netboot.xyz with Ubuntu 20.04.
[22:43] <hans_> neat
[22:48] <arraybolt3[m]> hans_: Oh for heaven's sake, my Internet must be too slow to make this practical. It thinks it's gonna take anywhere from 40 to 50 minutes to download the network installer now that the kernel and initrd downloaded. If you feel like waiting that long, I'll report back the results, but by then your cloud VM will hopefully have unfrozen...
[22:48] <arraybolt3[m]> (If it's going to work eventually, that is.)
[22:57] <hans_> arraybolt3[m]: the system had 2 GB ram. i made a new system with 4GB, did the exact same setup, and it worked fine - could it be that the ubiquity thing doesn't like 2GB ram?
[22:58] <arraybolt3[m]> hans_: Quite possibly. I saw something in netboot.xyz about 2 GB RAM possibly being a problem. I'm making my VM with 2 GB RAM, so we'll see what happens.
[22:58] <arraybolt3[m]> It's about 23% done downloading.
[23:00] <hans_> hehe kk
[23:00] <hans_> unfortunately i might go to bed before you finish
[23:01] <arraybolt3[m]> hans_: Oh well. It will at least have been a cool experiment for me. Glad you got your VM to work!
[23:01] <hans_> but interestingly, 2GB=>hang. 4GB=installed fine
[23:01] <hans_> (RAM)
[23:02] <hans_> is there an official "ubuntu 20.04 minimum requirements" ?
[23:02] <hans_> 22.04*
[23:02] <oerheks> !specs
[23:02] <arraybolt3[m]> hans_: Yeah, but it says 1 GB RAM is the minimum LOL. Guessing that the network boot must throw a wrench in the works of that, since you need the RAM to hold the entire installer.
[23:02] <hans_> ohhhh the installer is like 1.2GB
[23:03] <hans_> (sigh, compared to the old mini.iso is like 120MB)
[23:03] <arraybolt3[m]> Yeah that probably leaves Ubuntu without enough RAM to do the whole install since the whole 1.2 GB is packed into RAM. So I may as well stop my VM, since this is probably doomed to fail. At least we found where the problem likely is!
[23:04] <hans_> yeah! thanks!
[23:04] <arraybolt3[m]> I didn't really do anything much, but sure!
[23:14] <jhutchins> !minimal
[23:15] <arraybolt3[m]> jhutchins: They discontinued it.
[23:16] <oerheks> just use server then.
[23:16] <arraybolt3[m]> oerheks: That's what he's doing.
[23:17] <oerheks> oh oke. those factoids need some work..
[23:29] <hans_> how do i add a second ip to this thing? https://paste.debian.net/plain/1244341
[23:30] <strk> I'm in the middle of an upgrade from Ubuntu 20.04.4 LTS and got stuck with lots of The following packages have unmet dependencies:
[23:30] <strk> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
[23:30] <strk> but --fix-broken complains E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
[23:30] <strk> E: Unable to correct dependencies
[23:31] <strk> how do I get a list of "held" packages ?
[23:31] <hans_> nvm think i figured it out
[23:32] <arraybolt3[m]> strk: Try "apt-mark showhold".
[23:32] <strk> apt-mark showhold # shows nothing
[23:33] <strk> then the error must be somewhere else I guess ?
[23:33] <arraybolt3[m]> strk: Can you try "sudo apt --fix-broken install"? Careful not to go ahead and do whatever it says if it looks like its going to uninstall a ton of stuff.
[23:33] <oerheks> post the full errorlos
[23:33] <oerheks> c/errorlog
[23:34] <strk> arraybolt3[m]: http://strk.kbt.io/tmp/fix-broken.log.txt
[23:34] <strk> it's ok to uninstall a lot of stuff
[23:34] <strk> oerheks: the paste was for you
[23:34] <strk> it's an old machine which only stays powered if I hold it tight with a string
[23:35] <oerheks> did you update lists properly? sudo apt update && sudo apt dist-upgrade
[23:35] <oerheks> always fun hiding the command used...
[23:35] <arraybolt3[m]> strk: Make sure to have backups of your important data, since OS upgrades have a tendency to make stuff go haywire.
[23:36] <strk> yes, that's what I did
[23:36] <strk> the apt update step fetches from focal, mostly
[23:37] <arraybolt3[m]> strk: Maybe "cat /etc/apt/sources.list | nc termbin.com 9999"? This will show us all the repositories your system is set to use.
[23:37] <arraybolt3[m]> It will spit out a URL, type or paste that into IRC.
[23:37] <oerheks> what version are you on?
[23:37] <strk> not all, as /etc/apt/sources.list.d exists
[23:38] <oerheks>  libglu1-mesa-dev (9.0.0-2.1build1) points to bionic..
[23:38] <strk> Ubuntu 20.04.4 LTS, according to lsb_release
[23:38] <strk> I was probably coming from bionic
[23:38] <strk> I think I upgraded last night and this is the first reboot after that
[23:38] <arraybolt3[m]> strk: And you're trying to upgrade to 22.04?
[23:38] <arraybolt3[m]> strk: Or upgrading from 18.04 to 20.04?
[23:38] <strk> which now that I remember did not even shutdown correctly, I had to power-cycle the machine
[23:39] <strk> I upgraded from 18.04 to 20.04 I think
[23:39] <strk> is there an apt log I could consult ?
[23:39] <Bashing-om> arraybolt3[m]: Might behoove to look at the 3rd party sources too - I like ' tail -v -n +1 /etc/apt/sources.list.d/* ' to see all of that 3rd party listing.
[23:40] <strk> https://termbin.com/rp8g
[23:40] <strk> that's the output of apt update, you should see all sources there
[23:40] <arraybolt3[m]> strk: Does the "sudo apt --fix-broken install" not work?
[23:41] <oerheks> mix of pop-os...
[23:41] <strk> https://termbin.com/t14t # this is `apt --fix-broken install`
[23:41] <strk> uh, maybe long ago there was also pop-os
[23:41] <strk> let me kill that too
[23:42] <strk> where do you see pop-os oerheks ?
[23:42] <oerheks> system76-dev/stable/ubuntu
[23:42] <arraybolt3[m]> strk: There's stuff about system76 in your apt output. Is this Ubuntu, or Pop!_OS?
[23:42] <arraybolt3[m]> strk: Or is it Pop!_OS that you converted into Ubuntu?
[23:42] <oerheks> fastest is a reinstall, i guess
[23:42] <strk> I can't remember, this system is so old
[23:43] <strk> unfortunately I don't have an /home partition
[23:43] <strk> and never learnt to keep my  /home w/out one
[23:43] <strk> 147G    strk/ # my home
[23:44] <strk> 175G    /usr/src/
[23:44] <arraybolt3[m]> strk: Yeah, this is pretty scrambled, and system upgrades can scramble stuff even worse. If you can, copy all your data to an external drive (make sure to grab important passwords and bookmarks from Firefox), then reinstall. If you need a new external drive, WD EasyStore's from Best Buy are the cheapest I know of, and work well.
[23:45] <strk> there must be another waY
[23:47] <strk> I don't undesrstand why `apt purge` refuses to purge things
[23:47] <strk> isn't there a switch to ask apt not to bother about deps ?
[23:47] <arraybolt3[m]> strk: If you can't back up your files, you shouldn't be doing a system upgrade at all. I've seen so many people with their systems broken from an upgrade. And not having backups of your files also leaves you with the risk of having all of your data die.
[23:47] <arraybolt3[m]> strk: I think once apt goes bonkers like this, you have to start using dpkg to clean up the mess. That could be dangerous, though.
[23:47] <strk> example: apt purge pgagent # E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
[23:48] <strk> I mean.. it's already broken, how can PURGING a package break more ?
[23:48] <strk> I can actually live with an empty disk
[23:48] <strk> all the important data is elsewhere too
[23:49] <arraybolt3[m]> strk: From the apt-get man page: "It is possible
[23:49] <arraybolt3[m]>            that a system's dependency structure can be so corrupt as to require manual intervention (which usually means using dpkg --remove to
[23:49] <arraybolt3[m]>            eliminate some of the offending packages)."
[23:49] <arraybolt3[m]> strk: So I'd start using dpkg --remove instead of apt purge. If your important data is elsewhere, and you have the ability to reinstall if it comes down to it, I think this is the way to go.
[23:50] <murmel> especially if you don't know if its ubuntu or pop (each has a different upgrade path)
[23:50] <oerheks> if he could install ppa-purge..
[23:51] <oerheks> but so many packages held back..
[23:51] <oerheks> 2350 packages can be upgraded.
[23:51] <oerheks> strk, curious, what is your uptime? a year?
[23:52] <arraybolt3[m]> strk: You can also use dpkg --purge, I believe.
[23:52] <strk> oerheks: it's a laptop I only turn on to watch TV, uptime ~2 hours"
[23:53] <arraybolt3[m]> oerheks: I think the reason for the crazy number of upgradable packages is because the system managed to change the source lists but then never did get around to installing any of the upgrades.
[23:56] <strk> oerheks: I can't install anything because anything I try to install errors out with that depdencency thing
[23:56] <strk> unless I download a package to install with dpkg maybe
[23:59] <hemm333> is there a channel or server i can go to so i can talk about cybersecurity?