[00:53] 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] d apt update / upgrade / dist-upgrade etc. Thoughts? [00:54] was 5.0.0-32 manually installed? [01:02] no....I believe it's been laying around from a previous version [01:06] fractal815: if you like, we can have a closer look together? [01:07] 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 it'll post the output of some apt commands to termbin.com,a pastebin-like site [01:08] Sind Hier Auch Deutsche? [01:09] Done [01:10] fractal815: please post the url it returned [01:10] Volker Fratzscher: eher in #ubuntu-de und ggf. auch in #kubuntu-de [01:12] fractal815: if it didn't return a url, please check your systesm' network connectivity and run it again [01:14] https://termbin.com/z8gw [01:16] fractal815: i've never seen archive.canonical.com used, is this an official ubuntu mirror? [01:19] oh actually that's the partner repository, i've certainly seen that before [01:19] 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] fractal815: still around? [01:21] please say "tomreyn" if you'll return within the next 10 minutes, otherwise i may be gone. [01:22] good chat! [01:24] tomreyn [01:26] fractal815: oh hi [01:26] what happened there? [01:27] Sorry....closed the wrong tab [01:28] 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] https://termbin.com/f50f [01:30] https://termbin.com/f50f [01:30] https://termbin.com/f50f [01:30] once is usually enough, but thanks [01:31] yes that pasted strangely [01:31] okay, indeed the 5.0 kernel is running. is the right one installed, though? dpkg -l linux-* | nc termbin.com 9999 [01:33] 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] https://termbin.com/hisy [01:33] copy and paste [01:34] so c&p works, i take it [01:34] indeed [01:35] you need to sudo apt install linux-generic [01:35] ok .. i'll do it now [01:35] once that's done, with all the dependencies, please post this again: dpkg -l linux-* | nc termbin.com 9999 [01:35] got it [01:38] https://termbin.com/5x1m [01:39] 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] 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] ^ the latter actually [01:40] oh wait no that also doesnt work [01:40] 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] this one [01:41] https://termbin.com/vkdl [01:42] 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] https://termbin.com/rryv [01:46] 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] fractal815: ^ [01:48] https://termbin.com/t7dk [01:50] fractal815: sudo apt-mark auto linux*5.0.0-* [01:50] done [01:51] okay, you can just reboot to the new kernel now, we'll do the rest later. [01:51] ok rebooting [01:54] fractal815: cat /proc/version returns your running kernel version [01:55] 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] looks good [01:55] fractal815: sudo apt-get --simulate purge 'linux-*-4.*' 'linux-*-5.0*' 2>&1 | nc termbin.com 9999 [01:56] now we just need to clean up [01:57] https://termbin.com/f0hyy [01:58] fractal815: sudo apt-get -y purge 'linux-*-4.*' 'linux-*-5.0*' [01:58] fractal815: sudo apt-get -y --simulate --purge autoremove 2>&1 | nc termbin.com 9999 [01:58] both of these please [01:59] https://termbin.com/eh88 [02:01] 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] this will be a longer list [02:03] are these all no longer used or are they being used by the software I am currently running? [02:04] 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] personally i like to purge all of those [02:04] but, maybe especially on servers, you could run into a situation where you'd want to retain those old configurations temporarily [02:05] so that's why it exists, i guess [02:06] I'll hang on to them until I get everything working again. Especially nextcloud [02:06] 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] (for databases it should prompt, though) [02:07] Ok that was a great help and I much appreciate it. Thanks ! [02:08] so we're done, unless you want to remove those 'rc' linux* packages you had seen previously [02:08] those https://termbin.com/5x1m [02:09] 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] So are those rc release candidate packages? [02:09] you could pass those to apt purge [02:10] no, the r and c are separate. "man dpkg-query" explains them [02:11] ok...I'll read up on that. [02:11] Thanks much [02:12] r stands for "(this package should be kep in state) removed", c stands for "(this package has) Config-files (left)" [02:59] * DarinMiller taking notes on tomreyn's excellent instructions and commandline foo... === jamie is now known as Guest62215 [03:24] Piotr Białek was added by: Piotr Białek [10:28] @Volker Fratzscher, Ja. === me is now known as Guest42495 === Guest42495 is now known as guest1234 === alexander is now known as alexander__ === alexander__ is now known as alex_and_er [12:55] Hey folks [13:12] Linuxophil, thanks, that helps me a lot! [13:13] I like that one can choose alternative startup menues === anton is now known as Guest79249 === Guest79249 is now known as sflyer [15:15] I have a bootable version of kubuntu that isn't recognizing my second monitor connected to my mac mini via HDMI === me is now known as Guest33809 === Guest33809 is now known as dave2592 [16:37] (Photo, 1414x670) https://irc-attachments.kde.org/CaC0J0PD/file_19377.jpg ➡️ topclick.host/kxaxat … ⏩ Mаke eаrn 10.55% P-Dаy evеrmоrе without limits. [16:40] @lanthier NEGRO, @admin [16:46] wassup guys [19:06] Hi, === me is now known as Guest77876 [19:07] 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] Nvm, looks like I've installed the wrong package ( xserver-xorg-input-synaptics is ok ). [19:46] ( bad suggestions of the internet ) === Ksadklkl_ is now known as Ksadklkl === EvilRoey is now known as MyBigFatNick === jayhunold is now known as jhunold === MyBigFatNick is now known as EvilRoey === kubuntu is now known as Guest92512 [23:36] mcdowell COSIMO was added by: mcdowell COSIMO