Package Up-gradation at PPA

Luke Faraone luke at faraone.cc
Fri Oct 22 16:03:48 BST 2010


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 <luke at faraone.cc> 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          │
╘═════════════════════════════════════════════════════════════════╛

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-sugarteam/attachments/20101022/defeb451/attachment.pgp 


More information about the Ubuntu-sugarteam mailing list