On Kubuntu 22.04 what terminal commands do I need to fully update my system, in case I don't want to use Discover? I don't mean updating Kubuntu from one version to another, just general updates.
Announcement
Collapse
No announcement yet.
Updating system using terminal
Collapse
This topic is closed.
X
X
-
-
Pkcon is the commandline version of what Discover is using, and is running apt update and apt full-upgrade, or whatever command is appropriate for the distro.
Pkcon is a handy command, as it can be used on any distro that uses Packagekit (Plasma Discover and Gnome Software), which means you can use this if you forget the commands for each packaging system, if you boot or use multiple distro types.
Phased updates are random, or rather....phased... to users slowly and is random, so sometimes pkcon does and sometimes doesn't see them. Discover usually doesn't show phased stuff, which is appropriate, really. Pkcon can choke on them, in my experience.
Just use apt, which is more informative, which is useful if something goes wrong
If you suspect a 'held' package being phased, simply run apt policy package_name and you can see how much it is being phased.
If you are simply impatient, and want to install any "held" packages that actually are being phased, and aren't being held for other issues, simply use apt to manually install them.
- Top
- Bottom
- Likes 1
Comment
-
Originally posted by claydoh View PostPkcon is the commandline version of what Discover is using, and is running apt update and apt full-upgrade, or whatever command is appropriate for the distro.
Pkcon is a handy command, as it can be used on any distro that uses Packagekit (Plasma Discover and Gnome Software), which means you can use this if you forget the commands for each packaging system, if you boot or use multiple distro types.
Phased updates are random, or rather....phased... to users slowly and is random, so sometimes pkcon does and sometimes doesn't see them. Discover usually doesn't show phased stuff, which is appropriate, really. Pkcon can choke on them, in my experience.
Just use apt, which is more informative, which is useful if something goes wrong
If you suspect a 'held' package being phased, simply run apt policy package_name and you can see how much it is being phased.
If you are simply impatient, and want to install any "held" packages that actually are being phased, and aren't being held for other issues, simply use apt to manually install them.The next brick house on the left
Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11| Kubuntu 24.04 | 6.8.0-31-generic
- Top
- Bottom
- Likes 1
Comment
-
Discover also updates snaps/flatpaks and KDE addons, which pkcon and apt do not touch.
I use whatever is handy. While I normally update manually with apt, if the notification pops up, I use that.
Basically, it updates my flatpak for Cameractrls and my KDE addons, many of which I have forgotten about, are ugly, and i wanted to get rid of anyway
- Top
- Bottom
Comment
-
Originally posted by Thwompin View PostIf there's something else I should put in there please let me know.
How about ucaresystem-core? It works great for me. Here is an interesting article about it.
- Top
- Bottom
Comment
-
Originally posted by claydoh View PostDiscover also updates snaps/flatpaks and KDE addons, which pkcon and apt do not touch.
I use whatever is handy. While I normally update manually with apt, if the notification pops up, I use that.
Basically, it updates my flatpak for Cameractrls and my KDE addons, many of which I have forgotten about, are ugly, and i wanted to get rid of anyway
- Top
- Bottom
Comment
-
Originally posted by oshunluvr View PostIs this what you consider as an "add-on" ?
The whole "Plasma Addons" section in this application is from the KDE Store.
Mebbe I should have used the term to match what Discover uses?
Plasma themes, icons, widgets, kwin scripts, SDDM themes, or anything else installed using "Get New" tools, or the KDE Store directly are update-able via Discover.
- Top
- Bottom
Comment
-
"Pkcon is the commandline version of what Discover is using" -Discover updated my kernel once upon a time on a full-upgrade. It not only bricked the nividia proprietary driver, but also bricked all the previous kernels. What is the best way to recover from that? Remove kernel? Reinstall, use Timeshift backup? or other?
- Top
- Bottom
Comment
-
Originally posted by TinyTim View Post"Pkcon is the commandline version of what Discover is using" -Discover updated my kernel once upon a time on a full-upgrade. It not only bricked the nividia proprietary driver, but also bricked all the previous kernels. What is the best way to recover from that? Remove kernel? Reinstall, use Timeshift backup? or other?
I don't know what "bricked the kernels" means, to be honest. Nvidia drivers seem to hate some people, I think
In any case, in the end, the system's native tools (apt and dpkg here) are still being used to do the installations etc, no matter which other tool is being used.
- Top
- Bottom
Comment
-
Originally posted by claydoh View PostPkcon is the commandline version of what Discover is using, and is running apt update and apt full-upgrade, or whatever command is appropriate for the distro.
Pkcon is a handy command, as it can be used on any distro that uses Packagekit (Plasma Discover and Gnome Software), which means you can use this if you forget the commands for each packaging system, if you boot or use multiple distro types.
Phased updates are random, or rather....phased... to users slowly and is random, so sometimes pkcon does and sometimes doesn't see them. Discover usually doesn't show phased stuff, which is appropriate, really. Pkcon can choke on them, in my experience.
Just use apt, which is more informative, which is useful if something goes wrong
If you suspect a 'held' package being phased, simply run apt policy package_name and you can see how much it is being phased.
If you are simply impatient, and want to install any "held" packages that actually are being phased, and aren't being held for other issues, simply use apt to manually install them.
I tried to find a option to stop that type of upgrade and could not find one. I used Muon from then forward, which did give me a option to block that upgrade.
One day I was feeling bold and wondered what if I allowed Discover to do this upgrade would I still be able to use the Nvidia proprietary driver?, It did not. A Nvidia proprietary was not available for that version and the Neaveu driver left me with one resolution choice, and no option to install the Nvidia proprietary driver. (Discover did warn me that it could be a problem, once early on)
My question is do you know a way to stop Discover from making such upgrades? (knowledge is limited on how this kernel/GPU driver are compiled/integrated) I did have a backup, but I reinstalled the Ubuntu Studio 22.04 (low latency) system, and started using the terminal for upgrades.
Thank you for teaching us about this.
- Top
- Bottom
Comment
Comment