Install Fails on Ubuntu 10.04 LTS

Did wget http://software.virtualmin.com/gpl/scripts/install.sh then /bin/sh install.sh to get the automated install going but does not fully install, some help please.

virtualmin-install.log is attached

Howdy,

I don’t actually see your install log, but I’m going to guess that it’s related to “hostname -f” failing.

If “hostname -f” doesn’t return your FQDN, Ubuntu’s Dovecot package won’t install, which will cause the installation to fail.

You can see some suggestions on how to resolve that here:

http://www.virtualmin.com/node/19226

I attached it but it looks like the Drupal permissions for this site might be off in that it will let users upload but won’t display without the permission being set. Here is the install log.

http://pastebin.com/HWQQuQU1

Hmm, I don’t see an error message that explains what’s going on in that error log… what output do you receive if you run this command, this is the last command it tried to run before it failed:

apt-get install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota

Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package webmin

Hmm, try running that same command, but without the “webmin” and “usermin” packages.

-Eric

I ran the command “hostname -f” with the return of “hostname: Name or service not known”.

If “hostname -f” doesn’t return your FQDN, that can cause the install to fail. You’ll want to view the forum thread I mentioned in the above comment, which goes over some suggestions on how to resolve that.

-Eric

Got the host name to return a value.

Running the command without the “webmin” and “usermin” returned:

Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package libapache2-mod-ruby

I mean I did get “hostname -f” to return the domain name.

The command hostname -f works now but this http://pastebin.com/e6pEhfRH is what I’m getting probably the same thing.

Howdy,

Well, I’m curious what happens if you try this command again:

apt-get install postfix postfix-pcre ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota

Running the command:

apt-get install postfix postfix-pcre ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota

Returns:

Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libapache2-mod-ruby

Ah, you may not have the Ubuntu universe repository enabled.

If you edit /etc/apt/sources.list, try adding this to it:

deb http://us.archive.ubuntu.com/ubuntu/ lucid universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

That did the trick thank you very much for the help!