Virtualmin install script errors

Hi trying to install using the virtualmin install script on Ubuntu 8.04 got the following error:

INFO - Removing Debian standard Webmin package, if they exist (because they’re b roken)…
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-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota
…in progress, please wait…
.E: Couldn’t find package libapache2-mod-ruby

/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install po stfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl li bcrypt-ssleay-perl unzip zip quota failed. Error (if any): 0

Tried to fix with: apt-get install libapache2-mod-ruby

but still getting error:

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

What do I do now?

Is the universe repo enabled on your system? You need it for a handful of packages on Ubuntu.

Im not sure how do I do that?

In fact i only have these two lines in /etc/apt/sources.list

deb hardy main
deb hardy-security main

There will be a line with “universe” in it somewhere in sources.list (usually, anyway). Uncomment it.

If there is no such line…add this:

deb hardy universe

deb-src hardy universe

deb hardy-updates universe

deb-src hardy-updates universe

Maybe disabling the src repos if you never rebuild anything from source.

Edit: code tag doesn’t work right with links. Still working on that.

I only had two lines in my sources list which i posted above.

ok added the lines you gave me correctly but still seem to bet getting the error!

I forgot the code tag.

Hmm, you may have to run an “apt-get update” for that to all take effect.

It’s definitely in universe on Hardy:

How exactly should those lines be added?

Like this :

deb hardy universe

or like this :

deb hardy universe

I am getting errors with the first one.

Ubuntu docs on the subject:

ahh I was doing correctly as I thought I just forgot to apt-get update

going to try the install script again.

Virtualmin now installed and working…thanks for your help

now I just need to figure out how to work this software :P…