=== M4he is now known as mahe === Guest6058 is now known as EriC^^ === funhouse_ is now known as Funhouse === Funhouse is now known as funhouse === Avago_Broadqual7 is now known as Avago_Broadqual [05:46] I get this error after installing a fresh install of kali, or pop_os! or ubuntu. Nothing seems to change it. [05:46] "Default Boot Device Missing or Boot Failed" [05:46] oddly enough 'archlinux' is one of the bootable options, even though I havent' used arch on this computer for over a year. [05:46] I've tried using boot-repair but didn't have any luck [05:47] here is my bootinfo just in case that helps https://paste.ubuntu.com/p/NCMx2SPXts/ [05:59] echo echo echo [06:00] I can't read that [06:01] Can't read what [06:01] your paste [06:01] It is probably irrelevant. I'm out of my depth on how MBR works, and I think that's the issue [06:02] because 'archlinux' keeps appearing as a boot option despite not using it for over a year [06:02] I probably did something in the custom install that did something that persists between complete formats of the hard drive [06:02] how did you install GRUB? [06:02] with arch? Don't remember, it was over a year ago [06:02] no, with these other installers. [06:02] after arch i was using pop_OS! [06:03] Oh, I used the auto installation process using default options, grub never came up on either [06:03] 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] did you choose to "nuke" the existing install with the installer's options? [06:04] Yeah [06:04] don't confuse EFI and MBR. [06:04] FTR, i have UEFI with secure boot disabled [06:04] that changes things. [06:05] I never really understood UEFI [06:06] I'm on an ubuntu live OS, is there any info you might find helpful? [06:08] I would follow the guide here https://askubuntu.com/questions/831216/how-can-i-reinstall-grub-to-the-efi-partition [06:09] ha was literally on that page [06:13] it's weird that arch is still on there. [06:13] the only way I can conceive of that happening is if you chose to install side-by-side [06:14] yeah i saw kali as one of the boot options too [06:14] idgi [06:14] yeah that didn't do anything [06:14] archlinux still there [06:15] yeah normally i can solve most linux problems myself but this one is completely confusing [06:15] how can all this persist between full installs? [06:17] do you care about your current install? [06:17] No not at all [06:17] you could nuke the GPT, but that's what the installer was supposed to do. [06:17] i know right [06:18] can we do this manually in a terminal? [06:18] well, you could also use fdisk. [06:18] god i wish these live OS didn't take a million years to boot [06:19] you probably have some experience with manual partitioning with arch. [06:21] i dont remember shit, but i'll wing it [06:21] that's the last thing you want. [06:22] here's a short guide for fdisk. https://linuxize.com/post/fdisk-command-in-linux/ [06:23] what you want is to create a new GPT table, assuming you still want UEFI. [06:23] i dont give a shit about UEFI [06:23] you can then immediately save, exit, and start the installer for your preferred OS. [06:23] What would stop me from just slapping it into legacy mode and skipping the headache [06:24] absolutely nothing. [06:24] I just formatted the ONLY hard drive with gparted [06:24] now I'm restarting to see if it still shows archlinux [06:25] formatting a hard drive doesn't mean you've cleared the GPT. [06:25] Yes. It's still there. HOW? [06:25] okay [06:25] don't "wing this shit". [06:26] pardon the language [06:26] I will forgive you in time. [06:26] :) [06:26] gonna go have a smoke while this live disk boots [06:27] im wondering if debian live disk would be a lot faster [06:27] find a USB3 port somewhere [06:27] old laptop, doesnt have one [06:27] then keep a spare USB with just GParted on it [06:27] don't you need the linux kernel in order to run it? [06:28] GParted keeps a LiveUSB. [06:28] https://gparted.org/liveusb.php [06:28] eh, same amount of time [06:28] to flash that onto a usb [06:29] than to just wait for the live disk to boot [06:29] are we still calling them live *disks* btw [06:29] nope [06:29] correct me [06:29] nope [06:29] >:C [06:30] fine, they are called insta-linux (just add usb) [06:31] how does an old laptop with no USB3 ports support UEFI? [06:36] it was an odd era of laptops [06:36] laptop is about 6 years old [06:36] 2016 and no usb3 ports? you're kidding me. [06:37] well they're blue ports im assuming that's USB2 [06:37] no, that's usb3 [06:37] ah well, there you go, still slow [06:37] it was the only laptop i could find at the time that had an ethernet port [06:37] that doesn't make any sense. should take no more than 20 secs. [06:37] is the usb key old? [06:37] no not really, i bought them in bulk on amazon [06:38] for cheap? [06:38] have one for kali, pop_os, tails, and just general storage [06:38] im a cheap bastard so likely [06:38] came in a pack, color coded [06:38] 256gb [06:38] oh, then you _really_ shouldn't be surprised at the slowness. [06:38] wait what? [06:38] 256 gb per stick? [06:39] That's a LOT [06:39] no wait that's not right [06:39] i'll know in a second [06:40] 30gb [06:40] dont know why i thought otherwise [06:40] i blame the wild turkey [06:40] that's still a lot. but if they were cheap, there's your slowness. [06:40] anyway, where are we? [06:40] fdisk [06:41] My USB's are slow too :sigh [06:41] sudo fdisk -l [06:41] did you get it up and running? [06:41] shows a /dev/sda [06:41] KINGSTON RBU-SNS [06:41] great, do "fdisk /dev/sda" [06:41] okay, in the prompt [06:41] ok, now tell me, are you in UEFI? [06:42] UEFI mode, that is [06:42] currently yes [06:42] ok [06:42] with safe mode disabled [06:42] you mean "secure boot" [06:42] right yeah [06:42] you should be at the Command (m for help) prompt, right? [06:42] yes [06:42] ok, press 'g', then Enter [06:43] "Created a ne wGPT disklabel (GUID: etc etc)" [06:43] great [06:43] you want swap? [06:44] I don't know, do I? I've always had swap but i dont know enough about it to have an opinion [06:44] most of my work is further up the OSI model, so this stuff i usually bumble through [06:45] we got 238gb to work with [06:45] ok, press 'n', then enter [06:45] k [06:45] '1', then enter [06:45] k [06:46] default? [06:46] yep [06:46] +256M, then enter [06:46] k [06:46] Do you want to remove the signature? [06:46] yep [06:46] The signature will be removed by a write command. [06:47] now press 'n', then enter [06:47] 2? [06:47] 2, then enter [06:47] default? [06:47] yep [06:47] kk [06:47] +4G, then enter [06:47] I presume that first partition will be our EFI? [06:47] yep [06:48] kk done [06:48] now press 't', then enter [06:48] presume 2? [06:48] yes [06:48] Type or alias? [06:48] type: 19, then hit enter. [06:48] Ah that's swap [06:48] yep [06:48] n again? [06:49] yep [06:49] 3, default [06:49] then default? [06:49] cause its 'the rest'? [06:49] yep, hit enter twice. [06:49] kk [06:49] finally, press 'w', then enter. [06:49] kk [06:49] fdisk finished [06:50] great. now go install your os. [06:50] wait. [06:50] waiting [06:50] let's format the partitions, first. [06:50] you should be in a bash prompt as root. [06:50] gparted? [06:51] oh okay, hold one [06:51] root [06:51] mkfs.vfat -F 32 /dev/sda1 [06:51] wait, maybe I should prepend these commands with something, this is dangerous. [06:52] well that one is done anyways [06:52] ok [06:52] # mkswap /dev/sda2 [06:52] I presume without the # [06:52] yep [06:52] done [06:52] # swapon /dev/sda2 [06:53] done [06:53] and finally, # mkfs.ext4 /dev/sda3 . [06:53] without the period at the end [06:53] working... [06:53] done [06:54] this is a Ubuntu LiveOS, right? [06:54] correct === QNX is now known as EnchanterTim [06:54] 22.04.2 LTS [06:54] try running the installer. [06:54] er, .1 [06:54] Running [06:55] Erase disk and install Ubuntu OR Something Else [06:55] Something Else ( You can create or resize partitions yourself, or choose mulitple partitions for Ubuntu ) [06:55] I'd keep the partition layout. all that hard work. [06:56] So, something else? [06:56] yeah [06:56] asks 'DEvice for boot loader installation:' [06:56] I'm assuming SDA1 [06:56] sda1* [06:57] no [06:57] /dev/sda [06:57] just SDA? [06:57] kk [06:57] 'Install now' grayed out [06:58] oh there it goes [06:58] you did map the mount points correctly, right? [06:58] 'No root file system is defined. please correct this from the partitioning menu' [06:58] I guess not [06:59] just following along with what you said [06:59] wish i could share my screen for you [07:00] wait, I'll load a vm, one sec. [07:02] i changed sda1 to 'EFI system partition', sda2 to 'swap area' and sda3 to 'ext4, mount point /' [07:03] I think you have to set the mount points this way [07:03] part of the same prompt [07:03] presumably, if i wanted to create more partititions for other top level directories, like /home, i could make a partition for that [07:04] I will wait for you to catch up, without a green light [07:05] that's exactly what I wanted [07:05] kk, proceeding [07:06] Installing [07:06] created sudo user, etc [07:07] watch it still have the same problem [07:07] i kinda feel like i did all this already through the automated process anyways [07:07] not discounting your ideas, it's important to go through the motions [07:13] restarting [07:14] Default Boot Device Missing or Boot Failed. [07:14] X( [07:14] archlinux still shown as an option [07:14] this isn't making any sense [07:14] Right? [07:15] maybe i can reset UEFI to factory default [07:15] do that [07:16] this is a lenovo thing [07:17] acer [07:17] Hello, I have 25G of ~/.xsession-errors. In particular, 156 million lines of the form [07:17] qt.core.qabstractitemmodel.checkindex: Index QModelIndex(...)) is not valid (expected valid) [07:18] What can I do about this error? [07:18] in the UEFI settings 'EFI File Boot 0: archlinux' is still there [07:19] yeah, this is definitely a bios issue [07:20] see if you can remove or reset those entries [07:20] is there a term for them? [07:20] will make googling easier [07:20] well, you could google the error [07:20] I did that first [07:20] before i came here [07:20] sir [07:23] i've been at this for 7 hours [07:25] are there any other entries beside the archlinux one [07:25] nah, waiting for the insta-linux to rehydrate hold on [07:25] there was some utility iw as using to look at those [07:25] was like Boot0001 -archlinux as a result or something [07:25] efibootmanager or something? [07:26] efibootmgr [07:26] more like efitbuttmanager [07:27] https://www.youtube.com/watch?v=WVqnfNheRj8 [07:29] https://hastebin.com/osiqakasot [07:29] noticed something? [07:29] yes, ofc [07:30] you know what to do, right? [07:30] watch this video? [07:30] I mean, beside that ... what to do with your entries [07:30] kill? [07:30] shoot head? [07:30] well, that's a bit harsh [07:30] notice the BootOrder and how ubuntu is nowhere to be found [07:31] yeah [07:31] wait [07:31] yeah it is [07:31] oh [07:31] the boot order [07:31] yeah what's up with that [07:31] I think it answers the question why you can't boot Ubuntu [07:33] there's also some cool examples here https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples [07:35] hmmz my bluetooth stopped working [07:35] delete the nonsense entries and explicitly set the boot order to include ubuntu [07:35] left the 'unknown device' alone [07:35] your call. but I'd make sure BootCurrent is set to 0000. [07:36] that worked! [07:36] weird. guess uefi has its own miniscule storage space [07:36] great. I'm happy it did. [07:36] Yeah thanks for your help and most importantly your patience [07:37] now what are insta-linux booty disk boys called [07:37] np [07:37] lol [07:37] "live images" will do just fine [07:37] see [07:37] i knew that [07:38] but second guessed myself [07:38] i do that a lot, almost always during interviews [07:38] but, see, now you can say you're an fdisk wizard [07:38] 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] Yes I am a linux expert not [07:39] now* [07:39] great typo. [07:41] im kinda kicking myself because i was super close to the solution about 3 hours ago [07:42] I had no idea this was even a thing [07:42] We both learned something today [07:42] absolutely [07:42] I learn the most about python by tutoring [07:43] now im wondering if you can store whatever you want in the UEFI [07:43] ah, I can already see the thumbs twiddling [07:44] even better if i can execute code from there [07:44] imagine [07:44] although this would require access to a machine that is already going to enable 10,000 easier ways to do this === fling_ is now known as fling [09:19] 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] does anyone know a workaround for the recent bluetooth faillure? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1859592 [09:28] Launchpad bug 1859592 in linux (Ubuntu) "Bluetooth unavailable after updates - Reading Intel version information failed (-110)" [Undecided, Confirmed] [09:29] ah wait it's working again, weird [09:30] magic :-) [10:08] 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] podeni, what are you trying to do? encrypt your backups? encrypt your mails? encrypt your hard drive? [10:32] 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] I saved it to my ~/.profile, sourced it etc... please, see the issue: https://pastebin.com/hYcmC2u0 [10:32] I'm sure I'm overlooking the obvious... ideas? Thanks! === fling_ is now known as fling [10:57] TomyWork encrypting individual files that I'll then back-up on AWS Glacier or a similar service. [11:05] SteelRose, try this in your ~/.ssh/config file: https://pastebin.com/FKkaPU1j [11:06] esv: that's too generalistic... not all remote hosts are to be accessed using the ubuntu@ user... [11:06] I solved it: https://pastebin.com/d6Su9qft [11:07] 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] you can tailor the argument to "Host" to match your requirements. [11:08] nothing wrong with a setup that works for your environment. [11:40] 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] 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] How can I resolve this? [11:42] it's only a guess, but during the installation I saw apache mentioned somewhere in the output. I can't be sure. [11:43] clarkk: ps aux | grep apt [11:43] kill or kill -9 if it's stubborn [11:43] then sudo apt-get -f install [11:44] it's not running, EriC^^ [11:44] no output from ps aux | grep apt? [11:45] yes [11:45] salam [11:45] try ps aux | grep dpkg [11:46] hi [11:46] hello === polve2 is now known as polve [11:46] 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] https://musiclab.chromeexperiments.com/Shared-Piano/#pN-ttynUz [11:46] seems apt is stable clarkk [11:47] try to remove the packages you wanted to remove [11:49] wow one-way flights from russia to dubai $5000 [11:49] oops wrong window [11:49] hahaha [11:49] I hate it when that happens [11:49] :D [11:52] 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] try 'apt-cache policy unison' [11:56] if it says phasing it'll work itself out eventually [11:56] EriC^^, ok, will do. Note that apt show -a shows the following: https://paste.debian.net/hidden/e5dc379d/ [11:58] EriC^^, apt-cache policy unison returned this https://paste.debian.net/plainh/49514532 [11:58] oh, wrong package. One mo [11:59] oki [11:59] EriC^^, https://paste.debian.net/plainh/c67bb61c [12:00] when I was installing pgadmin and saw that it was downloading from microsoft servers, I KNEW there would be problems!!! :/ [12:00] which ubuntu version is this? [12:00] 20.04 [12:00] !info libpango-1.0-0 focal [12:01] libpango-1.0-0 (1.44.7-2ubuntu4, focal): Layout and rendering of internationalized text. In component main, is optional. Built by pango1.0. Size 159 kB / 418 kB [12:01] !info libc6 [12:01] libc6 (2.35-0ubuntu3.1, jammy): GNU C Library: Shared libraries. In component main, is required. Built by glibc. Size 3,160 kB / 13,592 kB [12:01] hmm i wonder why it's not updating, seems the dependencies are all good [12:02] what happens if you do 'sudo apt install unison-gtk' ? [12:02] 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] unison's working fine [12:02] oh ok [12:02] But I cannot remove pgadmin4 [12:03] i see, gotcha [12:03] one moment. Maybe getting somewhere [12:07] 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] I'll use apt in future [12:08] EriC^^, thanks a lot for your guidance. Much appreciated [12:12] clarkk: great, glad you solved it! no problem === pong is now known as beaver [12:43] does anyone have expreience running ubuntu on gateway laptop? [12:45] Hi all [12:46] JoeBk: ask your specific question to the channel so volunteers can brainstorm along with you [12:51] I'm wondering if gateway would be brand of compter to consider if I was going to run ubuntu. [13:00] JoeBk: ubuntu installs on a lot of brands, but we cant generalize statements on the different hardware inside the machines [13:00] !hardware | JoeBk [13:00] JoeBk: For lists of supported hardware on Ubuntu see https://wiki.ubuntu.com/HardwareSupport - To help debugging and improving hardware detection, see https://wiki.ubuntu.com/DebuggingHardwareDetection [13:01] 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] 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] vista: think HWE for jammy will release in february, kernel 5.19 [13:13] 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] lotuspsychje: ach [13:14] don't suppose there's a backport of it already? :) [13:14] vista: https://9to5linux.com/looks-like-ubuntu-22-10-kinetic-kudu-will-be-powered-by-linux-kernel-5-19 [13:15] yeah... but 22.10 isn't LTS :P [13:15] read the bottom vista [13:18] lotuspsychje: thanks for pointing that bit out [13:18] welcome [13:34] hello [13:34] hello [13:34] . [13:34] . [13:34] . [13:34] . [13:35] hi misu! === y0sh- is now known as y0sh_ [13:52] 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] How do I install and use apt-file on Ubuntu 22.04 LTS ? [13:53] xq: did you run "apt update" first? [13:53] yes [13:54] 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] I'm not familiar with the default apt configuration on the live installer, sorry. [13:54] Another route is to search on packages.ubuntu.com which searches the same lists. [13:56] thanks, enabling 'universe' solves the issue [14:09] hello [14:09] what is this hexcat? [14:09] hi misu see topic [14:09] ? [14:10] 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] misu: You are currently in a chatroom for live Ubuntu tech support. [14:10] thanks [14:10] 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] (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] _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] 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] _apex2_: What graphics drivers are you using? [15:09] <_apex2_> i915 [15:11] _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] 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] No idea where wayland puts it. [15:29] hello [15:29] welcome Martinlopez85 [15:30] Seeking friends [15:30] online [15:30] !chat | Martinlopez85 [15:30] Martinlopez85: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [15:30] ok [15:30] Martinlopez85: see also !alis to find channels of your interest(s) [15:30] what is ubuntu can you explain me? [15:31] !alis [15:31] Alis is an IRC service to help you find channels. For help on using it, see «/msg Alis help list» or ask in #libera - Example usage: «/msg Alis list http» [15:31] !ubuntu | Martinlopez85 [15:31] Martinlopez85: Ubuntu is a complete Linux-based operating system, freely available with both community and professional support. It is developed by a large community and we invite you to participate too! - Also see http://www.ubuntu.com [15:31] thanks then it is an open source linux program [15:32] not really [15:32] time to hack it [15:32] ogra gayç [15:32] gay [15:33] it is an operating system ... like MacOS or Windows ... not just a "program" [15:33] ok [15:33] you are stupid [15:33] very stupid [15:33] Martinlopez85: could you not go from channel to channel trolling, please? [15:34] 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] ooooohhhhhhhh [15:34] to your house [15:35] ogra: ? [15:35] on it ... (i dod this rarely, need to look up the runes 😛 ) [15:36] 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] Martinlopez85: this channel is for ubuntu support only, please stop random chitchat [15:36] lotuspsychje ok [15:36] sorry [15:37] lotuspsychje: dont worry, I got it. [15:39] A_Dragon, thanks ... our wikipages are completely outdated (i am OP but the commands in all our docs do not work !) [15:40] oh, which did you try? [15:40] /msg ChanServ op #ubuntu ogra [15:40] that should work [15:40] (and without capitals) [15:40] try without your nick at the end? [15:40] /msg ChanServ op #ubuntu [15:40] heh [15:40] sorry [15:40] yeah like that, but without the space :P [15:40] yeah [15:40] doesnt work either [15:41] do you get a response from chanserv? [15:41] ah you're not logged into your account [15:41] yes, "not authorized" (which isnt true ... ) [15:41] its true, think similar to anon access vs logged in access [15:41] how can that be ... it should change my nick to some Guest thingie then [15:41] you're currently on anon [15:41] hrm [15:42] did you configure enforcement? [15:42] i didnt ... but i'd expect libera to do that [15:42] 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] spammer [15:42] (freenode used to ... and i kind of rely on seeing my nich change to see i'm not authed) [15:42] to do so, once you're logged in, /msg NickServ set ENFORCE ON [15:42] and /msg NickServ SET ENFORCETIME 1 [15:42] thx [15:42] you should also configure sasl in your client [15:42] i guess we should take it elsewhere though 🙂 [15:43] Oski146, sorry [15:43] :) [15:43] i only saw the a dragon name thought we get flooeded [15:44] oh I can flood you if you'd like :P [15:44] lol [15:44] lool [15:44] Oski146, well, but you are correct, we are usually very strict about non support chatter in here ... [15:45] anyway, enforce time set and enforcement enabled ... now i should see when not logged in ... [15:45] for next time 🙂 [16:00] 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] !alis | raver [16:03] raver: Alis is an IRC service to help you find channels. For help on using it, see «/msg Alis help list» or ask in #libera - Example usage: «/msg Alis list http» [16:04] i think there is an ubports channel (though i think they perfer telegarm) [16:04] (ubuntu touc -> ubports nowadays) [16:04] *tough [16:04] bah [16:04] *touch [16:05] ogra: thx [16:27] 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] eelstrebor: please pastebin the errors you are running into [16:29] eelstrebor: Packages being held back? [16:30] https://pastebin.com/s174tGm9 [16:30] 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] arraybolt3, it's not a held back package issue [16:31] nope, thats clearly some netwrk thing [16:31] ogra: No clue how to make factoids. :) [16:31] (Also, I still need to update the Wiki...) [16:31] arraybolt3, hah, me neither ... but someone who drives ubottu will know [16:31] eelstrebor: can you: ping security.ubuntu.com [16:32] leftyfb, yes [16:33] eelstrebor: you have another pc on the same network running ubuntu 22.04 that doesn't have the same issue? [16:33] oh [16:33] eelstrebor: check your time/date/timezone of said machine [16:33] yes. all other pc's running 22.04 are working [16:33] Wed Sep 28 10:33:39 AM MDT 2022 is correct [16:34] eelstrebor: is this machine on ipv6? [16:34] no [16:35] 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] 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] leftyfb, didn't fix the problem [16:44] i did a do-release-upgrade on all the pc's but one isn't updating packages [16:48] eelstrebor, do-release-upgrade ? are yu attempting to go to 22.10-beta ? [16:49] no [16:50] then better do not run that 🙂 [16:50] when i was running 20.04 i did the do-release-upgrade to get to 22.04 [16:51] so you only ran it once ? (that wasnt actually clear above with your alst line) [16:51] *last line [16:52] and there were no errors on that PC with do-release-upgrade when you ran it [16:52] ? [16:52] i found this error in syslog though https://pastebin.com/V4zE4k5V [16:53] eelstrebor: how about you share your whole dmesg too please [16:53] yeah, single lines often enough lack context [16:54] whois is not installed [16:54] oops, you said whole dmesg [16:55] dmesg has a lot of output [16:55] just pipe it to termbin [16:56] like: sudo dmesg | nc termbin.com 9999 [16:57] ogra: Wow that's neat [16:58] https://pastebin.com/Gd6QytjR [16:59] * eelstrebor wishes he knew every linux command [17:00] https://termbin.com/17mf [17:01] hmm. looks all pretty normal [17:03] yeah a few acpi's and nvidia acting up a bit [17:03] but i dont see network related neither [17:05] eelstrebor: can you paste; sudo lshw -C network too please [17:08] 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] https://pastebin.com/M1sAtgFi [17:08] something like that would sound logic indeed ogra [17:09] (but i'm wildly guessing 🙂 ) [17:09] 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] eelstrebor: do you still have older kernels in your list you could test (to rule out its realtek/kernel related) [17:12] hi, can I somehow do a headless x86 install? does the installer have an open ssh port? can I install over ssh? [17:12] bblinky: ufw allow 12345 to allow port 12345 [17:15] lotuspsychje, yes [17:15] elwisp: I did ufw allow 12345/udp .. Will try to open tcp too [17:15] bblinky: the dht port is probably a different one however [17:15] that was just an example [17:15] eelstrebor: could you try booting an older one, see if you can reproduce? [17:16] elwisp: :) [17:18] bblinky: check your rtorrent config. It should be in there https://wiki.archlinux.org/title/RTorrent#Configuration [17:18] section 2.4 [17:19] lotuspsychje, same problem with older kernel (5.14) [17:20] elwisp: do you know if ubuntu hosts their torrents as tracker based or DHT? [17:20] ok tnx for testing, then maybe its gonna be something like ogra stated, getting messed during upgrade eelstrebor [17:21] eelstrebor: another idea could be testing from a new user, or see if you can force updates in a recoverymode [17:31] elwisp: hey, thanks for the answer... Turns out that it's probably just the torrent that's dead [17:31] Rip arch torrenting... [17:32] 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] 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] 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] 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] 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] lotuspsychje: sure one sec, basically USB enumerates, but no driver is attempted to be loaded. [17:37] voldial: was it a clean install or an upgrade to 22.04? [17:37] lotuspsychje: https://bpa.st/T4CA [17:37] lotuspsychje: clean install [17:38] voldial: did you try other usb ports too? [17:39] 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] 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] voldial: pastebin; sudo lshw -C network too please (with dongle plugged) [17:41] lotuspsychje: https://bpa.st/Y2WA (noting interesting, just the virtio network driver there) [17:43] lotuspsychje: https://bpa.st/PBIA (lsusb shows the device) [17:44] hmm weird [17:45] voldial: seems like module gets loaded, but your journal gives bus: 1, device: 5 was not an MTP device [17:46] voldial: thats what we usualy see when usb sticks are borked, or not a right usb port [17:46] 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] lotuspsychje: this is def a working device, I can control instruments with it on the exact same setup (except not ubuntu) [17:47] ok [17:47] if you tested this on 20.04 working and 22.04 not, i would file a bug voldial [17:48] that url you linked, mentions 18.04 and 20.04 kernels indeed [17:49] Yeah, that would be a kernel regression, and likely a critical bug. [17:49] lotuspsychje: https://bpa.st/RY4Q [17:50] 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] 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] 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] voldial: ubuntu-bug linux (from your terminal) to start your bug, add a title + description/story [17:53] lotuspsychje: well, I will, but I want to search the existing bugs first, looking for where I can do that...? [17:53] voldial: https://bugs.launchpad.net/ubuntu/+source/linux [17:54] 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] lotuspsychje: thanks, reading [17:55] voldial: apt-cache search gpib gives a few hits too [17:55] but not sure thats what you gonna need here [17:57] 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] voldial: ill be afk for a while, if you dont find your exotic device on launchpad bugs, file one yourself ok [18:06] lotuspsychje: 10-4 much appreciated, I'll paste the bug when I get enough info to file it [18:18] 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] anyone else experiences the issue? [18:22] eN_Joy: cat /etc/apt/sources.list | nc termbin.com 9999 [18:30] leftyfb: Was trying to recall your nick;-) here it is: https://termbin.com/hqfg6 [18:32] i just did a fresh install on the problem pc and apt still doesn't work [18:33] eN_Joy: you're missing some entries [18:34] eN_Joy: replace your /etc/apt/sources.list with this https://pastebin.ubuntu.com/p/5FfBXpNt5p/ [18:34] hi folks, I'm having issues with some kernel module... i think it's impossible to activate macsec without recompiling the kernel... [18:35] OralPun: install the linux-modules-extra package for your kernel [18:36] leftyfb: Thanks a *bunch*! [18:37] that did the trick and I am studying the difference in the two versions now [18:38] leftyfb, which one? generic? [18:38] OralPun: if that is the kernel you have installed, yed [18:38] yes* [18:40] leftyfb, that seems to have worked... you saved me hours xD [18:40] thanks! [18:41] eN_Joy: for some reason you had all of universe removed [18:42] ouch! can't recall...lol [18:43] where is vmlinux.xz on 22.04LTS? it's not under "ls /usr/lib/modules/$(uname -r)/vmlinux.xz" [18:44] oh, looks like I need the ddebs repo... [18:46] voldial: are you referring to the kernel which is in /boot/vmlinuz ? [18:46] 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] voldial: that post is from 12 years ago [18:47] voldial: there is no vmlinux.xz in ubuntu [18:47] leftyfb: I know, creating it... [18:48] I think it's the linux-image-*dbg packages [18:48] it's not [18:48] voldial: there is no vmlinux.xz in ubuntu [18:50] 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] from https://linux-gpib.sourceforge.io/ [18:52] in case of an ubuntu server am I able to unlock luks FDE remotely? [18:53] imi: yep, you could enable initramfs dropbear ssh, add your key and ssh in to unlock it [18:54] you would then need to manually boot your machine though [18:54] imi: https://www.cyberciti.biz/security/how-to-unlock-luks-using-dropbear-ssh-keys-remotely-in-linux/ [18:54] can I see a howto? what does manually booting mean? [18:56] 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] how do I install server headlessly? [18:58] imi: that would be a loaded question for #ubuntu-server [19:18] alright silly question, which package will restore /etc/profile and /etc/bashrc? [19:18] "dpkg -S /etc/bashrc" returns nothing so that can't be correct [19:19] looking online i find packages for "sysprofile" and "rear" but they both list the file somewhere under /usr/share [19:20] something has got to have them. otherwise how else do they get installed? [19:22] i think adduser or useradd? [19:22] 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] to open key material file: no such file or directory" at boot, and I end up in initramfs [19:23] xamindar: the base-files package, I think [19:24] "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu [19:24] bionic/mongodb-org/4.2 multiverse" [19:25] 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] @geirha thanks but looks like not: https://packages.ubuntu.com/jammy/amd64/base-files/filelist [19:25] 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] the equivelant package on rhel based seems to be "setup: [19:25] "setup" [19:25] s/bash-files/base-files/ [19:26] @geirha dang ok, I need it to replace what's already there [19:26] it copies the ones from /usr/share/base-files/ [19:27] 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] xamindar: *shrug* cp /usr/share/base-files/profile /etc/profile every night? [19:30] lol i guess [19:30] actually, yeah good point. the file is already there ill just copy it [19:32] 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] 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] scribe__: those options are basically entirely untested and unlikely to work [19:56] 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] i just read the whole same issue in #debian [19:56] snap haproxy-lool [19:56] (d) docker [20:01] scribe__: or jails, or lxc [20:02] hah, I like those ideas more than dpkg-deb -x :) [20:02] you should add some more options in-between there so you can land those on (j) and (l) [20:02] Guest9: Knowing more info about what exactly you removed from that file may be helpful. [20:03] Oh wait they're gone. :( [20:12] 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] 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] (and stopped, of course) [20:28] 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] according to here, it has the file: https://packages.ubuntu.com/jammy/amd64/bash/filelist [20:31] 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] sudo apt install --reinstall -o Dpkg::Options::="--force-confask,confnew,confmiss" ... [20:32] 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] sarnold: thanks ill give that a read snd try [20:34] xamindar: the fact that it's missing is how it knows :) [20:35] lol [20:36] i couldn't get it to replace a modified one so i tried deleting it. that didn't work either [20:37] i would assume "reinstall" means to put it back as it was originally.....but meh [20:59] @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] scribe_: and now you're onthe hook for installing any updates on your own [21:01] yep. [21:01] scribe_: lxd kind of helps with that, dunno about the other choices [22:26] https://gist.githubusercontent.com/Manouchehri/cf977f9e42c56971110e7477ac4eb5ca/raw/e39145a30883f3ab24bd80bb1b42d1d943320abe/gistfile1.txt [22:27] How do I install this proposed package? [22:29] just one package from proposed? [22:29] yeah [22:29] i hope that could work, i think you need to enable proposed entirely [22:30] so my `/etc/apt/sources.list.d/ubuntu-jammy-proposed.list` contains: [22:30] deb http://archive.ubuntu.com/ubuntu/ jammy-proposed restricted main multiverse universe [22:34] ahhh i needed to do `sudo apt-get install libtss2-rc0` [23:01] Do you need a -t proposed ? [23:29] Anyone good with UEFI and efi boot entries? [23:29] Mantisek: what's up? [23:29] I keep trying to fix my boot entries but they keep coming back after a restart [23:29] 'archlinux' persists even after I nuke and pave [23:30] and I get the dreaded "default boot device missing or boot failed" screen [23:30] what are you trying to do ultimately [23:30] have been using an ubuntu live image to edit the entries, but after a restart they return [23:30] Boot into my linux OS. There are no other operating systems on this machine, I'm not trying to dual boot [23:31] maybe somehow the uefi is set to read-only? [23:31] I had installed arch ages ago and did *something* to the UEFI and now im trying to unbreak it [23:31] ok [23:31] That sounds right, how can I fix that? [23:31] Mantisek: an idea would be to use the entry to boot your current linux [23:31] That's what im trying to do [23:32] it doesn't show up as an option [23:32] i mean copy the .efi file of your actual linux you want to boot to arch's path in the uefi entry [23:33] (along with everything in the ubuntu dir including grub.cfg) [23:34] while keeping efi/ubuntu/* cause it might be needed [23:34] FTR it's kali, but kali people dont know what they're doing [23:34] FTR? [23:34] ah [23:34] for the record [23:34] for the record [23:35] no worries [23:35] and arch community would give me some overcomplicated solution or try to convince me to reinstall arch again [23:36] okay interestingly [23:36] when i do efibootmgr -v [23:36] 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] it shows archlinux in 'pciroot' [23:36] No it's not arch's fault [23:36] I mean, maybe what you did to break it wasn't from within Arch Linux itself. [23:36] yes that's what im trying to figure out but im hitting knowledge gaps [23:37] did you change anything in the bios at any point in time? [23:37] i think the 'pciroot' is important here [23:37] or perhaps update it [23:37] because that's not a hard drive [23:37] and that entry persists [23:37] but other entries i delete wont [23:37] and it's the entry that's causing problems [23:37] so what is pciroot [23:37] Mantisek: type 'sudo efibootmgr -b | nc termbin.com 9999' and paste the link here [23:37] also mount your efi partition and run "ls -lR /path/to/mountpoint | nc termbin.com 9999" and paste here [23:38] wow that's a nice trick [23:38] along with "sudo blkid /dev/sdxY" replacing sdxY with your efi partition [23:38] hold on need to connect to network [23:38] i just need the PARTUUID from blkid's output [23:38] ugh i had the wifi password written down but ofcourse windows stealth updated last night and restarted === Ricardus is now known as Ricardus_Apt [23:40] I think you meant -v not -b [23:40] -b selects a boot entry by hex [23:40] yes sorry [23:40] https://termbin.com/wc5c [23:40] yup typo'd [23:41] i dont mount often, what should i type' [23:42] Mantisek: type 'sudo parted -ls | nc termbin.com 9999' paste the link here [23:42] it's a standard install, sda1 is efi sda2 is linux filesystem and sda3 is swap [23:43] do you have only one hdd? [23:43] yes [23:43] there's sdb but that's the usb ofcourse [23:43] ok, type 'sudo blkid /dev/sda1' what's the partuuid? [23:43] https://termbin.com/77o44 [23:44] UUID="D6133-5485" [23:44] PARTUUID not uuid [23:45] (partition uuid as opposed to fs uuid) [23:45] https://termbin.com/s2j4 [23:45] Mantisek: ok, type 'sudo mount /dev/sda1 /mnt' [23:45] then 'ls -lR /mnt | nc termbin.com 9999' [23:46] https://termbin.com/5xtu [23:51] 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] That seems like a bandaid, shouldn't we try to get a UEFI shell and fix this entry? [23:52] Especially considering it overwrites on reboot [23:52] but just that entry specifically [23:52] actually it doesnt look like it is overwriting [23:52] i can delete it [23:52] and it returns [23:52] did you add the latest kali entry after booting or it was there? [23:53] Mantisek: the problem is that the bootorder isnt right [23:53] the kali entry was not added after booting, it was installed like 6 reboot ago [23:53] No [23:53] I know about that [23:53] I have changed the bootorder many times [23:53] It returns to its incorrect state every time [23:53] Mantisek: i think you should be able to change it in the bios somewhere [23:54] which laptop/pc is it? [23:54] Aspire E5-575G [23:54] motherboard is Acer [23:55] ok, acer usually give you more boot options once you set the admin password in the bios [23:55] so try setting that, and see if you can find something related to the entries and changing their priority [23:57] i had to turn on secure boot [23:57] then get into secure boot settings and add kali as a trusted EFI entry [23:58] that actually fixed it I think [23:58] great [23:58] let me restart again to see if this isn't temporary [23:58] yeah that worked [23:59] that archlinux entry is still there [23:59] also i have two kali entries now [23:59] i really want to fix this as it's going to come up again [23:59] it should keep booting [23:59] not sure what you mean