Bug 81051

Summary: [RFE] allow for package reinstallation and downgrade
Product: PackageKit Reporter: Michal Minar <miminar>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Michal Minar 2014-07-08 13:56:22 UTC
Add a possibility to reinstall and downgrade a package to PackageKit.

This would comprise of:
  
  * Addition of ALLOW_DOWNGRADE and ALLOW_REINSTALL flags to
    PkTransactionFlagEnum.
  * Processing of these flags in install_files() and install_packages()
    functions of backends that properly support it.
  * Backends without proper support for reinstallation/downgrade would keep
    their current behaviour ("error: already installed").
  * Add action ids "org.freedesktop.packagekit.package-reinstall" and
    "org.freedesktop.packagekit.package-downgrade" to
    org.freedesktop.packagekit.policy and handle them in pk-transaction.c.

I'll start working on a patch later this week.
Comment 1 Richard Hughes 2018-08-21 15:52:24 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.