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

removing packages unexpected behaviour



Hi,

When i try to remove pdns-server while one of the backends is installed
i got the following behaviour:

monster:/usr/src# apt-get remove --purge pdns-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  pdns-backend-mysql* pdns-server*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 1782kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 9343 files and directories currently installed.)
Removing pdns-backend-mysql ...
Stopping PowerDNS authoritative nameserver: Scheduling exit
sed: can't read -: No such file or directory
dpkg: error processing pdns-backend-mysql (--purge):
 subprocess post-removal script returned error exit status 2
Restarting PowerDNS authoritative nameserver: stopping and waiting..done
Starting PowerDNS authoritative nameserver: started
dpkg: pdns-server: dependency problems, but removing anyway as you request:
 pdns-backend-mysql depends on pdns-server (= 2.9.17-12).
Removing pdns-server ...
Stopping PowerDNS authoritative nameserver: Scheduling exit
Purging configuration files for pdns-server ...
Errors were encountered while processing:
 pdns-backend-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is not my intention, when pdns-backend-mysql fails when removing
then pdns-server should also fail or am i wrong ?

Attached the debian/control file.

Regards,

Matthijs Mohlmann
Source: pdns
Section: net
Priority: extra
Standards-Version: 3.6.1.1
Maintainer: Debian PowerDNS Maintainers <powerdns-debian@workaround.org>
Uploaders: Christoph Haas <haas@debian.org>, Matthijs Mohlmann <matthijs@cacholong.nl>
Build-Depends: debhelper (>= 4.2.0), po-debconf, dpatch (>= 2.0.0), libtool, flex, bison, docbook-utils, libmysqlclient12-dev, postgresql-dev, tdb-dev, libgdbm-dev, libldap2-dev, libsqlite0-dev, dpkg-dev (> 1.10.17)

Package: pdns
Architecture: any
Depends: pdns-server, pdns-recursor
Description: meta package for the pdns nameserver
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This package is added for compatibility reasons because it has been split into
 pdns-server and pdns-recursor. It does not need to be installed any more.

Package: pdns-server
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: adduser
Replaces: pdns
Recommends: pdns-doc
Suggests: pdns-backend, pdns-recursor
Description: extremely powerful and versatile nameserver
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This is the authoritative nameserver that answers questions about
 domains that it knows about.

Package: pdns-recursor
Architecture: any
Depends: ${shlibs:Depends}
Replaces: pdns
Recommends: pdns-doc
Description: PowerDNS recursor
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This is the recursive nameserver that goes out to the internet and
 resolve queries about other domains.

Package: pdns-doc
Section: doc
Architecture: all
Description: PowerDNS manual
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This is the complete manual for PowerDNS, documenting both how to
 install and configure it as well as how to write new backend modules.

Package: pdns-backend-pipe
Architecture: any
Depends: pdns-server (= ${Source-Version}), ${shlibs:Depends}
Provides: pdns-backend
Description: pipe/coprocess backend for PowerDNS
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This package contains the pipe backend for the PowerDNS nameserver. This
 allows PowerDNS to retrieve domain info from a process that accepts
 questions on stdin and returns answers on stdout.

Package: pdns-backend-ldap
Architecture: any
Depends: pdns-server (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
Provides: pdns-backend
Description: LDAP backend for PowerDNS
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This package contains an LDAP backend for the PowerDNS nameserver.

Package: pdns-backend-geo
Architecture: any
Depends: pdns-server (= ${Source-Version}), ${shlibs:Depends}
Provides: pdns-backend
Description: geo backend for PowerDNS
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This package contains a geobackend for the PowerDNS nameserver. This backend
 balances the load throughout the world so that people access the
 geographically nearest available server.

Package: pdns-backend-mysql
Architecture: any
Depends: pdns-server (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
Provides: pdns-backend
Description: generic mysql backend for PowerDNS
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This package contains a generic MySQL backend for the PowerDNS
 nameserver. It has configurable SQL statements.

Package: pdns-backend-pgsql
Architecture: any
Depends: pdns-server (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
Provides: pdns-backend
Description: generic PostgreSQL backend for PowerDNS
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This package contains a generic PostgreSQL backend for the PowerDNS
 nameserver. It has configurable SQL statements.

Package: pdns-backend-sqlite
Architecture: any
Depends: pdns-server (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}, sqlite
Provides: pdns-backend
Description: sqlite backend for PowerDNS
 PowerDNS is a versatile nameserver which supports a large number
 of different backends ranging from simple zonefiles to relational
 databases and load balancing/failover algorithms.
 PowerDNS tries to emphasize speed and security.
 .
 This package contains a generic SQLite backend for SQLite.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: