[01:02] <smee> Hi, is it possible to apt update an img that is not the one loaded?
[01:04] <cartdrige> an img?
[01:04] <leftyfb> smee: if you can properly chroot to it, yes
[01:04] <smee> I might be using the wrong term here, when Linux starts, press ESC and you get a list to choose from.
[01:04] <NickH> kernel
[01:05] <NickH> In grub?
[01:05] <NickH> Before linux starts?
[01:05] <leftyfb> those are kernels, nothing to do with the rest of the packages on your system
[01:05] <leftyfb> smee: your machine will update to the latest kernel as needed
[01:06] <NickH> Need to reboot to actually use the new kernel though.
[01:06] <smee> Within GRUB, the list of Kernels, NickH has mentioned kernels.
[01:07] <leftyfb> smee: and those will get updated and removed as necessary
[01:07] <smee> The issue is I updated to the latest nvidia driver and now the kernel won't start completely. Just stops after displays some text.
[01:08] <leftyfb> smee: what version of ubuntu?
[01:08] <smee> 22.04
[01:09] <leftyfb> smee: which kernel?
[01:10] <smee> I've got 5.15.0-48-generic and 5.5.15.0.56. 56 wont start but 48 does in recovery mode.
[01:10] <leftyfb> smee: you should instal linux-generic-hwe-22.04. That should bring the necessary modules package you need
[01:11] <smee> I'm hoping to update 56 and see if I can get that started, I dont wont 48 to be placed in a bad state like 56
[01:11] <leftyfb> smee: boot to your working kernel and install linux-generic-hwe-22.04
[01:21] <smee> leftyfb: Can  linux-generic-hwe-22.04 be install as a new kernel ?
[01:22] <leftyfb> smee: it's a meta package that will just make sure you have the latest kernel installed. But it should do a better job of also making sure you have the proper modules package installed as well
[02:18] <leftyfb> smee: did you install linux-generic-hwe-22.04 and reboot?
[02:19] <smee> leftyfb: No, I haven't worked out how to start the dud kernel.
[02:20] <smee> I want to make sure that the one that I can get into via recovery is not touched.
[02:20] <leftyfb> smee: I told you to just start ANY kernel that you can get into
[02:20] <leftyfb> smee: that's not how this works
[02:20] <leftyfb> smee: your working kernel won't get removed yet
[02:21] <leftyfb> smee: boot into a working kernel and run: sudo apt install linux-image-generic-hwe-22.04
[02:22] <smee> leftyfb: so will this create a new kernel?
[02:23] <leftyfb> smee: I told you exactly what it is and what it will do
[02:23] <leftyfb> smee: it's a meta package that will just make sure you have the latest kernel installed. But it should do a better job of also making sure you have the proper modules package installed as well
[02:23] <leftyfb> from 1 hour ago
[02:23] <leftyfb> it should take you less than a minute to boot into a kernel that'll let you login to a terminal and install the package
[02:26] <cartdrige> if you can't boot with grub, you can boot with a live USB stick and chroot to the filesystem of the hard drive (chroot tutorial to mount /dev etc. few terminal commands)
[02:27] <leftyfb> they can boot just fine into 48 which will work
[02:28] <smee> leftyfb: I'm wanting to make sure that the outcome was going to be a NEW kernel to select  from via GRUB? And no, the only kernel I cant start is the previous one but only in recovery mode.
[02:28] <leftyfb> smee: you don't need a NEW kernel. You're probably just missing the modules package for the latest kernel.
[02:28] <leftyfb> smee: please just take the advice
[02:29] <leftyfb> smee: it's been over an hour and you probably could have had this fixed in a couple minutes but you refuse
[02:32] <smee> leftyfb: Not refuse, just time poor.
[02:33] <leftyfb> smee: boot into a working kernel and run: sudo apt install linux-image-generic-hwe-22.04
[02:33] <smee> leftyfb: ok
[02:34] <sarnold> .. wouldn't "time poor" have been "thanks for the advice let me run that and report back"? :)
[02:35] <leftyfb> horse to water
[03:02] <quazimodo> 20.04 has wireguard built into the kernel right?
[03:02] <quazimodo> or do i need to install kernel modules for it via apt?
[03:04] <leftyfb> quazimodo: pretty sure it's already there
[03:07] <sarnold> quazimodo: it depends on which kernel package you have installed if the module comes along easily or if you need a new linux-modules-extra-* package https://termbin.com/3oss
[03:07] <sarnold> quazimodo: most people won't need to do anything
[03:14] <quazimodo> goti it
[05:07] <casada> hola
[09:22] <tozzi> anyone knows hopw to access mongodb with preinstalled wekan on 22.04.1 server ?
[09:22] <tozzi> trying to change my user as admin in wekan.
[11:11] <screenboi> Hey all, I have a weird problem. I have been using a dock for my laptop(screens go through dock) for a few months now, but since rebooting it doesn't work anymore. I tried a different dock, same problem. I can confirm the dock working at another computer. I am not sure what I should do now
[11:13] <murmel> screenboi: does your journal say anything, when you connect the dock?
[11:16] <screenboi> murmel: What should I be looking for? I disconnected it and connected, there is a lot of messaging. BTW, I currently use a keyboard + mouse succesfully through the dock. But let me upload the journal, a sec
[11:20] <screenboi> murmel: This is the pasty: https://pastebin.ubuntu.com/p/jgmJGpdTW8/
[11:20] <screenboi> That is the disconnecting + connecting log
[11:28] <murmel> screenboi: is the other system also ubuntu?
[11:29] <screenboi> murmel: No, a windows system.
[11:34] <murmel> screenboi: what dock are we talking about? as from skimming through the logs, I assume something from ASIX?
[11:34] <murmel> sadly docks are quite annoying on linux :S
[11:39] <screenboi> murmel: The dock says Baseus. But it is strange since it worked for the last few months. Just after booting up this morning it doesn't anymore.
[11:39] <murmel> screenboi: did you update anything last time you booted?
[11:39] <murmel> or did anything else which could interfere?
[11:42] <daily> i have this text string: "./gameconfigurations/initialinstallpackage/cas_02.cas" and i want to replace everything between slashes with double dots, how can i do that, using sed (or equivalent)? so i want the output to be "./../../cas_02.cas"
[11:44] <otisolsen70> On my Ubuntu servers, I seem to have an endless stream of these type of audit messages in auth.log: https://paste.yt/p24403.html Does Ubuntu Server by default log every program executed on a system? Is there a way to disable this?
[11:47] <murmel> screenboi: hey, sadly I have to go offline, so hope you can find somebody else who can help you :)
[11:54] <Maik> otisolsen70: please don't cross post
[11:54] <otisolsen70> Sorry, it was because I thought #ubuntu-server was dead and the topic mentioned this channel.
[11:56] <Maik> it's not dead :-) people aren't 24/7 at their pc and most of us are just volunteers. Just try to be patient and if no answer try asking again at a later point of the day or try askubuntu.com or the forums
[11:57] <otisolsen70> alright
[12:50] <davegarath> Hi all, I´ve Ubuntu 20.04 with root encrypted file system. I've run apt-get upgrade and it was installed new 5.15.53-generic linix image. At boot it still stuck and don't ask me in graphical form for the passphrase to unlock the FS. Booting with my old 5.15.0-48 I have not any problem. Also booting in safety mode with 5.15.0-53. Any idea how to fix this ?
[13:00] <_merlin_> I have this keyboard shortcut I need to copy to 30 other machines. Is there any shell command I can make to deploy keyboard ou any file do edit, so I can automate this task?
[13:13] <Apachez> rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
[13:13] <Apachez> rehash: warning: skipping dhparam.pem,it does not contain exactly one certificate or CRL
[13:13] <Apachez> now what?
[13:26] <BluesKaj> Hi all
[14:35] <GrImz> Hi all! Ubuntu server noob here, i'm installing a Ubuntu Server with Graylog&ElasticSearch&MongoDB on it and i'd like to update everything except the Kernel since I don't want any compatibility with Ubuntu version and my apps.
[14:35] <GrImz> Any apt-get command that update/upgrade all except the kernel?
[14:36] <leftyfb> GrImz: there shouldn't be any compatibility with the kernel and your apps
[14:36] <leftyfb> compatibility issues*
[14:37] <leftyfb> GrImz: you can always remove the newer kernel if needed
[14:38] <GrImz> https://go2docs.graylog.org/5-0/downloading_and_installing_graylog/installing_graylog.html#:~:text=The%20Graylog%20server%20application%20is,%2FCentOS%206%2C%207%2C%208
[14:39] <GrImz> System requirement says Ubuntu 22.04
[14:39] <leftyfb> GrImz: ok, so install Ubuntu 22.04
[14:40] <GrImz> but if I install 22.04 and do apt-get update/upgrade it will upgrade to 22.10 right?
[14:40] <leftyfb> negative
[14:40] <GrImz> oh
[14:40] <InZane> yeah that's not sane behavior for a LTS release to upgrade to a non-lts....
[14:41] <GrImz> ok cool!
[14:41] <leftyfb> apt-get upgrades packages, it will not upgrade your release without first purposely making changes to system elsewhere
[14:42] <GrImz> and thanks all! my install can now resume :)
[15:10] <davegarath> Hi all, I´ve Ubuntu 20.04 with root encrypted file system. I've run apt-get upgrade and it was installed new 5.15.53-generic linix image. At boot it still stuck and don't ask me in graphical form for the passphrase to unlock the FS. Booting with my old 5.15.0-48 I have not any problem. Also booting in safety mode with 5.15.0-53. Any idea how to fix this ?
[15:49] <KBar> hi all. what's the command to install all binary packages that some specific source package provides?
[15:49] <leftyfb> KBar: sudo apt install <package name>
[15:50] <KBar> sorry but that's not what i asked
[15:50] <InZane> 0.o
[15:50] <leftyfb> KBar: source packages in the ubuntu repositories are directly related to the binary packages which they are the source for
[15:51] <KBar> leftyfb: try that with gtk+3.0 for example
[15:51] <KBar> it wont work
[15:51] <KBar> there are many source packages that are named differently and that come with multiple binary packages
[15:52] <ashafq> KBar, like dev package?
[15:52] <ashafq> sudo apt install libsomething-dev?
[15:52] <KBar> nope
[15:52] <ioria> apt-cache  showsrc  gtk+3.0 | sed -n "/Binary:/,/Architecture:/p"
[15:52] <ashafq> there you go
[15:54] <KBar> ioria: nice! i imagine there isn't a single command/option for this kind of operation?
[15:55] <ioria> you mean a one-liner install command or such ?
[15:55] <KBar> yeah kinda like a flag to `apt` itself, e.g. `apt instal -S gtk+3.0`
[15:56] <KBar> -S meaning 'install all binaries provided by this source'
[15:57] <ioria> i don't know that, sy
[15:57] <blomberg> should i do-release-upgrade -d #or without -d and should i update&upgrade my os first before release-upgrade?
[15:57] <leftyfb> blomberg: you should run before you upgrade your release: sudo apt update ; sudo apt full-upgrade
[15:58] <KBar> ioria: thanks for the tip!
[15:58] <blomberg> why not just upgrade ? why full-upgrade leftyfb
[15:58] <ioria> no prob
[16:00] <blomberg> should i -d?
[16:00] <leftyfb> blomberg: what release of ubuntu are you currently running and what release are you trying to get to?
[16:00] <blomberg> 20.04
[16:00] <blomberg> latest 22
[16:01] <leftyfb> blomberg: -d is for the latest development release which is currently 23.04
[16:01] <blomberg> what's the difference
[16:01] <blomberg> and what's the non-dev release latest
[16:02] <leftyfb> blomberg: as for full-upgrade, it will remove any packages or dependencies that aren't needed anymore. No sense in trying to re-install those on your new release
[16:02] <leftyfb> blomberg: the latest LTS release is 22.04. I recommend continuing your pursuit to upgrade to that
[16:03] <blomberg> ok then i can just use the non-LTS version and keep running -d after expiry of 23.04
[16:03] <blomberg> I prefer LTS for installs, but seems do-release-upgrade is awesome as it's so easy and comfy
[16:03] <leftyfb> 23.04 is not released yet and unless you plan on installing for the purposes of discovering, reporting and/or fixing bugs, I do not recommend upgrading to it
[16:04] <blomberg> ahh i see
[16:04] <leftyfb> blomberg: I suggest upgrading to 22.04 and not worrying about 23.04 or even 22.10 unless you know you need either of those
[16:05] <blomberg> i can get 23.04 after the ... release, since non-LTS too seems fine from this comfy cool do-release-upgrade
[16:05] <leftyfb> blomberg: 22.10 and 23.04 are not LTS releases.
[16:06] <blomberg> next LTS is 24.04 yes
[16:07] <blomberg> you have LTS ? and prefer it?
[16:07] <blomberg> well i prefer the latest
[16:07] <blomberg> non-dev
[16:08] <blomberg> is LTS more secure,?
[16:08] <leftyfb> blomberg: LTS's tend to be more stable
[16:09] <leftyfb> and continue to get security patches for 5 years
[16:15] <davegarath> Hi all, I´ve Ubuntu 20.04 with root encrypted file system. I've run apt-get upgrade and it was installed new 5.15.53-generic linix image. At boot it still stuck and don't ask me in graphical form for the passphrase to unlock the FS. Booting with my old 5.15.0-48 I have not any problem. Also booting in safety mode with 5.15.0-53. Any idea how to fix this ?
[16:15] <davegarath> I'm searching it in google since 7 days without success
[16:16] <WaV> davegarath: uname -a
[16:16] <WaV> davegarath: Does it say Oracle at the end?
[16:16] <davegarath> nope
[16:16] <davegarath> Linux dave-desktop 5.15.0-48-generic #54~20.04.1-Ubuntu SMP Thu Sep 1 16:17:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[16:17] <davegarath> This version are working correctly
[16:17] <leftyfb> davegarath: sudo apt install linux-image-generic-hwe-20.04
[16:17] <davegarath> The kernel with the problem is 5.15.0-53 generic
[16:19] <davegarath> leftyfb, why hwe-20.04 ?
[16:19] <leftyfb> davegarath: it will do a better job at keeping you with the latest kernel and the associated modules packages
[16:20] <davegarath> I'll try
[16:23] <davegarath> leftyfb, I'm thinking to do-release-upgrade in the next future to ubuntu 22.04. Do you think I'll do some problem ?
[16:23] <leftyfb> davegarath: depends on what the problem is. You have yet to determine that
[16:30] <davegarath> doh! leftyfb is left
[16:31] <leftyfb> davegarath: ?
[16:31] <davegarath> leftyfb, tab completion confused me
[16:32] <davegarath> leftyfb, I've installaed linux-generic-hwe-20.04 that as insalled initrd.img-5.15.0-56-generic But I've the same problem
[16:32] <davegarath> just initrd.img-5.15.0-48-generic seems works
[16:33] <leftyfb> davegarath: sudo apt install linux-modules-5.15.0-56-generic linux-modules-extra-5.15.0-56-generic
[16:34] <leftyfb> davegarath: after that, try booting to 5.15.0-56-generic which should be the default
[16:34] <davegarath> But the strange thing is that if I choice safe mode of the kernel he ask me the passphrase and I can boot normally after that
[16:35] <WaV> davegarath: Try what leftyfb suggested. Sounds like your hardware isn't supported without some additional kernel modules.
[16:35] <davegarath> leftyfb, linux-modules and extra are already installed
[16:36] <leftyfb> davegarath: apt list --installed |grep oracle    # do you have any oracle kernel installed?
[16:36] <leftyfb> (not sure if this was just an issue on 22.04)
[16:37] <davegarath> I'm on 20.04.5 now
[16:41] <knmae> Hey, I needed to log in from tty, how to change localization of keyboard?
[16:42] <leftyfb> knmae: sudo dpkg-reconfigure locales
[16:43] <leftyfb> sudo update-locale LANG=fi_FI.UTF-8
[16:51] <knmae> Great, thanks! Do I need to reboot or something?
[16:54] <leftyfb> knmae: I don't think so. Though I've never actually done it
[16:54] <leftyfb> knmae: maybe a lot out and back in might help
[17:31] <oerheks> leftyfb, seen this before, how does this oracle kernel get installed?
[18:17] <leftyfb> oerheks: not sure, though it was a bug that seemed to happen recently to multiple people
[18:53] <noord> does 22.04 force to use snap or flatpak?
[18:59] <leftyfb> noord: flatpak is not officially supported in ubuntu
[18:59] <leftyfb> noord: there are a few packages in ubuntu 22.04 that are only available via snap, like firefox
[19:03] <cartdrige> Actually weither it is snaps or normal .deb is not visible at all for a normal user. But the snap version mounts virtual FS etc which makes things even more obscure, like when looking at mount output or process going on.
[19:06] <leftyfb> cartdrige: you're assuming all users only use the GUI software app to install applications. When using the CLI, it's very apparent if an app is a snap or .deb
[19:07] <noord> cartdrige: which messes df output, and bundles its dependencies, no thanks
[19:08] <leftyfb> noord: snaps do not "mess with" "bundles" or dependencies
[19:08] <leftyfb> noord: for df you can run: df -h -x squashfs
[19:11] <cartdrige> leftyfb, all snaps are squashfs blobs mounted on the real FS?
[19:11] <leftyfb> yes
[19:11] <cartdrige> ok.
[19:12] <leftyfb> catalase: to be clear, sqashfs is a "real FS"
[19:14] <cartdrige> leftyfb, i mean the FS on the hardware, cause squashfs is like an ISO, on top of the FS of the hardware.
[19:27] <neoweb> MAN
[19:27] <neoweb> https://askubuntu.com/questions/1337649/how-to-disable-suspend-in-20-minutes-from-the-lightdm-login-screen
[19:27] <neoweb> That worked.
[19:27] <neoweb> It is the only way.
[19:27] <neoweb> Bad ubuntu.
[19:27] <neoweb> BAD!!!
[19:28] <leftyfb> !bug | neoweb
[19:30] <leftyfb> neoweb: though, you must be running an outdated and unsupported version of ubuntu. What you say works is changing configs for lightdm, which isn't used anymore
[19:30] <arraybolt3> Neither is Unity.
[19:30] <arraybolt3> Ubuntu uses GNOME currently (though there is Ubuntu Unity, if you like Unity, and it's now an official flavor).
[19:46] <girafe3> what are official ubuntu flavors ?
[19:47] <leftyfb> !flavors | girafe3
[19:59] <snakes2112> i eat kids
[20:04] <rjwiii> I seem to have 2 instances of Ubuntu Core mounted on my Ubuntu 22.04. One if for Core 20, the other is for Core 16 ... I don't have any USB drives  connected. There are in /media/<user>. Are these supposed to be there?
[20:05] <leftyfb> rjwiii: a reboot should resolve that
[20:06] <rjwiii> leftyfb: Thanks ... I'll reboot after work ...
[20:06] <tomreyn> i'm guessing that rjwiii is probably referring to the compatibility snaps
[20:06] <tomreyn> if so, those wont go away with a reboot
[20:07] <leftyfb> tomreyn: I've seen this before. It does. After upgrading the snap it gets into a weird state where the old mounts get orphaned
[20:07] <tomreyn> hmm, okay, better not research this too much. ;)
[20:08] <leftyfb> and by seen it before, I mean on my own machine. It's happened several times
[20:08] <leftyfb> I THINK a bug was filed for it. Can't remember. It was several months ago that I ran into it
[20:14] <knmae> Yeah, now it wörks, thänks
[21:17] <kiet> whats this channel about
[21:18] <leftyfb> kiet: Ubuntu support