/srv/irclogs.ubuntu.com/2023/06/04/#ubuntu.txt

=== BrianG61UK_ is now known as BrianG61UK
u8353v[m]Is tar.xz the best compression ratio?00:23
rboxit depends on what you are compressing00:25
rboxtry a few differnet ones and see which works best for your data00:25
=== JanC is now known as Guest5221
=== JanC_ is now known as JanC
u8353v[m]so far only used tar.gz and tar.xz00:26
u8353v[m]tar.xz compresses more than tar.gz00:26
topcat001u8353v[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.00:35
u8353v[m]<topcat001> "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:40
hinoim 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
hinoother than sudo apt update && sudo apt full-upgrade00:53
hinolike update grub; or something00:54
rboxsources has nothing to do with grub00:56
hinoi thought that too but still wondered if id forgot something00:56
hinoty for the help00:56
=== chris14_ is now known as chris14
dabblerI'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:51
rboxcreate a symlink in /lib/modules?01:52
rboxi feel like theres a program to fake the kernel version in a chroot myabe?01:52
tomreynbetter yet, boot into the same kernel installed on the guest you'll chroot into01:53
dabblertomreyn: 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.01:58
tomreynwell, maybe there's a live cd which has the same kernel as the guest?02:02
tomreynubuntu does have a fixed list of kernel supported versions02:02
tomreyn(but maybe you have something else running in the guest)02:02
creckerGood evening all02:05
dabblertomreyn: know how I can tell what kernel version is used in the 22.04.2 ISO without downloading it?02:08
dabblerFingers crossed it's -72 or -7302:09
dabblerI 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 somehow02:10
dabblerI 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:12
dabblerI don't understand everything that happens under the "apt install" in the first place. I just know I don't normally call dkms myself02:14
dabblerrbox: I'm hesitant to hack it with symlinks because it might still stick a reference to the wrong kernel version somewhere02:20
rboxwell hyou're stuck now... so...02:21
dabblerOk, 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 booting03:29
=== hyperreal6 is now known as hyperreal
dabblerIt's right there in /etc/fstab within the chroot environment though ?03:34
dabbler. /etc/crypttab is there too and its contents look good03:43
=== JanC_ is now known as JanC
=== hyperreal3 is now known as hyperreal
=== hackinghorn_ is now known as hackinghorn
=== shokohsc0 is now known as shokohsc
companyhostbhello companyhostA10:05
=== hikikomori is now known as Withnail
companyhostahello10:31
weedmiccompanyhosta: cheers10:52
=== MrA is now known as Ders
=== ord is now known as quem
bellohi. 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 seconds12:22
bellowhat should i do now ?12:22
oerhekslikely your vps needs a reboot.12:23
oerheksif /var/run/reboot-required exists12:24
bello oerheks how can i know if its exists?12:26
bellooerheks: i checked and didn't find it on that dir12:33
ravagebello: if you disconnected during the upgrade prociess do: sudo apt -f install12:40
belloravage i was doing a reboot now. did i do mistake by rebooting?12:41
ravageno that kills the old apt process too12:41
ravagebut still use the command to finish the update12:41
belloshould i run `sudo apt -f install` now ?12:42
ravageyes12:42
ravageif "sudo apt -f install" completes without errror run "sudo apt -y full-upgrade" again12:42
belloi was normally upgrading by this `sudo apt update && sudo apt upgrade`12:43
belloshouldn't i use it ?12:43
ravageyou should always use full-upgrade12:43
belloravage: what's difference of full-upgrade from my command?  my command missing somethings?12:45
bellosudo apt -f install just showed me information12:46
ravageapt 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:47
bellook thanks.  upgrading now12:49
belloravage: it's asking me questions now12:54
bellosays Daemons using outdated libraries12:54
ravagejust press enter. and do another reboot when the process is completely done12:54
belloravage: ok rebooted and finished all.  thank you13:10
ravagegreat :)13:10
belloEnable ESM Apps to receive additional future security updates?  is this advertising?13:10
ravage!pro | bello13:11
ubottubello: Ubuntu Pro is a service offered by Canonical for expanded CVE patching, ten-years security maintenance and optional support. Anyone can use Ubuntu Pro for free for personal use on up to 5 machines. For details please see https://ubuntu.com/pro and https://discourse.ubuntu.com/t/ubuntu-pro-faq13:11
BluesKajHi all13:22
belloravage: so it's free?  are you using pro ?13:23
=== realivanjx6 is now known as realivanjx
kingofbotsseems like discord is dying lol, i should consider switching to IRC14:05
=== whatsOnMyFace is now known as imaboson
jar-elHi, 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:25
jar-elit worked before, and I think I never needed to do anything special for it until I upgraded to 20.04.16:26
alkisg1jar-el: what's the output of: uname -a16:55
jar-elalkisg1: 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux17:23
alkisg1jar-el: you can test with the 5.15 kernel if you like: sudo apt install linux-generic-hwe-22.0417:24
jar-elhmm is that safe to do?17:24
jar-elI tried upgrading to 22.04 but couldn't, I got an error17:25
alkisg1Yes, because you'll still have the older kernel as well, selectable from grub17:25
alkisg1So you can easily boot with 5.4 and purge the 5.15 if you don't like it17:25
jar-eland that kernel works with 20.04 too?17:26
alkisg1Yes17:26
alkisg1If you install 20.04 or 20.04.1, you get 5.4. If you install 20.04.2 or higher, you get 5.1517:26
alkisg1So most 20.04 user actually do have 5.1517:26
alkisg1*users17:27
jar-elaha17:27
jar-elok then, I'll try that, thanks!17:27
alkisg1?17:27
jar-elalkisg1: it says it can't find it17:42
jar-elE: Unable to locate package linux-generic-hwe-22.0417:42
jar-elE: Couldn't find any package by glob 'linux-generic-hwe-22.04'17:42
alkisg1jar-el: sudo apt install linux-generic-hwe-20.0417:42
jar-elok, thanks17:43
=== ctrlbreak_MAD is now known as ctrlbreak
=== jean_ is now known as jeanferru
=== jeanferru is now known as jeanferrum
=== jeanferrum is now known as jeanferru
=== jean_ is now known as jeanferru
=== jeanferru is now known as jeanferrum
=== jeanferrum is now known as jeanferru
=== jeanferru is now known as jean_
jar-elalkisg1: I upgraded to 5.15 but still the same issue18:00
alkisg1OK, it was worth a try18:00
jar-elonly hdmi is selectable as output device18:01
JuanHello18:08
Juan:(18:10
jar-elhi Juan18:16
Juanhi18:24
paul424I  have the option " installation ubuntu next to Windows Boot Manager" is this a safe option ?18:27
paul424Should it show the supposed disc partition BEFORE anything is written to the disc ?18:28
paul424hmmm ?18:29
=== JanC_ is now known as JanC
ravage paul424: it should. but always have a backup before you do any modifications to your system. and this is a major one18:33
paul424oki ,suppose I want the custom installation: what partitions do I need : /home and / and ... /boot right ?18:35
ravageyou only need /boot if you want your system encrypted18:35
ravageif you root filesystem is a regular ext4 you can directly boot from that18:36
ravageand /home is optional too18:36
paul424I know...what file system for home then ?18:36
ravageext4 should be fine18:36
ravageif you want a custom layout you should know why you need that anyway :)18:37
paul424what else I can ask before I proceed : where does the boot data go , if I only have / and /home partitions ?18:40
paul424hmm windows have this partition : EFI18:41
jeremy31paul424: If you are booting UEFI, a lot of grub files get installed to the EFI System Partition18:44
belloravage: thank you, see you later. :)18:53
JuanHello, 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 LTS19:09
jhutchinsJuan: It sounds like the audio chipset was not detected or did not match the available drivers.19:21
jhutchinsJuan: Does lspci show an audio device?19:21
jhutchinsJuan: 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:25
=== shokohsc0 is now known as shokohsc
paul424Shall I disable secure boot from my friend laptop , he is very non-technical and non-linuxical19:53
paul424friend's*19:53
rboxwhy19:54
paul424it likes to ask strange questions on boot-up19:56
paul424even I don't know what exactly secure boot is19:56
rboxhuh?19:57
paul424UEFI 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 has20:02
paul424to be audited for safety. But these are not too difficult to achieve.20:02
paul424aha good to know ^_^20:02
rboxrofl20:03
rboxattempt by microsfot20:03
paul424what 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
jhutchinsAlso there are several very severe malware packages that infect the system through SecureBoot, and can not be removed by re-installing.20:09
jhutchinspaul424: Short answer YES, RIGHT AWAY.20:10
paul424VGA compatible controller: Intel Corporation Atom Processor20:13
paul424do I need special drivers or something to get a full performance ?20:13
rboxno20:14
rboxits gonna be garbage no matter waht you do20:14
paul424rbox, in terms of performance ?20:15
paul424hmm youtube 1080p runs just fine20:15
rboxwell there you go, it can do that20:15
jhutchinsrbox: There usually isn't much difference in performance with different drivers.  Sometimes features may be better supported in proprietary code.20:17
jhutchinsrbox: Usually the driver either works or it doesn't, you can't speed something up with special drivers.20:17
jhutchinspaul424: ^20:17
jhutchinsSorry rbox20:17
paul424I thought about noveau and nvidia let say.....20:18
jhutchinspaul424: You have intel hardware anyway, so it's moot.20:19
paul424moot  ?20:19
paul424not me , my friend has20:19
jhutchins!nvidia20:20
ubottuDrivers for Nvidia graphics cards: (A) No gaming/CAD/CUDA needed or legacy hardware? Use "nouveau" (open source, lacks many features). (B) Otherwise, "nvidia" (proprietary driver, fully featured). Install using "ubuntu-drivers" CLI or apt - not from nvidia.com. Driver series, hardware support (release notes): https://www.nvidia.com/en-us/drivers/unix/ - Latest drivers !PPA: https://pad.lv/ppa/graphics-drivers20:20
paul424jhutchins, so here you go : you can have diffrent drivers with diffrent outcome performance20:21
jhutchinsNote that it's features, not performance per se.20:22
jhutchins(Also note the use of the word "Usually" above.)20:22
=== ord is now known as quem
dabblerIs Ubuntu 22.04 supposed to still use proprietary display drivers (if installed) even when recovery mode is selected in grub?21:08
dabblerIt has nomodeset in its Linux line, which I thought made it use only generic drivers, but it's still loading the Nvidia driver21:11
jhutchinsdabbler: I would think it would skip the GUI mode alltogether, but I'm pretty old school.21:55
jhutchinsShould be console only so you can FIX the GUI.21:56
jhutchinsWhat else does Windows do badly that we can copy?21:56
dabblerjhutchins: mine doesn't start the GUI automatically anyway21:57
jhutchinsAh, well at least there's that. I believe nvidia uses a proprietary kernel module (in additon to the X/Wayland driver).21:58
jhutchinsDo you need to blacklist it instead of just unloading it?21:58
=== mulaney is now known as JHMkillthewhales
dabblerjhutchins: I just chroot-ed into it and uninstalled the driver22:45
dabblerNow I have a different problem: the boot process hangs right after "Started Dispatch Requests to Console Directory Watch"22:46
jhutchinsdabbler: Remember that the last message you see is the last thing that completed successfully.22:48
jhutchinsNot whatever hung.22:48
dabblerI understand22:48
jhutchinsdabbler: How long did you leave it "hung"?22:49
dabbler5 to 10 minutes22:50
dabblerMultiple times22:50
jhutchinsThat's probably long enough.22:51
dabblerNot 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 on22:53
SwelteringActionIs this where I can get help with my Ubuntu install?23:42
Bashing-omSwelteringAction: Most assuredly - detail your issue :D23:43
SwelteringActionI 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:45
SwelteringActionAlso, uninstalling Steam did not help.23:47
GudduWould 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
rboxyes23:53
Guddurbox, So the live environment has the ntfs-3g ubuntu package installed?23:56
rboxdepdngin on which versino of ubuntu, ntfs has been in the kernel for a while23:57
rboxplus yo ucan install packages23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!