/srv/irclogs.ubuntu.com/2019/10/26/#kubuntu.txt

fractal815I 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 conducte00:53
fractal815d apt update / upgrade / dist-upgrade etc.   Thoughts?00:53
IrcsomeBot<DarinMiller> was 5.0.0-32 manually installed?00:54
fractal815no....I believe it's been laying around from a previous version01:02
tomreynfractal815: if you like, we can have a closer look together?01:06
tomreynif 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/aptlog01:07
tomreynit'll post the output of some apt commands to termbin.com,a pastebin-like site01:08
IrcsomeBot<Volker Fratzscher> Sind Hier Auch Deutsche?01:08
fractal815Done01:09
tomreynfractal815: please post the url it returned01:10
tomreynVolker Fratzscher: eher in #ubuntu-de und ggf. auch in #kubuntu-de01:10
tomreynfractal815: if it didn't return a url, please check your systesm' network connectivity and run it again01:12
fractal815https://termbin.com/z8gw01:14
tomreynfractal815: i've never seen archive.canonical.com used, is this an official ubuntu mirror?01:16
tomreynoh actually that's the partner repository, i've certainly seen that before01:19
tomreynfractal815: 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:19
tomreynfractal815: still around?01:21
tomreynplease say "tomreyn" if you'll return within the next 10 minutes, otherwise i may be gone.01:21
tomreyngood chat!01:22
fractal815tomreyn01:24
tomreynfractal815: oh hi01:26
tomreynwhat happened there?01:26
fractal815Sorry....closed the wrong tab01:27
tomreyn<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:28
fractal815https://termbin.com/f50f01:30
fractal815https://termbin.com/f50f01:30
fractal815https://termbin.com/f50f01:30
tomreynonce is usually enough, but thanks01:30
fractal815yes that pasted strangely01:31
tomreynokay, indeed the 5.0 kernel is running. is the right one installed, though?  dpkg -l linux-* | nc termbin.com 999901:31
tomreynfractal815: 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
fractal815https://termbin.com/hisy01:33
fractal815copy and paste01:33
tomreynso c&p works, i take it01:34
fractal815indeed01:34
tomreynyou need to    sudo apt install linux-generic01:35
fractal815ok .. i'll do it now01:35
tomreynonce that's done, with all the dependencies, please post this again:   dpkg -l linux-* | nc termbin.com 999901:35
fractal815got it01:35
fractal815https://termbin.com/5x1m01:38
tomreynokay, 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 remove01:39
tomreynokay, 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 999901:39
tomreyn^ the latter actually01:40
tomreynoh wait no that also doesnt work01:40
tomreynokay, 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 999901:40
tomreynthis one01:40
fractal815https://termbin.com/vkdl01:41
tomreyni failed, once more:   dpkg --list | grep '^rc' | cut -d ' ' -f 3 | xargs -I '{}' sudo apt --simulate --purge --yes remove '{}' 2>&1 | nc termbin.com 999901:42
fractal815https://termbin.com/rryv01:43
tomreynbetter 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 999901:46
tomreynfractal815: ^01:46
fractal815https://termbin.com/t7dk01:48
tomreynfractal815:   sudo apt-mark auto linux*5.0.0-*01:50
fractal815done01:50
tomreynokay, you can just reboot to the new kernel now, we'll do the rest later.01:51
fractal815ok rebooting01:51
tomreynfractal815:     cat /proc/version    returns your running kernel version01:54
fractal815Linux 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 201901:55
fractal815looks good01:55
tomreynfractal815: sudo apt-get --simulate purge 'linux-*-4.*' 'linux-*-5.0*' 2>&1 | nc termbin.com 999901:55
tomreynnow we just need to clean up01:56
fractal815https://termbin.com/f0hyy01:57
tomreynfractal815: sudo apt-get -y purge 'linux-*-4.*' 'linux-*-5.0*'01:58
tomreynfractal815: sudo apt-get -y --simulate --purge autoremove 2>&1 | nc termbin.com 999901:58
tomreynboth of these please01:58
fractal815https://termbin.com/eh8801:59
tomreynfractal815: so the kernel things are done. but you still have some residual configuration file of formerly installed packages around:   dpkg -l | grep ^r02:01
tomreynthis will be a longer list02:01
fractal815are these all no longer used or are they being used by the software I am currently running?02:03
tomreynthey 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
tomreynpersonally i like to purge all of those02:04
tomreynbut, maybe especially on servers, you could run into a situation where you'd want to retain those old configurations temporarily02:04
tomreynso that's why it exists, i guess02:05
fractal815I'll hang on to them until I get everything working again.   Especially nextcloud02:06
tomreynright, 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 databases02:06
tomreyn(for databases it should prompt, though)02:06
fractal815Ok that was a great help and I much appreciate it.   Thanks !02:07
tomreynso we're done, unless you want to remove those 'rc' linux* packages you had seen previously02:08
tomreynthose https://termbin.com/5x1m02:08
tomreynfor 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 echo02:09
fractal815So are those rc release candidate packages?02:09
tomreynyou could pass those to apt purge02:09
tomreynno, the r and c are separate. "man dpkg-query" explains them02:10
fractal815ok...I'll read up on that.02:11
fractal815Thanks much02:11
tomreynr stands for "(this package should be kep in state) removed", c stands for "(this package has) Config-files (left)"02:12
IrcsomeBot* DarinMiller taking notes on tomreyn's excellent instructions and commandline foo...02:59
=== jamie is now known as Guest62215
IrcsomeBotPiotr Białek was added by: Piotr Białek03:24
IrcsomeBot<Linuxophil> @Volker Fratzscher, Ja.10:28
=== 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
BluesKajHey folks12:55
eemaster5[m]Linuxophil, thanks, that helps me a lot!13:12
eemaster5[m]I like that one can choose alternative startup menues13:13
=== anton is now known as Guest79249
=== Guest79249 is now known as sflyer
user|99485I have a bootable version of kubuntu that isn't recognizing my second monitor connected to my mac mini via HDMI15:15
=== me is now known as Guest33809
=== Guest33809 is now known as dave2592
IrcsomeBot<lanthier NEGRO> (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:37
IrcsomeBot<plyr0> @lanthier NEGRO, @admin16:40
gabrielwassup guys16:46
meHi,19:06
=== me is now known as Guest77876
Guest77876I'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:07
Guest77876Nvm, looks like I've installed the wrong package ( xserver-xorg-input-synaptics is ok ).19:46
Guest77876( bad suggestions of the internet )19:46
=== 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
IrcsomeBotmcdowell COSIMO was added by: mcdowell COSIMO23:36

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!