[00:03] <Guest97> hello all - my desktop OS crashed last night and now it won't boot to a graphical environment.  machine still boots and i can ssh in, and i can also boot into a liveUSB environment.  what are my best options to 'repair' the install, can i save the install disk or do i need to back it up and format?
[00:06] <Guest97> i'm not sure of the exact version, but it's one of the LTS variety - can i use the startup disk creator or some variant to install just OS related files and leave the rest of the disk unharmed?
[00:08] <Bashing-om> Guest97: In such a situation - my 1st is to run a file system check/repair (fsck) from the live environment. What is the file system ?
[00:09] <Guest97> i believe ext3, what are some of the live tools i can use to verify?
[00:10] <Guest97> do i need the disk uuid to run the check?  i guess the boot drive is not online when you power from USB?
[00:11] <Guest97> actually i just found some /dev/sd* files, i can probably check it out this way - i'm unfamiliar with the use of fsck, any flags to consider?
[00:14] <Bashing-om> Guest97: From the liveUSB - identify the fsck target - sudo fdisk -lu - /// say the 1st identified target is the 1st hard drive "sda" and 2nd partition --- then the check/repair command will be ' sudo fsck /dev/sda2 '.
[00:16] <Guest97> when i try fsck, i get that /dev/sda is in use - e2fsck: Cannot continue, aborting.  do i need to target down to the partition, or can i unmount given that the live OS is running independently?
[00:17] <Bashing-om> Guest97: The target must be unmounted - hense to run the test from the liveUSB.
[00:19] <Guest97> umount: /dev/sda: not mounted. :( lol - however, i did get a clean check from /dev/sda1 (which contains the boot flag)
[00:20] <Guest97> with that said, the machine boots with some kernel spam, and control+alt+f2 give me a working terminal with access to the filesystem - the login graphic just crashes to a flashing _ prompt
[00:26] <Bashing-om> Guest97: Graphic's driver issue then ? Any hints from the gpu manager log file ' less /var/log/gpu-manager.log '.
[00:27] <Bashing-om> Guest97: % in addition I would expect that "root' to be sda2 given the info so far seen.
[00:29] <Guest97> will this function from the liveOS, or do i need to view the log local to the failed login?  which 'root' are you referring to? fsck suspects that sda2 is a zero-length partition, and sda5 is the next shown which strangely only returns the version of fsck
[00:31] <Bashing-om> Guest97: to look at the log file I would do so from the install; as you can boot to a terminal.
[00:32] <Bashing-om> Guest97: "root" >> with out that you pastebin ' sudo fdisk -lu ' we can not say more.
[00:32] <Guest97> i tried to view the log from usb and i see hundreds of sequential "can't access /run/u-d-c-nvidia-drm-was-loaded file" as well as "I couldn't open /var/lib/ubuntu-drivers-common/last_gfx_boot for reading."
[00:33] <Guest97> you want my fdisk dump?
[00:34] <Bashing-om> Guest97: Would ensure we are on the same page if we see what we are working with, yes.
[00:38] <Guest97> https://pastebin.com/raw/p5MpYhm4
[00:39] <Bashing-om> Guest97: looking ^ .
[00:44] <Bashing-om> Guest97: so far looks asaif sda1 is our target - does ' sudo grub-probe -t device /boot/grub ' confirm ?
[00:45] <Bashing-om> as if *
[00:46] <Guest97> grub-probe: error: failed to get canonical path of `/cow', looks like maybe an issue with live?
[00:46] <Guest97> i do know from context that sda1 is the correct boot device
[00:46] <Bashing-om> Guest97: Yeah - we are now working from the install :D
[00:47] <Guest97> oh! i will have to change irc accounts, as i'm on the machine!
[00:48] <Guest28> you'll never guess who i am. (testing)
[00:49] <Bashing-om> Guest28: 97 perhaps ?
[00:50] <Guest28> grub-probe confirms the target
[00:52] <Bashing-om> Guest28: Away for a few - back soonest.
[00:58] <Guest28> that's a good chance to restate my issue more clearly, really appreciate the help - i'm not sure that grub or graphics are involved, as i do briefly see a desktop and the ubuntu logo.  i'm just never presented with any users, login, or any way forward, and this quickly devolves to the blackout with a flashing _ (which is not a prompt, i cannot
[00:58] <Guest28> interact without going to the f2 terminal). at this time, i can still ssh to the machine, but only the gnome/X(?) parts are failing to give me your 'traditional desktop environment'
[01:06] <Bashing-om> Guest28: Well, by now we know the file system is intact - just an issue with the GUI layer. Likely still is the graphic's driver. Did the driver load - '  sudo lshw -C display ' ?
[01:09] <Guest28> i cannot tell, but i think not - i show UNCLAIMED and i don't see anything that i recognize as a driver
[01:10] <Bashing-om> Guest28: is that output from a SSH login ?
[01:10] <Guest28> from the control-alt-f2 interface, it might be a separate session - how do i boot into terminal instead?
[01:13] <Guest28> do i use the 'c' command at the GRUB screen and use the grub> prompt?
[01:15] <Bashing-om> Guest28: control-alt-f2 interface is good for what we do now - one can boot to a terminal, however, from grub if needed. Pastebin that ' sudo lshw -C display ' and we consider to re-install a driver (nvidfia ?).
[01:16] <kantlivelong> does "/etc/network/interfaces" not fully work on 22.04? Upgraded from 20.04 to 22.04 and my IP config gets set right but the `dns-*` options don't seem to apply.
[01:17] <leftyfb> kantlivelong: desktop or server?
[01:17] <kantlivelong> leftyfb: server
[01:17] <leftyfb> kantlivelong: you should be using /etc/netplan now, not ifupdown(/etc/network/interfaces)
[01:17] <leftyfb> !netplan | kantlivelong
[01:17] <kantlivelong> Yeah...
[01:18] <Bashing-om> Guest28: FYI: Boot to terminal from grub: At the grub menu press 'e' to edit - Append: systemd.unit=multi-user.target to the linux line.
[01:20] <Guest28> tricky to get the output! :D https://pastebin.com/raw/gNJAcsfm
[01:21] <Guest28> do i remove that flag to disable the cli boot, or is it a one-time?
[01:23] <Bashing-om> Guest28: "unclamed" at this point I am happy to purge and re-install the nvidia driver. can not hurt to try :D want to give that a try ?
[01:24] <Guest28> i have no optimistic alternatives, sure thing!
[01:26] <Bashing-om> Guest28: from that terminal run ' sudo apt remove --purge nvidia* ; sudo apt update ; sudo apt upgrade ; sudo ubuntu-drivers autoinstall ' . Reboot to see the effect.
[01:28] <Guest28> oh, this is intriguing.  the purge failed, and after 'sugo dpkg --configure -a' as suggested, i see some nvidia items already working on their own
[01:29] <Guest28> going to try a reboot at this point before continuing the purge, things looked positive
[01:29] <Bashing-om> Guest28: Well - could then be that the system healed its self - :D reboot and see :D
[01:30] <Guest28> yes indeed, i'm right where i want to be - a full heal.  thank you kindly!!!
[01:31] <Bashing-om> Guest28: You did all the work :D
[01:31] <Guest28> i'm just the moth following the light!
[01:32] <Bashing-om> Guest28: /var/log/gpu-manager.log say all is hunky dory ?
[01:33] <Guest28> it's far shorter than before, didn't need to use less this time.  i don't have much experience interpreting, but i have active programs and all seems well
[01:34] <Bashing-om> Guest28: If unhappy you would notice in the log file :D
[01:36] <Guest28> that's such a strange resolution - the machine crashed during active operation and ended up in this failure state.  i probably should have recorded the dpkg log, but what do you suppose could have corrupted or unloaded the driver this way?
[01:38] <Bashing-om> Guest28: OH My - will take one more versed in drivers than I to even begin to ponder an answer :P
[01:38] <Guest28> :) no problemo - thank you again
[01:39] <Bashing-om> Guest28: Pleased to hold your hand --- it's ubuntu >> Always fixable !
[01:40] <Guest28> yes, now i have a few new commands to look into
[01:41] <Bashing-om> Guest28: Practice to become a command-line commando :D
[02:30] <mordant> random question, but can I setup unattended upgrades email notifications without installing an smtp client, like, could I use a curl request instead?
[02:31] <rbox> email notifications are done with sendmail
[02:31] <rbox> you could replace the sendmail binary with whatever you want to do whatever curl or whatever
[02:31] <rbox> but that sounds like an awful idea
[02:31] <mordant> yea I dont wanna do that, alright fair enough
[05:30] <RubixYT> hi
[06:02] <kotgc> Hello, I'm trying to setup chroot on ubuntu 22.04 LTS desktop, but error: https://dpaste.org/rxrqM
[06:03] <kotgc> Here's the schroot.conf file I made, which may be wrong https://dpaste.org/Ac85W as per https://help.ubuntu.com/community/BasicChroot and https://help.ubuntu.com/community/DebootstrapChroot
[06:08] <alkisg> kotgc, you follow old instructions
[06:08] <alkisg> Do you require i386?! Just leave out the arch and the mirror parts
[06:10] <kotgc> alkisg, that's the best ubuntu guide I could find?
[06:10] <alkisg> kotgc: do you require i386?
[06:10] <kotgc> alkisg, what's i386?
[06:10] <alkisg> 32bit architecture
[06:10] <alkisg> While the normal one is 64bit
[06:10] <kotgc> alkisg, I'm on 64-bit
[06:11] <alkisg> Right, but you're trying to create an i386 chroot
[06:11] <kotgc> alkisg, my mistake, I don't understand the guide 100%
[06:11] <alkisg> Just run this: sudo debootstrap jammy jammy
[06:12] <alkisg> It will create a jammy chroot in a jammy folder
[06:12] <alkisg> What's your end goal, why do you want the chroot?
[06:15] <kotgc> alkisg, I need virt-manager on a USB for an offline install.
[06:20] <alkisg> kotgc: not sure why a chroot would help on that
[06:21] <alkisg> If you need the packages, put the packages in the USB stick
[06:21] <alkisg> If you need a full installation or a VM image, put these to the USB stick
[06:21] <alkisg> How would a chroot help you?
[06:22] <kotgc> alkisg, apparently a chroot will download a clean virt-manager without requiring any dependencies when installing on an offline Ubuntu?
[06:22] <alkisg> kotgc: the dependencies will be wrong
[06:22] <kotgc> alkisg, I have downloaded virt-manager-4.1.0.
[06:22] <alkisg> E.g. the offline Ubuntu will have some dependencies in its database
[06:23] <alkisg> Then when you try to install the most recent dependencies, the installation will fail
[06:23] <alkisg> The solution is to go to the offline ubuntu,  run sudo apt install --print-uris virt-manager
[06:23] <kotgc> alkisg, ok, thx the jammy debootstrap thingy downloaed.
[06:23] <alkisg> It will print a bunch of packages. IF you can find these, as some may already be removed from the repositories, then just copy them to a usb stick
[06:23] <alkisg> The chroot won't help you at all
[06:24] <kotgc> alkisg, ok. I don't have the offline Ubuntu yet. This computer when I reinstall it from ubuntu.iso will then have no Internet, due to a bridged modem.
[06:25] <alkisg> Then you can run that command inside the live session, and get the package list
[06:25] <alkisg> I.e. boot ubuntu.iso locally, run the command, get the packages in .deb form and put them in a usb stick
[06:27] <alkisg> Or just do the installation IN the usb stick; then clone the stick to the target PC
[06:28] <kotgc> alkisg, boot ubuntu.iso loaclly -> run sudo debootstrap jammy jammy -> get virt-manager packages -> convert somehow to .deb form -> copy to USB?
[06:28] <alkisg> No
[06:28] <alkisg> Forget about chroots and debootstrap
[06:28] <alkisg> They don't help you at all
[06:28] <kotgc> alkisg, ok
[06:28] <alkisg> Best option: install ubuntu.iso to a usb stick. Then clone the usb stick to the target pc
[06:29] <alkisg> Second best option: boot ubuntu.iso. Run sudo apt-get install virt-manager. Then copy /var/cache/apt/archives/*.deb to the usb stick.
[06:29] <kotgc> alkisg, this online Ubuntu 22.04 desktop is the target, after a fresh install the ubuntu.iso will be offline, until I install virt-manager.
[06:30] <alkisg> If you install ubuntu to a usb stick, then install virt-manager to the stick, then clone the stick to the  target pc, you'll then have virt-manager there even if it's offline
[06:30] <alkisg> It's the simplest option. Install everything where you have internet; clone to the target.
[06:31] <alkisg> Imagine that your stick is actually a hard disk. You can install ubuntu and virt-manager there
[06:31] <alkisg> Then you can copy that "hard disk" to the target hard disk, and have everything there, even virt-manager
[06:31] <kotgc> alkisg, ok, this desktop has Internet. Clone ubuntu.iso and virt-manager directory to USB.
[06:31] <alkisg> Try to read the "best option" that I mentioned
[06:32] <alkisg> Install ubuntu TO the stick. Like if it's an external hard disk.
[06:33] <kotgc> alkisg, I know how to copy ubuntu.iso to a bootable usb stick. Is cloning how to install to a usb?
[06:33] <alkisg> No
[06:33] <alkisg> Do you have 2 usb sticks?
[06:34] <alkisg> You boot from stick1. In the installer, you select stick2 as the installation target.
[06:34] <kotgc> alkisg, yes, one for ubuntu.iso and 1 for the virtualRouter.iso
[06:34] <alkisg> Then you boot from stick2 like if it's a local installation. You install virt-manager there.
[06:34] <kotgc> ...and a 3rd usb for virt-manager directory.
[06:34] <alkisg> Then stick2 is ready, it contains virt-manager and you can run it offline everywhere
[06:34] <alkisg> When you go to the target pc, you clone stick2 to the target disk. Either with gparted or with the dd command
[06:35] <alkisg> That's all, you don't need anything fancy. Just to install ubuntu TO the stick.
[06:36] <kotgc> alkisg, is installing ubuntu to a usb different to creating a bootable ubuntu.iso on the usb? https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview
[06:36] <alkisg> Yes
[06:36] <alkisg> A bootable ubuntu.iso is a live session. Changes don't stick
[06:36] <kotgc> May I ask how? A search brought up https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview
[06:37] <alkisg> Installing ubuntu TO a stick is like installing ubuntu to a hard disk. It's a normal installation. If you install virt-manager there, it will be available after reboot
[06:37] <alkisg> Read my steps. Tell me which step you don't understand.
[06:37] <alkisg> 1) Write ubuntu.iso to stick1
[06:37] <alkisg> 2) Boot from stick1. In the installer, select stick2 as the installation target
[06:37] <alkisg> 3) Boot from stick2. Install virt-manager. Done.
[06:38] <kotgc> alkisg, ok. I'm concerned about the virt-manager-4.1.0.tar.gz which I unzipped to a directory virt-manager-4.1.0, that it won't be bootable?
[06:39] <alkisg> In ubuntu you don't need virt-manager-4.1.0.tar.gz. You just apt install virt-manager
[06:39] <alkisg> You don't install packages from source
[06:40] <alkisg> It's an easy task, you somehow got it very complicated while it's not
[06:41] <kotgc> alkisg, so 1) write ubuntu.iso to stick, don't create a bootable usb?
[06:41] <alkisg> Yes that's a bootable usb
[06:41] <kotgc> ok
[06:42] <dennis81> Hi all, I've run into an issue while testing ubuntu 23.10 with an issue that removing an old kernel won't succeed. I have looked to find bug reports, but on this kernel there can't be much found. I have tried the usual stuff. Can I ask for help here?
[06:42] <kotgc> alkisg, 3) how do I install virt-manager? There will be no Internet?
[06:42] <alkisg> kotgc: in step (3) you're still in YOUR place where you HAVE internet. So you just `apt install virt-manager`
[06:43] <dennis81> or should I ask in #ubuntu-next?
[06:43] <alkisg> Then in step (4) you go to the target, and clone the stick2 to the target hard disk.
[06:43] <dennis81> Hi hermano!
[06:46] <kotgc> alkisg, (4) the target is ubuntu running on stick2? I haven't cloned before, is this a good guide https://www.cyberciti.biz/faq/linux-copy-clone-usb-stick-including-partitions/
[06:46] <nteodosio> dennis81, officially #ubuntu-next as per channel's topic, but probably people would have helped you here anyway if you hadn't asked? (;
[06:48] <alkisg> kotgc: no. The target PC has a hard disk, let's name it HD. You boot from stick1. Then you use gparted to graphically clone stick2 to HD. You don't need any commands.
[06:48] <kotgc2ndchoice> test
[06:48] <alkisg> kotgc: if you really want to use a command, it is: sudo dd if=/dev/sdc of=/dev/sda bs=4M status=progress. But replace sdc with the stick2 device, and sda with the HD device.
[06:50] <kotgc2ndchoice> alkisg, ok, I've used that command before.
[06:52] <kotgc2ndchoice> alkisg, thx, I'll try it.
[06:52] <alkisg> You're welcome
[06:54] <Guest55> year of the linux d......................
[07:10] <knstn> I updated to 23.10 and every time I login, I got a notification = "Software Update Installed: An important OS update has been installed"
[07:11] <knstn> I have deleted "/var/lib/PackageKit/transactions.db" and repaired PackageKit, but I get the notification every time.
[07:19] <xangua> !next
[08:17] <hermano> @dennis81 Hi.
[08:17] <hermano> dennis81, Hi
[09:07] <locke> I'm trying to install hexchat on ubuntu.
[09:08] <locke> I'm getting error messages.
[09:10] <locke> hello SCVM_
[09:11] <locke> hello hatti
[09:13] <locke> Hello Angrytom, why are you angry?
[09:13] <AngryTom> I am always angry.
[09:13] <locke> why?
[09:16] <locke> What are you angry at?
[09:16] <locke> Is it computer-related?
[09:16] <locke> Hello iomari891
[09:17] <locke> AngryTom, are you having trouble with your ubuntu system?
[09:18] <AngryTom> no, not computer related
[09:18] <locke> If so, we're here to help you if we can.
[09:18] <AngryTom> ok
[09:19] <locke> I'll talk about it in private, if you want.
[09:22] <locke> hello ord
[09:22] <locke> Are you in the Chicago area?
[09:24] <locke> ORD is the airport code for O'Hare Airport.
[09:28] <locke> kotgc3rdchoice, is ubuntu your third choice?
[09:29] <locke> Hello tms
[09:30] <locke> wb bsmith0931
[09:31] <locke> hello tms
[09:43] <locke> Why will hexcxhat not install on ubuntu?
[09:43] <locke> What are you all using to get into this channel?
[09:47] <tomreyn> locke: what's the error message you get?
[09:47] <locke> hello OlegD
[09:50] <tomreyn> locke: while i understand you're trying to be kind, please don't greet everyone joining personally, some prefer to just idle here and join this channel as well as several others routinely.
[09:54] <locke> sudo apt-get install snapd  ... The screen says: Reading package lists ... building dependency tree ...reading state information ... snapd is already the newest version ... 0 upgraded ...
[09:55] <locke> And then it doesn't do anything.
[09:55] <tomreyn> locke: what did you expect it to do instead?
[09:57] <tomreyn> or: what's unexpected about this result?
[09:57] <locke> I have several Hexchat.exe files in the Download directory.
[09:58] <locke> It says ... error in  loading the archive.
[09:58] <tomreyn> .exe? those are for windows.
[09:59] <locke> That
[09:59] <locke> That's what it looks like.
[09:59] <tomreyn> what happens when you try to install hexchat the same way as you tried to install snapd?
[10:00] <locke> So ... how do I get hechat for ubuntu?
[10:01] <tomreyn> how did you try to install snapd?
[10:01] <locke> I got the messages mentioned above.
[10:02] <tomreyn> and that's not what i asked
 sudo apt-get install snapd
[10:02] <tomreyn> replace "snapd" by "hexchat"
[10:02] <Slartibart> Hi. Is there a good place for asking openvpn related questions(on ubuntu if tha t matters)?
[10:03] <tomreyn> Slartibart: i imagine there can be #openvpn, but you can aslos ask here, in #linux or on #ubuntu-server
[10:03] <tomreyn> *also
[10:03] <locke> reading package lists , reading dependency tree ...
[10:03] <tomreyn> !paste | locke
[10:06] <tomreyn> locke: https://ubuntu.com/server/docs/package-management
[10:17] <FKAShinobi> Is there a command that will copy a directory structure recursively but create hard links for files instead of copying?
[10:17] <tomreyn> cp -lr
[10:20] <tomreyn> that's an L (lower case), not a ONE.
[10:20] <FKAShinobi> tomreyn: Thanks. For some reason I didn't think that would work with the r switch
[10:20] <tomreyn> you're welcome
[10:23] <Slartibart> tomreyn: Thanks.
[10:25] <tomreyn> Slartibart: you're welcome
[10:25] <Slartibart> Does anyone know how to set DNS servers on an Ubuntu Openvpn client? From what I see when connecting the server doesn't seem to push DNS servers, might be looking in the wrong place though. I do have the IP addresses of the DNS servers though, is there a way to add them manually, in the client config or something?
[10:27] <tomreyn> is the openvpn client an ubuntu desktop or ubuntu server installation? which version?
[10:29] <Slartibart> It's Ubuntu desktop 22.04(virtualbox on windows 11), command line there. Openvpn 2.5.5. Recently ran apt update.
[10:30] <tomreyn> so you prefer to configure it from a shell than using the GUI?
[10:31] <tomreyn> s/than/over/
[10:32] <Slartibart> Actually I tried setting it up in the GUI, there's a field there for DNS server addresses and all. But currently I'm missing something in the GUI setup, it doesn't work while openvpn+client.conf does.
[10:32] <tomreyn> because the easiest way to configure an openvpn client on a graphical desktop is to import the configuration into a network manager profile
[10:33] <tomreyn> i see
[10:34] <tomreyn> classically, the configuration file usually refers to a "script" which is run after the connection is established, to set up static routes and dns.
[10:34] <Slartibart> It's possible to import an openvpn config into network manager?
[10:35] <Slartibart> Yes, update-resolv-conf
[10:35] <tomreyn> yes, it's possible to import an openvpn configuration file into the openvpn plugin for network manager
[10:36] <Slartibart> I'll try it right away.
[10:36] <tomreyn> openvpn knows of a so-called script-security which is a measure to reduce what said script may do. this can get in the way of running scripts.
[10:39] <tomreyn> in systemd land, however, if you want to configure it as you would on an ubuntu server, you'd probably manage openvpn 'client' connections as systemd services instead.
[10:41] <tomreyn> note that i have not tested whether this mechanism actually exists on ubuntu, too: https://wiki.debian.org/OpenVPN#VPN_connection_started_as_a_Systemd_service
[10:43] <tomreyn> network-manager-openvpn-gnome is the package you need to have installed to manage openvpn configurations graphically on gnome.
[11:03] <OnkelTem> Hi folks! I'm configuring a VPS on Ubuntu 22.04 and among requirements there is Xorg presence. What desktop/window manager you would recommend to use? Xfce/Mate/Lxde/Gnome/Cinnamon or KDE? :) Something different?
[11:03] <OnkelTem> s/what/which/
[11:06] <tomreyn> Ubuntu comes with Gnome (gnome-shell, mutter). others are available and (community) supported as part of ubuntu !flavors.
[11:07] <tomreyn> on a server type computer, you usually do not have a graphical user interface, and usually no X server
[11:14] <Slartibart> Yeees. Finally. Thanks, tomreyn! I still had to add the dns server ip manually, but that's a one-time job so it's nothing. Thanks!
[11:14] <tomreyn> Slartibart: glad you worked it out.
[11:21] <OlegD> how to grep all sublime processes with ubuntu
[11:23] <Slartibart> ps -A | grep sublime ? ..or whatever the processes are named?
[12:22] <BluesKaj> Hi all
[12:42] <mozambique> UFCD DESIGNATION: Cybersecurity Fundamentals
[12:42] <mozambique> UFCD CODE: 9188
[12:42] <mozambique> Goals
[12:42] <mozambique> Identify the fundamentals of cybersecurity.
[12:42] <mozambique> Recognize the different types of cyber threats.
[12:42] <mozambique> Recognize the profile and motivation of cyber attacks.
[12:55] <pi_> hello world
[12:56] <pi_>  where to find the file:  linux-headers-5.19.0-46_5.19.0-46.47_all.deb  ?
[12:57] <leftyfb> pi_: why?
[12:58] <pi_> to compile virtualbox.
[12:58] <coconut> pi_, apt cache folder
[12:59] <leftyfb> pi_: what release of ubuntu are you running?
[13:00] <pi_> Description:    Ubuntu 22.10 Release:        22.10 Codename:       kinetic
[13:00] <pi_>  5.19.0-46-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 13:30:11 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
[13:00] <leftyfb> pi_: 22.10 is EOL. You need to upgrade
[13:01] <leftyfb> pi_: but also, you can just install virtualbox with: sudo apt install virtualbox
[13:01] <pi_> anyhow is there a backup somewhere for linux-headers-5.19.0-46_5.19.0-46.47_all.deb ?
[13:01] <mozambique> ok
[13:02] <leftyfb> mozambique: what do you need help with?
[13:02] <mozambique> the OS need s to be more usb friendly
[13:02] <mozambique> there is a lack f software for usb's
[13:02] <leftyfb> mozambique: can you be more specific?
[13:02] <mozambique> in linux area
[13:02] <mozambique> example
[13:02] <mozambique> I have to run mount all the time
[13:03] <mozambique> the system doesn't regocnize the usb
[13:03] <mozambique> and I need to amke mount auto all the time
[13:04] <leftyfb> mozambique: if you plug a USB flash drive into a computer running a modern release of ubuntu and the filesystem on that device is supported and clean, it will automount to /media/$USER/X
[13:05] <mozambique> no
[13:05] <mozambique> ???
[13:05] <mozambique> maybe a bug
[13:05] <mozambique> ssorry
[13:05] <leftyfb> mozambique: what release of ubuntu are you running?
[13:05] <mozambique> ups
[13:05] <pi_>    http://launchpadlibrarian.net/672569520/linux-headers-5.19.0-46-generic_5.19.0-46.47_amd64.deb  <-- maybe ?
[13:05] <mozambique> kali???
[13:05] <mozambique> sorry
[13:05] <leftyfb> !kali | mozambique
[13:14] <akik> hi, i disabled ubuntu's lxd's socket activation for these snap.lxd.daemon.unix.socket and snap.lxd.user-daemon.unix.socket. after a reboot they've been restored so they don't point to /dev/null any more. how to fix this?
[13:15] <akik> the problem i try to resolve is how to start lxd and a lxd container automatically on boot
[13:17] <ogra> it should happen automatically once you have your first container ...
[13:17] <ogra> (it surely does on all my machines)
[13:17] <akik> ogra: lxd doesn't startup automatically on boot
[13:17] <ogra> it does here
[13:17] <akik> $ systemctl is-enabled snap.lxd.daemon
[13:17] <akik> enabled
[13:18] <ogra> $ snap info lxd|grep -A3 ^services|grep lxd.daemon
[13:18] <ogra>   lxd.daemon:      simple, enabled, active
[13:19] <ogra> (and i never tinkerd with it)
[13:19] <akik>   lxd.daemon:      simple, enabled, inactive
[13:19] <ogra> do you have any containers yet ?
[13:19] <akik> what's the difference between snap.lxd.daemon and lxd.daemon?
[13:19] <akik> ogra: yes, one
[13:20] <ogra> hey are the same process but one is lower levl stuff you should not touch (systemd level)
[13:20] <ogra> *they
[13:20] <akik> i don't want to use socket activation, but just start up lxd and the container automatically on boot
[13:20] <ogra> sudo snap start --enable lxd.daemon
[13:20] <akik> oh it's done like that. thanks
[13:20] <ogra> then check again
[13:21] <akik> # snap start --enable lxd.daemon
[13:21] <akik> Started.
[13:21] <akik> i was starting it with systemd
[13:21] <ogra> the socket activation is orthogonal ... it is used to trigger lxd.daemon to start if you have no container yet but use the lxc command
[13:26] <leftyfb> ogra: hm, so I'm learning something new here, but not having the same results as you
[13:26] <leftyfb> ogra: https://pastebin.ubuntu.com/p/VDP8tV8wMD/
[13:27] <akik> ogra: lxd is still not starting automatically
[13:27] <ogra> interesting ...
[13:28] <akik> ogra: mind you, this is wsl 2 vm where i have this setup
[13:28] <ogra> oh, there might indeed be differences in wsl2 ...
[13:28] <leftyfb> I've run into this issue kinda often Sometimes on boot the containers don't start up automatically
[13:28] <leftyfb> I'm not on wsl
[13:28] <akik> ogra: it is ubuntu 22.04
[13:28] <ogra> there is a soecific irc channel for wsl stuff IIRC
[13:28] <ogra> *specific
[13:28] <akik> ogra: yes i'm in there
[13:29] <ogra> leftyfb, worth a bug i guess ... they are definitely supposed to (and work here on 5 machines OOTB as expected)
[13:29] <akik> ogra: i ran this and it seemed to work(?) but lxd is not running after the vm reboot: snap start --enable lxd.daemon
[13:30] <leftyfb> ogra: I'm not so sure it's a bug. I get this across all of the 22.04 servers I manage
[13:30] <akik> lxd.daemon       enabled  inactive  socket-activated
[13:30] <ogra> akik, does it show as enabled in "snap info lxd" before you run this command ?
[13:30] <ogra> hmm
[13:30] <leftyfb> simple, enabled, active
[13:30] <leftyfb> I get that for lxd.daemon
[13:31] <akik> ogra: lxd starts up fine when i run lxc list
[13:31] <ogra> i dont run server anywhere, desktop and UbuntuCore all over the place ... i wonder if thats specific to server installs
[13:31] <akik> ogra: so does the lxc container
[13:32] <ogra> try asking in https://discourse.ubuntu.com/c/lxd/support/149
[13:33] <ogra> they should definitely know whats going on there 🙂
[13:33] <akik> ok thanks
[13:35] <akik> ogra: "However, this site is NOT for technical support"
[13:36] <ogra> akik, it is 🙂
[13:36] <akik> ogra: okay :)
[13:36] <ogra> ah, there is also (on the old support forum)  https://discuss.linuxcontainers.org/t/lxd-snap-switching-to-socket-activation/2793
[13:37] <ogra> The LXD daemon will now startup when:
[13:37] <ogra>     You first talk to it
[13:37] <ogra>     You have auto-started containers
[13:37] <ogra> ...
[13:37] <ogra> so i guess i somehow have "auto-started containers" everywhere ... not sure how i got them though 🙂
[13:37] <akik> there's a command for that
[13:38] <akik> but i used it
[13:38] <akik> lxc config set ubuntu-jammy boot.autostart true
[13:38] <akik> i don't know how to create a new thread in that forum
[13:39] <pi_> hello
[13:39] <pi_> archive.ubuntu does not have virtualbox ?
[13:39] <pi_> is there a archive source list for kinetic 22.10 ?
[13:39] <leftyfb> pi_: it's part of the multiverse repo
[13:39] <leftyfb> pi_: Ubuntu 22.10 is End of Life and unsupported
[13:40] <pi_> i look for virtalbox-qt 6.1 38 dfsg 3 amd64 deb
[13:40] <ogra> akik, you need to browse a few posts, the discourse has an "anti spam bot" setup that rquires that
[13:40] <pi_> is there any archive somewhere on the web?
[13:40] <leftyfb> pi_: that version was available in Ubuntu 20.04
[13:40] <ogra> pi_, you need to upgrade to 23.04 we can not support EOL releases here
[13:41] <pi_> virtualbox/virtualbox-qt_6.1.38-dfsg-3_amd64.deb   is on some website maybe?
[13:41] <ogra> perhaps ...
[13:41] <leftyfb> pi_: you need to upgrade. Also, installing straight .deb packages downloaded from the archive on releases it wasn't meant for is also not supported
[13:42] <ogra> yeah, hat will likely break ... why would you install such an old version anyway
[13:42] <pi_> does 22.10 have a archive sourceslist on the official ubuntu EOL?  (alike archive for debian)
[13:42] <akik> i think i'll make one blog post and wait for the anti spam bot to learn my presence
[13:42] <ogra> akik, https://discourse.ubuntu.com/t/limiting-brand-new-user-accounts/10687
[13:43] <leftyfb> pi_: You need to upgrade. Good luck
[13:43] <ogra> (its a bit tricky, since discourse.ubuntu.com is not actually a support site ... but the lxd category is using it for support since they moved there )
[13:46] <pi_> leftyfb: how to upgrade ?
[13:46] <leftyfb> !eolupgrade | pi_
[13:47] <pi_> is there a sources list for current lunar ?
[13:48] <ogra> yeah, you get it with the upgrade
[13:48] <lotuspsychje> pi_: are you trying to just switch sources to make the upgrade?
[13:48] <pi_> 22.10 to a new one with virtualbox ...
[13:49] <leftyfb> pi_: please follow the instructions you were given to upgrade
[13:51] <pi_> lunar is the current supported ubuntu ?
[13:51] <leftyfb> yes, until January
[13:51] <pi_> is it right? [13:51] <leftyfb> pi_: personally, I would recommend fresh installing 22.04 which is supported till 2027
[13:52] <leftyfb> pi_: please follow the instructions you were given to upgrade
[13:57] <pi_> I did: apt-get update ; apt-get upgrade ; apt-get dist-upgrade ; sync ; reboot
[13:59] <pi_> ok, now I have ubuntu 23.04... what is the sources.list to get virtualbox to be installed ???
[14:00] <pi_> can you give me a lunar 23.04 working sources.list for getting virtualbox after?
[14:01] <leftyfb> pi_: lets look at your system to find out, please run this including the parens and post the resulting URL here:   ( cat /etc/os-release ; uname -a ; grep -R multiverse /etc/apt/sources.list* ) | nc termbin.com 9999
[14:02] <akik> ogra: i have no idea what i have to do to create a new thread there
[14:02] <ogra> pi_, the upgrader too (do-release-upgrade) updates your sources.list automatically (and a lot of other things that are required for a clean update) ... nothing you need to do
[14:03] <ogra> you should be able to just apt install virtualbox
[14:03] <ogra> akik, there is a plus sign ...
[14:03] <leftyfb> ogra: they might need to enable multiverse
[14:03] <pi_>  wget https://termbin.com/adqf
[14:04] <ogra> hmm, it should be on by default, like universe ... only deb-src lines are off by default normally
[14:05] <akik> ogra: i don't see any + sign
[14:05] <pi_>  do-release-upgrade   seems to not modify it somehow
[14:05] <leftyfb> pi_: please run this including the parens and post the resulting URL here:   ( uname -a ; grep -R multiverse /etc/apt/sources.list* ) | nc termbin.com 9999    # do not try to pick individual commands out or use wget. Please copy and paste the entire command into your terminal
[14:06] <leftyfb> oh wait, it might have worked...
[14:06] <ogra> akik, hmm, it should appear on the top right once your trust level has gotten up
[14:06] <leftyfb> !multiverse | pi_
[14:06] <leftyfb> pi_: https://pimylifeup.com/ubuntu-multiverse-repository/
[14:07] <akik> ogra: the bot doesn't like me :(
[14:07] <ogra> bah
[14:21] <deadrom> hi
[14:23] <deadrom> an LTS production machine with dockerd running anyway, instead of permanently installing all the management tools like this network config and that editor and the other fancy editor, is there standard toolbox?
[14:25] <akik> ogra: tomp granted me user level 1! woohoo!
[14:27] <leftyfb> deadrom: huh?
[14:28] <deadrom> leftyfb, the idea is: small footprint and only brng in your fav tools when you need them
[14:28] <leftyfb> deadrom: ok?
[14:28] <leftyfb> deadrom: install ubuntu server
[14:28] <leftyfb> there is a "minimal" option which doesn't even include vi or ping
[14:28] <leftyfb> or even nano for that matter
[14:29] <deadrom> yes. now come the day when you need nano and say your other 10 standard tools
[14:29] <leftyfb> install them
[14:29] <deadrom> now you could install them all, but then you've blown up the footprint permanently
[14:29] <leftyfb> ok?
[14:29] <deadrom> could uninstall afterwards, but that's tedious
[14:30] <leftyfb> deadrom: what is your question exactly?
[14:30] <deadrom> is there any gain in putting them all in a container and load that from the registry only when needed
[14:30] <leftyfb> there is no "registry"
[14:31] <leftyfb> and sure, you could put them in docker, which you will need to install and uninstall as needed
[14:32] <leftyfb> deadrom: there is no magical way to have tools at your disposal without having them take up resources.
[14:33] <deadrom> I am stil processing "there is no registry", which doesn't make sense to me
[14:33] <deadrom> *still
[14:33] <leftyfb> deadrom: linux != Windows
[14:34] <deadrom> container registry.
[14:35] <leftyfb> ok, the "docker registry" is a repository for docker containers
[14:36] <leftyfb> and sure, you can create a docker container, upload it to a docker registry and pull it down as needed
[14:36] <leftyfb> it's not much more effort than installing and uninstalling .debs, but sure
[14:36] <leftyfb> except the packages on the container are never updated
[14:37] <leftyfb> and requires the use of a docker daemon taking resources when there's no docker container loaded
[14:38] <leftyfb> where-as tools (binaries) only take up maybe megabytes of disk space, the dockerd daemon takes up disk space, memory and cpu, albeit not much
[14:41] <leftyfb> also, a docker container loaded with tools will take up slightly more space than just loading the tools in your OS directly
[14:49] <deadrom> we live in the days of GB RAM and 6 core cpus that cost less then a pair of shoes. updating the packages is a question of build system. loading/unloading can be login/logout triggered
[14:52] <ioria> depends on the pair of shoes
[15:04] <leftyfb> deadrom: the same goes for the storage space
[15:05] <deadrom> ioria, 1460Z
[15:11] <mordant> so I'm trying to setup an MTA, found this page: https://tecadmin.net/install-sendmail-on-ubuntu/ - my sendmail.mc doesnt contain any of what they outline in step 3, configuring sendmail.mc, do I have some goofy version installed or something? or can I just add those lines to my sendmail.mc file?
[15:11] <dman777> how can I get the vim 9.*? it seems the standard rep only has 8.0
[15:11] <dman777> 8.*
[15:11] <leftyfb> !latest | dman777
[15:12] <dman777> !ppa
[15:12] <leftyfb> dman777: also, what does vim have to do with sendmail?
[15:12] <leftyfb> dman777: also, I would recommed postfix over sendmail
[15:13] <mordant> that was my question
[15:13] <dman777> leftyfb: that might be someone else... no mention of sendmail from me :)
[15:13] <leftyfb> oops, sorry
[15:13] <dman777> np :)
[15:14] <mordant> I had postfix and gave up because I couldn't configure that one either. I have an SMTP server and credentials, I followed tons of articles, and every single attempt failed, I know I'm missing something. Does my machine's hostname have to match my relayhost for postfix?
[15:14] <mordant> my FQDN I mean
[15:15] <leftyfb> mordant: I would recommend going back to postfix and /join #postfix for help with it
[15:15] <mordant> leftyfb, I'll do that, thanks for the suggestion
[15:29] <tomreyn> mordant: do you just want to send outbound email through an existing smtp account, or do you want to create new mailboxes (smtp and / or imap) for receiving and sending mail?
[15:30] <mordant> @tomreyn, just sending outbound mail through existing smtp
[15:30] <tomreyn> if it's the former, you could cut it short and just use "ssmtp" or a similar "nullmailer"
[15:33] <mordant> someone over in #postfix just recommended nullmailer as well, I'll definitely check that out
[15:34] <dman777> how can I compile vim and have it use /etc/vim/?
[15:37] <tomreyn> mordant: 'nullmailer' both refers to a type of software and an implementation of it. from what i remember, the "nullmailer" software (implementation) lacks the ability to do smtp authentication (which you, however, will require). the "ssmtp" software (implementation), however, supports authentication, which is why i suggested this.
[15:37] <Nishnabe> nick
[15:39] <tomreyn> dman777: why do you need the newer vim?
[15:40] <dman777> tomreyn: for github copilot
[15:40] <tomreyn> vim 9.0 is available in ubuntu releases since 22.10
[15:41] <mario90> hi,I installed xubuntu Lunar on my old 2013 iMac and wanted to use it as an external monitor anyway. is it still possible? Thank you
[15:47] <tomreyn> mario90: you want to use the entire mac as an external monitor? external to what?
[15:54] <mario90> tomreyn, to use it with my intendo switch
[15:55] <Nishnabe> nick
[15:55] <tomreyn> Nishnabe: can we help you?
[15:56] <tomreyn> mario90: oof i don't see how that would work.
[15:57] <Nishnabe> tomreyn trying to change the black nick color so it does not blend with my background color
[15:59] <leftyfb> Nishnabe: feel free to ask for help with IRC in #libera
[16:00] <leftyfb> mario90: the only way to do that is to plug an HDMI capture card into the ubuntu machine and set it as fullscreen. There will be a delay, whether or not it affects your gaming depends on the game
[16:00] <leftyfb> mario90: mind you, this same process can be done with any OS
[16:00] <lotuspsychje> mario90: how about another approach, use a nintendo emulator on your ubuntu?
[16:01] <leftyfb> lotuspsychje: lets not suggest that
[16:01] <lotuspsychje> why not? its a snap
[16:02] <leftyfb> lotuspsychje: the legality of actually using it is questionable
[17:58] <elias_a> leftyfb: Which jurisdiction are you talking about?
[17:59] <leftyfb> !ot | elias_a
[18:01] <elias_a> leftyfb: If you do not want to discuss legal issues and differences between the legal differences of countries, please do not make misleading statements like that.
[18:02] <elias_a> This is a global support channel. Things that are legal in one country may be illegal in another country and vice versa.
[18:02] <leftyfb> hence "questionable"
[18:02] <elias_a> I am not aware of any country where it would be even "questionable".
[18:03] <leftyfb> elias_a: feel free to discuss in #ubuntu-offtopic  (though I will not be participating)
[18:04] <elias_a> leftyfb: Feel free to say no more about legal issues.
[18:04] <danse-nr3__> hey relax folks
[19:08] <locke> What IRC clients are available for Ubuntu ?
[19:09] <locke> I found out, from my consultant, that xchat is not available for ubuntu.
[19:09] <locke> So, what IRC clients are?
[19:12] <birdwing> quassel, hexchat
[19:16] <greggio> hello world
[19:19] <nshirelaptop> so I'm looking at a stackoverflow answer to disable the internal bt adapter. it says "sudo -H gedit /etc/udev/rules.d/81-bluetooth-hci.rules
[19:19] <nshirelaptop> "
[19:20] <locke> hexchat isn't available for ubuntu.
[19:20] <nshirelaptop> yes it is
[19:20] <nshirelaptop> what's the relevance of 81 in my previous message? sorry got cutoff from linebreak
[19:20] <locke> Where would I find it, then?
[19:20] <nshirelaptop> sudo apt install hexchat
[19:21] <nshirelaptop> Client: HexChat 2.16.0 • OS: Ubuntu "jammy" 22.04 • CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (500MHz) • Memory: Physical: 7.4 GiB Total (5.5 GiB Free) Swap: 11.7 GiB Total (11.7 GiB Free) • Storage: 84.2 GB / 189.1 GB (105.0 GB Free) • VGA: Intel Corporation Skylake GT2 [HD Graphics 520] @ Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers • Uptime: 17m 35s
[19:26] <locke> Thank you!
[19:26] <nshirelaptop> np
[19:27] <locke> O guess that my consultant was off in La-La Land.
[19:27] <nshirelaptop> did they say it wasn't available?
[19:28] <nshirelaptop> so I need to get the vendor id and product id of my internal usb bluetooth adapter to replacce into the following string, how do I get those? "SUBSYSTEM=="usb", ATTRS{idVendor}=="105b", ATTRS{idProduct}=="e065", ATTR{authorized}="0""
[19:28] <nshirelaptop> lsusb shows Bus 001 Device 003: ID 0a5c:6412 Broadcom Corp. BCM2045A0
[19:29] <nshirelaptop> is 0a5c the vendor and 6412 the product id?
[19:37] <nshirelaptop> for sake of completion, 0a5c:6412 was in fact the vendorID:productID as laid out in the lsusb manpage
[19:44] <leejones> Thank you, nshirelaptop!
[19:44] <leejones> This is Locke!
[19:45] <nshirelaptop> nice
[19:48] <leejones> Are you using hexchat?
[19:48] <nshirelaptop> yep
[19:51] <leejones> I'm trying to find a larger font now, one I can read without the glasses.
[19:52] <leejones> I'm on Monospace 9. And it can't change the size to 14.
[19:53] <leejones> I get the messsage "Failed to open Monospace" in a new window.
[19:53] <nshirelaptop> I don't experience that
[19:54] <leejones> What font are *you* using?
[19:54] <nshirelaptop> monospace 10
[19:54] <nshirelaptop> battery is about to quit
[19:55] <leejones> Monospace 10 also failed to open.
[19:57] <xangua> Did you try setting the size in your global font configuration?
[19:58] <leejones> Where is the global fong configuration?
[19:59] <leejones> Where is the global font configuration?
[20:00] <xangua> Don't know what desktop you use, assuming gnome I haven't used it in a long time
[20:15] <leejones> The fonts I generally use are: 1) Arial where everything is proportionally space,  2) Courier where the character sizes are all the same, including the "i" and the "m". and   3) Liberation Mono, where the numeral sizes are all the same, but all other characters are proportional, which is good for text files in which there are columns of figures.
[20:44] <ice9> is it possible to export Ubuntu's gnome-shell theme and use with other distro?
[20:44] <Eickmeyer> ice9: It's freely available: https://github.com/ubuntu/yaru
[20:45] <ice9> Eickmeyer, I don't think that one is updated to the same version that is in 23.10 or?
[20:45] <Eickmeyer> ice9: That's literally where the development happens.
[20:46] <Eickmeyer> Latest commit was last week.