Current time: 11-27-2024, 10:13 PM Hello There, Guest! (LoginRegister)


Post Reply 
apache2-mpm-worker not available - installing on Debian etch (VPS container)
Author Message
feelgood Offline
Newbie
*

Posts: 9
Joined: Jun 2009
Reputation: 0
Post: #1
apache2-mpm-worker not available - installing on Debian etch (VPS container)
Hi

I just got a VPS container with Debian 4 etch
(kernel 2.6.18-028stab060.8 redhat enterprise)

I have followed the instructions to install ispCPomega on Debian:

--------------------------------------------------------------
# apt-get update
# apt-get upgrade
# apt-get install tar bzip2 wget lsb-release
# mkdir -p /usr/local/src/ispcp
# cd /usr/local/src/ispcp
# wget http://mesh.dl.sourceforge.net/sourcefor....0.tar.bz2

# cd ./ispcp-*

# apt-get update
# apt-get upgrade
# apt-get install $(cat ./docs/Debian/debian-packages-etch)

--------------------------------------------------------------

And I get this error:
--------------------------------------------------------------
Building package lists... Done
Building dependency tree... Done
apache2-mpm-worker is not available, but it referred to by another package.
...
--------------------------------------------------------------

Is this related to the non-free repository?
What could I do at this point?

(I used to be fluent in LINUX, but it has been 10 years, I could use a hint)

Thank you
06-05-2009 04:49 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #2
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
did you add the non-free repositories in /etc/apt/sources.list?
Code:
# stable
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

i just installed a debian lenny test server yesterday and it worked just fine.
(This post was last modified: 06-05-2009 04:59 AM by alecksievici.)
06-05-2009 04:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
feelgood Offline
Newbie
*

Posts: 9
Joined: Jun 2009
Reputation: 0
Post: #3
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
(06-05-2009 04:58 AM)alecksievici Wrote:  did you add the non-free repositories in /etc/apt/sources.list?
Code:
# stable
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

i just installed a debian lenny test server yesterday and it worked just fine.
I see. I did not add the non-free repositories.

I did try to use stable but my etch did not like it:
Code:
#stable
-bash: stable: command not found

So I thought "this stable command maybe is not for etch? maybe it is for lenny?" and I just went ahead with the following step. Very smart huh?Tongue

OK, I have to add the non-free repositories.

SO, do you know what I can do to make the "stable" command work on my etch or, is there something I can use instead of "stable" that will work the same (much like apt-get works when aptitude is not available)?

Thanks again
(This post was last modified: 06-05-2009 05:27 AM by feelgood.)
06-05-2009 05:25 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #4
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
stable is not a command, as you can see it has a # in front so it's a comment. you really didn't read the installation guide very carefully Smile.

all you have to do si pico or mcedit /etc/apt/sources.list and add
Code:
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
at the end of the file and then run
Code:
apt-get update
and presto! you're done, you can now start installing ispcp

i would also recommend you to upgrade to debian lenny Wink
06-05-2009 06:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
feelgood Offline
Newbie
*

Posts: 9
Joined: Jun 2009
Reputation: 0
Post: #5
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
OK, I get it. :blush:

I am supposed to edit file /etc/apt/sources.list and add these lines (modifying them for etch, I assume)

Code:
# stable
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

Now. This file does not exist in my Debian etch.

In /etc/apt I only see
- trusted.gpg
- trustdb.gpg
- secring.gpg
- apt.conf.d (directory)
- sources.list.d (directory)

There is no sources.list file.
Shall I just create one and write those two lines in it?
(06-05-2009 06:08 AM)alecksievici Wrote:  stable is not a command, as you can see it has a # in front so it's a comment. you really didn't read the installation guide very carefully Smile.

all you have to do si pico or mcedit /etc/apt/sources.list and add
Code:
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
at the end of the file and then run
Code:
apt-get update
and presto! you're done, you can now start installing ispcp

i would also recommend you to upgrade to debian lenny Wink
Thanks alecksievici,
I wrote my previous post while you were writing yours !
I did read the guide, but I misinterpreted the instructions. Sorry.

OK. Two questions:

1. If /etc/apt/sources.list does not exist in my installation, do you think this is a symptom that something else is missing?

2. I have thought of upgrading to Lenny, but this Etch I have, being an off-the shelf Virtuozzo VPS container version of Debian, may be missing other things...? I am not sure. Do you know if this could be the case?

Things missing could lead to many complications. I would not want to get involved in a major project when I just came back to Linux. I just need the Cpanel to work, that's all.

Thanks for your help.
(This post was last modified: 06-05-2009 06:23 AM by feelgood.)
06-05-2009 06:13 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #6
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
wow, that's not good.
when you run apt-get update i guess it doesn't do anything just says "Reading package lists... Done"

here's a sample of /etc/apt/sources.list + the 2 required repositories
Code:
# Find more repositories here:  http://www.apt-get.org

# CD images - etch installer    http://www.debian.org/devel/debian-installer/
# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main

# regular updates for etch
deb http://ftp.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.debian.org/debian/ etch main contrib non-free

# security updates for etch
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

# multimedia       Christian Marillat (was: ftp.nerim.net)
deb http://www.debian-multimedia.org etch main
deb-src http://www.debian-multimedia.org etch main

# unofficial      http://www.debian-unofficial.org
deb http://ftp.debian-unofficial.org/debian etch main contrib non-free restricted
deb-src http://ftp.debian-unofficial.org/debian etch main contrib non-free restricted

# stable
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

just "pico /etc/apt/sources.list" copy+paste the above code, save the file and run apt-get update. now you should be able to install ispcp.
(This post was last modified: 06-05-2009 06:27 AM by alecksievici.)
06-05-2009 06:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
feelgood Offline
Newbie
*

Posts: 9
Joined: Jun 2009
Reputation: 0
Post: #7
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
(06-05-2009 06:24 AM)alecksievici Wrote:  wow, that's not good.
when you run apt-get update i guess it doesn't do anything just says "Reading package lists... Done"

here's a sample of /etc/apt/sources.list + the 2 required repositories
Code:
# Find more repositories here:  http://www.apt-get.org

# CD images - etch installer    http://www.debian.org/devel/debian-installer/
# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main

# regular updates for etch
deb http://ftp.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.debian.org/debian/ etch main contrib non-free

# security updates for etch
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

# multimedia       Christian Marillat (was: ftp.nerim.net)
deb http://www.debian-multimedia.org etch main
deb-src http://www.debian-multimedia.org etch main

# unofficial      http://www.debian-unofficial.org
deb http://ftp.debian-unofficial.org/debian etch main contrib non-free restricted
deb-src http://ftp.debian-unofficial.org/debian etch main contrib non-free restricted

# stable
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

just "pico /etc/apt/sources.list" copy+paste the above code, save the file and run apt-get update. now you should be able to install ispcp.

#pico /etc/apt/sources.list
-bash: pico: command not found


This is going to be tough. Sad
(This post was last modified: 06-05-2009 06:42 AM by feelgood.)
06-05-2009 06:41 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #8
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
i forget to mention: pico or any other text editor (vi, mcedit etc.)
your debian etch installation seems to be barebone...
06-05-2009 06:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
feelgood Offline
Newbie
*

Posts: 9
Joined: Jun 2009
Reputation: 0
Post: #9
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
(06-05-2009 06:43 AM)alecksievici Wrote:  i forget to mention: pico or any other text editor (vi, mcedit etc.)
your debian etch installation seems to be barebone...
Thanks alecksievici
I have used vi to create the file and I am about to test the installation again.
It is getting packages now.

Question: Are you sure the lines have to be...

Code:
# stable
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

for my installation (not lenny) ?
(This post was last modified: 06-05-2009 06:50 AM by feelgood.)
06-05-2009 06:47 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #10
RE: apache2-mpm-worker not available - installing on Debian etch (VPS container)
i'm not 100% sure, but as long as they work in lenny, they should work in etch. those are the lines from the documentation, you could change lenny to etch Wink

again, i suggest you to upgrade to lenny.
(This post was last modified: 06-05-2009 06:56 AM by alecksievici.)
06-05-2009 06:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)