comparison contrib/packaging/debian/control @ 43332:8fda98a68427 stable

packaging: remove version info from Breaks+Replaces in Debian package The versioned Breaks: and Replaces: cause problem when trying to install our package over the one in Debian. $ sudo apt install ./packages/debian-buster/mercurial_5.2~rc0+15-buster-a2ff3aff81d2_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'mercurial' instead of './packages/debian-buster/mercurial_5.2~rc0+15-buster-a2ff3aff81d2_amd64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mercurial : Breaks: mercurial-common (< 5.2~rc0+15-buster-a2ff3aff81d2) but 5.2~rc0-1 is to be installed E: Unable to correct problems, you have held broken packages. Removing version information resolves the situation.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Fri, 25 Oct 2019 14:02:40 +0200
parents 7b638d25b8e4
children c82d6363bc9e
comparison
equal deleted inserted replaced
43331:90ee1f61504e 43332:8fda98a68427
21 ${shlibs:Depends}, 21 ${shlibs:Depends},
22 ${misc:Depends}, 22 ${misc:Depends},
23 ${python3:Depends}, 23 ${python3:Depends},
24 Recommends: ca-certificates 24 Recommends: ca-certificates
25 Suggests: wish 25 Suggests: wish
26 Replaces: mercurial-common (<< ${source:Version}) 26 Replaces: mercurial-common
27 Breaks: mercurial-common (<< ${source:Version}) 27 Breaks: mercurial-common
28 Architecture: any 28 Architecture: any
29 Description: fast, easy to use, distributed revision control tool. 29 Description: fast, easy to use, distributed revision control tool.
30 Mercurial is a fast, lightweight Source Control Management system designed 30 Mercurial is a fast, lightweight Source Control Management system designed
31 for efficient handling of very large distributed projects. 31 for efficient handling of very large distributed projects.
32 . 32 .