recci
1
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?
Joe
2
Is the universe repo enabled on your system? You need it for a handful of packages on Ubuntu.
recci
3
Im not sure how do I do that?
recci
4
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
Joe
5
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.
recci
6
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!
Eric
8
Hmm, you may have to run an “apt-get update” for that to all take effect.
-Eric
Joe
9
recci
10
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.
Joe
11
recci
12
ahh I was doing correctly as I thought I just forgot to apt-get update
going to try the install script again.
recci
13
Virtualmin now installed and working…thanks for your help
now I just need to figure out how to work this software :P…