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

Re: The "Replaces:" Field

On Wed, 05 Feb 2003, Tore Anderson wrote:
> * David Lloyd
>  > I don't know if this is the right forum to ask, but I want to replace:
>  > 
>  > lloy0076@cirith:/usr/share/apps/ksplash/pics$ ls
>  >                        splash_bottom.png        splash_top.png
>  > splash_active_bar.png  splash_inactive_bar.png  splash_top.png.backup
>   (..)
>  > Replaces: kdebase
>   You don't want to do that, then your package would make apt de-install
>  kdebase upon installing your own.

Actually, he did it right.  "Replaces" means it replaces some files in that
package.  A full package replace is done by having the three of "Replaces,
Conflicts and Provides".

>   You're looking for `dpkg-divert'.  Alternatively, you could ask the KDE

That is far better a solution than using "Replaces" anyway.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Reply to: