Discussion:
[Bug 3264] post install script seems to be broken (every subsequent update refers)
Daniel Holbach
2005-10-17 16:06:14 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Task: ubuntu ntlmaps
Assignee: (unassigned) => MOTU
Farias
2005-10-18 17:37:08 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Comment:
try doing apt-get -f install if not, i will write a patch, on the
packaged is it on breezy?
Andy Brook
2005-10-24 09:21:37 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Comment:
Did that, got:

Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up ntlmaps (0.9.9-4) ...
sed: -e expression #2, char 52: unknown option to `s'
dpkg: error processing ntlmaps (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
ntlmaps
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nathan Sprangers
2005-10-31 23:27:08 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Comment:
I can't reproduce this bug on ppc in breezy or dapper.
Andy Brook
2005-11-01 08:54:13 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

- Changed attachments:
Added: Nov 1st output, package removed and readded, post install script still fails.
Loading Image...
Andy Brook
2005-11-01 08:56:58 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Comment:
Is this specific to AMD64 somehow? I mean, a sed error? surely these
apps are consistent accross platforms?
Yann
2006-01-21 13:48:24 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Comment:
I don't reproduce the bug, but I don't think it's arch dependant.
Looking at postinst script /var/lib/dpkg/info/ntlmaps.postinst, there are 2 sed lines

sed -e "s/^[[:blank:]]*$LISTENPORT_ENTRY:.*/$LISTENPORT_ENTRY: $LISTENPORT/" \
-e "s/^[[:blank:]]*$PARENTPROXY_ENTRY:.*/$PARENTPROXY_ENTRY: $PARENTPROXY/" \
-e "s/^[[:blank:]]*$PARENTPROXYPORT_ENTRY:.*/$PARENTPROXYPORT_ENTRY: $PARENTPROXYPORT/" \
-e "s/^[[:blank:]]*$NTDOMAIN_ENTRY:.*/$NTDOMAIN_ENTRY: $NTDOMAIN/" \
-e "s/^[[:blank:]]*$NTUSER_ENTRY:.*/$NTUSER_ENTRY: $NTUSER/" \

and

sed -e "s/^[[:blank:]]*$NTPASSWD_ENTRY:.*/$NTPASSWD_ENTRY: $NTPASSWD/"

I think one of this variable contains sed special characters like /,( or
[ , probably $NTPASSWD

Do you have any of this characters in your password ?
Yann
2006-01-21 13:48:41 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Task: ubuntu ntlmaps
Status: Unconfirmed => Needs Info
Yann
2006-01-21 13:51:41 UTC
Permalink
Public bug report changed:
https://launchpad.net/malone/bugs/3264

Comment:
I did dpkg-reconfigure ntlmaps and enter a nt password with sed special
characters and this definitely makes the postint script stop with an
error.
Daniel Robitaille
2006-05-28 05:36:27 UTC
Permalink
** Bug watch added: Debian Bug tracker #349199
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349199

** Also affects: ntlmaps (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349199
Severity: Unknown
Priority: Unknown
Status: Unknown
--
post install script seems to be broken (every subsequent update refers)
https://launchpad.net/bugs/3264
Bug Watch Updater
2006-07-25 06:48:06 UTC
Permalink
** Changed in: ntlmaps (Debian)
Status: Unconfirmed => Fix Released
--
post install script seems to be broken (every subsequent update refers)
https://launchpad.net/bugs/3264
David Watson
2006-12-24 11:50:23 UTC
Permalink
This bug was fixed in debian version 0.9.9.0.1-1 uploaded on 23 Jul
2006, and is already included in ubuntu.
--
post install script seems to be broken (every subsequent update refers)
https://launchpad.net/bugs/3264
Kai Kasurinen
2007-01-12 16:32:24 UTC
Permalink
Thanks for the bug report.

I'm closing this bug because it has been fixed in Feisty.

ntlmaps (0.9.9.0.1-1) unstable; urgency=low
.
[ David Watson ]
* New upstream release
* Mask out Proxy-Authorization parameter when using BASIC to NTLM,
thanks to Nickolay Kondrashov. Closes: #349965
* Added unicode translation when using BASIC->NTLM, thanks to
Nickolay Kondrashov. Closes: #344904
* Log to syslog when startup fails due to missing password in
configuration file. Closes: #343475
* Escape special characters in password in postinst. Closes: #349199
* Update to standards version 3.7.2, no changes needed.
* Update for new python policy.
.
[ Drew Parsons ]
* Upload on David's behalf.

** Changed in: ntlmaps (Ubuntu)
Status: Needs Info => Fix Released
--
post install script seems to be broken (every subsequent update refers)
https://launchpad.net/bugs/3264
martin suc
2014-09-18 21:50:29 UTC
Permalink
this error appeared in ubuntu utopic 14.10 :

run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-16-lowlatency /boot/vmlinuz-3.16.0-16-lowlatency
sed: -e expression #1, char 6: unknown command: `m'
Error! Problems with depmod detected. Automatically uninstalling this module.
DKMS: Install Failed (depmod problems). Module rolled back to built state.
sed: -e expression #1, char 6: unknown command: `m'
--
You received this bug notification because you are a member of MOTU,
which is a bug assignee.
https://bugs.launchpad.net/bugs/3264

Title:
post install script seems to be broken (every subsequent update
refers)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntlmaps/+bug/3264/+subscriptions
martin suc
2014-09-18 21:52:59 UTC
Permalink
/usr/sbin/dkms:

line 898:
sed -e "s/INITRD_MODULES=\"\(.*\)\"/INITRD_MODULES=\"\1 $m\"/" /etc/sysconfig/kernel > $temp_dir_name/kernel.new

line 904:

sed -e "s/\(INITRD_MODULES.*\)$m\b\(.*\)/\1\2/" /etc/sysconfig/kernel >
$temp_dir_name/kernel.new
--
You received this bug notification because you are a member of MOTU,
which is a bug assignee.
https://bugs.launchpad.net/bugs/3264

Title:
post install script seems to be broken (every subsequent update
refers)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntlmaps/+bug/3264/+subscriptions
Continue reading on narkive:
Search results for '[Bug 3264] post install script seems to be broken (every subsequent update refers)' (Questions and Answers)
6
replies
What are the real advantages of Macs over PCs?
started 2007-04-07 13:53:03 UTC
computers & internet
Loading...