On 10/22/2010 10:36 AM, Dipankar Patro wrote:
> Actually, instead of overwriting, what if I want to remove the older version
> completely?

"Conflicts:" means that the other package must not be installed at the
same time as the other package. This usually means the other package is
removed.

Keep in mind this is *not* needed when going between versions of a
package, only if a different package replaces another. (for example, if
"sugar-0.90" replaces files in "sugar-0.88") You wouldn't need it when
going from version 5 of "sugar-foo-activity" to version 6 of the same.

> On Fri, Oct 22, 2010 at 8:01 PM, Luke Faraone <[email protected]> wrote:
>> Basically, if package foo replaces files in package bar, it should
>> "Conflicts:" and "Replaces:" bar, so that dpkg doesn't have a heart
>> attack when you overwrite files belonging to another package.
> Now I am confused.
> Do I need to mention : Replaces: sugar (<= 0.88)
> in the sugar-0.90 control file ?

If your package replaces files in "sugar-0.88", then you need to say
"Replaces: sugar-0.88" in the control file. "sugar" is not an actual
package.

-- 
╒═════════════════════════════════════════════════════════════════╕
│Luke Faraone                          ╭Debian / Ubuntu Developer╮│
│http://luke.faraone.cc                ╰Sugar Labs, Systems Admin╯│
│PGP: 5189 2A7D 16D0 49BB 046B  DC77 9732 5DD8 F9FD D506          │
╘═════════════════════════════════════════════════════════════════╛

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Ubuntu-sugarteam mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-sugarteam

Reply via email to