How to remove a *sub*package at end of life ?

Remi Collet Fedora at
Mon Jun 10 12:55:33 UTC 2013

Le 10/06/2013 14:46, Jiri Popelka a écrit :
> Hi all,
> up to F18 we've been shipping cups-php (PHP module) subpackage, but it's
> not been required by any other package.
> CUPS upstream dropped this module with cups-1.6 (since F19) so there's
> been no cups-php anymore in F19.
> This breaks F18 -> F19 updates when cups-php has been installed
> (
> What's the correct procedure here ?
> Let user solve this by removing cups-php prior to update ?
>  - the yum error could be a puzzle for some users
> Put Obsoletes cups-php; Provides cups-php into some other package ?
>  - update is ok, but user is unaware that the php module has gone
> Some ideal solution which doesn't break update and notifies user that
> CUPS PHP module no longer exists ?

>From :

	"Make sure the package is properly Obsoleted/Provided
	by something if it is being replaced".

If it is not being replaced, Obsoleted/Provided obviously don't apply.

If some package "Provides: cups-php", imagine the nightmare for
	yum install cups-php

And this will also avoid the "wanted" broken dep (if another package
"really" need cups-php)


> -- 
> Jiri

More information about the devel mailing list