Upgrade path question

Sandro Mani manisandro at gmail.com
Tue Oct 6 07:33:02 UTC 2015



On 06.10.2015 09:13, Petr Pisar wrote:
> On 2015-10-05, Sandro Mani <manisandro at gmail.com> wrote:
>> Quick upgrade path question: I intend to retire the tesseract-langpack
>> package, which provides many tesseract-langpack-$lang subpackages,
> It does not matter whether a (sub-)package is produced by building
> one source package or another. Neither rpm nor dnf uses this information.
>
>> and instead have the main tesseract package to provide these, with the
>> same name.
> Provide what? Export Provides: tesseract-langpack-$lang RPM symbol in
> another binary package, or build tesseract-langpack-$lang sub-package
> from another source package?
(Provides was a bad word to use, what I meant was that 
tesseract-langpack-$lang coming from the tesseract-langpack resp. 
tesseract package.)
>
> In the first case you should add Obsoletes into the another binary
> package, otherwise the old tesseract-langpack-$lang binary packages
> remain insalled on a system.
>
> In the second case you don't have to add Obsoletes because the there
> the old tesseract-langpack-$lang binary packages will be upgraded to new
> tesseract-langpack-$lang binary packages because they have the same
> name.
Okay thanks.

Sandro




More information about the devel mailing list