Bug 81051 - [RFE] allow for package reinstallation and downgrade
Summary: [RFE] allow for package reinstallation and downgrade
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 13:56 UTC by Michal Minar
Modified: 2018-08-21 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.