Re: Fedora 12 updates-testing report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  nagios-3.2.1-3.fc12 (FEDORA-2010-8702)

> Update Information:
> 
> Fix for broken update from previous nagios version.
> --------------------------------------------------------------------------------
> ChangeLog:
> 
> * Mon May 17 2010 Peter Lemenkov <lemenkov@xxxxxxxxx> - 3.2.1-3
> - Fixed severe issue with uninstalling main nagios package while
>   updating (see rhbz #590709 for details).
> --------------------------------------------------------------------------------
> References:
> 
>   [ 1 ] Bug #590709 - Nagios uninstall by update
>         https://bugzilla.redhat.com/show_bug.cgi?id=590709

Why oh why _does_ nagios-common obsolete nagios?

In "cvs diff -r nagios-3_2_1-1_fc12 -r nagios-3_2_1-2_fc12 nagios.spec"
you introduced the -common package. You made nagios require it,

  +Requires: nagios-common
  +Requires: user(nagios)
  +Requires(pre): user(nagios)
  +Requires: group(nagios)
  +Requires(pre): group(nagios)

and you made nagios-common obsolete nagios,

  +%package common
  ...
  +Provides: user(nagios)
  +Provides: group(nagios)
  ...
  +Obsoletes: %{name} < 3.2.1-2

which broke installations because that update was marked stable after
a week already. And now "the fix" is to make nagios obsolete itself but
also keep nagios-common obsoleting itself? Why?

Whatever you try to achieve with these Obsoletes, it won't work.
You cannot get rid of an "unwanted" nagios package on users installations,
because you do not know whether nagios is wanted. That lead to bz 590709.

The update would have worked _without_ the Obsoletes. In -2_fc12 and -3_fc12!
It would work just fine by _not adding_ those two Obsoletes at all.

nagios-common would be pulled in where _needed_ because of the new deps.
And where a user doesn't need the nagios package, it could be uninstalled,
because nagios-plugins no longer depends on it but on nagios-common instead.

Don't use Obsoletes in an attempt to just mess with user's system installation.
nagios-common should not have ever obsoleted nagios, because the new package
doesn't contain stuff that makes it a candidate for replacing nagios.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux