apt-get install slapd => Can't locate object method "new" via package "Debconf::Element::Noninteractive::Booleam"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap |
Invalid
|
Undecided
|
Unassigned | ||
openldap (Ubuntu) |
Fix Released
|
Medium
|
James Page | ||
Maverick |
Fix Released
|
Medium
|
James Page |
Bug Description
IMPACT: Due to a incorrectly specified debconf parameter introduced to fix bug 658227, some installations of slapd/openldap will fail with the error message detailed below.
FIX: Correct the typo in the slapd.templates file to specify the slapd/move_
PATCH: See proposed linked branch
TEST CASE:
Install slapd on a clean maverick installation
Configure and load data (using example from server guide).
Remove and purge slapd package
Re-install slapd (fails with error message detailed below).
REGRESSION POTENTIAL: Bearing in mind the heritage of this bug the following test cases should be tested once in -proposed:
Clean installation
Test Case (as detailed above)
Upgrade from Lucid->Maverick.
ORIGINAL BUG REPORT:
Hi,
when I try to install "slapd", I've this :
root@stephane-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ldap-utils
The following NEW packages will be installed:
slapd
0 upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
Need to get 0B/1514kB of archives.
After this operation, 4047kB of additional disk space will be used.
Preconfiguring packages ...
Can't locate object method "new" via package "Debconf:
(Reading database ... 480491 files and directories currently installed.)
Unpacking slapd (from .../slapd_
Can't locate object method "new" via package "Debconf:
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@stephane-
I'm on Ubuntu 10.10
Related branches
- Mathias Gug: Approve
-
Diff: 27 lines (+8/-1)2 files modifieddebian/changelog (+7/-0)
debian/slapd.templates (+1/-1)
- Mathias Gug: Approve
-
Diff: 27 lines (+8/-1)2 files modifieddebian/changelog (+7/-0)
debian/slapd.templates (+1/-1)
tags: | added: maverick |
description: | updated |
Changed in openldap (Ubuntu): | |
importance: | High → Medium |
Changed in openldap (Ubuntu Maverick): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → James Page (james-page) |
tags: |
added: verification-done removed: verification-needed |
Changed in openldap: | |
status: | New → Invalid |
tags: | added: testcase |
This error is when you install slapd -> remove slapd -> reinstall slapd. 2.4-2_2. 4.23-0ubuntu3_ amd64.deb 4.23-0ubuntu3_ amd64.deb
You can around the problem installing manually
1) dpkg --install libldap-
2) dpkg --install slapd_2.
3) apt-get dist-upgrade
I confirm this problem on ubuntu 10.10 amd 64