=== william is now known as Conna [06:31] Good morning [07:26] It did not work (re @IrcsomeBot: Oov: "sudo apt update && sudo apt full-upgrade" ought to do it.) [07:27] There are 5 backages have been kept back [07:29] Oov, could you pastebin the output of those commands? [07:47] Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease [07:47] Hit:2 http://ppa.launchpad.net/linuxuprising/apps/ubuntu focal InRelease [07:47] Hit:3 http://packages.microsoft.com/repos/code stable InRelease [07:47] Err:4 http://dl.google.com/linux/chrome/deb stable Release [07:47] 404 Not Found [IP: 142.251.37.206 80] [07:47] Hit:5 http://mirrors.skyshe.cn/ubuntu focal InRelease [07:50] oov use a pastebin > paste.ubuntu.com [07:52] what is this [07:54] do not paste multiple lines, the server and connected servers go wild [07:54] !paste [07:54] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [07:55] ok [07:59] also, the people on IRC won't see it, as a bot there mutes the messages after a few multiple lines [08:02] also from what I saw, it looks like you have many many 3rd party repositories added to you system. in these case problems upgrading is common, and frankly self inflicted [08:03] as the often require conflicting and impossible dependencies on your system [08:05] Could try LANG=C.UTF-8 apt list | grep ed,loc to see what can no longer be downloaded, easier to disable the repos the `apt update` first. === Hash is now known as stoned [08:10] Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease [08:10] Hit:2 http://ppa.launchpad.net/linuxuprising/apps/ubuntu focal InRelease [08:10] Hit:3 http://packages.microsoft.com/repos/code stable InRelease [08:10] Err:4 http://dl.google.com/linux/chrome/deb stable Release [08:10] 404 Not Found [IP: 142.251.37.206 80] [08:10] Hit:5 http://mirrors.skyshe.cn/ubuntu focal InRelease [08:12] @Oov please stop spamming with large pastes in telegram. use a pastebin [08:13] ok (re @RikMills: @Oov please stop spamming with large pastes in telegram. use a pastebin) [08:13] im trying to use it put i don't know how (re @RikMills: @Oov please stop spamming with large pastes in telegram. use a pastebin) [08:16] maybe easier; sudo apt update | nc termbin.com 9999 ## and post the termbin url here [08:19] what url [08:20] https://termbin.com/x26v [08:22] https://termbin.com/2yco [08:26] oke, some packages have been kept back from last update; run; sudo apt dist-upgrade ## and reboot [08:27] not sure why you want those intel repo packages.. [08:27] i rather go for the HWE option [08:27] !hwe [08:27] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [08:27] Oov what is the output of `apt-cache policy libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2`? [08:30] https://termbin.com/i1di (re @IrcsomeBot: Oov what is the output of `apt-cache policy libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2`?) [08:30] what is it? (re @IrcsomeBot: i rather go for the HWE option) [08:31] RikMills, do they see ubottu? [08:32] Why do you have that Intel repo enabled? [08:32] i really dont know (re @IrcsomeBot: Why do you have that Intel repo enabled?) [08:33] is it bad? (re @IrcsomeBot: Why do you have that Intel repo enabled?) [08:33] not bad, just unusual. [08:33] i only have intel gpu [08:33] with HWE you can get the kernel from newer releases, and better X support = videodrivers [08:33] In that case I'd disable it. Probably solves your problems. [08:34] how to do it (re @IrcsomeBot: In that case I'd disable it. Probably solves your problems.) [08:35] is it a command or an app or what (re @IrcsomeBot: with HWE you can get the kernel from newer releases, and better X support = videodrivers) [08:35] + im in kubuntu 20.04 [08:39] https://termbin.com/26p4 (re @IrcsomeBot: oke, some packages have been kept back from last update; run; sudo apt dist-upgrade ## and reboot) [08:40] Oov first you want to remove (or downgrade to Ubuntu version) packages installed from the Intel repo. After that you can simply comment out the repo (likely configured in `/etc/apt/sources.list.d/`). [08:41] ok [09:36] good morning [09:36] I have run into some problems attempting to upgrade from 18 to 20 [09:37] I was hoping some kind soul could help me with this [09:38] I get an error because the upgrader Can't install 'kubuntu-desktop' [09:38] and the process aborts almost immediately [09:38] digging into /var/log/dist-upgrade/apt.log I find the following [09:39] Investigating (5) kubuntu-desktop:amd64 < none -> 1.398 @un pumN Ib > [09:39] Broken kubuntu-desktop:amd64 Depends on software-properties-qt:amd64 < none | 0.99.9.8 @un umH > [09:39] Considering software-properties-qt:amd64 7 as a solution to kubuntu-desktop:amd64 9999 [09:39] Considering software-properties-qt:amd64 7 as a solution to kubuntu-desktop:amd64 9999 [09:39] Considering software-properties-qt:amd64 7 as a solution to kubuntu-desktop:amd64 9999 [09:39] Broken kubuntu-desktop:amd64 Depends on ubuntu-release-upgrader-qt:amd64 < 1:18.04.45 | 1:20.04.38 @ii umR > [09:40] the graphical tool suggested to run ppa-purge, which I did but without results [09:41] it looks like software-properties-qt is required, so I tried to install that manually, but I get E: Unable to locate package software-properties-qt [10:00] Ossido: Could you pastebin the output of `sudo apt update && sudo apt full-upgrade`? [10:01] !paste [10:01] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [10:02] https://paste.ubuntu.com/p/f8Gr9Bv6YH/ [10:03] thank you for answering :) [10:03] Alright, and what do you get when you run `sudo apt install kubuntu-desktop`? [10:06] https://paste.ubuntu.com/p/dGgWYmnYWM/ [10:07] Well, that didn't give any errors. How are you trying to upgrade? [10:08] pkexec do-release-upgrade -m desktop -f DistUpgradeViewKDE in the Krunner [10:09] but I also did sudo do-release-upgrade -m desktop from the terminal [10:09] And what did the `sudo do-release-upgrade -m desktop` show? [10:11] https://paste.ubuntu.com/p/7xQsx9kdT2/ [10:11] (I re-run it just now) [10:13] I think you want to disable your PPA's first. Then run a `sudo apt update && sudo apt full-upgrade` cycle, and try again. [10:13] so, how do I do this? I installed and ran ppa-purge [10:14] is there a "disable all ppa" command? [10:15] Ppa's is along time ago for me, but if they are still defined in `/etc/apt/sources.list.d/*.list` you can disable them there by commenting their sources. [10:21] ok, I think I did it. The new output from `sudo apt update && sudo apt full-upgrade` is this one [10:21] https://paste.ubuntu.com/p/ySZ2GzkWVv/ [10:21] it's not fetching the ppa any more, so it should be alright [10:22] unfortunately running `sudo do-release-upgrade -m desktop` gives the same error as before [10:22] https://paste.ubuntu.com/p/jXdX827nmF/ [10:25] Hrmm, in that case I'd try the "Debian" approach. Make a copy of your current sources, then update the `bionic` to `focal`. Run `sudo apt update && sudo apt full-upgrade`. (This is essentially what `do-release-upgrade` is doing) [10:26] mmh, you mean etc/apt/sources.list ? [10:26] or etc/apt/sources.list.distUpgrade ? [10:27] I have also a etc/apt/sources.list.save [10:27] EJFV [10:32] Yes, `/etc/apt/sources.list`. [10:32] so I make a copy for safety and manually change all "bionic" to focal" and retry? [10:33] That is the idea [10:35] also int he commented lines? [10:36] Not necessarily, but for completeness you can. [10:37] ok, now sudo apt update && sudo apt full-upgrade wants to apply an enormous list of changes [10:37] should I cross fingers and go on? [10:38] That is expected, lots of packages got updated between bionic and focal. [10:45] looks like it's going to take a lot of time, but it's going through [10:55] ouch! [10:55] Errors were encountered while processing: [10:55] /tmp/apt-dpkg-install-UNdZM2/081-python3-lib2to3_3.8.10-0ubuntu1~20.04_all.deb [10:56] /tmp/apt-dpkg-install-UNdZM2/082-python3-distutils_3.8.10-0ubuntu1~20.04_all.deb [10:56] E: Sub-process /usr/bin/dpkg returned an error code (1) [11:03] I fear I'm giving up. I've already backupped everything. I'll do a clean install and hope that it will work [11:04] Ossido: It doesn't say what the actual error is? [11:04] no [11:04] and now something else has broke, because if I try again I get [11:04] E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' [11:04] E: Sub-process returned an error code [11:05] and apt aborts [11:05] Are the packages still in /tmp/apt-dpkg-install-? [11:06] I don't have any /tmp/apt-dpkg-install- [11:07] Hrmm, I would have hoped he didn't clean it up... Yes. Perhaps a clean install is the easiest way out of here. [11:07] thanks for the help [11:08] it would be nice if things actually worked :/ [11:08] but I had few hopes to begin with [11:08] No problem, too bad we couldn't make this a successful upgrade -.- [11:08] This is why I typically stay away from ppa's, often enough they cause upgrade issues. [12:05] Hi all [13:18] @lordievader: I've managed to do a fresh install and it seems ok [13:18] Good to hear [13:18] but for some reason it doesn't seem to recognize my external monitor, which previously worked [13:19] when I plug it in, I am presented with a menu of options (switch to it, ignore it, clone the screen, extend it to the left or right), but whatever option I pick, nothing happens [13:20] and from the settings menu, it doesn't even show up [13:20] Ossido: what is the output of `xrandr`? [13:20] https://pastebin.ubuntu.com/p/DdWyPS6Cy2/ [13:23] Yeah, xrandr only shows the laptop display. Do you have more than one video card in your system? [13:23] I don't know for sure but I doubt it [13:24] but the system did react when I plugged it in [13:24] Could you pastebin the output of `sudo lspci -k` (you might have to install `pciutils`, or however the package is called, first) [13:25] exit [13:25] https://pastebin.ubuntu.com/p/cv4JdvfwVW/ [13:26] You have a secondary card: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile]. This one probably takes care of the external monitors. [13:27] https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia [13:29] some laptops have a FN key + internal/external/both key [13:29] mostly in a different colour, blue? [13:32] I have that key, and it summons the same menu that appears when I plug in the monitor [13:32] but nothing happens wheatever option I pick [13:38] how do I discover which one is the right driver for my kubuntu version and graphic card? [13:39] the help page only says "What package one would use depends on the version of Ubuntu one is using, and what graphics card one has installed. " and then lists 22 drivers with no instructyions on which to pickl [13:42] .. you only have UHD Graphics 630 ? [13:43] intel is supported in the kernel [13:47] I also have an Nvidia GeForce GTX 1060. But the driver is not the problem, I alredy have their drivers [13:48] or, at least, I have linux-modules-nvidia-510-5.15.0-25-generic [13:52] i do not spot that card there.. [13:52] maybe you have disabled it in the bios? [13:52] onboard gpu only? [13:53] oh wait, 3d controller.. [13:54] it's there at line 79 [14:15] @lordievader: I've installed an nvidia driver and now it workd (or maybe it was only needed that the monitor be plugged in from the start) [15:44] hi [20:51] i want to upgrade my existing ubuntu to kubuntu , how can i do that [20:52] just install kubuntu desktop, and choose kubuntu at login [20:59] i am not sure how to install kubantu unless u are telling me to install kde [21:02] sudo apt-get install kubuntu-desktop               doesn't work [21:03] !universe [21:03] The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories. [21:04] You might need to enable this repository first, and do an sudo apt-get update before trying sudo apt-get install kubuntu-desktop again [21:04] !info kubuntu-desktop [21:04] kubuntu-desktop (1.418, jammy): Kubuntu Plasma Desktop/Netbook system. In component universe, is optional. Built by kubuntu-meta. Size 4 kB / 45 kB. (Only available for amd64, arm64, armhf, ppc64el.) [21:09] whats the difference between 'ppa:kubuntu-ppa/ppa'  & 'ppa:kubuntu-ppa' [21:23] is  there any [21:29] ? [21:42] from what i seem to remember, add-apt-repository will automatically append "/ppa" if is omitted. [21:43] user|56: ^ if that's correcnt, and the question is about add-apt-repository, then the answer is "effectively none" [22:28] Hey guy, anyone have a suggestion to this annoying quirk: When typing into a terminal, the first keypress is sometimes delayed by around 1s. This is on battery, but possibly on AC (still testing). Anyone else seen this and have a solution? [22:30] that's probably just a matter of how long it takes for konsole to be actually ready to take input. can take longer on an older / low RAM / slow disk (reads) computer [22:36] upgraded to 22.04 the other day [22:37] Now firefox and discord snap annoy me about wanting to get updated [22:37] a) okay? [22:37] b) how do I do that [22:37] c) how did anyone think this was a good idea [22:38] a) Yeah, should be fine. [22:38] b) Just close the app before you stop using your computer so it has a chance to auto-update. If you really want to force it, do "sudo snap refresh firefox" and (probably) "sudo snap refresh discord". [22:38] c) You should see what happens when a snap updates while it's still open. It's not pretty. [22:40] the problem is that both firefox and discord have basically 100% uptime relative to my computer. If my computer is running, they are. [22:40] MrSassyPants: You can afford to turn them off for long enough to update, right? [22:40] I can turn them off [22:40] I did turn them off [22:40] no update happened [22:41] within the 5 minutes I was willing to wait [22:41] Hmm. Well, I'm not quite sure how long the auto-update takes to kick in. Just turn them off, open a terminal, and do "sudo snap refresh firefox && sudo snap refresh discord" and that ought to force it through. [22:41] Hey, thanks @tomreyn. This is happening on a very fast machine (i7-9750H). Just appeared in 22.04, so wondering if anyone else has seen it. Not critical, but annoying. I'm currently investigating exactly when it occurs. But thought that someone else might have encountered and I'd get lucky ;) [22:41] Also this is why I have a package manager, now I have an entirely second package manager on top of that one [22:42] (There should be an "Update Now" button, but I don't know of one existing. I might be able to make that into a feature request of some sort so that this isn't so annoying.) [22:43] or even just mention what command I'm supposed to run once the app is off [22:43] snap help gives me a list of command [22:43] Yeah, that would be nice. If you're able to turn them off just before you go to sleep, that should be enough (I hope), but yeah, this is an area that needs some UI improvement. I'll see what I can do. [22:43] but no indication that "refresh" means "update" [22:45] Yeah, why not just "snap update"? I dunno. They did it, we live with it, I'll see if I can help fix it. [22:59] mmikowski: i should say i've not actually tried kubuntu 22.04, yet, so can't really comment. you could check for an existing konsole bug report. [23:00] MrSassyPants: Ubuntu and FF both plan to benefit from the Snap experiment. FF will minimize development costs if they can get this to be a compelling cross-platform solution. Ubuntu gets dogfooding points. And they both get great beta testing because FF is so popular and frequently used. [23:00] what is dogfooding points [23:01] tomreyn: Thanks, will do. I have a team member investigating, so I'll point him in that direction. [23:01] MrSassyPants: They are "eating their own dogfood", that is, using their own product to help make it better. [23:02] Sorry idk anything about the background or why snap exists. Is snap an ubuntu project? [23:02] MrSassyPants: It is a Canonical project. It's designed so that developers can publish an app once and have it be available to many distros. It also comes with security perks due to sandboxing the apps. [23:03] I only knew about the sandboxing [23:03] So kinda tongue-in-cheek, but the point is they have purposefully created a hard problem to solve that has lots of exposure and usage. It is therefore well positioned to succeed, and if it does, then they will be able to take their experience and use it for tons of other complex apps. [23:04] So it sounds like a very calculated risk, because they knew if snaps were relagated to minor apps, they would not get the sort of traction ubuntu wants. And Ubuntu is heavily invested in Snaps and have a strong desire to make them work better everywhere. [23:15] as developer i want to ensure you got the latest snap version. independant of your update behaviour. for a browser that is a must. [23:17] sudo snap refresh # might help ? [23:17] to see when it is scheduled; snap refresh --time [23:19] oerheks: Discover has a snap backend. For me, the updates are transparent AFIK. I've been running Jammy for 8 months-ish, and daily for 6, and have never had to use snap update to update the Firefox snap. [23:20] So perhaps the best solutions for @MrSassyPants is to just enable this in Discover and be done with it? :) [23:21] it is enabled in discover [23:21] but I typically use aptitude for updating packages [23:21] it didn't even occur to me to run discover [23:22] MrSassyPants: Ah, that's probably it. If you use the discover updater, everything should be alright IME. [23:22] Ill try to remember that next time [23:24] Discover has come a long way since 18.04. There are still places to use other tools, but I'd recommend using Discover for all normal upgrades through the system-tray upgrade notifier.