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

Replace a package



I'm making my own OpenLDAP 2.2 package. Have done
so successfully on woody for years, but now I have
a machine that I wanted sarge on, but can't get it
to work...

----- s n i p -----
Package: libldap2.2
Section: libs
Priority: important
Architecture: any
Depends: libc6 (>= 2.2.4), libldap2.2 (= ${Source-Version}), libsasl2 (>= 2.1.15), libssl0.9.6
Conflicts: libldap2-tls, ldap-utils (<= 2.1.23-1), ldap-utils2, libldap2
Replaces: libopenldap-runtime, libldap2-tls, libldap2.1-tls, libldap2.2-tls, libldap2
Provides: libldap2-tls, libldap2.2-tls, libldap2
Description: OpenLDAP libraries 
 These are the run-time libraries for the OpenLDAP (Lightweight Directory
 Access Protocol) servers and clients.
----- s n i p -----


----- s n i p -----
Selecting previously deselected package libldap2.2.
dpkg: considering removing libldap2 in favour of libldap2.2 ...
dpkg: no, cannot remove libldap2 (--auto-deconfigure will help):
 sasl2-bin depends on libldap2 (>= 2.1.17-1)
  libldap2 is to be removed.
dpkg: regarding .../libldap2.2_2.2.28-1_i386.deb containing libldap2.2:
 libldap2.2 conflicts with libldap2-tls
  libldap2 provides libldap2-tls and is installed.
dpkg: error processing ../libldap2.2_2.2.28-1_i386.deb (--install):
 conflicting packages - not installing libldap2.2
Errors were encountered while processing:
 ../libldap2.2_2.2.28-1_i386.deb
----- s n i p -----


I tried the '--auto-deconfigure', but that require
me to run dpkg twice (installs on the second run),
but apt still require me to do '-f install' (in which
my libldap2.2 package is removed).


Have the Conflicts/Replaces/Provides trick that
work/-ed on woody been changed in some way? What
did I miss?
-- 
domestic disruption 747 Albanian Mossad president nitrate Kennedy
smuggle nuclear SDI Waco, Texas [Hello to all my fans in domestic
surveillance] ammunition Soviet 767
[See http://www.aclu.org/echelonwatch/index.html for more about this]
[Or http://www.europarl.eu.int/tempcom/echelon/pdf/rapport_echelon_en.pdf]
If neither of these works, try http://www.aclu.org and search for echelon.
Note. This is a real, not fiction.
http://www.theregister.co.uk/2001/09/06/eu_releases_echelon_spying_report/
http://www.aclu.org/safefree/nsaspying/23989res20060131.html#echelon



Reply to: