Making PackageKit work with pirut and pup

Yaakov Nemoy loupgaroublond at gmail.com
Sun Oct 14 15:26:45 UTC 2007


On 10/14/07, Richard Hughes <hughsient at gmail.com> wrote:
> I've come across a problem: The aim is for a user to be able to install
> either:
>
> * system-config-printer, pirut and yum
> * system-config-printer, PackageKit and yum
> * system-config-printer, PackageKit, pirut and yum
>
> Unfortunately system-config-printer hardcodes:
>
> Requires: pirut
>
> when it should probably either
> "Require: /usr/sbin/system-install-packages" or require some other
> identifier that both PackageKit and pirut could provide.
>
> I don't think PackageKit can just "Provide: pirut 1.1.4" as this
> prevents us installing both pirut and PackageKit, nor can we just do
> "Obsoletes: pirut, Provides: Pirut" in the PackageKit spec file.
>
> If system-config-printer requires /usr/sbin/system-install-packages then
> we should probably use alternatives so that PackageKit and pirut can
> both provide this file.
>
> Advice on how to patch s-c-p and also how to setup alternatives is
> welcomed. I can't really submit PackageKit into the fedora repo until
> this issue is fixed.

system-standard-package-manager?

I'm not sure how open Fedora is to this naming scheme, but in Debian,
alot of packages provide things like system-www-browser and
system-terminal, or similar names.  I'm not booted up into debian atm,
so i can't tell you what they are exactly.  The goal is for the admin
to define a default editor, and in a university or other setting, the
default editor can be emacs or vi for everything, or even nano,
because that's what they taught all the students to use.

-Yaakov




More information about the fedora-devel-list mailing list