[00:53] <fractal815> I update to Kubuntu 19.10 about a week ago.   Today after the machine suspended because it was not plugged in, it would not boot.   I was forced to choose an older version from Grub,    Currently the  "about" screens shows I have Kubuntu 19.10 but my kernel version is 5.0.0-32-generic.    I thought 19.10 upgrade kernel to 5.3.x.     I have conducte
[00:53] <fractal815> d apt update / upgrade / dist-upgrade etc.   Thoughts?
 was 5.0.0-32 manually installed?
[01:02] <fractal815> no....I believe it's been laying around from a previous version
[01:06] <tomreyn> fractal815: if you like, we can have a closer look together?
[01:07] <tomreyn> if so, please start by running this (does not make any changes, just gathers info): sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -y update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog && rm /tmp/aptlog
[01:08] <tomreyn> it'll post the output of some apt commands to termbin.com,a pastebin-like site
[01:09] <fractal815> Done
[01:10] <tomreyn> fractal815: please post the url it returned
[01:10] <tomreyn> Volker Fratzscher: eher in #ubuntu-de und ggf. auch in #kubuntu-de
[01:12] <tomreyn> fractal815: if it didn't return a url, please check your systesm' network connectivity and run it again
[01:14] <fractal815> https://termbin.com/z8gw
[01:16] <tomreyn> fractal815: i've never seen archive.canonical.com used, is this an official ubuntu mirror?
[01:19] <tomreyn> oh actually that's the partner repository, i've certainly seen that before
[01:19] <tomreyn> fractal815: so now:   nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL)
[01:21] <tomreyn> fractal815: still around?
[01:21] <tomreyn> please say "tomreyn" if you'll return within the next 10 minutes, otherwise i may be gone.
[01:22] <tomreyn> good chat!
[01:24] <fractal815> tomreyn
[01:26] <tomreyn> fractal815: oh hi
[01:26] <tomreyn> what happened there?
[01:27] <fractal815> Sorry....closed the wrong tab
 fractal815: so now:   nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL)
[01:30] <fractal815> https://termbin.com/f50f
[01:30] <fractal815> https://termbin.com/f50f
[01:30] <fractal815> https://termbin.com/f50f
[01:30] <tomreyn> once is usually enough, but thanks
[01:31] <fractal815> yes that pasted strangely
[01:31] <tomreyn> okay, indeed the 5.0 kernel is running. is the right one installed, though?  dpkg -l linux-* | nc termbin.com 9999
[01:33] <tomreyn> fractal815: are you typing these commands into the computer actually? or are you able to copy + paste? if you cannot copy and paste, should we try to make this possible first of all?
[01:33] <fractal815> https://termbin.com/hisy
[01:33] <fractal815> copy and paste
[01:34] <tomreyn> so c&p works, i take it
[01:34] <fractal815> indeed
[01:35] <tomreyn> you need to    sudo apt install linux-generic
[01:35] <fractal815> ok .. i'll do it now
[01:35] <tomreyn> once that's done, with all the dependencies, please post this again:   dpkg -l linux-* | nc termbin.com 9999
[01:35] <fractal815> got it
[01:38] <fractal815> https://termbin.com/5x1m
[01:39] <tomreyn> okay, let's see if we can get those residual packages removed easily (just testing for now):   dpkg --list | grep '^rc' | cut -d ' ' -f 3 | xargs sudo apt --simulate --purge --yes remove
[01:39] <tomreyn> okay, let's see if we can get those residual packages removed easily (just testing for now):   dpkg --list | grep '^rc' | cut -d ' ' -f 3 | xargs sudo apt --simulate --purge --yes remove 2>&1 | nc termbin.com 9999
[01:40] <tomreyn> ^ the latter actually
[01:40] <tomreyn> oh wait no that also doesnt work
[01:40] <tomreyn> okay, let's see if we can get those residual packages removed easily (just testing for now):   dpkg --list | grep '^rc' | cut -d ' ' -f 3 | xargs -i '{}' sudo apt --simulate --purge --yes remove '{}' 2>&1 | nc termbin.com 9999
[01:40] <tomreyn> this one
[01:41] <fractal815> https://termbin.com/vkdl
[01:42] <tomreyn> i failed, once more:   dpkg --list | grep '^rc' | cut -d ' ' -f 3 | xargs -I '{}' sudo apt --simulate --purge --yes remove '{}' 2>&1 | nc termbin.com 9999
[01:43] <fractal815> https://termbin.com/rryv
[01:46] <tomreyn> better but not good, yet, try this:  dpkg --list | grep '^rc' | cut -d ' ' -f 3 | xargs echo | xargs -I '{}' sudo apt --simulate --purge --yes remove '{}' 2>&1 | nc termbin.com 9999
[01:46] <tomreyn> fractal815: ^
[01:48] <fractal815> https://termbin.com/t7dk
[01:50] <tomreyn> fractal815:   sudo apt-mark auto linux*5.0.0-*
[01:50] <fractal815> done
[01:51] <tomreyn> okay, you can just reboot to the new kernel now, we'll do the rest later.
[01:51] <fractal815> ok rebooting
[01:54] <tomreyn> fractal815:     cat /proc/version    returns your running kernel version
[01:55] <fractal815> Linux version 5.3.0-19-generic (buildd@lgw01-amd64-053) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)) #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019
[01:55] <fractal815> looks good
[01:55] <tomreyn> fractal815: sudo apt-get --simulate purge 'linux-*-4.*' 'linux-*-5.0*' 2>&1 | nc termbin.com 9999
[01:56] <tomreyn> now we just need to clean up
[01:57] <fractal815> https://termbin.com/f0hyy
[01:58] <tomreyn> fractal815: sudo apt-get -y purge 'linux-*-4.*' 'linux-*-5.0*'
[01:58] <tomreyn> fractal815: sudo apt-get -y --simulate --purge autoremove 2>&1 | nc termbin.com 9999
[01:58] <tomreyn> both of these please
[01:59] <fractal815> https://termbin.com/eh88
[02:01] <tomreyn> fractal815: so the kernel things are done. but you still have some residual configuration file of formerly installed packages around:   dpkg -l | grep ^r
[02:01] <tomreyn> this will be a longer list
[02:03] <fractal815> are these all no longer used or are they being used by the software I am currently running?
[02:04] <tomreyn> they are no longer used. but maybe you want to install them again, and start with your old configurations. that's why they're still there.
[02:04] <tomreyn> personally i like to purge all of those
[02:04] <tomreyn> but, maybe especially on servers, you could run into a situation where you'd want to retain those old configurations temporarily
[02:05] <tomreyn> so that's why it exists, i guess
[02:06] <fractal815> I'll hang on to them until I get everything working again.   Especially nextcloud
[02:06] <tomreyn> right, this can also affect data of server processes. for exmaple, if this was a webserver or database, purging those packages would also delete your webserver configuration and even your databases
[02:06] <tomreyn> (for databases it should prompt, though)
[02:07] <fractal815> Ok that was a great help and I much appreciate it.   Thanks !
[02:08] <tomreyn> so we're done, unless you want to remove those 'rc' linux* packages you had seen previously
[02:08] <tomreyn> those https://termbin.com/5x1m
[02:09] <tomreyn> for your convenience, here's a short list of all those packages you only have configurations left of:   dpkg -l | grep ^rc | awk '{print $2}' | xargs echo
[02:09] <fractal815> So are those rc release candidate packages?
[02:09] <tomreyn> you could pass those to apt purge
[02:10] <tomreyn> no, the r and c are separate. "man dpkg-query" explains them
[02:11] <fractal815> ok...I'll read up on that.
[02:11] <fractal815> Thanks much
[02:12] <tomreyn> r stands for "(this package should be kep in state) removed", c stands for "(this package has) Config-files (left)"
 @Volker Fratzscher, Ja.
[12:55] <BluesKaj> Hey folks
[13:12] <eemaster5[m]> Linuxophil, thanks, that helps me a lot!
[13:13] <eemaster5[m]> I like that one can choose alternative startup menues
[15:15] <user|99485> I have a bootable version of kubuntu that isn't recognizing my second monitor connected to my mac mini via HDMI
 @lanthier NEGRO, @admin
[16:46] <gabriel> wassup guys
[19:06] <me> Hi,
[19:07] <Guest77876> I've just recovered after hiroshima caused by installing xserver-xorg-input-synaptics which removed ( among many other xserver-xorg-input-libinput-hwe-18.04 ) which left me without keyboard in X and somehow managed to even mess up sddm. Question: how can I install synaptics without entering the world of pain?
[19:46] <Guest77876> Nvm, looks like I've installed the wrong package ( xserver-xorg-input-synaptics is ok ).
[19:46] <Guest77876> ( bad suggestions of the internet )