Virtualmin install script errors

13 posts / 0 new
Last post
#1 Mon, 06/15/2009 - 18:45
recci

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?

Mon, 06/15/2009 - 18:51
Joe
Joe's picture

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

--

Check out the forum guidelines!

Mon, 06/15/2009 - 18:58
recci

Im not sure how do I do that?

Mon, 06/15/2009 - 19:07 (Reply to #3)
recci

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

Mon, 06/15/2009 - 19:11 (Reply to #4)
Joe
Joe's picture

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.

--

Check out the forum guidelines!

Mon, 06/15/2009 - 19:28
recci

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!

Mon, 06/15/2009 - 19:30 (Reply to #6)
Joe
Joe's picture

I forgot the code tag.

--

Check out the forum guidelines!

Mon, 06/15/2009 - 19:31 (Reply to #7)
andreychek

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

Mon, 06/15/2009 - 19:32
Joe
Joe's picture

It's definitely in universe on Hardy:

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

--

Check out the forum guidelines!

Mon, 06/15/2009 - 19:38
recci

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.

Mon, 06/15/2009 - 19:40
Joe
Joe's picture
Mon, 06/15/2009 - 19:43
recci

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

going to try the install script again.

Mon, 06/15/2009 - 20:02
recci

Virtualmin now installed and working....thanks for your help

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

Topic locked