Create custom package
Hi!
I want to create an "alternate" package for libmysqlclient15off. It
means I tried to create an dvrt-libmysqlclient15off package which can
replace the libmysqlclient15off package in the dependency checks. The
control files relevant part is now:
Package: dvrt-libmysqlclient15off
Section: libs
Architecture: any
Depends: dvrt-mysql-common (>= ${Source-Version}), ${shlibs:Depends}
Conflicts: libmysqlclient15, libmysqlclient15off
Replaces: libmysqlclient15, libmysqlclient15off
Description: mysql database client library
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes the client library.
Provides: libmysqlclient15off
But when I try to install a package which depends on
libmysqlclient15off, I get error like this:
server01-vz16:~/packages/mysql/5.0/work/mysql-dfsg-5.0-5.0.32# apt-get
install libdbd-mysql-perl dvrt-libmysqlclient15off
Reading package lists... Done
Building dependency tree... Done
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:
libdbd-mysql-perl: Depends: libmysqlclient15off (>= 5.0.24-2)
E: Broken packages
What am I doing wrong?
Thanks for any help.
Arpad Kunszt
Deverto Systems Ltd.
PS: Sorry for my English.
PPS: Changing just the version number of the package and leave it's name
is not an option now.
Reply to: