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? | 00:53 |
IrcsomeBot | <DarinMiller> was 5.0.0-32 manually installed? | 00:54 |
fractal815 | no....I believe it's been laying around from a previous version | 01:02 |
tomreyn | fractal815: if you like, we can have a closer look together? | 01:06 |
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:07 |
tomreyn | it'll post the output of some apt commands to termbin.com,a pastebin-like site | 01:08 |
IrcsomeBot | <Volker Fratzscher> Sind Hier Auch Deutsche? | 01:08 |
fractal815 | Done | 01:09 |
tomreyn | fractal815: please post the url it returned | 01:10 |
tomreyn | Volker Fratzscher: eher in #ubuntu-de und ggf. auch in #kubuntu-de | 01:10 |
tomreyn | fractal815: if it didn't return a url, please check your systesm' network connectivity and run it again | 01:12 |
fractal815 | https://termbin.com/z8gw | 01:14 |
tomreyn | fractal815: i've never seen archive.canonical.com used, is this an official ubuntu mirror? | 01:16 |
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:19 |
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:21 |
tomreyn | good chat! | 01:22 |
fractal815 | tomreyn | 01:24 |
tomreyn | fractal815: oh hi | 01:26 |
tomreyn | what happened there? | 01:26 |
fractal815 | Sorry....closed the wrong tab | 01: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 |
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:30 |
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:31 |
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:33 |
tomreyn | so c&p works, i take it | 01:34 |
fractal815 | indeed | 01:34 |
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:35 |
fractal815 | https://termbin.com/5x1m | 01:38 |
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:39 |
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:40 |
fractal815 | https://termbin.com/vkdl | 01:41 |
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:42 |
fractal815 | https://termbin.com/rryv | 01:43 |
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:46 |
fractal815 | https://termbin.com/t7dk | 01:48 |
tomreyn | fractal815: sudo apt-mark auto linux*5.0.0-* | 01:50 |
fractal815 | done | 01:50 |
tomreyn | okay, you can just reboot to the new kernel now, we'll do the rest later. | 01:51 |
fractal815 | ok rebooting | 01:51 |
tomreyn | fractal815: cat /proc/version returns your running kernel version | 01:54 |
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:55 |
tomreyn | now we just need to clean up | 01:56 |
fractal815 | https://termbin.com/f0hyy | 01:57 |
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:58 |
fractal815 | https://termbin.com/eh88 | 01:59 |
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:01 |
fractal815 | are these all no longer used or are they being used by the software I am currently running? | 02:03 |
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:04 |
tomreyn | so that's why it exists, i guess | 02:05 |
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:06 |
fractal815 | Ok that was a great help and I much appreciate it. Thanks ! | 02:07 |
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:08 |
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:09 |
tomreyn | no, the r and c are separate. "man dpkg-query" explains them | 02:10 |
fractal815 | ok...I'll read up on that. | 02:11 |
fractal815 | Thanks much | 02:11 |
tomreyn | r 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 | ||
IrcsomeBot | Piotr Białek was added by: Piotr Białek | 03: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 | ||
BluesKaj | Hey folks | 12:55 |
eemaster5[m] | Linuxophil, thanks, that helps me a lot! | 13:12 |
eemaster5[m] | I like that one can choose alternative startup menues | 13:13 |
=== anton is now known as Guest79249 | ||
=== Guest79249 is now known as sflyer | ||
user|99485 | I have a bootable version of kubuntu that isn't recognizing my second monitor connected to my mac mini via HDMI | 15: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, @admin | 16:40 |
gabriel | wassup guys | 16:46 |
me | Hi, | 19:06 |
=== me is now known as Guest77876 | ||
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:07 |
Guest77876 | Nvm, 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 | ||
IrcsomeBot | mcdowell COSIMO was added by: mcdowell COSIMO | 23:36 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!