Bug 454934 - Do I have to update all the software packages? Can I update most packages, except a few?
Summary: Do I have to update all the software packages? Can I update most packages, ex...
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: Updates (interactive) (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 14:50 UTC by 1312264863
Modified: 2022-06-07 15:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 1312264863 2022-06-06 14:50:15 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

feature request.

On Discover app, It tell me update packages. But I don't want to update Visual Studio Code (its package name is' code '). By default, update includes all updatable items. Besides this, I sometimes don't want to update other softwares. Can add a UI feature to let users decide what to update and what not?
Comment 1 Nate Graham 2022-06-06 18:28:45 UTC
When you use interactive updates, you can pick and choose which packages to install. But when offline updates are being used, this isn't possible for technical reasons outside of Discover's control.

Can you attach a screenshot of the updates page so I can tell which style of updating is being used?
Comment 2 1312264863 2022-06-07 05:58:09 UTC
(In reply to Nate Graham from comment #1)
> When you use interactive updates, you can pick and choose which packages to
> install. But when offline updates are being used, this isn't possible for
> technical reasons outside of Discover's control.
> 
> Can you attach a screenshot of the updates page so I can tell which style of
> updating is being used?

Ok.
But I use `apt-mark hold` to avoid some packages update, and it works. (I remember this command, it was set before, but I don't remember).

![](https://s3.bmp.ovh/imgs/2022/06/07/a4920a73aa6d5a28.jpg)
Comment 3 Nate Graham 2022-06-07 12:54:54 UTC
In that case, there is an incompatibility between what apt does and what the PackageKit library can do. I would recommend that you file a bug report at https://github.com/PackageKit/PackageKit/issues and paste the URL of the bug report in the URL field here. Thanks!
Comment 4 1312264863 2022-06-07 14:47:40 UTC
(In reply to Nate Graham from comment #3)
> In that case, there is an incompatibility between what apt does and what the
> PackageKit library can do. I would recommend that you file a bug report at
> https://github.com/PackageKit/PackageKit/issues and paste the URL of the bug
> report in the URL field here. Thanks!

Why does Neon use pkcon?
I remember that I could use `apt upgrade` to update the packages when I used it before.
What benefits does the introduction of pkcon bring to users or developers?

Want to use this program as a compatible tool for different package managers, so as to simplify the different package managers that Discover development needs to adapt?
What confuses me is why pkcon stops me when I try to `apt upgrade`.
Comment 5 Nate Graham 2022-06-07 15:47:33 UTC
(In reply to 1312264863 from comment #4)
> Why does Neon use pkcon?
> I remember that I could use `apt upgrade` to update the packages when I used
> it before.
> What benefits does the introduction of pkcon bring to users or developers?
Those would be questions for Neon's developers.

> What confuses me is why pkcon stops me when I try to `apt upgrade`.
Because Neon wants you to use pkcon instead. :)  You should listen to it and use the tools that are officially supported by your distro. If you find that you're dissatisfied with the packaging decisions and/or package management tools for your distro, that may be a sign that you would be better suited with another distro.