dtc-xen wont install, htpasswd invocation error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dtc-xen (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dtc-xen
Tries to sen passwd directly as a htpasswd parameter
$HTPASSWD -cb $DTCXEN_
correct approach:
echo ${conf_soap_pass} | $HTPASSWD -c $DTCXEN_
Changing that in .postinst fixed the problem.
Attempted installation:
Setting up dtc-xen (0.3.27-1) ...
===> Generating SSL certs for the SOAP python server
Generating a 1024 bit RSA private key
.......
.....++++++
writing new private key to 'privkey.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:writing RSA key
Signature ok
subject=
Getting Private key
===> Generating /etc/dtc-
Usage: htpasswd [-c] passwordfile username
The -c flag creates a new file.
dpkg: error processing dtc-xen (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libruby1.8 (1.8.7.174-1) ...
Setting up vim-runtime (2:7.2.
Processing /usr/share/
Setting up vim-nox (2:7.2.
update-
update-
update-
update-
update-
update-
update-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
dtc-xen
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up dtc-xen (0.3.27-1) ...
===> Generating SSL certs for the SOAP python server
Generating a 1024 bit RSA private key
.......
.......
writing new private key to 'privkey.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:writing RSA key
Signature ok
subject=
Getting Private key
===> Generating /etc/dtc-
Usage: htpasswd [-c] passwordfile username
The -c flag creates a new file.
dpkg: error processing dtc-xen (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dtc-xen
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
ProblemType: Bug
Architecture: i386
Date: Tue Oct 27 17:17:53 2009
DistroRelease: Ubuntu 9.10
Package: dtc-xen 0.3.27-1
PackageArchitec
ProcEnviron:
LANG=en_ZA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: dtc-xen
Uname: Linux 2.6.31-
This is a very outdated version of dtc-xen that you are talking about here. Please upgrade to 0.5.x and let us know if the problem is still there (it should not).
Thomas