Install failure: Warning: Newline present in param

6 posts / 0 new
Last post
#1 Fri, 03/28/2008 - 06:59
Karrde

Install failure: Warning: Newline present in param

Hello!

After testing Virtualmin GPL in a vmware debian etch machine and having no problems, I decided today to install Virtualmin GPL on a new dedicated machine.

The machine is freshly installed running debian etch.

I did a wget to get the install script:

[code:1]wget http://software.virtualmin.com/gpl/scripts/install.sh[/code:1]

after which I run the install script:

[code:1]/bin/sh install.sh[/code:1]

During install I get the following error. Which I can't seem to find much information about.

[code:1] INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded. INFO - OK INFO - OK INFO - Get:1 INFO - Removing Debian standard Webmin package, if they exist (because they're broken)... INFO - Removing Debian apache packages... INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-tls postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl INFO - ...in progress, please wait... -Warning: Newline present in parameters passed to debconf. This will probably cause strange things to happen! [/code:1]

Hopefully we can fix this together :)

Thanks already!

Erwin

Fri, 03/28/2008 - 08:00
Joe
Joe's picture

Hmm...I have no idea. I don't think we ever call debconf explicitly (it gets called by dpkg when installing packages, I believe), so I suspect there is something broken in one of the packages we're installing.

I'll try to reproduce this today and see if I can figure out what's happening.

Is there any clue which package is actually being installed when the error occurs (maybe in the virtualmin-install.log, maybe in the terminal output--hard to guess, redirecting apt-get output is a crapshoot).

--

Check out the forum guidelines!

Fri, 03/28/2008 - 08:26 (Reply to #2)
Karrde

Thanks for the quick reply!

I don't really know how to find out which package is failing.

However these are the last lines in the virtualmin-install.log file:

[code:1]
Get:27 http://software.virtualmin.com virtualmin-etch/main webmin 1.401 [12.9MB]
Get:28 http://software.virtualmin.com virtualmin-etch/main apache2-utils 2.2.3-5
Get:29 http://software.virtualmin.com virtualmin-etch/main apache2.2-common 2.2.
Preconfiguring packages ...
[/code:1]

The terminal output doesn't give much more information then I already posted.

[code:1]
Hit http://software.virtualmin.com virtualmin-etch/main Packages
Fetched 3B in 0s (3B/s)
Reading package lists... Done
INFO - Cleaning up apt headers and packages, so we can start fresh...
INFO -
18:13:45 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> "apt.conf.noninteractive" [1]
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Disabling any CD-based apt repositories so the process can run without assistance
INFO - Installing Webmin and Virtualmin package signing keys...
18:13:46 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> "RPM-GPG-KEY-virtualmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
18:13:46 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> "RPM-GPG-KEY-webmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Ign
INFO - Removing Debian standard Webmin package, if they exist (because they're broken)...
INFO - Removing Debian apache packages...
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-tls postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl
INFO - ...in progress, please wait... /Warning: Newline present in parameters passed to debconf.
This will probably cause strange things to happen!
[/code:1]

I hope this info is of any help.

I've uploaded the log-file and the terminal-output.
http://www.karrde.nl/virtualmin-install.txt
http://www.karrde.nl/terminal_output.txt

Thanks!

Post edited by: Karrde, at: 2008/03/28 08:28

Post edited by: Karrde, at: 2008/03/28 08:29<br><br>Post edited by: Karrde, at: 2008/03/28 14:25

Fri, 03/28/2008 - 15:48 (Reply to #3)
Karrde

Oke, I am confused now..

I tried to install the packages manually using the following command:

[code:1]
/usr/bin/apt-get -V install postfix postfix-tls postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl
[/code:1]

and... everything went well without any errors.

I raised my eyebrows there ;).

I then tried to redo the installation by running:

[code:1]
/bin/sh install.sh
[/code:1]

and.. everything went fine.

I am a bit confused, but happy I guess. However I am wondering what was wrong as I did not change anything or do anything.

When I log into the Virtualmin and do the check of the configuration I run into some error:

[code:1]
BIND DNS server is installed, and the system is configured to use it.

A problem was found with your Postfix virtual maps : No map sources were found in the Postfix configuration
[/code:1]

I guess this is because I manually installed the packages. When installing Postfix it gave me a chose of what kinda config to install. I chose the "no config" options.

What is the best way to fix this?

Remove all package and reinstall?
Uninstall Virtualmin and reinstall?

Thanks!

Fri, 03/28/2008 - 15:57 (Reply to #4)
Karrde

Ah it seems this was a known bug ;) I should have searched first.

The fix which Joe gave in another topic:
[code:1]
dpkg -r virtualmin-base
apt-get install virtualmin-base
[/code:1]

Lets see if everything works fine now ;)

Thanks!

Fri, 03/28/2008 - 09:10
Joe
Joe's picture

Hmm...nothing good there. Looks like it could be happening in any of those packages. ;-)

If you'd like to continue debugging you could run the dependency installation yourself, with the verbose option (-v) turned on. You wouldn't need the non-interactive configuration file, since you're sitting at the console. That's what I'll be doing to reproduce this problem.

--

Check out the forum guidelines!

Topic locked