[00:23] <u8353v[m]> Is tar.xz the best compression ratio?
[00:25] <rbox> it depends on what you are compressing
[00:25] <rbox> try a few differnet ones and see which works best for your data
[00:26] <u8353v[m]> so far only used tar.gz and tar.xz
[00:26] <u8353v[m]> tar.xz compresses more than tar.gz
[00:35] <topcat001> u8353v[m]: YMMV of course, but if you are trying to achieve the smallest size, then xz is often the best option. However, it can be slow.
 "u8353v: YMMV of course, but if..." <- yes it is much slower than gz, but compression is much higher! Totally worth-it!
[00:40] <u8353v[m]> with xz you can use "e9" option and achieve amazing compression, but you risk corruption.
[00:40] <u8353v[m]> `XZ_OPT=-e9 tar cJf tarfile.tar.xz directory`
[00:40] <u8353v[m]>  
[00:53] <hino> im editing my /etc/apt/sources.list.d file; got rid of old entries, am about to close. Should i run a command after close, feel like i forgot something?
[00:53] <hino> other than sudo apt update && sudo apt full-upgrade
[00:54] <hino> like update grub; or something
[00:56] <rbox> sources has nothing to do with grub
[00:56] <hino> i thought that too but still wondered if id forgot something
[00:56] <hino> ty for the help
[01:51] <dabbler> I'm trying to install a driver in a system I've chroot-ed into and package configuration is failing because it's looking for /lib/modules content related to the kernel version of the ISO I'm using rather than the ones installed on the mounted system. What's the best way to fix that?
[01:52] <rbox> create a symlink in /lib/modules?
[01:52] <rbox> i feel like theres a program to fake the kernel version in a chroot myabe?
[01:53] <tomreyn> better yet, boot into the same kernel installed on the guest you'll chroot into
[01:58] <dabbler> tomreyn: I can't change the kernel I'm using because it's a live disc. switching kernels requires rebooting, which means changes (such as a newer kernel) would be lost.
[02:02] <tomreyn> well, maybe there's a live cd which has the same kernel as the guest?
[02:02] <tomreyn> ubuntu does have a fixed list of kernel supported versions
[02:02] <tomreyn> (but maybe you have something else running in the guest)
[02:05] <crecker> Good evening all
[02:08] <dabbler> tomreyn: know how I can tell what kernel version is used in the 22.04.2 ISO without downloading it?
[02:09] <dabbler> Fingers crossed it's -72 or -73
[02:10] <dabbler> I thought about trying to downgrade the kernel on my machine to match the disc, but I'm hesitant to do anything that might leave the system unusable in any additional way, as I'm not sure the downgrade won't fail somehow
[02:12] <dabbler> I thought this was a situation that must've been accounted for, maybe with an environment variable specifying kernel version that the configuration would pick up. Dkms has an argument for kernel version, but no environment variable that I could see on the man page.
[02:14] <dabbler> I don't understand everything that happens under the "apt install" in the first place. I just know I don't normally call dkms myself
[02:20] <dabbler> rbox: I'm hesitant to hack it with symlinks because it might still stick a reference to the wrong kernel version somewhere
[02:21] <rbox> well hyou're stuck now... so...
[03:29] <dabbler> Ok, forget what I said before. I'm installing an video driver from a live CD using chroot. Everything seems to be working, except I'm getting a warning from cryptsetup that it couldn't determine my root device. I'm guessing this might mean the initramfs won't know which filesystem to prompt me to decrypt when booting
[03:34] <dabbler> It's right there in /etc/fstab within the chroot environment though ?
[03:43] <dabbler> . /etc/crypttab is there too and its contents look good
[10:05] <companyhostb> hello companyhostA
[10:31] <companyhosta> hello
[10:52] <weedmic> companyhosta: cheers
[12:22] <bello> hi. i was updating my vps from login ssh but i disconnected.  i connected back now.i receiving this message =  Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 16766 (apt) ... 345 seconds
[12:22] <bello> what should i do now ?
[12:23] <oerheks> likely your vps needs a reboot.
[12:24] <oerheks> if /var/run/reboot-required exists
[12:26] <bello>  oerheks how can i know if its exists?
[12:33] <bello> oerheks: i checked and didn't find it on that dir
[12:40] <ravage> bello: if you disconnected during the upgrade prociess do: sudo apt -f install
[12:41] <bello> ravage i was doing a reboot now. did i do mistake by rebooting?
[12:41] <ravage> no that kills the old apt process too
[12:41] <ravage> but still use the command to finish the update
[12:42] <bello> should i run `sudo apt -f install` now ?
[12:42] <ravage> yes
[12:42] <ravage> if "sudo apt -f install" completes without errror run "sudo apt -y full-upgrade" again
[12:43] <bello> i was normally upgrading by this `sudo apt update && sudo apt upgrade`
[12:43] <bello> shouldn't i use it ?
[12:43] <ravage> you should always use full-upgrade
[12:45] <bello> ravage: what's difference of full-upgrade from my command?  my command missing somethings?
[12:46] <bello> sudo apt -f install just showed me information
[12:47] <ravage> apt full-upgrade (previously known as apt-get dist-upgrade): This command not only upgrades the installed packages but also handles dependencies and performs additional actions if required. It can install new packages, remove obsolete packages, and handle changes in dependencies more aggressively. It ensures that your system is fully up-to-date and takes care of any necessary package modifications during the upgrade process.
[12:49] <bello> ok thanks.  upgrading now
[12:54] <bello> ravage: it's asking me questions now
[12:54] <bello> says Daemons using outdated libraries
[12:54] <ravage> just press enter. and do another reboot when the process is completely done
[13:10] <bello> ravage: ok rebooted and finished all.  thank you
[13:10] <ravage> great :)
[13:10] <bello> Enable ESM Apps to receive additional future security updates?  is this advertising?
[13:11] <ravage> !pro | bello
[13:22] <BluesKaj> Hi all
[13:23] <bello> ravage: so it's free?  are you using pro ?
[14:05] <kingofbots> seems like discord is dying lol, i should consider switching to IRC
[16:25] <jar-el> Hi, is anyone here that knows about why ubuntu 20.04 isn't recognizing my 5.1 sound system anymore? I only have hdmi sound. In the sound settings it's not selectable.
[16:26] <jar-el> it worked before, and I think I never needed to do anything special for it until I upgraded to 20.04.
[16:55] <alkisg1> jar-el: what's the output of: uname -a
[17:23] <jar-el> alkisg1: 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
[17:24] <alkisg1> jar-el: you can test with the 5.15 kernel if you like: sudo apt install linux-generic-hwe-22.04
[17:24] <jar-el> hmm is that safe to do?
[17:25] <jar-el> I tried upgrading to 22.04 but couldn't, I got an error
[17:25] <alkisg1> Yes, because you'll still have the older kernel as well, selectable from grub
[17:25] <alkisg1> So you can easily boot with 5.4 and purge the 5.15 if you don't like it
[17:26] <jar-el> and that kernel works with 20.04 too?
[17:26] <alkisg1> Yes
[17:26] <alkisg1> If you install 20.04 or 20.04.1, you get 5.4. If you install 20.04.2 or higher, you get 5.15
[17:26] <alkisg1> So most 20.04 user actually do have 5.15
[17:27] <alkisg1> *users
[17:27] <jar-el> aha
[17:27] <jar-el> ok then, I'll try that, thanks!
[17:27] <alkisg1> ?
[17:42] <jar-el> alkisg1: it says it can't find it
[17:42] <jar-el> E: Unable to locate package linux-generic-hwe-22.04
[17:42] <jar-el> E: Couldn't find any package by glob 'linux-generic-hwe-22.04'
[17:42] <alkisg1> jar-el: sudo apt install linux-generic-hwe-20.04
[17:43] <jar-el> ok, thanks
[18:00] <jar-el> alkisg1: I upgraded to 5.15 but still the same issue
[18:00] <alkisg1> OK, it was worth a try
[18:01] <jar-el> only hdmi is selectable as output device
[18:08] <Juan> Hello
[18:10] <Juan> :(
[18:16] <jar-el> hi Juan
[18:24] <Juan> hi
[18:27] <paul424> I  have the option " installation ubuntu next to Windows Boot Manager" is this a safe option ?
[18:28] <paul424> Should it show the supposed disc partition BEFORE anything is written to the disc ?
[18:29] <paul424> hmmm ?
[18:33] <ravage>  paul424: it should. but always have a backup before you do any modifications to your system. and this is a major one
[18:35] <paul424> oki ,suppose I want the custom installation: what partitions do I need : /home and / and ... /boot right ?
[18:35] <ravage> you only need /boot if you want your system encrypted
[18:36] <ravage> if you root filesystem is a regular ext4 you can directly boot from that
[18:36] <ravage> and /home is optional too
[18:36] <paul424> I know...what file system for home then ?
[18:36] <ravage> ext4 should be fine
[18:37] <ravage> if you want a custom layout you should know why you need that anyway :)
[18:40] <paul424> what else I can ask before I proceed : where does the boot data go , if I only have / and /home partitions ?
[18:41] <paul424> hmm windows have this partition : EFI
[18:44] <jeremy31> paul424: If you are booting UEFI, a lot of grub files get installed to the EFI System Partition
[18:53] <bello> ravage: thank you, see you later. :)
[19:09] <Juan> Hello, I have a problem, the audio is not heard, when I enter the audio configuration, it says dummy output, I am on ubuntu 22.04.02 LTS
[19:21] <jhutchins> Juan: It sounds like the audio chipset was not detected or did not match the available drivers.
[19:21] <jhutchins> Juan: Does lspci show an audio device?
[19:25] <jhutchins> Juan: 1) add yourself to the 'audio' group (log out & in again)  2) unmute and raise channels w/ alsamixer (also try muting some & toggle jack sense if available)  3) <pulseaudio> or other daemon stopped?  4) speakers on?  5) does "aplay /usr/share/sounds/alsa/Noise.wav" work for root?  6) purge any installed <oss4> packages to remove ALSA blacklist.
[19:53] <paul424> Shall I disable secure boot from my friend laptop , he is very non-technical and non-linuxical
[19:53] <paul424> friend's*
[19:54] <rbox> why
[19:56] <paul424> it likes to ask strange questions on boot-up
[19:56] <paul424> even I don't know what exactly secure boot is
[19:57] <rbox> huh?
[20:02] <paul424> UEFI Secure Boot is not an attempt by Microsoft to lock Linux out of the PC market here; SB is a security measure to protect against malware during early system boot. Microsoft act as a Certification Authority (CA) for SB, and they will sign programs on behalf of other trusted organisations so that their programs will also run. There are certain identification requirements that organisations have to meet here, and code has
[20:02] <paul424> to be audited for safety. But these are not too difficult to achieve.
[20:02] <paul424> aha good to know ^_^
[20:03] <rbox> rofl
[20:03] <rbox> attempt by microsfot
[20:09] <paul424> what is that Ubuntu Pro , why it is not enabled by default , what ode sit mean it can be enabled up to 5 computers ( in a local network or WHAT ? )
[20:09] <jhutchins> Also there are several very severe malware packages that infect the system through SecureBoot, and can not be removed by re-installing.
[20:10] <jhutchins> paul424: Short answer YES, RIGHT AWAY.
[20:13] <paul424> VGA compatible controller: Intel Corporation Atom Processor
[20:13] <paul424> do I need special drivers or something to get a full performance ?
[20:14] <rbox> no
[20:14] <rbox> its gonna be garbage no matter waht you do
[20:15] <paul424> rbox, in terms of performance ?
[20:15] <paul424> hmm youtube 1080p runs just fine
[20:15] <rbox> well there you go, it can do that
[20:17] <jhutchins> rbox: There usually isn't much difference in performance with different drivers.  Sometimes features may be better supported in proprietary code.
[20:17] <jhutchins> rbox: Usually the driver either works or it doesn't, you can't speed something up with special drivers.
[20:17] <jhutchins> paul424: ^
[20:17] <jhutchins> Sorry rbox
[20:18] <paul424> I thought about noveau and nvidia let say.....
[20:19] <jhutchins> paul424: You have intel hardware anyway, so it's moot.
[20:19] <paul424> moot  ?
[20:19] <paul424> not me , my friend has
[20:20] <jhutchins> !nvidia
[20:21] <paul424> jhutchins, so here you go : you can have diffrent drivers with diffrent outcome performance
[20:22] <jhutchins> Note that it's features, not performance per se.
[20:22] <jhutchins> (Also note the use of the word "Usually" above.)
[21:08] <dabbler> Is Ubuntu 22.04 supposed to still use proprietary display drivers (if installed) even when recovery mode is selected in grub?
[21:11] <dabbler> It has nomodeset in its Linux line, which I thought made it use only generic drivers, but it's still loading the Nvidia driver
[21:55] <jhutchins> dabbler: I would think it would skip the GUI mode alltogether, but I'm pretty old school.
[21:56] <jhutchins> Should be console only so you can FIX the GUI.
[21:56] <jhutchins> What else does Windows do badly that we can copy?
[21:57] <dabbler> jhutchins: mine doesn't start the GUI automatically anyway
[21:58] <jhutchins> Ah, well at least there's that. I believe nvidia uses a proprietary kernel module (in additon to the X/Wayland driver).
[21:58] <jhutchins> Do you need to blacklist it instead of just unloading it?
[22:45] <dabbler> jhutchins: I just chroot-ed into it and uninstalled the driver
[22:46] <dabbler> Now I have a different problem: the boot process hangs right after "Started Dispatch Requests to Console Directory Watch"
[22:48] <jhutchins> dabbler: Remember that the last message you see is the last thing that completed successfully.
[22:48] <jhutchins> Not whatever hung.
[22:48] <dabbler> I understand
[22:49] <jhutchins> dabbler: How long did you leave it "hung"?
[22:50] <dabbler> 5 to 10 minutes
[22:50] <dabbler> Multiple times
[22:51] <jhutchins> That's probably long enough.
[22:53] <dabbler> Not sure if it's related, but this is after having to decrypt my root filesystem from the initramfs prompt. Then I exited, it saw it and carried on
[23:42] <SwelteringAction> Is this where I can get help with my Ubuntu install?
[23:43] <Bashing-om> SwelteringAction: Most assuredly - detail your issue :D
[23:45] <SwelteringAction> I recently installed Ubuntu for Desktops, and it worked fine until yesterday, I installed Steam and now I can't boot into the GUI. After boot, it just goes into a black screen with text saying to log in. Doing that gives me a terminal.
[23:47] <SwelteringAction> Also, uninstalling Steam did not help.
[23:53] <Guddu> Would a UBUNTU live environment allow me to access the NTFS file systems on the host device and allow me to copy from a ext formatted extrenal HDD to the NTFS?
[23:53] <rbox> yes
[23:56] <Guddu> rbox, So the live environment has the ntfs-3g ubuntu package installed?
[23:57] <rbox> depdngin on which versino of ubuntu, ntfs has been in the kernel for a while
[23:57] <rbox> plus yo ucan install packages