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

Re: Removing Other Packages' Conflicting Files



On Wed, Jul 14, 2004 at 11:21:59PM -0700, ms419@freezone.co.uk wrote:
> I am packaging a package - A - which conflicts with only some files in 
> another package - B - (A depends on the rest of B's files). If A also 
> contained the files in B with which it conflicts, I think I would tag A 
> Replaces: B and be done; but A doesn't contain these files, it simply 
> conflicts with them, so they must be removed.
> 
> How do I stop files from B from being installed? If I simply put rm 
> <files> into A's postinst script, the files could be reinstalled the 
> next time B is upgraded.

Consider that I'm not DD yet, but I think that's wrong way.

You should probably try to split B package to B, and B-common.
Then A & B could depends on it.

I don't think that removing non-A's files in A's scripts is good idea.

regards,
fEnIo

-- 
      _      Bartosz Fenski | mailto:fenio@o2.pl | pgp:0x13fefc40 | IRC:fEnIo
    _|_|_     32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Polska
    (0 0)          phone:+48602383548 | Slackware - the weakest link
ooO--(_)--Ooo  http://skawina.eu.org | JID:fenio@jabber.org | RLU:172001

Attachment: signature.asc
Description: Digital signature


Reply to: