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 http://archive.ubuntu.com/ubuntu hardy main
deb http://security.ubuntu.com/ubuntu 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 http://us.archive.ubuntu.com/ubuntu/ hardy universe

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

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

deb-src http://us.archive.ubuntu.com/ubuntu/ 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.
-Eric

It’s definitely in universe on Hardy:

http://packages.ubuntu.com/hardy/web/libapache2-mod-ruby

How exactly should those lines be added?

Like this :

deb http://us.archive.ubuntu.com/ubuntu/ hardy universe

or like this :

deb http://us.archive.ubuntu.com/ubuntu/ hardy universe

I am getting errors with the first one.

Ubuntu docs on the subject:

https://help.ubuntu.com/community/Repositories/CommandLine

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…