[00:00] Hehe, well, it's hard to bypass the network, CLI still works fine. [00:00] It's OK if no one's got an answer, I guess. I kinda painted myself into a corner building this install manually. [00:01] But I was hoping someone had an idea [00:01] Animortis: define "manually" [00:01] and while you're at it, define "building", too [00:02] I generally just use binary for everything, it seems to work [00:02] Can I post a youtube link to a video I made about the process? :D [00:02] MinusSeven: quick tip: don't use ftp [00:02] i don't anymore [00:02] Animortis: maybe just a quick synopsis [00:02] I used debootstrap to install [00:02] tl;dr [00:03] Animortis: why? [00:03] Customization benefits. Easier. Wanted to. [00:03] sounds easier [00:03] good luck [00:03] It doesn't usually give me problems on other Linuxes, but Ubuntu doesn't work with NetworkManager after [00:03] It's easier for customization, I guess [00:04] yes it sounds very easy :) [00:04] Animortis: did you install one of the meta packages, ubuntu-server or -desktop? [00:04] tomreyn: that would undo all of their customizations [00:05] if customization is just about which packages are installed, then i guess i can still support a debootstrap installation. [00:05] but, yes, we don't know [00:07] Yeah basically. ubuntu-desktop would just pour on a ton of added apps. [00:07] Like by default, I can run Ubuntu with snaps. [00:07] Animortis: what kind of customizations are we talking about? and did you make customizations that could have affected systemd, network manager, flatpaks? [00:07] without snaps* [00:07] the horror [00:08] I'd need to replace them with flatpaks, probably, but they don't get internet [00:08] Systemd seems OK. I manually installed NetworkManager because it isn't included by default when you put in the kernel, but it just won't symlink... [00:09] Fedora, Debian, Suse have no issue. I almost wonder if it's coertion to use snaps. [00:09] So I was hoping there might be an Ubuntu expert with an idea? :X [00:10] it's basically impossible to support yo if we don't know what kind of frankenbuntu you have built there [00:10] That's fair [00:10] Though I am using default repos for everything [00:10] especially since nm is not necessary for flatpaks [00:11] Hmm. Yeah that was just a theory. [00:12] default repo's for everything, except the apps/services that are flatpak [00:12] I made a minimal ubuntu, but I did it the other way... install ubuntu server iso, remove a few extra packages, then install just what you want. At least then things just work automatic. And working system with 850 packages. [00:14] Yeah. Like there's a vanilla-gnome-desktop metapackage but it has stuff like transmission, libreoffice....gnome-maps... Lots of junk... [00:14] * enigma9o7[m] uploaded an image: (433KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/BRUrPNfzetSBDcXhjETltRpk/Screenshot%20from%202022-06-06%2017-14-06.png > [00:15] I mean, I'm doing all this on a gnome desktop with 3d acceleration [00:15] I just can't get NetworkManager [00:15] Animortis: you know none of those take any resouces unless you run them right? Maybe a few hundred MB [00:17] I assume you trierd just installing nm-tray? [00:18] Just reinstalled. Nada. [00:18] enigma9o7[m]: (not that you'll see this, but) nm-tray is not installed on ubuntu by default [00:18] !info nm-tray | enigma9o7[m] nm-tray is not installed by default [00:18] enigma9o7[m] nm-tray is not installed by default: nm-tray (0.4.3-2ubuntu1, jammy): Simple Network Manager frontend written in Qt. In component universe, is optional. Built by nm-tray. Size 89 kB / 370 kB [00:19] Hmm. Interesting. [00:19] If its optional, gnome probably has something built in now. [00:19] So if you're using gnome, remove nm-tray. [00:20] If I've checked out an older commit, how do I make that the "master" version? [00:20] trafficjam: I think you want #git [00:20] git is complicated [00:21] You know what's kinda shocking, ubuntu-desktop-gnome has less crap in it than vanilla-gnome-desktop [00:21] network-manager-gnome is (and i think always was?) what provides the NM GUI on Gnome. [00:21] I feel like that used to be the other way around. [00:21] Animortis: lets stay on topic [00:21] I am I'm gonna try it and see if it works [00:22] leftyfb: Not sure if you remember our conversation, but FYI, connection hasn't dropped since setting the static with network manager, and the activity icon is showing activity as expected. [00:22] WaV: try DHCP now [00:22] Nevermind, it's full of junk after all. Crap. [00:22] And didn't fix NetworkManager. [00:24] Guess it's just dhcpcd5 for now [00:25] leftyfb: Well I originally stuck with DHCP when I installed, but it was randomly deactivating the ethernet for whatever reason. I would have to go in the gui every so often and move the slider over to "enabled". [00:26] I can paste a snippet of what the journal says when this happens. [00:26] Let me search back [00:26] WaV: right, I'm suggesting putting it back to DHCP and see if you run into the issue again and if you do, to come here so we can help you troubleshoot [00:26] WaV: please don't post logs from before you completely upended your networking stack. They won't do us any good [00:27] leftyfb: the log is from a fresh install (using dhcp). still no good? [00:28] leftyfb: I installed the 20th and the log is from the 25th [00:28] WaV: even more reason not to, unless you want to re-install from scratch so you can get back to the same state as what the logs show [00:29] WaV: lets only troubleshoot from the state you're in now, not one you're unlikely to get back to [00:29] 10-4 [00:29] leftyfb: DHCP set. [00:33] Cheers and ty [01:06] Hello, i am trying to ssh to another server, but it keeps telling me it is unable to negotiate - no matching key type found. [01:06] How can I resolve this? [01:17] xrandr: there's some hints on https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1961833 for how to debug cryptographic algorithm mismatches [01:17] Launchpad bug 1961833 in openssh (Ubuntu) "openssh 8.8 breaks login to Canonical servers" [Undecided, Won't Fix] [01:28] what package provides fallocate? [01:28] seems mine is broken [01:29] nm [01:29] util-linux [01:33] they really have to eliminate i (eye) and L (EL) switches or do something about the fonts in the terminal [01:39] transhumanist: poke through https://www.programmingfonts.org/ or any of the dozen other similar tools to find something you like more? [02:29] Is there a way to verify what the actual filesystem on a device is? Not just the label assigned by the partition table, but the actual filesystem. [02:34] jhutchins maybe /proc/partitions but I'm not sure if that is also pulled from the partition table. Though honestly, why would you have a partition table that doesn't match what the filesystem is? [02:36] jhutchins: sudo file -sL /dev/sda1 [02:37] leftyfb: Says it's a boot sector. It has 117G of data on it that mounts as exfat. [02:39] jhutchins: got exfatprogs installed? [02:39] oh, I guess if you mounted it [02:39] not sure [02:40] leftyfb: Suggestions from exfatprogs? The devices aren't mounted. [03:00] I'm pretty sure what I have is an exfat trying to write to a vfat, and one of the files is too big for vfat -- after four hours of work. === five615 is now known as five61 [04:03] What are some reasons that /var/log/apt/history.log and /var/log/apt/term.log would be empty (size 0)? All the .gz files in that directory have content, and I have installed packages since history.log.1.gz and term.log.1.gz were modified. === wildmanne39 is now known as Guest6559 === SirScott6 is now known as SirScott === phireant363813 is now known as phireant36381 === zakalwe` is now known as zakalwe === shokohsc5 is now known as shokohsc === anzer2 is now known as anzer === manfromafar0 is now known as manfromafar === RaimondR- is now known as RaimondRaj === freakyy855 is now known as freakyy85 === GrantN05- is now known as GrantN05 === B1773rm4n6 is now known as B1773rm4n === not_phunyguy is now known as phunyguy [04:18] Maybe I'm wrong. I found the group of packages I was looking for in history.log.1.gz; apparently it was longer ago than I thought. [04:24] Can you help me instaling signal? https://www.signal.org/download/linux/ --- I did but in the terminal some things said packages not found. When I tried to run the keyring .. there was a problem.. file has some invalid chats.. it isnt an alpha file at all. Confusion rains down. [04:24] fgdit gave me that erro message. [04:24] gedit [04:25] that looks fairly straightforward. [04:25] other than you're likely not using xenial [04:26] but maybe works as is [04:27] There aer only the same instructions under troubleshoting - near the end of this page. https://support.signal.org/hc/en-us/articles/360007211952-Troubleshooting-Installs-or-Updates [04:28] If you want help here you'll have to share a paste of your own results. [04:28] re signal install: this line confused me. Some users will need to unset /tmp as noexec. [04:28] 20.04 [04:30] there's 4 lines you gotta copy and paste into terminal one at a time, if any one of them fails dont go on to the next one, instead share results here. [04:30] From that first link you provided. [05:51] Hi, I have an ubuntu 20.04 installed on a disk, which was restored - bare metal, partitions are fine and cand be mounted using live cd, but the system doesn't boot, I am trying grub-install /dev/sda using a live cd and I get: grub-install failed to get canonical path 'none' how can I resolve this [05:51] can* [05:52] Daniel: Did you mount the installed root and then chrooted into it? [05:52] TechMonk: I missed it, let me try now, system is booting again on live cd [05:53] Daniel: did you also mount your /proc /dev /sys in your mount before chrooting? [05:54] https://help.ubuntu.com/community/Grub2/Installing#via_the_LiveCD_terminal [06:04] TechMonk: done that now, but when I grub-install now I get: grub-install failed to get canonical path '/dev/sda2' - I have /dev/sda1 swap, /dev/sda2 boot and /dev/sda3 / [06:04] I mounted them on chroot === diskin is now known as Guest7734 === diskin_ is now known as diskin [06:20] sorry, missed some mounts, works now, fixed it, thanks === realivanjx9 is now known as realivanjx === realivanjx7 is now known as realivanjx === scoobydoo_ is now known as scoobydoo [07:18] * wanwan what's niggga [07:18] * wanwan i mean how are ya all [07:22] * wanwan hey yah all [ 0day (xc) Our ] Team Lead here , any question you wanna ask just ask [07:24] how is that even after kernel mouse driver is loaded [07:24] in dmesg [07:24] if it is detected is not wrong ubuntu ? [07:24] is that kernel problem [07:24] or they are retarded ? [07:24] they already put in group [07:24] anyway [07:24] :p [07:26] that was fast... [08:02] and confusing [08:07] thats's what she said [08:38] I want to connec to an Azure Point to Site VPN from my ubuntu. In the VPN settings only P2P is supported. Is there a UI friendly tool to help manage that? What would be the easiest way? === SteelRose_ is now known as SteelRose [10:54] Hi, anyone has setup Bind with chroot jail? Any decent guide which you can recommend me? [10:56] !crosspost | technohead [10:56] technohead: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [10:57] ok sorry [11:11] are there any explicit mirrors of ddebs.ubuntu.com? [11:12] currently running into the problem that the focal-updates repo is broken and I wanted to try another mirror [11:29] repo just got fixed, never mind === MrGeneral_ is now known as MrGeneral [12:13] Hi all [12:26] There are no plans to remove PPAs are there? Because I find them to be more useful than snaps or flatpaks for ubuntu packages. [12:28] rockosocko: i doubt it. ubuntu devs use them for testing as well [12:29] Thank goodness. [12:30] i don't think deb packages are going away quite yet, and then neither will ppas [12:30] even if they shut down ppa.launchpad.net they can be hosted elsewhere [12:31] there's no real way to prevent users adding repositories [12:32] so i think you can sleep well at night, rockosocko :) [12:32] Thanks ducasse. :D [12:33] np [12:33] Also. When should I be using ubuntu 22.04 rather than 20.04 or even 18.04? [12:34] Good lord, 14.04 has extended support till mid 2024. [12:35] paid though [12:35] Is 18.04 paid only? [12:36] from april 2023 it will be paid only [12:37] who wants such old version, you must have a reason to do so.. [12:38] I know there's a bug with flatpak addons in GNOME store displaying twice for each addon. Will Ubuntu 22.04.1 fix that bug if such a fix is made available upstream? [12:39] rockosocko, no, as we do not support flatpak standard we do snaps [12:39] Wait. You mean the gnome store in regular ubuntu has no support for flatpak? [12:39] you can install flatpak, but why? [12:40] I'm fine with snaps and ppa only. [12:41] ubuntu kind of encourages the use of snaps over flatpak or appinmage, but use what makes you happy [12:42] I honestly prefer ppa because then I can just upload it on my own time rather than wait for review process of a snap package. But that's just me. [12:42] just make sure you trust the owner of the application. snap, flatpak or something else [13:03] hm, is it a bug or a feature that when I activate the ufw firewall, that my lxd containers can't get any ipv4 address anymore? :) === leftyfb_ is now known as leftyfb [13:09] how do they normally get ip address? [13:10] no idea, I mean I just use the default config [13:11] which means i guess dnsmasq? on local machine [13:12] is it possible to set a file to not be able to run by owner and group, only by others? [13:12] sounds like you need to allow dhcp traffic Guest75 [13:13] almostdvs how would I do that? I mean i just tried 'sudo ufw enable' and containers get no ip [13:14] create exceptions to allow it [13:15] and how would I do it? no idea about ufw [13:15] Guest75: https://github.com/lxc/lxd/issues/6431#issuecomment-552165784 [13:15] Issue 6431 in lxc/lxd "Container fails to recieve IPv4 address through DHCP" [Closed] [13:15] thanks leftyfb [13:18] leftyfb welp, didn't help :/ === _SteelRose_ is now known as SteelRose [13:51] I have an older Ubuntu PC with no internet that I don't use very often, I'm trying to obtain the kernel source code [13:52] I would like to download the source package and ideally even compile it on my current PC I'm speaking from. But I am running Arch Linux on this box, I can't use apt-src [13:53] noobaroo: why do you need to compile a kernel? Also, what version of ubuntu are you running? [13:53] Does anyone have the URL in which I can obtain the Ubuntu patched kernel source code? [13:53] 20.04 [13:53] For feature selection mostly [13:54] use git? https://wiki.ubuntu.com/Kernel/Dev/QuickBuildLocal [13:54] noobaroo: https://wiki.ubuntu.com/Kernel/SourceCode first result on google for "ubuntu download kernel source" [13:54] Unfortunately my internet would take about 10 hours downloading from Git, it's not compressed [13:54] not sure how you want to build ubuntu kernel on arch.. [13:54] Compared to 1 hour downloading the compressed tarball or deb [13:55] I already tried using Git [13:55] and you would need the build-essential packages.. [13:55] noobaroo: share internet from your arch machine to your ubuntu machine [13:56] If you don't know the URL that I can find Ubuntu patched source tree in compressed src pkg or tarball form, don't bother replying [13:56] ... [13:56] oke [13:58] !source [13:58] You can easily fetch a package's source with apt-get. See: http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html [13:58] jhutchins: they refuse to connect the box to the internet [13:58] There can be good reasons for that. [13:58] slow internet is still internet [13:59] they also refuse to download it from git [13:59] I think sharing connections without a GUI (and often even with, depending on if the adapter supports PC to PC connections natively or not) is way more complicated than hitting enter on an url [13:59] Especially for an older system. [13:59] noobaroo: nope, 2 iptables lines [13:59] I'm well aware of what I need to build, and I'm not running Ubuntu on this machine so can't use apt-src [13:59] sorry, 3 [14:00] Is there a different chat I can use? [14:00] Might not even need a crossover cable these days. [14:00] Getting the code should be a web task, then sneakernet to the target system. [14:01] IDK, it's a pretty old PC. [14:01] I'd rather just paste a link in my web browser tbh [14:02] Also even if I could get internet running on the PC, I would most likely download with apt-src, then transfer back to my main machine, compile with all 12 threads, then transfer back to the old machine [14:02] noobaroo: type this into google: ubuntu download 5.13.0-41-generic "source" [14:03] I was hoping for 5.4.0-116.130 [14:05] noobaroo: You can't figure that out? [14:05] I wonder if you are the person also on reddit, spamming all over where to get 5.4? [14:05] * noobaroo looks up to see a lightbulb hovering above and smiles [14:05] I just had an idea, I think pkgs.org would have the src deb available [14:06] Thanks to the people that genuinely tried to help! [14:09] How did I miss that [14:10] What an inspiring username. I'm changing my country of origin on official documents to Planet N00baroo from now on. [14:23] hello [14:24] i lost minimize close icons after upgrade to jammy [14:24] any help? [14:27] Ntemis: I know it's pretty stupid, but reboot. === Baloo_ is now known as BalooRJ [17:15] So, apparently ubuntu 22.04 has pipenv 11.9.0, which is unusable becaus it is incompatible with python 3.10. There are bugs filed for this in both debian and ubuntu. What would be the cleanest way to deal with this situation for now? [17:19] 3.10 is still in proposed https://launchpad.net/ubuntu/jammy/+package/python3 , and i see no newer pipenv (proposed) here https://launchpad.net/ubuntu/jammy/+package/pipenv [17:19] so, wait for it? [17:21] oerheks: Um... no? python 3.10 is the default python in 22.04 [17:21] ^ [17:21] was just about to mention that [17:21] oh, oke [17:22] and pipenv is in universe [17:22] so, community maintained === caio is now known as crv [17:32] newest one being: pipenv==2022.4.21, but i do not want to suggest; pip install pipenv [18:15] leftyfb: Isn't everything community maintained? [18:16] nope [18:30] hi what lib is missing here? https://ideone.com/R7IHEx [18:30] sudo apt-get install gcc-4.9  and sudo apt-get upgrade libstdc++6 ? [18:34] Guest4443, it is old ubuntu release t think [18:35] what? [18:35] so i need to run the 2 commands above to get that old libstdc++ ? [18:36] https://launchpad.net/ubuntu/+source/glibc/ [18:36] either recompile your software or upgrade your distro [18:36] I guess you could also install a newer distro in lxd or libvirt [18:37] why gcc 4.9 ? [18:37] the binary i downloaded [18:37] needs has that error [18:37] i run docker with ubuntu 20 [18:37] interesting, what binairy? [18:37] UBUNTU_VERSION=20.04 [18:37] Guest4443: ( cat /etc/os-release ; apt list --installed |grep gcc ) | nc termbin.com 9999 [18:38] oerheks this one: https://github.com/tensorflow/decision-forests/releases/tag/serving-0.2.6 [18:46] Guest4443, you can try to find an older version of tensorflow_model_server [18:50] Bugies why older one? i need the newest one :) === anderson_ is now known as anderson === nirojan_ is now known as nirojan === Fossil_ is now known as Fossil === coreycb_ is now known as coreycb === PotatoGim_ is now known as PotatoGim === tds5 is now known as tds === h00k_ is now known as h00k === Gatewayy_ is now known as Gatewayy === NiKaN_ is now known as NiKaN === jiggawattz is now known as jiggawatt === ksx4system_ is now known as ksx4system === v3r3mitz is now known as kveremitz === Kobaz_ is now known as Kobaz [18:58] Guest4443, strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC_ [18:58] Guest4443, to check what version of the library you have [18:59] can i run RUN ( cat /etc/os-release ; apt list --installed |grep gcc ) | nc termbin.com 9999 in docker build? [19:07] if your docker has networking yes. [19:10] Bugies output from: ( cat /etc/os-release ; apt list --installed |grep gcc ) | nc termbin.com 9999     https://termbin.com/0qp4 [19:12] i did: RUN apt-get upgrade -y libstdc++6 ... RUN apt-get dist-upgrade ... but still the error is here:  https://ideone.com/R7IHEx [19:13] Guest4443, GLIBCXX_3.4.30 is on ubuntu 22.04 [19:13] libstdc++6 is part of gcc10 ? [19:13] use something newer than focal; focal is on libc6 2.31 [19:13] apt-get install gcc10  ? [19:13] alternatively, recompile your software on focal [19:14] that might take very long [19:15] try running it in jammy then [19:16] jammy? [19:16] i have a docker container [19:19] !jammy [19:19] Ubuntu 22.04 (Jammy Jellyfish) is the 36th release of Ubuntu and the current !LTS release – Download at https://ubuntu.com/download :: Release notes at https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes :: Further schedule at https://ubottu.com/y/jj [19:20] oh [19:20] That should have dates on it. [19:20] can you tell me why that can work with ubuntu 22.04? [19:21] Guest4443: because the glibc in jammy is version 2.35, which came after 2.33: https://launchpad.net/ubuntu/+source/glibc [19:21] i still get error: [19:21] ./tensorflow_model_server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./tensorflow_model_server) [19:21] ./tensorflow_model_server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./tensorflow_model_server) [19:21] ./tensorflow_model_server: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by ./tensorflow_model_server) [19:21] i need the so? [19:22] will i still need to install apt-get upgrade -y libstdc++6 ? [19:22] it seems currently i have: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 [19:22] gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 [19:24] oh [19:24] it seems the library fails with newest ubuntu: The command '/bin/sh -c pip3 install tensorflow_decision_forests -U' returned a non-zero code: 1 [19:24] Guest4443: do not try to upgrade your C library. use a newer ubuntu for your binary, or recompile your software on focal. [19:24] i run: [19:24] RUN pip3 install tensorflow_decision_forests -U [19:24] and get [19:24] The command '/bin/sh -c pip3 install tensorflow_decision_forests -U' returned a non-zero code: 1 [19:24] that worked on ubuntu 20 before [19:24] hm [19:25] the error: [19:25] Step 16/24 : RUN pip3 install tensorflow_decision_forests -U [19:25]  ---> Running in 7e7c552eda90 [19:25] Defaulting to user installation because normal site-packages is not writeable [19:25] ERROR: Could not find a version that satisfies the requirement tensorflow_decision_forests (from versions: none) [19:29] sarnold is there another way? [19:29] with ubuntu 20? [19:36] Guest4443, https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/glibc [19:37] you're going to be in a world of hurt if you upgrade your C library. do not do that. === Vercas8 is now known as Vercas [19:50] Isn't this what containers were made for? [19:51] Pre-containers, we'd use a chroot or multi-boot. [19:51] Bugies E: The repository 'http://ppa.launchpad.net/ubuntu-toolchain-r/glibc/ubuntu focal Release' does not have a Release file. [19:52] sarnold [19:52] jhutchins: docker's already invovled and as far as I can tell not actually making anything easier, heh [19:54] indeed,. focal is not on that ppa [19:55] is this where i get linux mint help? [19:56] plaidpanther, read the topic; no [19:56] they have their own channel here on Libera [19:56] ? [19:56] they did [19:56] plaidpanther: Try #linuxmint-help [19:58] Mint help is on Spotchat [19:59] Jeremy31, +1 all dev ops are there, both of them [20:00] Guest4443, it is not tested by me sorry :\ [20:00] ok the server really works with ubuntu 22.04 [20:01] i need to compile the python lib by source [20:01] instead pip install [20:01] maybe that works [20:01] as readme here: https://www.tensorflow.org/decision_forests/installation [20:01] damm it also does: /tools/start_compile_docker.sh [20:20] Odd, I always thought Mint was pretty user friendly, what with all their documentation. Strange that they'd choose some elite network for support. [20:22] 'course, nothing stops you from creating your own libera channel. [20:25] This is true === sonOfRa_ is now known as sonOfRa [21:28] Hi [21:28] How come there is no zenmap in ubuntu anymore [21:29] On some sites they suggest to grab the python 2.2.24-gtk and zenmap packages from archive.buntu and get install manually [21:31] Hash: because Debian dropped it, and Ubuntu gets most of what it is from Debian [21:32] Oh really [21:32] Hmm. [21:33] https://blog.eldernode.com/install-zenmap-on-ubuntu-22-04/ [21:33] How do you feel about this? [21:34] Hash: It was considered unmaintained, and because no Python 3 port was made, it was dropped [21:34] Hash: I guess it was folded into nmap upstream [21:35] mmm, ain't much worth sticking with python2 for [21:35] No ha [21:35] I mean how do you feel about the link I pasted :) [21:35] Would it be okay to grab from archive.ubuntu and install manually pygthon 2.2.24gtk and zenmap? [21:35] Hash: seems unproblematic [21:35] Ok [21:36] as long as you're using trusted mirrors for packages, and using your package manager to install them [21:36] shouldn't cause too much trouble if it does [21:36] http://archive.ubuntu.com [21:36] exactly [21:36] and apt [21:36] I don't suppose DNS ass hattery could happen [21:36] But it might [21:36] But not likely. [21:36] =P I mean you could check sigs if you wanted [21:37] hi is tensorflow available for ubuntu 22.04? [21:38] Hash: Might be more productive in the long term to figure out whatever is replacing it and learn that. [21:38] I know the cli tool [21:39] But my class requires me to use zenmap and take some stupid screenshots of some topology [21:39] : [21:39] :/ [21:39] I could spin up a older ubuntu vm, np [21:39] bridged networking and should be able to get my scholl work done [21:40] Which version I wonder last had zenmap. 18 or 20? [21:40] does the irc bot do package search? [21:40] ,v zenmap [21:40] Hm, that's #debian, sorry. [21:40] np [21:40] i can use site [21:40] use !info and !find, in ubottu PM [21:41] someone should = or @ that bot [21:41] It's on Stretch & Buster. [21:41] so it is easily accessible to people on top of nicklist :D [21:41] s/=/+ [21:41] (voice or @ the bot) [21:43] it's in bionic [21:43] what's the lightest weight smallest desktop ubutnu iso of bionic? [21:43] xfce? lxde? [21:44] xubuntu [21:45] i see something called lxqt. is lubuntu part of your official things or is unofficial enthusiast stufF? [21:45] !flavors [21:45] Recognized Ubuntu flavors build on Ubuntu and provide a different user experience out of the box. They are supported both in #ubuntu and in their flavor channel. For a list, see https://www.ubuntu.com/download/ubuntu-flavours [21:46] awesome thanks [21:46] but flavors have different support lifecycles [21:46] and lubuntu switched to lxqt [21:46] I just need it to do homework, gonan grab an older one bionic and get zenmap [21:46] oh right, xubuntu 3 years ? [21:46] i don't want toi nstall older packages on my work machien [21:47] then use the regular gnome. [21:47] i just brand new installed 22 on my desktop [21:47] Nah I use kubuntu base + Xmonad [21:47] I don't use ubuntu or ghome or gtk [21:47] anyway, thanks man [21:47] or tell your pfos they're crazy for forcing you through an nmap gui and provide the same results from CLI [21:47] *profs [21:47] I know right! [21:49] Hunh. A might be wrong [21:49] My course requiement doesn't actually say zenmap anywhere. It was some dude on reddit. OMG [21:50] Include screenshots as evidence of running Nmap. [21:50] lolz [21:50] For this task, you will use the virtual world at the “Performance Assessment Lab” web link and access the files and lab environment necessary to run both Nmap and Wireshark on the network associated with this task. [21:50] OPhjhhh right [21:50] nm [21:51] cuz I was wondering, where am I suppose dto magically find a vuln. netowrk. anyway. Ig ues I dont' need zenmap. Oh this keyboard sucks [21:51] blue keys are weird man. They are harder to push. Browns are better. anyway [21:51] if you don't have more ubuntu support questions, please move it to a different channel [21:51] Thank you [22:12] Does the Linux version of LUKS able to be decrypted like the windows version? [22:13] reference - https://blog.elcomsoft.com/2020/08/breaking-luks-encryption/ [22:14] to be decrypted like the windows version? [22:14] https://hackernoon.com/cracking-linux-full-disc-encryption-luks-with-hashcat-832d5543101f [22:14] with that password cracking or better, guessing tool? [22:14] no [22:14] seems like LUKS isn't a great solution? [22:15] that tool can take days/months/years [22:15] i see [22:17] as sha-1 is no longer used... since 2012 [22:17] i see [22:26] hi [22:31] hi === kostkon_ is now known as kostkon [23:29] Friends, I accidentally deleted initrd.img and vmlinuz. I am using Ubuntu 22.04 with encryption. How on earth do I restore them please? [23:29] It's so important because I have crypto in my disks :( [23:30] Can someone help? I will literally pay you [23:30] Boomer4582: Oh dear, that sounds really bad. DO NOT POWR DOWN YOUR COMPUTER. [23:30] Boomer4582: Since encryption is involved, it is critical that you back up EVERYTHING before doing anything, or you could potentially lose all your data. [23:30] I have powered it down already. Can not boot up. [23:30] I have backed up my data using a live CD now [23:31] Boomer4582: Well... crud. Boot from a live USB, and see if you can mount the drive still. [23:31] OK, so you did back up? [23:31] I have booted up using a live USB with Ubuntu on it, which partition do I mount and how? [23:31] I got /dev/sda1 and sda2 and sda3 [23:31] sda3 is the 500gb one with my files and stuff [23:31] Boomer4582: You're using Ubuntu, not a flavour, right? If so, you should be able to see an encrypted disk in the panel on the left site. [23:32] *side [23:32] Ubuntu 22.04 LTS [23:32] yes, I have clicked on it, typed the password and it is now decrypted and I can access the files [23:32] Boomer4582: Good. Panic averted. [23:32] Now what PLEASE? [23:33] Boomer4582: OK, do you have Internet access? [23:33] I will send you some money via Litecoin or Ethereum if you manage to help me [23:33] yes [23:33] Boomer4582: I would expect there to be more than one kernel installed - tried booting alternates from grub and from ther re-install the latest kernel ? [23:33] Boomer4582: OK, so now open a terminal with Ctrl+Alt+T. [23:33] Yes, two kernels but it won't boot up using other kernels because I have deleted the files of other kernels too (by mistake) [23:33] ok I am in there arraybolt [23:34] Boomer4582: Now, type "cd /media/ubuntu", and tell me if it works. [23:34] Boomer4582: If that command works, run "ls". [23:34] yes, it shows some numbers 127138713xhjdf [23:34] something like that [23:34] Boomer4582: You should see a very weird looking number appear when you do that. Double-click on it, then press Ctrl+Shift+C. [23:35] it's the decrypted files I suppose [23:35] Boomer4582: Now type "cd " (the space is important), and then hit Ctrl+Shift+V. Then hit Enter. [23:35] Boomer4582: Next, run the following command sequence: [23:35] yes? [23:35] sudo mount --bind /proc ./proc [23:35] sudo mount --bind /dev ./dev [23:35] sudo mount --bind /sys ./sys [23:35] sudo mount --bind /dev/pts ./dev/pts [23:36] sudo cp /etc/resolv.conf ./etc/resolv.conf [23:36] This will allow you to enter the encrypted system and run command within it. [23:36] It will also give you Internet access within the encrypted system. [23:36] let me do that. [23:37] Boomer4582: Once that's done, run "sudo chroot ." (the period is important) [23:38] Boomer4582: If any command gives an error, double-check for typos and try again. [23:39] I did almost all of the above bar the last command [23:39] no errors [23:39] do I just type sudo chroot [23:39] No, "sudo chroot ." [23:39] The period is part of the command. [23:39] it says chroot : missing operand [23:39] ah one sec [23:39] OK, now let me see what packages to install... [23:40] sudo chroot . /bin/bash [23:40] one sec [23:40] can I attach photos? [23:40] Sure. Upload them to Imgur and paste the link here. [23:40] you can use imgur.com or similar and post the direct link to the image file here [23:41] Boomer4582: Hey, what release of Ubuntu is installed on the computer? I know you booted a 22.04 USB, but is that the same version that's on the system? [23:41] you might want to also mount /boot and /boot/efi [23:42] https://ibb.co/tXVRPyz [23:42] tomreyn: Oh, I forgot that encrypted installations used a separate /boot... [23:42] 22.04 running on machine [23:42] did I do the commands right? [23:42] Nice, but I forgot something. Type "exit" [23:42] Yes, but I forgot a command. [23:42] ok, tell me pls [23:42] Once you've run "exit", do "lsblk" and show me what pops up. [23:44] https://ibb.co/5TTtC2N [23:44] Very good. Do these two commands: [23:44] sudo mount /dev/sda1 ./boot/efi [23:44] sudo mount /dev/sda2 ./boot [23:44] Actually, do them in the other order. [23:45] Do "sudo mount /dev/sda2 ./boot" first. [23:45] Then "sudo mount /dev/sda1 ./boot/efi" [23:45] ok done, no errors [23:45] Nice. Now do "sudo chroot ." again. [23:45] tomreyn: Thank you for reminding me about that bit. [23:45] ok now what please? [23:46] OK, you're going to need to reinstall the kernels. I'm still figuring out what version to do. [23:47] apt list --installed linux-image\* [23:47] Bah, hold on, let me look at my 22.04 system to see what kernel it uses. [23:48] All right, I am waiting. You have no idea how much I appreciate this. [23:48] What are you waiting [23:48] Boomer4582: No problem. We all make boffos. You should see what I've done to my systems... [23:49] tomreyn: Good command, I'll keep that for future use. [23:49] I'm just gonna use Muon to find out what kernel I'm on. [23:49] https://ibb.co/g9RHjj3 [23:50] tomreyn: It's safe to do an "apt purge" on an old kernel to get rid of all the leftovers before installing the new kernel, right? [23:51] !info linux-image-generic jammy [23:51] linux-image-generic (5.15.0.35.38, jammy): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 20 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) [23:51] I deleted the files while I was trying to clear up some space for a new kernel.. [23:51] it would remove all the files that belong to the package [23:51] tomreyn: I know, I just am worried it might break the encryption or something. I read something about the Linux kernel holding encryption stuff or something. [23:51] but sudo apt install --reinstall should be enough, i would think [23:51] tomreyn: Eh, that's failed for me in the past. [23:52] if this is dm-crypt luks encryption, there's just the on-disk header and /etc/crypttab [23:53] Boomer4582: If you can hang around for a while longer, I can test to make sure my suggestion will go as planned. [23:53] OK much thanks [23:53] you should probably also sudo update-initramfs -k -c just to be sure the initrd is regenerated [23:53] I have used the default encryption option during a clean Ubuntu installation using a live USB [23:54] tomreyn: Good idea, I would've probably forgotten that bit. [23:54] Boomer4582: Don't do that quite yet, I don't think. [23:55] and finally make sure everything is in place in /boot (and, if applicable, /boot/efi). if grub was deleted / modified, make sure to also update-grub and grub-install [23:55] good luck, bbl [23:55] I only typed sudo rm vmlinuz and initrd, I didnt mess with grub [23:56] Boomer4582: Good, that should make things easier. [23:56] was trying to rm the .old files, accidentally deleted the ones I needed! [23:56] Boomer4582: Wait, can you run ls /boot for me and show me the output? [23:57] https://ibb.co/F5v22Rp [23:58] I have actually deleted initrd.img of the latest kernel and vmlinuz file of ANOTHER older kernel, I remember now [23:58] Boomer4582: vmlinuz and initrd are symlinks to the actual files. [23:58] so can't boot either of the kernels installed [23:58] OK, thank you. I thought maybe there would be a really easy fix, but it's not. That's fine, if my test goes well, this will be easy. [23:58] Ah, the img file is the one that you needed. [23:58] yes, deleted initrd.img [23:58] jhutchins: That's what I was thinking, but I can see the symlinks are still there... [23:58] Billy: This is why you don't delete files manually, you use the package manger. [23:59] Have I gotten nicks crossed again? [23:59] jhutchins: Hey, I once "dpkg -i"'d in an office suite from salvaged files from a different laptop... We all make mistakes. [23:59] (You should have seen me cleaning up the mess after that one...)