[05:46] <Mantisek> I get this error after installing a fresh install of kali, or pop_os! or ubuntu.  Nothing seems to change it.
[05:46] <Mantisek> "Default Boot Device Missing or Boot Failed"
[05:46] <Mantisek> oddly enough 'archlinux' is one of the bootable options, even though I havent' used arch on this computer for over a year.
[05:46] <Mantisek> I've tried using boot-repair but didn't have any luck
[05:47] <Mantisek> here is my bootinfo just in case that helps https://paste.ubuntu.com/p/NCMx2SPXts/
[05:59] <Mantisek> echo echo echo
[06:00] <ppw> I can't read that
[06:01] <Mantisek> Can't read what
[06:01] <ppw> your paste
[06:01] <Mantisek> It is probably irrelevant. I'm out of my depth on how MBR works, and I think that's the issue
[06:02] <Mantisek> because 'archlinux' keeps appearing as a boot option despite not using it for over a year
[06:02] <Mantisek> I probably did something in the custom install that did something that persists between complete formats of the hard drive
[06:02] <ppw> how did you install GRUB?
[06:02] <Mantisek> with arch? Don't remember, it was over a year ago
[06:02] <ppw> no, with these other installers.
[06:02] <Mantisek> after arch i was using pop_OS!
[06:03] <Mantisek> Oh, I used the auto installation process using default options, grub never came up on either
[06:03] <Mantisek> I've been poking around with grub-install but it can't find the efi directory, and I'm not sure what I'm doing
[06:03] <ppw> did you choose to "nuke" the existing install with the installer's options?
[06:04] <Mantisek> Yeah
[06:04] <ppw> don't confuse EFI and MBR.
[06:04] <Mantisek> FTR, i have UEFI with secure boot disabled
[06:04] <ppw> that changes things.
[06:05] <Mantisek> I never really understood UEFI
[06:06] <Mantisek> I'm on an ubuntu live OS, is there any info you might find helpful?
[06:08] <ppw> I would follow the guide here https://askubuntu.com/questions/831216/how-can-i-reinstall-grub-to-the-efi-partition
[06:09] <Mantisek> ha was literally on that page
[06:13] <ppw> it's weird that arch is still on there.
[06:13] <ppw> the only way I can conceive of that happening is if you chose to install side-by-side
[06:14] <Mantisek> yeah i saw kali as one of the boot options too
[06:14] <Mantisek> idgi
[06:14] <Mantisek> yeah that didn't do anything
[06:14] <Mantisek> archlinux still there
[06:15] <Mantisek> yeah normally i can solve most linux problems myself but this one is completely confusing
[06:15] <Mantisek> how can all this persist between full installs?
[06:17] <ppw> do you care about your current install?
[06:17] <Mantisek> No not at all
[06:17] <ppw> you could nuke the GPT, but that's what the installer was supposed to do.
[06:17] <Mantisek> i know right
[06:18] <Mantisek> can we do this manually in a terminal?
[06:18] <ppw> well, you could also use fdisk.
[06:18] <Mantisek> god i wish these live OS didn't take a million years to boot
[06:19] <ppw> you probably have some experience with manual partitioning with arch.
[06:21] <Mantisek> i dont remember shit, but i'll wing it
[06:21] <ppw> that's the last thing you want.
[06:22] <ppw> here's a short guide for fdisk. https://linuxize.com/post/fdisk-command-in-linux/
[06:23] <ppw> what you want is to create a new GPT table, assuming you still want UEFI.
[06:23] <Mantisek> i dont give a shit about UEFI
[06:23] <ppw> you can then immediately save, exit, and start the installer for your preferred OS.
[06:23] <Mantisek> What would stop me from just slapping it into legacy mode and skipping the headache
[06:24] <ppw> absolutely nothing.
[06:24] <Mantisek> I just formatted the ONLY hard drive with gparted
[06:24] <Mantisek> now I'm restarting to see if it still shows archlinux
[06:25] <ppw> formatting a hard drive doesn't mean you've cleared the GPT.
[06:25] <Mantisek> Yes. It's still there. HOW?
[06:25] <Mantisek> okay
[06:25] <ppw> don't "wing this shit".
[06:26] <ppw> pardon the language
[06:26] <Mantisek> I will forgive you in time.
[06:26] <ppw> :)
[06:26] <Mantisek> gonna go have a smoke while this live disk boots
[06:27] <Mantisek> im wondering if debian live disk would be a lot faster
[06:27] <ppw> find a USB3 port somewhere
[06:27] <Mantisek> old laptop, doesnt have one
[06:27] <ppw> then keep a spare USB with just GParted on it
[06:27] <Mantisek> don't you need the linux kernel in order to run it?
[06:28] <ppw> GParted keeps a LiveUSB.
[06:28] <ppw> https://gparted.org/liveusb.php
[06:28] <Mantisek> eh, same amount of time
[06:28] <Mantisek> to flash that onto a usb
[06:29] <Mantisek> than to just wait for the live disk to boot
[06:29] <Mantisek> are we still calling them live *disks* btw
[06:29] <ppw> nope
[06:29] <Mantisek> correct me
[06:29] <ppw> nope
[06:29] <Mantisek> >:C
[06:30] <Mantisek> fine, they are called insta-linux (just add usb)
[06:31] <ppw> how does an old laptop with no USB3 ports support UEFI?
[06:36] <Mantisek> it was an odd era of laptops
[06:36] <Mantisek> laptop is about 6 years old
[06:36] <ppw> 2016 and no usb3 ports? you're kidding me.
[06:37] <Mantisek> well they're blue ports im assuming that's USB2
[06:37] <ppw> no, that's usb3
[06:37] <Mantisek> ah well, there you go, still slow
[06:37] <Mantisek> it was the only laptop i could find at the time that had an ethernet port
[06:37] <ppw> that doesn't make any sense. should take no more than 20 secs.
[06:37] <ppw> is the usb key old?
[06:37] <Mantisek> no not really, i bought them in bulk on amazon
[06:38] <ppw> for cheap?
[06:38] <Mantisek> have one for kali, pop_os, tails, and just general storage
[06:38] <Mantisek> im a cheap bastard so likely
[06:38] <Mantisek> came in a pack, color coded
[06:38] <Mantisek> 256gb
[06:38] <ppw> oh, then you _really_ shouldn't be surprised at the slowness.
[06:38] <ppw> wait what?
[06:38] <ppw> 256 gb per stick?
[06:39] <irc_standardnick> That's a LOT
[06:39] <Mantisek> no wait that's not right
[06:39] <Mantisek> i'll know in a second
[06:40] <Mantisek> 30gb
[06:40] <Mantisek> dont know why i thought otherwise
[06:40] <Mantisek> i blame the wild turkey
[06:40] <ppw> that's still a lot. but if they were cheap, there's your slowness.
[06:40] <ppw> anyway, where are we?
[06:40] <Mantisek> fdisk
[06:41] <irc_standardnick> My USB's are slow too :sigh
[06:41] <Mantisek> sudo fdisk -l
[06:41] <ppw> did you get it up and running?
[06:41] <Mantisek> shows a /dev/sda
[06:41] <Mantisek> KINGSTON RBU-SNS
[06:41] <ppw> great, do "fdisk /dev/sda"
[06:41] <Mantisek> okay, in the prompt
[06:41] <ppw> ok, now tell me, are you in UEFI?
[06:42] <ppw> UEFI mode, that is
[06:42] <Mantisek> currently yes
[06:42] <ppw> ok
[06:42] <Mantisek> with safe mode disabled
[06:42] <ppw> you mean "secure boot"
[06:42] <Mantisek> right yeah
[06:42] <ppw> you should be at the Command (m for help) prompt, right?
[06:42] <Mantisek> yes
[06:42] <ppw> ok, press 'g', then Enter
[06:43] <Mantisek> "Created a ne wGPT disklabel (GUID: etc etc)"
[06:43] <ppw> great
[06:43] <ppw> you want swap?
[06:44] <Mantisek> I don't know, do I? I've always had swap but i dont know enough about it to have an opinion
[06:44] <Mantisek> most of my work is further up the OSI model, so this stuff i usually bumble through
[06:45] <Mantisek> we got 238gb to work with
[06:45] <ppw> ok, press 'n', then enter
[06:45] <Mantisek> k
[06:45] <ppw> '1', then enter
[06:45] <Mantisek> k
[06:46] <Mantisek> default?
[06:46] <ppw> yep
[06:46] <ppw> +256M, then enter
[06:46] <Mantisek> k
[06:46] <Mantisek> Do you want to remove the signature?
[06:46] <ppw> yep
[06:46] <Mantisek> The signature will be removed by a write command.
[06:47] <ppw> now press 'n', then enter
[06:47] <Mantisek> 2?
[06:47] <ppw> 2, then enter
[06:47] <Mantisek> default?
[06:47] <ppw> yep
[06:47] <Mantisek> kk
[06:47] <ppw> +4G, then enter
[06:47] <Mantisek> I presume that first partition will be our EFI?
[06:47] <ppw> yep
[06:48] <Mantisek> kk done
[06:48] <ppw> now press 't', then enter
[06:48] <Mantisek> presume 2?
[06:48] <ppw> yes
[06:48] <Mantisek> Type or alias?
[06:48] <ppw> type: 19, then hit enter.
[06:48] <Mantisek> Ah that's swap
[06:48] <ppw> yep
[06:48] <Mantisek> n again?
[06:49] <ppw> yep
[06:49] <Mantisek> 3, default
[06:49] <Mantisek> then default?
[06:49] <Mantisek> cause its 'the rest'?
[06:49] <ppw> yep, hit enter twice.
[06:49] <Mantisek> kk
[06:49] <ppw> finally, press 'w', then enter.
[06:49] <Mantisek> kk
[06:49] <Mantisek> fdisk finished
[06:50] <ppw> great. now go install your os.
[06:50] <ppw> wait.
[06:50] <Mantisek> waiting
[06:50] <ppw> let's format the partitions, first.
[06:50] <ppw> you should be in a bash prompt as root.
[06:50] <Mantisek> gparted?
[06:51] <Mantisek> oh okay, hold one
[06:51] <Mantisek> root
[06:51] <ppw> mkfs.vfat -F 32 /dev/sda1
[06:51] <ppw> wait, maybe I should prepend these commands with something, this is dangerous.
[06:52] <Mantisek> well that one is done anyways
[06:52] <ppw> ok
[06:52] <ppw> # mkswap /dev/sda2
[06:52] <Mantisek> I presume without the #
[06:52] <ppw> yep
[06:52] <Mantisek> done
[06:52] <ppw> # swapon /dev/sda2
[06:53] <Mantisek> done
[06:53] <ppw> and finally, # mkfs.ext4 /dev/sda3 .
[06:53] <ppw> without the period at the end
[06:53] <Mantisek> working...
[06:53] <Mantisek> done
[06:54] <ppw> this is a Ubuntu LiveOS, right?
[06:54] <Mantisek> correct
[06:54] <Mantisek> 22.04.2 LTS
[06:54] <ppw> try running the installer.
[06:54] <Mantisek> er, .1
[06:54] <Mantisek> Running
[06:55] <Mantisek> Erase disk and install Ubuntu OR Something Else
[06:55] <Mantisek> Something Else ( You can create or resize partitions yourself, or choose mulitple partitions for Ubuntu )
[06:55] <ppw> I'd keep the partition layout. all that hard work.
[06:56] <Mantisek> So, something else?
[06:56] <ppw> yeah
[06:56] <Mantisek> asks 'DEvice for boot loader installation:'
[06:56] <Mantisek> I'm assuming SDA1
[06:56] <Mantisek> sda1*
[06:57] <ppw> no
[06:57] <ppw> /dev/sda
[06:57] <Mantisek> just SDA?
[06:57] <Mantisek> kk
[06:57] <Mantisek> 'Install now' grayed out
[06:58] <Mantisek> oh there it goes
[06:58] <ppw> you did map the mount points correctly, right?
[06:58] <Mantisek> 'No root file system is defined. please correct this from the partitioning menu'
[06:58] <ppw> I guess not
[06:59] <Mantisek> just following along with what you said
[06:59] <Mantisek> wish i could share my screen for you
[07:00] <ppw> wait, I'll load a vm, one sec.
[07:02] <Mantisek> i changed sda1 to 'EFI system partition', sda2 to 'swap area' and sda3 to 'ext4, mount point /'
[07:03] <Mantisek> I think you have to set the mount points this way
[07:03] <Mantisek> part of the same prompt
[07:03] <Mantisek> presumably, if i wanted to create more partititions for other top level directories, like /home, i could make a partition for that
[07:04] <Mantisek> I will wait for you to catch up, without a green light
[07:05] <ppw> that's exactly what I wanted
[07:05] <Mantisek> kk, proceeding
[07:06] <Mantisek> Installing
[07:06] <Mantisek> created sudo user, etc
[07:07] <Mantisek> watch it still have the same problem
[07:07] <Mantisek> i kinda feel like i did all this already through the automated process anyways
[07:07] <Mantisek> not discounting your ideas, it's important to go through the motions
[07:13] <Mantisek> restarting
[07:14] <Mantisek> Default Boot Device Missing or Boot Failed.
[07:14] <ppw> X(
[07:14] <Mantisek> archlinux still shown as an option
[07:14] <ppw> this isn't making any sense
[07:14] <Mantisek> Right?
[07:15] <Mantisek> maybe i can reset UEFI to factory default
[07:15] <ppw> do that
[07:16] <ppw> this is a lenovo thing
[07:17] <Mantisek> acer
[07:17] <pickanick> Hello, I have 25G of ~/.xsession-errors.  In particular, 156 million lines of the form
[07:17] <pickanick> qt.core.qabstractitemmodel.checkindex: Index QModelIndex(...)) is not valid (expected valid)
[07:18] <pickanick> What can I do about this error?
[07:18] <Mantisek> in the UEFI settings 'EFI File Boot 0: archlinux' is still there
[07:19] <ppw> yeah, this is definitely a bios issue
[07:20] <ppw> see if you can remove or reset those entries
[07:20] <Mantisek> is there a term for them?
[07:20] <Mantisek> will make googling easier
[07:20] <ppw> well, you could google the error
[07:20] <Mantisek> I did that first
[07:20] <Mantisek> before i came here
[07:20] <Mantisek> sir
[07:23] <Mantisek> i've been at this for 7 hours
[07:25] <ppw> are there any other entries beside the archlinux one
[07:25] <Mantisek> nah, waiting for the insta-linux to rehydrate hold on
[07:25] <Mantisek> there was some utility iw as using to look at those
[07:25] <Mantisek> was like Boot0001 -archlinux as a result or something
[07:25] <Mantisek> efibootmanager or something?
[07:26] <ppw> efibootmgr
[07:26] <Mantisek> more like efitbuttmanager
[07:27] <ppw> https://www.youtube.com/watch?v=WVqnfNheRj8
[07:29] <Mantisek> https://hastebin.com/osiqakasot
[07:29] <ppw> noticed something?
[07:29] <Mantisek> yes, ofc
[07:30] <ppw> you know what to do, right?
[07:30] <Mantisek> watch this video?
[07:30] <ppw> I mean, beside that ... what to do with your entries
[07:30] <Mantisek> kill?
[07:30] <Mantisek> shoot head?
[07:30] <ppw> well, that's a bit harsh
[07:30] <ppw> notice the BootOrder and how ubuntu is nowhere to be found
[07:31] <Mantisek> yeah
[07:31] <Mantisek> wait
[07:31] <Mantisek> yeah it is
[07:31] <Mantisek> oh
[07:31] <Mantisek> the boot order
[07:31] <Mantisek> yeah what's up with that
[07:31] <ppw> I think it answers the question why you can't boot Ubuntu
[07:33] <ppw> there's also some cool examples here https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples
[07:35] <jeronimo> hmmz my bluetooth stopped working
[07:35] <Mantisek> delete the nonsense entries and explicitly set the boot order to include ubuntu
[07:35] <Mantisek> left the 'unknown device' alone
[07:35] <ppw> your call. but I'd make sure BootCurrent is set to 0000.
[07:36] <Mantisek> that worked!
[07:36] <Mantisek> weird. guess uefi has its own miniscule storage space
[07:36] <ppw> great. I'm happy it did.
[07:36] <Mantisek> Yeah thanks for your help and most importantly your patience
[07:37] <Mantisek> now what are insta-linux booty disk boys called
[07:37] <ppw> np
[07:37] <ppw> lol
[07:37] <ppw> "live images" will do just fine
[07:37] <Mantisek> see
[07:37] <Mantisek> i knew that
[07:38] <Mantisek> but second guessed myself
[07:38] <Mantisek> i do that a lot, almost always during interviews
[07:38] <ppw> but, see, now you can say you're an fdisk wizard
[07:38] <Mantisek> interviewer: Describe kerberos     me, who has gotten DA during pentests loads of times and done plenty of kerberoasting:  What the hell is that
[07:39] <Mantisek> Yes I am a linux expert not
[07:39] <Mantisek> now*
[07:39] <Mantisek> great typo.
[07:41] <Mantisek> im kinda kicking myself because i was super close to the solution about 3 hours ago
[07:42] <ppw> I had no idea this was even a thing
[07:42] <Mantisek> We both learned something today
[07:42] <ppw> absolutely
[07:42] <Mantisek> I learn the most about python by tutoring
[07:43] <Mantisek> now im wondering if you can store whatever you want in the UEFI
[07:43] <ppw> ah, I can already see the thumbs twiddling
[07:44] <Mantisek> even better if i can execute code from there
[07:44] <Mantisek> imagine
[07:44] <Mantisek> although this would require access to a machine that is already going to enable 10,000 easier ways to do this
[09:19] <TomyWork> I'm on 18.04, but I have debhelper-12.1.1ubuntu1~ubuntu18.04.1 from bionic-backports. now there's a 13.6ubuntu1~bpo18.04.1 available there, but it's missing a dependency. tbh I don't even remember why I installed it from backports back then, so my question is, can I safely downgrade it or is there some kind of database behind it that'll be incompatible with the older stock version?
[09:28] <jeronimo> does anyone know a workaround for the recent bluetooth faillure? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1859592
[09:29] <jeronimo> ah wait it's working again, weird
[09:30] <jeronimo> magic :-)
[10:08] <podeni> Hi everyone, I'm curious, what's the gold standard in Ubuntu when it comes to file encryption? Looking this up on the web I keep encountering GPG, is this it?
[10:11] <TomyWork> podeni, what are you trying to do? encrypt your backups? encrypt your mails? encrypt your hard drive?
[10:32] <SteelRose> Hello all! I have a very stupid problem ... I need to login as a user using its private ssh-key, so to avoid typing "ssh -i ~/.ssh/foobar user@remote-host" I created a function "ssu" with goal of just typing "ssu remote-host"... Aliases don't accept arguments, as far as I know, hence a function...
[10:32] <SteelRose> I saved it to my ~/.profile, sourced it etc... please, see the issue: https://pastebin.com/hYcmC2u0
[10:32] <SteelRose> I'm sure I'm overlooking the obvious... ideas? Thanks!
[10:57] <podeni> TomyWork encrypting individual files that I'll then back-up on AWS Glacier or a similar service.
[11:05] <esv> SteelRose, try this in your ~/.ssh/config file: https://pastebin.com/FKkaPU1j
[11:06] <SteelRose> esv: that's too generalistic... not all remote hosts are to be accessed using the ubuntu@ user...
[11:06] <SteelRose> I solved it: https://pastebin.com/d6Su9qft
[11:07] <esv> just change the IndentifyFile path to meet your requirements, I also use it for throw away host, so the host key checking is also too relaxed.
[11:08] <esv> you can tailor the argument to "Host" to match your requirements.
[11:08] <esv> nothing wrong with a setup that works for your environment.
[11:40] <clarkk> I installed pgadmin4 by following these instructions. https://www.pgadmin.org/download/pgadmin-4-apt/#:~:text=To%20use%20this%20repository%2C%20run%20the%20following%20commands%3A
[11:42] <clarkk> I installed all 4 packages, using `sudo apt install pgadmin4`, but then realised I only wanted the desktop package, so tried to uninstall them all, but now get `E: Unable to correct problems, you have held broken packages.. E: Unable to lock the download directory`
[11:42] <clarkk> How can I resolve this?
[11:42] <clarkk> it's only a guess, but during the installation I saw apache mentioned somewhere in the output. I can't be sure.
[11:43] <EriC^^> clarkk: ps aux | grep apt
[11:43] <EriC^^> kill <pid> or kill -9 <pid> if it's stubborn
[11:43] <EriC^^> then sudo apt-get -f install
[11:44] <clarkk> it's not running, EriC^^
[11:44] <EriC^^> no output from ps aux | grep apt?
[11:45] <clarkk> yes
[11:45] <ael> salam
[11:45] <EriC^^> try ps aux | grep dpkg
[11:46] <ael> hi
[11:46] <EriC^^> hello
[11:46] <clarkk> EriC^^, apt-get -f install returns the following:   0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
[11:46] <ael_> https://musiclab.chromeexperiments.com/Shared-Piano/#pN-ttynUz
[11:46] <EriC^^> seems apt is stable clarkk
[11:47] <EriC^^> try to remove the packages you wanted to remove
[11:49] <EriC^^> wow one-way flights from russia to dubai $5000
[11:49] <EriC^^> oops wrong window
[11:49] <clarkk> hahaha
[11:49] <clarkk> I hate it when that happens
[11:49] <EriC^^> :D
[11:52] <clarkk> I do have one package on hold - unison. I hope that's not causing a problem. However, I can't do without it, as it has to be compatible with a remote system that I have access to. These are unison's dependencies  https://postimg.cc/3dqDcYNx
[11:53] <EriC^^> try 'apt-cache policy unison'
[11:56] <EriC^^> if it says phasing it'll work itself out eventually
[11:56] <clarkk> EriC^^, ok, will do. Note that apt show -a shows the following:   https://paste.debian.net/hidden/e5dc379d/
[11:58] <clarkk> EriC^^, apt-cache policy unison returned this   https://paste.debian.net/plainh/49514532
[11:58] <clarkk> oh, wrong package. One mo
[11:59] <EriC^^> oki
[11:59] <clarkk> EriC^^, https://paste.debian.net/plainh/c67bb61c
[12:00] <clarkk> when I was installing pgadmin and saw that it was downloading from microsoft servers, I KNEW there would be problems!!! :/
[12:00] <EriC^^> which ubuntu version is this?
[12:00] <clarkk> 20.04
[12:00] <EriC^^> !info libpango-1.0-0 focal
[12:01] <EriC^^> !info libc6
[12:01] <EriC^^> hmm i wonder why it's not updating, seems the dependencies are all good
[12:02] <EriC^^> what happens if you do 'sudo apt install unison-gtk' ?
[12:02] <clarkk> maybe mentioning unison-gtk is a red hearing. It's pgadmin4 that's the main issue. I just thought that unison maybe was the root cause because I put it on hold
[12:02] <clarkk> unison's working fine
[12:02] <EriC^^> oh ok
[12:02] <clarkk> But I cannot remove pgadmin4
[12:03] <EriC^^> i see, gotcha
[12:03] <clarkk> one moment. Maybe getting somewhere
[12:07] <clarkk> EriC^^, ok, must apologise for wasting your time. I generally use synaptic for managing packages, because I just feel more comfortable in it, as I always forget the apt / dpkg / apt-cache commands. So it was synaptic that was showing the errors. I really should have mentioned this at the start. I just tried apt, and it removed the packages without a problem. And, actually, I found the process pretty easy to do, so maybe
[12:07] <clarkk> I'll use apt in future
[12:08] <clarkk> EriC^^, thanks a lot for your guidance. Much appreciated
[12:12] <EriC^^> clarkk: great, glad you solved it! no problem
[12:43] <JoeBk> does anyone have expreience running ubuntu on gateway laptop?
[12:45] <BluesKaj> Hi all
[12:46] <lotuspsychje> JoeBk: ask your specific question to the channel so volunteers can brainstorm along with you
[12:51] <JoeBk> I'm wondering if gateway would be brand of compter to consider if I was going to run ubuntu.
[13:00] <lotuspsychje> JoeBk: ubuntu installs on a lot of brands, but we cant generalize statements on the different hardware inside the machines
[13:00] <lotuspsychje> !hardware | JoeBk
[13:01] <lotuspsychje> JoeBk: i would advice before buying a brand, to go check the specific specs of that machine and see wich chipsets are inside
[13:12] <vista> hey folks, I'm wondering about something -- the HWE kernel for 22.04 seems to be the same version as the kernel shipped by the OS itself?
[13:13] <lotuspsychje> vista: think HWE for jammy will release in february, kernel 5.19
[13:13] <vista> I noticed that there's a 5.19 kernel shipped with the kinetic version of the package, but the kernel version 5.15.0 is shipped for jammy and jammy-updates
[13:13] <vista> lotuspsychje: ach
[13:14] <vista> don't suppose there's a backport of it already? :)
[13:14] <lotuspsychje> vista: https://9to5linux.com/looks-like-ubuntu-22-10-kinetic-kudu-will-be-powered-by-linux-kernel-5-19
[13:15] <vista> yeah... but 22.10 isn't LTS :P
[13:15] <lotuspsychje> read the bottom vista
[13:18] <vista> lotuspsychje: thanks for pointing that bit out
[13:18] <lotuspsychje> welcome
[13:34] <misu> hello
[13:34] <misu> hello
[13:34] <misu> .
[13:34] <misu> .
[13:34] <misu> .
[13:34] <misu> .
[13:35] <wez> hi misu!
[13:52] <xq> Hello. I have booted into Ubuntu 22.04 LTS ISO https://releases.ubuntu.com/22.04.1/ubuntu-22.04.1-desktop-amd64.iso in livecd ("Try Ubuntu") mode. I want to use the apt-file utility to find out which package provides a specific file on Ubuntu. However the command is not found. The apt-file package has no installation candidate.
[13:52] <xq> How do I install and use apt-file on Ubuntu 22.04 LTS ?
[13:53] <rbasak> xq: did you run "apt update" first?
[13:53] <xq> yes
[13:54] <rbasak> The apt-file package is available from universe on 22.04. I'm not sure why you're not seeing that. Maybe you need to enable universe?
[13:54] <rbasak> I'm not familiar with the default apt configuration on the live installer, sorry.
[13:54] <rbasak> Another route is to search on packages.ubuntu.com which searches the same lists.
[13:56] <xq> thanks, enabling 'universe' solves the issue
[14:09] <misu> hello
[14:09] <misu> what is this hexcat?
[14:09] <oerheks> hi  misu see topic
[14:09] <wez> ?
[14:10] <arraybolt3> misu: Hexchat is a chat program for Ubuntu, that allows you to connect to IRC chat servers. It's what I'm using now.
[14:10] <arraybolt3> misu: You are currently in a chatroom for live Ubuntu tech support.
[14:10] <misu> thanks
[14:10] <arraybolt3> There are various other chatrooms for other topics if this isn't what you're looking for, click "Server", then "Channel List" to browse through the channels.
[14:11] <arraybolt3> (You'll need to click the "Download List" button after opening the Channel List window to see the list of channels.)
[14:48] <_apex2_> whenever I use the GUI it crashes with a pixelated screen... 20% of the time it will recover itself, but normally it locks and I am only able to recover by issuing sudo killall -3 gnome-shell. Updates over the past 6 mos have not helped.   My question is: what logs can I review to try and determine root cause?
[14:50] <wez> _apex2_: Thankfully terminal window will never let you down.
[14:52] <_apex2_> correct!, I spend 90% of my time in the terminal.  But would prefer my build to function as intended.
[14:53] <wez> Nah, that's crazy talk. Embrace the terminal.
[14:55] <_apex2_> my intention was to ditch othr OS's and use the GUI for video and photo editng as well.  But sadly I have not been able to do that.
[14:57] <arraybolt3> _apex2_: What graphics drivers are you using?
[15:09] <_apex2_> i915
[15:11] <arraybolt3> _apex2_: Well, hmm. The main log I'd look at would be /var/log/syslog, that one usually has a wealth of info about nearly everything in the system.
[15:14] <jhutchins> syslog/dmesg will probably only have info on kernel video modules (nvidia's nv), GUI info is buried in /var/log/Xorg.0.log for xorg.
[15:15] <jhutchins> No idea where wayland puts it.
[15:29] <Martinlopez85> hello
[15:29] <lotuspsychje> welcome Martinlopez85
[15:30] <Martinlopez85> Seeking friends
[15:30] <Martinlopez85> online
[15:30] <lotuspsychje> !chat | Martinlopez85
[15:30] <Martinlopez85> ok
[15:30] <lotuspsychje> Martinlopez85: see also !alis to find channels of your interest(s)
[15:30] <Martinlopez85> what is ubuntu can you explain me?
[15:31] <Martinlopez85> !alis
[15:31] <lotuspsychje> !ubuntu | Martinlopez85
[15:31] <Martinlopez85> thanks then it is an open source linux program
[15:32] <ogra> not really
[15:32] <Martinlopez85> time to hack it
[15:32] <Martinlopez85> ogra gayç
[15:32] <Martinlopez85> gay
[15:33] <ogra> it is an operating system ... like MacOS or Windows ... not just a "program"
[15:33] <Martinlopez85> ok
[15:33] <Martinlopez85> you are stupid
[15:33] <Martinlopez85> very stupid
[15:33] <A_Dragon> Martinlopez85: could you not go from channel to channel trolling, please?
[15:34] <Martinlopez85> A_Dragon are a fat man without a job who is dedicated to sending messages on irc because he has no social life and he is more interested in the social life of another than his own
[15:34] <Martinlopez85> ooooohhhhhhhh
[15:34] <Martinlopez85> to your house
[15:35] <leftyfb> ogra: ?
[15:35] <ogra> on it ... (i dod this rarely, need to look up the runes 😛 )
[15:36] <Martinlopez85> ogra you are a fat man gay without a job who is dedicated to sending messages on irc because he has no social life and he is more interested in the social life of another than his own
[15:36] <lotuspsychje> Martinlopez85: this channel is for ubuntu support only, please stop random chitchat
[15:36] <Martinlopez85> lotuspsychje ok
[15:36] <Martinlopez85> sorry
[15:37] <A_Dragon> lotuspsychje: dont worry, I got it.
[15:39] <ogra> A_Dragon, thanks ... our wikipages are completely outdated (i am OP but the commands in all our docs do not work !)
[15:40] <A_Dragon> oh, which did you try?
[15:40] <ogra>  /msg ChanServ op #ubuntu ogra
[15:40] <A_Dragon> that should work
[15:40] <ogra> (and without capitals)
[15:40] <A_Dragon> try without your nick at the end?
[15:40] <ogra>  /msg ChanServ op #ubuntu
[15:40] <ogra> heh
[15:40] <ogra> sorry
[15:40] <A_Dragon> yeah like that, but without the space :P
[15:40] <ogra> yeah
[15:40] <ogra> doesnt work either
[15:41] <A_Dragon> do you get a response from chanserv?
[15:41] <A_Dragon> ah you're not logged into your account
[15:41] <ogra> yes, "not authorized" (which isnt true ... )
[15:41] <A_Dragon> its true, think similar to anon access vs logged in access
[15:41] <ogra> how can that be ... it should change my nick to some Guest thingie then
[15:41] <A_Dragon> you're currently on anon
[15:41] <ogra> hrm
[15:42] <A_Dragon> did you configure enforcement?
[15:42] <ogra> i didnt ... but i'd expect libera to do that
[15:42] <A_Dragon> if yes, its likely you're on whats called an access list for your account, which allows you to remain on the nick indefinitely, and we do not by default enforce nicknames
[15:42] <Oski146> spammer
[15:42] <ogra> (freenode used to ... and i kind of rely on seeing my nich change to see i'm not authed)
[15:42] <A_Dragon> to do so, once you're logged in, /msg NickServ set ENFORCE ON
[15:42] <A_Dragon> and /msg NickServ SET ENFORCETIME 1
[15:42] <ogra> thx
[15:42] <A_Dragon> you should also configure sasl in your client
[15:42] <ogra> i guess we should take it elsewhere though 🙂
[15:43] <ogra> Oski146, sorry
[15:43] <Oski146> :)
[15:43] <Oski146> i only saw the a dragon name thought we get flooeded
[15:44] <A_Dragon> oh I can flood you if you'd like :P
[15:44] <ogra> lol
[15:44] <Oski146> lool
[15:44] <ogra> Oski146, well, but you are correct, we are usually very strict about non support chatter in here ...
[15:45] <ogra> anyway, enforce time set and enforcement enabled ... now i should see when not logged in ...
[15:45] <ogra> for next time 🙂
[16:00] <raver> Hey, anyone knows of there's a channel for Ubuntu touch (Smartphone version)? Or can I ask here if there's support for the OPPO find X2 neo device🙂
[16:03] <ogra> !alis | raver
[16:04] <ogra> i think there is an ubports channel (though i think they perfer telegarm)
[16:04] <ogra> (ubuntu touc -> ubports nowadays)
[16:04] <ogra> *tough
[16:04] <ogra> bah
[16:04] <ogra> *touch
[16:05] <raver> ogra: thx
[16:27] <eelstrebor> this is weird, i can't update packages on one of my pc's even though the /etc/apt  is the same on all pc's - tracepath shows a path to the repository and it's not a gpg key problem. this all began after upgrading from ubuntu 20.04 to 22.04
[16:28] <leftyfb> eelstrebor: please pastebin the errors you are running into
[16:29] <arraybolt3> eelstrebor: Packages being held back?
[16:30] <eelstrebor> https://pastebin.com/s174tGm9
[16:30] <ogra> arraybolt3, any chance w could get "https://askubuntu.com/questions/1431940/what-are-phased-updates-and-why-does-ubuntu-use-them" into a factoid btw ?
[16:31] <eelstrebor> arraybolt3, it's not a held back package issue
[16:31] <ogra> nope, thats clearly some netwrk thing
[16:31] <arraybolt3> ogra: No clue how to make factoids. :)
[16:31] <arraybolt3> (Also, I still need to update the Wiki...)
[16:31] <ogra> arraybolt3, hah, me neither ... but someone who drives ubottu will know
[16:31] <leftyfb> eelstrebor: can you:   ping security.ubuntu.com
[16:32] <eelstrebor> leftyfb, yes
[16:33] <leftyfb> eelstrebor: you have another pc on the same network running ubuntu 22.04 that doesn't have the same issue?
[16:33] <leftyfb> oh
[16:33] <leftyfb> eelstrebor: check your time/date/timezone of said machine
[16:33] <eelstrebor> yes. all other pc's running 22.04 are working
[16:33] <eelstrebor> Wed Sep 28 10:33:39 AM MDT 2022 is correct
[16:34] <leftyfb> eelstrebor: is this machine on ipv6?
[16:34] <eelstrebor> no
[16:35] <leftyfb> eelstrebor: just to eliminate possibilities, lets go ahead and disable ipv6 and reboot and try again anyway https://bobcares.com/blog/apt-get-connect-101-network-is-unreachable/
[16:36] <leftyfb> otherwise, I've got nothing else at the moment. You're either missing or purposely leaving out some critical difference between this machine and others
[16:42] <eelstrebor> leftyfb, didn't fix the problem
[16:44] <eelstrebor> i did a do-release-upgrade on all the pc's but one isn't updating packages
[16:48] <ogra> eelstrebor, do-release-upgrade ? are yu attempting to go to 22.10-beta ?
[16:49] <eelstrebor> no
[16:50] <ogra> then better do not run that 🙂
[16:50] <eelstrebor> when i was running 20.04 i did the do-release-upgrade to get to 22.04
[16:51] <ogra> so you only ran it once ? (that wasnt actually clear above with your alst line)
[16:51] <ogra> *last line
[16:52] <ogra> and there were no errors on that PC with do-release-upgrade when you ran it
[16:52] <ogra> ?
[16:52] <eelstrebor> i found this error in syslog though https://pastebin.com/V4zE4k5V
[16:53] <lotuspsychje> eelstrebor: how about you share your whole dmesg too please
[16:53] <ogra> yeah, single lines often enough lack context
[16:54] <eelstrebor> whois is not installed
[16:54] <eelstrebor> oops, you said whole dmesg
[16:55] <eelstrebor> dmesg has a lot of output
[16:55] <ogra> just pipe it to termbin
[16:56] <ogra> like: sudo dmesg  | nc termbin.com 9999
[16:57] <nteodosio> ogra: Wow that's neat
[16:58] <eelstrebor> https://pastebin.com/Gd6QytjR
[16:59]  * eelstrebor wishes he knew every linux command
[17:00] <eelstrebor> https://termbin.com/17mf
[17:01] <ogra> hmm. looks all pretty normal
[17:03] <lotuspsychje> yeah a few acpi's and nvidia acting up a bit
[17:03] <lotuspsychje> but i dont see network related neither
[17:05] <lotuspsychje> eelstrebor: can you paste; sudo lshw -C network too please
[17:08] <ogra> well, the issue is likely not HW related ... my guess would go towards something like the obsolete resolvconf being installed, old cruft in /etc/network/interfaces that didnt get carried over properly to the new setup or some forgot proxy setting somewhere that is not used system wide
[17:08] <eelstrebor> https://pastebin.com/M1sAtgFi
[17:08] <lotuspsychje> something like that would sound logic indeed ogra
[17:09] <ogra> (but i'm wildly guessing 🙂 )
[17:09] <bblinky> Hey, do you have any idea how to set up ufw to allow DHT from rtorrent? Would like to be able to seed the OS isos I dl :)
[17:11] <lotuspsychje> eelstrebor: do you still have older kernels in your list you could test (to rule out its realtek/kernel related)
[17:12] <imi> hi, can I somehow do a headless x86 install? does the installer have an open ssh port? can I install over ssh?
[17:12] <elwisp> bblinky: ufw allow 12345  to allow port 12345
[17:15] <eelstrebor> lotuspsychje, yes
[17:15] <bblinky> elwisp: I did ufw allow 12345/udp .. Will try to open tcp too
[17:15] <elwisp> bblinky: the dht port is probably a different one however
[17:15] <elwisp> that was just an example
[17:15] <lotuspsychje> eelstrebor: could you try booting an older one, see if you can reproduce?
[17:16] <bblinky> elwisp: :)
[17:18] <elwisp> bblinky: check your rtorrent config. It should be in there https://wiki.archlinux.org/title/RTorrent#Configuration
[17:18] <elwisp> section 2.4
[17:19] <eelstrebor> lotuspsychje, same problem with older kernel (5.14)
[17:20] <bblinky> elwisp: do you know if ubuntu hosts their torrents as tracker based or DHT?
[17:20] <lotuspsychje> ok tnx for testing, then maybe its gonna be something like ogra stated, getting messed during upgrade eelstrebor
[17:21] <lotuspsychje> eelstrebor: another idea could be testing from a new user, or see if you can force updates in a recoverymode
[17:31] <bblinky> elwisp: hey, thanks for the answer... Turns out that it's probably just the torrent that's dead
[17:31] <bblinky> Rip arch torrenting...
[17:32] <voldial> I'm on 22.04LTS and I want to use the most common USB GPIB dongle, model GPIB-USB-HS. Unfortunatly NI drivers only support upto 20.04 (see https://www.ni.com/pdf/manuals/ni-linux-device-drivers-2022-q3.html). Am I correct that the linux-gpib package is the best shot at getting this dongle working? I dont see a deb or even comments online about using https://linux-gpib.sourceforge.io/ on 22.04LTS so
[17:32] <voldial> I feel like I am missing something obvious... any help would be greatly appreciated, I spent last night on this and am still stuck.
[17:33] <lotuspsychje> voldial: if a device doesnt work by default on ubuntu, i would advice to file a bug so the developers know about it
[17:34] <voldial> lotuspsychje: I'll go search the bugtracker, but this device has been around for decades, and it's very common, used in labs everywhere, so I suspect (again) I'm just missing the obvious:)
[17:35] <lotuspsychje> voldial: would be handy to pastebin a journalctl -f and plug in your dongle and share it here with the volunteers, to see whats going on
[17:35] <voldial> lotuspsychje: sure one sec, basically USB enumerates, but no driver is attempted to be loaded.
[17:37] <lotuspsychje> voldial: was it a clean install or an upgrade to 22.04?
[17:37] <voldial> lotuspsychje: https://bpa.st/T4CA
[17:37] <voldial> lotuspsychje: clean install
[17:38] <lotuspsychje> voldial: did you try other usb ports too?
[17:39] <voldial> note, I am not suprised it's not working, as I dont have a driver installed for it... I'm just confused on why there isnt a https://linux-gpib.sourceforge.io/ package in apt
[17:39] <voldial> lotuspsychje: yea, it's not a USB hardware error, and the device works fine if I plug it into a non-ubuntu system that has linux-gpib installed
[17:39] <lotuspsychje> voldial: pastebin; sudo lshw -C network too please (with dongle plugged)
[17:41] <voldial> lotuspsychje: https://bpa.st/Y2WA (noting interesting, just the virtio network driver there)
[17:43] <voldial> lotuspsychje: https://bpa.st/PBIA (lsusb shows the device)
[17:44] <lotuspsychje> hmm weird
[17:45] <lotuspsychje> voldial: seems like module gets loaded, but your journal gives bus: 1, device: 5 was not an MTP device
[17:46] <lotuspsychje> voldial: thats what we usualy see when usb sticks are borked, or not a right usb port
[17:46] <voldial> lotuspsychje: I dont see where a kernel module gets loaded... hand on I'll get a dmesg trace froma  system with the right driver for comparison
[17:46] <voldial> lotuspsychje: this is def a working device, I can control instruments with it on the exact same setup (except not ubuntu)
[17:47] <lotuspsychje> ok
[17:47] <lotuspsychje> if you tested this on 20.04 working and 22.04 not, i would file a bug voldial
[17:48] <lotuspsychje> that url you linked, mentions 18.04 and 20.04 kernels indeed
[17:49] <arraybolt3> Yeah, that would be a kernel regression, and likely a critical bug.
[17:49] <voldial> lotuspsychje: https://bpa.st/RY4Q
[17:50] <lotuspsychje> yeah /var/tmp/portage/sci-libs/linux-gpib-modules-4.3.4-r1/work/linux-gpib-kernel-4.3.4/drivers/gpib/ni_usb/ni_usb_gpib.c: ni_usb_hs_wait_for_ready: unexpected data: buffer[7]=0x4, expected 0x3 or 0x5 or 0x6 doesnt sound too good
[17:51] <voldial> what I dont yet understand is why there isnt a dev for linux-gpib, that bpaste shows the driver I am using in that other system, and it's from https://linux-gpib.sourceforge.io/
[17:52] <voldial> lotuspsychje: no that is normal, ignore, https://bpa.st/RY4Q is from the working system, the linux-gpib drivers have thrown that message for many years, it's just because I dont have any GPIB devices plugged into the dongle. totally normal.
[17:52] <lotuspsychje> voldial: ubuntu-bug linux (from your terminal) to start your bug, add a title + description/story
[17:53] <voldial> lotuspsychje: well, I will, but I want to search the existing bugs first, looking for where I can do that...?
[17:53] <lotuspsychje> voldial: https://bugs.launchpad.net/ubuntu/+source/linux
[17:54] <voldial> I have the .tar file, and I can compile the modules myself, I'm just scratching my head on why such a common driver package (linux-gpib) isnt in apt(?)
[17:54] <voldial> lotuspsychje: thanks, reading
[17:55] <lotuspsychje> voldial: apt-cache search gpib gives a few hits too
[17:55] <lotuspsychje> but not sure thats what you gonna need here
[17:57] <voldial> https://bpa.st/72SA is what I have on ubuntu 22.04LTS with the NI source enabled (and I dont see anyting from https://linux-gpib.sourceforge.io/)
[18:04] <lotuspsychje> voldial: ill be afk for a while, if you dont find your exotic device on launchpad bugs, file one yourself ok
[18:06] <voldial> lotuspsychje: 10-4 much appreciated, I'll paste the bug when I get enough info to file it
[18:18] <eN_Joy> I now have time to work on a question that I raised a few days ago, but had no time to fix. Here's my system: https://termbin.com/daqj Yes Ubuntu 22.04 on WSL! I recently upgraded my python 3.10 install, and I no long could install python3.10-venv, I get `E: Package 'python3.10-venv' has no installation candidate`
[18:18] <eN_Joy> anyone else experiences the issue?
[18:22] <leftyfb> eN_Joy: cat /etc/apt/sources.list | nc termbin.com 9999
[18:30] <eN_Joy> leftyfb: Was trying to recall your nick;-) here it is: https://termbin.com/hqfg6
[18:32] <eelstrebor> i just did a fresh install on the problem pc and apt still doesn't work
[18:33] <leftyfb> eN_Joy: you're missing some entries
[18:34] <leftyfb> eN_Joy: replace your /etc/apt/sources.list with this https://pastebin.ubuntu.com/p/5FfBXpNt5p/
[18:34] <OralPun> hi folks, I'm having issues with some kernel module... i think it's impossible to activate macsec without recompiling the kernel...
[18:35] <leftyfb> OralPun: install the linux-modules-extra package for your kernel
[18:36] <eN_Joy> leftyfb: Thanks a *bunch*!
[18:37] <eN_Joy> that did the trick and I am studying the difference in the two versions now
[18:38] <OralPun> leftyfb, which one? generic?
[18:38] <leftyfb> OralPun: if that is the kernel you have installed, yed
[18:38] <leftyfb> yes*
[18:40] <OralPun> leftyfb, that seems to have worked... you saved me hours xD
[18:40] <OralPun> thanks!
[18:41] <leftyfb> eN_Joy: for some reason you had all of universe removed
[18:42] <eN_Joy> ouch! can't recall...lol
[18:43] <voldial> where is vmlinux.xz on 22.04LTS? it's not under "ls /usr/lib/modules/$(uname -r)/vmlinux.xz"
[18:44] <voldial> oh, looks like I need the ddebs repo...
[18:46] <leftyfb> voldial: are you referring to the kernel which is in /boot/vmlinuz ?
[18:46] <voldial> leftyfb: no, it's something that can be extracted from that though: https://superuser.com/questions/62575/where-is-vmlinux-on-my-ubuntu-installation
[18:47] <leftyfb> voldial: that post is from 12 years ago
[18:47] <leftyfb> voldial: there is no vmlinux.xz in ubuntu
[18:47] <voldial> leftyfb: I know, creating it...
[18:48] <voldial> I think it's the linux-image-*dbg packages
[18:48] <leftyfb> it's not
[18:48] <leftyfb> voldial: there is no vmlinux.xz in ubuntu
[18:50] <voldial> leftyfb: ok, I want to compile a set of kernel modules (linux-gpib), and I'm getting the message "Skipping BTF generation for /home/user/linux-gpib-code/linux-gpib-kernel/drivers/gpib/gpio/gpib_bitbang.ko due to unavailability of vmlinux" diring `make` for each module, they seem to compile fine, so it may be a non issue... still working on it
[18:51] <voldial> from https://linux-gpib.sourceforge.io/
[18:52] <imi> in case of an ubuntu server am I able to unlock luks FDE remotely?
[18:53] <leftyfb> imi: yep, you could enable initramfs dropbear ssh, add your key and ssh in to unlock it
[18:54] <leftyfb> you would then need to manually boot your machine though
[18:54] <leftyfb> imi: https://www.cyberciti.biz/security/how-to-unlock-luks-using-dropbear-ssh-keys-remotely-in-linux/
[18:54] <imi> can I see a howto? what does manually booting mean?
[18:56] <leftyfb> imi: I could be wrong, maybe unlocking luks in the ssh session will just let the main boot process continue. Never done it myself
[18:57] <imi> how do I install server headlessly?
[18:58] <leftyfb> imi: that would be a loaded question for #ubuntu-server
[19:18] <xamindar> alright silly question, which package will restore /etc/profile and /etc/bashrc?
[19:18] <xamindar> "dpkg -S /etc/bashrc" returns nothing so that can't be correct
[19:19] <xamindar> looking online i find packages for "sysprofile" and "rear" but they both list the file somewhere under /usr/share
[19:20] <xamindar> something has got to have them. otherwise how else do they get installed?
[19:22] <oerheks> i think adduser or useradd?
[19:22] <Guest9> Hello, I just had an issue with my work laptop I attempted to fix myself. My .profile had a bad line in it, and on rebooting the shell would exit immediately every time I tried to login. I grabbed an Ubuntu USB, mounted my encrypted zfs volumes, fixed the error in the file, saved it, unmounted, and rebooted. After doing this, I get an error "failed
[19:22] <Guest9> to open key material file: no such file or directory" at boot, and I end up in initramfs
[19:23] <geirha> xamindar: the base-files package, I think
[19:24] <Macwinner> "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu
[19:24] <Macwinner> bionic/mongodb-org/4.2 multiverse"
[19:25] <Macwinner> Hi, i'm new to Ubuntu.. switching from Centos.. I was looking at some steps to install MongoDB 4.2 on focal.. But I see the steps point to a bionic repo.. is this completely wrong to do?
[19:25] <xamindar> @geirha thanks but looks like not: https://packages.ubuntu.com/jammy/amd64/base-files/filelist
[19:25] <geirha> xamindar: yeah, just grabbed the sources (apt source bash-files) and there's a postinst script that copies profile to /etc/profile if it doesn't already exist
[19:25] <xamindar> the equivelant package on rhel based seems to be "setup:
[19:25] <xamindar> "setup"
[19:25] <geirha> s/bash-files/base-files/
[19:26] <xamindar> @geirha dang ok, I need it to replace what's already there
[19:26] <geirha> it copies the ones from /usr/share/base-files/
[19:27] <xamindar> know if there is a way to force it to overwrite the file that is already there? I'm trying to force people to make files under /etc/profile.d/ etc
[19:29] <geirha> xamindar: *shrug*  cp /usr/share/base-files/profile /etc/profile   every night?
[19:30] <xamindar> lol i guess
[19:30] <xamindar> actually, yeah good point. the file is already there ill just copy it
[19:32] <geirha> couple it with a checksum check first, then tell cp to add backup-suffix (like .~1~), and you can somewhat easily spot when it has happened
[19:52] <scribe__> Hey guys.  Is there a recommended way to install a package to a private location and not interfere with the default install of that package on a box.  Specifically, this is for haproxy, which may or may not be running on a box.  We'd like to install "our" copy to root folder /opt/ourapp/ and not break any default haproxy install.  I've come across dpkg --instdir and dpkg-deb -x haproxy*.deb /opt/ourapp
[19:54] <sarnold> scribe__: those options are basically entirely untested and unlikely to work
[19:56] <sarnold> scribe__: I'd suggest either (a) looking for a snap for it or (b) consider building it from source yourself or (c) using dpkg-deb -x to unpack the binaries into a specific place and reading the maintainer scripts to figure out what additional steps make sense in the new location
[19:56] <oerheks> i just read the whole same issue in #debian
[19:56] <ioria> snap haproxy-lool
[19:56] <geirha> (d) docker
[20:01] <matsaman> scribe__: or jails, or lxc
[20:02] <sarnold> hah, I like those ideas more than dpkg-deb -x  :)
[20:02] <geirha> you should add some more options in-between there so you can land those on (j) and (l)
[20:02] <arraybolt3> Guest9: Knowing more info about what exactly you removed from that file may be helpful.
[20:03] <arraybolt3> Oh wait they're gone. :(
[20:12] <Some_Person> How do I get ubuntu to stop automatically adding printers? It is using a less than ideal PPD for my printer by default, and keeps reverting on its own when I try to change it. I can add it correctly if I set it up as a second printer, but that's stupid.
[20:14] <Some_Person> A lot of things online say to stop cups-browsed, but that does not work. The printer still gets re-added automatically if I remove it even with that service disabled
[20:14] <Some_Person> (and stopped, of course)
[20:28] <xamindar> what is the deal here? I deleted /etc/bash.bashrc as a test then ran "apt install --reinstall bash" which does NOT put the file back
[20:29] <xamindar> according to here, it has the file: https://packages.ubuntu.com/jammy/amd64/bash/filelist
[20:31] <sarnold> xamindar: dpkg thinks you want that config file gone, so it stays gone; you can ask for it back, https://askubuntu.com/a/67028/33812
[20:31] <sarnold> sudo apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss"  ...
[20:32] <xamindar> why/how does it think i want it gone? As far as it knows, the file is simply missing so i don't get how it would know that. There are no remnants of the file there to say it was deleted.....
[20:33] <xamindar> sarnold: thanks ill give that a read snd try
[20:34] <sarnold> xamindar: the fact that it's missing is how it knows :)
[20:35] <xamindar> lol
[20:36] <xamindar> i couldn't get it to replace a modified one so i tried deleting it. that didn't work either
[20:37] <xamindar> i would assume "reinstall" means to put it back as it was originally.....but meh
[20:59] <scribe_> @sarnold, @matsaman, Thank you for the idea.  dpk-gen -x has worked for me, but I fear it may not work on all boxes because of deb dependencies.  only unzipping the package will skip any dependency installations.
[21:00] <sarnold> scribe_: and now you're onthe hook for installing any updates on your own
[21:01] <scribe_> yep.
[21:01] <sarnold> scribe_: lxd kind of helps with that, dunno about the other choices
[22:26] <Manouchehri> https://gist.githubusercontent.com/Manouchehri/cf977f9e42c56971110e7477ac4eb5ca/raw/e39145a30883f3ab24bd80bb1b42d1d943320abe/gistfile1.txt
[22:27] <Manouchehri> How do I install this proposed package?
[22:29] <oerheks> just one package from proposed?
[22:29] <Manouchehri> yeah
[22:29] <oerheks> i hope that could work, i think you need to enable proposed entirely
[22:30] <Manouchehri> so my `/etc/apt/sources.list.d/ubuntu-jammy-proposed.list` contains:
[22:30] <Manouchehri> deb http://archive.ubuntu.com/ubuntu/ jammy-proposed restricted main multiverse universe
[22:34] <Manouchehri> ahhh i needed to do `sudo apt-get install libtss2-rc0`
[23:01] <jhutchins> Do you need a -t proposed ?
[23:29] <Mantisek> Anyone good with UEFI and efi boot entries?
[23:29] <EriC^^> Mantisek: what's up?
[23:29] <Mantisek> I keep trying to fix my boot entries but they keep coming back after a restart
[23:29] <Mantisek> 'archlinux' persists even after I nuke and pave
[23:30] <Mantisek> and I get the dreaded "default boot device missing or boot failed" screen
[23:30] <EriC^^> what are you trying to do ultimately
[23:30] <Mantisek> have been using an ubuntu live image to edit the entries, but after a restart they return
[23:30] <Mantisek> Boot into my linux OS. There are no other operating systems on this machine, I'm not trying to dual boot
[23:31] <EriC^^> maybe somehow the uefi is set to read-only?
[23:31] <Mantisek> I had installed arch ages ago and did *something* to the UEFI and now im trying to unbreak it
[23:31] <EriC^^> ok
[23:31] <Mantisek> That sounds right, how can I fix that?
[23:31] <EriC^^> Mantisek: an idea would be to use the entry to boot your current linux
[23:31] <Mantisek> That's what im trying to do
[23:32] <Mantisek> it doesn't show up as an option
[23:32] <EriC^^> i mean copy the .efi file of your actual linux you want to boot to arch's path in the uefi entry
[23:33] <EriC^^> (along with everything in the ubuntu dir including grub.cfg)
[23:34] <EriC^^> while keeping efi/ubuntu/* cause it might be needed
[23:34] <Mantisek> FTR it's kali, but kali people dont know what they're doing
[23:34] <EriC^^> FTR?
[23:34] <EriC^^> ah
[23:34] <Mantisek> for the record
[23:34] <EriC^^> for the record
[23:35] <EriC^^> no worries
[23:35] <Mantisek> and arch community would give me some overcomplicated solution or try to convince me to reinstall arch again
[23:36] <Mantisek> okay interestingly
[23:36] <Mantisek> when i do efibootmgr -v
[23:36] <arraybolt3> Mantisek: You may need to fiddle in your BIOS settings, perhaps the problem you're encountering isn't Arch's fault, but maybe something you changed in the UEFI BIOS itself. (A Customized Boot option perhaps?)
[23:36] <Mantisek> it shows archlinux in 'pciroot'
[23:36] <Mantisek> No it's not arch's fault
[23:36] <arraybolt3> I mean, maybe what you did to break it wasn't from within Arch Linux itself.
[23:36] <Mantisek> yes that's what im trying to figure out but im hitting knowledge gaps
[23:37] <EriC^^> did you change anything in the bios at any point in time?
[23:37] <Mantisek> i think the 'pciroot' is important here
[23:37] <EriC^^> or perhaps update it
[23:37] <Mantisek> because that's not a hard drive
[23:37] <Mantisek> and that entry persists
[23:37] <Mantisek> but other entries i delete wont
[23:37] <Mantisek> and it's the entry that's causing problems
[23:37] <Mantisek> so what is pciroot
[23:37] <EriC^^> Mantisek: type 'sudo efibootmgr -b | nc termbin.com 9999' and paste the link here
[23:37] <EriC^^> also mount your efi partition and run "ls -lR /path/to/mountpoint | nc termbin.com 9999" and paste here
[23:38] <Mantisek> wow that's a nice trick
[23:38] <EriC^^> along with "sudo blkid /dev/sdxY" replacing sdxY with your efi partition
[23:38] <Mantisek> hold on need to connect to network
[23:38] <EriC^^> i just need the PARTUUID from blkid's output
[23:38] <Mantisek> ugh i had the wifi password written down but ofcourse windows stealth updated last night and restarted
[23:40] <Mantisek> I think you meant -v not -b
[23:40] <Mantisek> -b selects a boot entry by hex
[23:40] <EriC^^> yes sorry
[23:40] <Mantisek> https://termbin.com/wc5c
[23:40] <EriC^^> yup typo'd
[23:41] <Mantisek> i dont mount often, what should i type'
[23:42] <EriC^^> Mantisek: type 'sudo parted -ls | nc termbin.com 9999' paste the link here
[23:42] <Mantisek> it's a standard install, sda1 is efi sda2 is linux filesystem and sda3 is swap
[23:43] <EriC^^> do you have only one hdd?
[23:43] <Mantisek> yes
[23:43] <Mantisek> there's sdb but that's the usb ofcourse
[23:43] <EriC^^> ok, type 'sudo blkid /dev/sda1' what's the partuuid?
[23:43] <Mantisek> https://termbin.com/77o44
[23:44] <Mantisek> UUID="D6133-5485"
[23:44] <EriC^^> PARTUUID not uuid
[23:45] <EriC^^> (partition uuid as opposed to fs uuid)
[23:45] <Mantisek> https://termbin.com/s2j4
[23:45] <EriC^^> Mantisek: ok, type 'sudo mount /dev/sda1 /mnt'
[23:45] <EriC^^> then 'ls -lR /mnt | nc termbin.com 9999'
[23:46] <Mantisek> https://termbin.com/5xtu
[23:51] <EriC^^> Mantisek: ok, so here's the deal, we have to change the partuuid of sda1 so it matches the old partuuid arch had if you're going to use that entry to get it booting
[23:51] <Mantisek> That seems like a bandaid, shouldn't we try to get a UEFI shell and fix this entry?
[23:52] <Mantisek> Especially considering it overwrites on reboot
[23:52] <Mantisek> but just that entry specifically
[23:52] <EriC^^> actually it doesnt look like it is overwriting
[23:52] <Mantisek> i can delete it
[23:52] <Mantisek> and it returns
[23:52] <EriC^^> did you add the latest kali entry after booting or it was there?
[23:53] <EriC^^> Mantisek: the problem is that the bootorder isnt right
[23:53] <Mantisek> the kali entry was not added after booting, it was installed like 6 reboot ago
[23:53] <Mantisek> No
[23:53] <Mantisek> I know about that
[23:53] <Mantisek> I have changed the bootorder many times
[23:53] <Mantisek> It returns to its incorrect state every time
[23:53] <EriC^^> Mantisek: i think you should be able to change it in the bios somewhere
[23:54] <EriC^^> which laptop/pc is it?
[23:54] <Mantisek> Aspire E5-575G
[23:54] <Mantisek> motherboard is Acer
[23:55] <EriC^^> ok, acer usually give you more boot options once you set the admin password in the bios
[23:55] <EriC^^> so try setting that, and see if you can find something related to the entries and changing their priority
[23:57] <Mantisek> i had to turn on secure boot
[23:57] <Mantisek> then get into secure boot settings and add kali as a trusted EFI entry
[23:58] <Mantisek> that actually fixed it I think
[23:58] <EriC^^> great
[23:58] <Mantisek> let me restart again to see if this isn't temporary
[23:58] <Mantisek> yeah that worked
[23:59] <Mantisek> that archlinux entry is still there
[23:59] <Mantisek> also i have two kali entries now
[23:59] <Mantisek> i really want to fix this as it's going to come up again
[23:59] <EriC^^> it should keep booting
[23:59] <EriC^^> not sure what you mean