Hi Andreas,
Please allow me to lean on you one more time here.
On 13 March 2012 at 08:56, Andreas Beckmann wrote:
| On 2012-03-12 23:17, Dirk Eddelbuettel wrote:
| > | Selecting previously unselected package libquantlib-1.2.
| > | Unpacking libquantlib-1.2 (from .../libquantlib-1.2_1.2-1_amd64.deb) ...
| > | dpkg: error processing
/var/cache/apt/archives/libquantlib-1.2_1.2-1_amd64.deb (--unpack):
| > | trying to overwrite '/usr/lib/libQuantLib.so.0.0.0', which is also in
package libquantlib-1.0.0 1.0.1-1+b1
| >
| > There is not a lot I can do here -- I didn't use package as
| > libquantilib-a.b.c.
| >
| > Best solution, which still sucks, is to use conflicts / replaces I suppose.
| > Upstream, as you can see, doesn't really use somajor / minors.
|
| ABI/API changes incompatibly from release to release, but
| libQuantLib.so.{0,0.0.0} keep its name?
|
| Until you convince upstream to do things properly you'll have to add
| Replaces: libquantlib-1.1, libquantlib-1.0.0
| Breaks: libquantlib-1.1, libquantlib-1.0.0
| to libquantlib-X.Y
|
| I see there is already
| Replaces: libquantlib0
| Conflicts: libquantlib0
| If you add
| Provides: libquantlib0
| you can stop adding future package names to the above list as it will
| ensure only one package providing the virtual package libquantlib0 can
| be installed at a time.
So Replaces + Conflicts + Breaks, a swell as Provides, as in
Package: libquantlib-1.2
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: libquantlib0, libquantlib-1.1, libquantlib-1.0.0
Replaces: libquantlib0, libquantlib-1.1, libquantlib-1.0.0
Breaks: libquantlib, libquantlib-1.1, libquantlib-1.0.0
Provides: libquantlib0
Description: Quantitative Finance Library -- development package
The QuantLib project aims to provide a comprehensive software framework
for quantitative finance. The goal is to provide a standard free/open
source library to quantitative analysts and developers for modeling,
trading, and risk management of financial assets.
.
This package provides the shared libraries required to run programs
compiled with QuantLib.
| The short Description: seems to be swapped, too:
|
| libquantlib-1.2 - Quantitative Finance Library -- development package
| libquantlib0-dev - Quantitative Finance Library -- library package
| quantlib-examples - Quantitative Finance Library -- example binaries
Ahh. Good. Fixed. in my sources.
Dirk
|
| Andreas
--
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]