Install Fails on Ubuntu 10.04 LTS

15 posts / 0 new
Last post
#1 Mon, 09/05/2011 - 13:33
Kutakizukari
Kutakizukari's picture

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

Mon, 09/05/2011 - 15:29
andreychek

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

Mon, 09/05/2011 - 20:53
Kutakizukari
Kutakizukari's picture

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

"Civilize the mind, but make savage the body." ~Chairman Mao

Mon, 09/05/2011 - 22:24
andreychek

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

Mon, 09/05/2011 - 22:42
Kutakizukari
Kutakizukari's picture

Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package webmin

"Civilize the mind, but make savage the body." ~Chairman Mao

Tue, 09/06/2011 - 10:39
andreychek

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

-Eric

Tue, 09/06/2011 - 20:45
Kutakizukari
Kutakizukari's picture

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

"Civilize the mind, but make savage the body." ~Chairman Mao

Tue, 09/06/2011 - 20:52
andreychek

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

Tue, 09/06/2011 - 22:13
Kutakizukari
Kutakizukari's picture

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

"Civilize the mind, but make savage the body." ~Chairman Mao

Tue, 09/06/2011 - 22:15
Kutakizukari
Kutakizukari's picture

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

"Civilize the mind, but make savage the body." ~Chairman Mao

Sat, 09/10/2011 - 18:19
Kutakizukari
Kutakizukari's picture

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

"Civilize the mind, but make savage the body." ~Chairman Mao

Sat, 09/10/2011 - 19:56
andreychek

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

Sat, 09/10/2011 - 20:10
Kutakizukari
Kutakizukari's picture

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

"Civilize the mind, but make savage the body." ~Chairman Mao

Sat, 09/10/2011 - 20:29
andreychek

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
Sat, 09/10/2011 - 21:13
Kutakizukari
Kutakizukari's picture

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

"Civilize the mind, but make savage the body." ~Chairman Mao

Topic locked