Re: package split
Le Sat, Jan 30, 2010 at 01:35:26AM -0500, Elías Alejandro a écrit :
>
> Sometimes splits package in this reason [0]
> usually are 'package' and 'package-data', but how can I fix troubles
> similar to [1] that upgrading this try to overwrite on 'package'
> previously installed? (the last version is 'package' and 'package-data',
> and the previously version just is 'package')
> Could I fix this with a preinst script to uninstall previously version?
> or this could be handled in other way [2] (File conflicts should not
> occur if you upgrade from a ...)
Dear Elías,
there are control fields to inform dpkg that it is acceptable to overwrite
another package's files because the installed package replaces it.
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
Have a nice day,
--
Charles Plessy
Tsurumi, Kanagawa, Japan
Reply to: