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

Re: How to force an update if package names changed?



Hendrik Frenzel <hfrenzel@scunc.net> writes:

> Hi,
>
> i got a question regarding package updates.
>
> If I have a source pack-1.1 from which some packages including
> pack-gui-lang-de-1.1_2 (Provides: pack-gui-lang) are build.
>
> Now i want to build the languages in seperade packages say
> pack-lang-de-1.1. How can it be done to force an update between the
> package from the main source (pack-gui-lang-de-1.1_2) to the package
> from the seperated lang source (pack-lang-de-1.1_?)?
>
> Provides: pack-gui-lang-de, pack-gui-lang
> Conflicts: pack-gui-lang-de

You forgot Replaces as suggested in policy.

> doesn't seem to work, since the old pack-gui-lang-de packages are still
> installed.
>
> Any hints?
>
> Thanks in advice
> Hendrik

Create a dummy package for the old one that Depends on the new and add
a versioned Conflict to the old one.

Saddly that is the only way to make sure it gets updated.

MfG
        Goswin



Reply to: