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

Re: splitting packages: trouble with overwriting/replacing files during upgrade



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-11-21 21:58, IOhannes m zmoelnig wrote:
> hi all,
> 
> 
> i'm currently in the process of splitting a package i'm co-maintaining
> into several sub-packages.
> 
> unfortunately i experience some problems with test upgrades, which i
> would like to solve.
> 
> 
> the original package "gem" has been split into "gem" and "gem-doc".
> "gem-doc" contains documentation, that is also of (limited) use if the
> main package "gem" is not installed.
> 
> i read [1] and tried to follow it closely, so i end up with a
> debian/controls file:
> <snip>
> Package: gem
> Recommends: gem-doc
> [...]
> Package: gem-doc
> Section: doc
> Recommends: gem
> Replaces: gem (<< 0.93)
> Breaks: gem (<< 0.93)
> </snip>
> 
> obviously, 0.93 is the new version with the split packages (the old one
> is 0.92)


hmm, i only now realized that my package actually uses an epoch, so it
should read "<< 1:0.93", but this doesn't seem to help either.

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7KwNkACgkQkX2Xpv6ydvQQiwCeIzj72Sk3qgW44WI8IXHuhTRl
00cAoKnJU/BLl5ws+h8gVfPRbob/nRUN
=s7cY
-----END PGP SIGNATURE-----

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: