Page 2 of 3

Re: Guide for centos

Posted: Mon Apr 19, 2010 5:40 pm
by Tom22
I'm still getting this darn error,

root@server:~# sudo apt-get install add-apt-repository
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package add-apt-repository

Maybe it's something to do with my vps

Re: Guide for centos

Posted: Mon Apr 19, 2010 5:55 pm
by Cas
follow this guide to add them from console: https://help.ubuntu.com/community/Repos ... ommandLine

Re: Guide for centos

Posted: Mon Apr 19, 2010 5:57 pm
by Tom22
Cas wrote:go here and download the deb: http://ns2.canonical.com/karmic/all/pyt ... s/download
:-/ how do i do it exactly, I tried

root@server:~# apt-get http://mirrors.kernel.org/ubuntu/pool/m ... .4_all.deb
E: Invalid operation http://mirrors.kernel.org/ubuntu/pool/m ... .4_all.deb
root@server:~#


Remember Im really noob at this kinda stuff :( thanks for all the help so far though.

Re: Guide for centos

Posted: Mon Apr 19, 2010 6:01 pm
by Cas
sorry try this instead:

sudo apt-get install python-software-properties

Re: Guide for centos

Posted: Mon Apr 19, 2010 6:06 pm
by Tom22
Lovely now im getting a deb command not found :'(

Re: Guide for centos

Posted: Mon Apr 19, 2010 6:10 pm
by Tom22
dpkg: unrecoverable fatal error, aborting:
fork failed: Cannot allocate memory
E: Sub-process /usr/bin/dpkg returned an error code (2)

I've got 512mb ram on this vps, you would think thats enough. :( oh well...I'll try it again when I order my dedicated server sometime this week.

Re: Guide for centos

Posted: Mon Apr 19, 2010 6:11 pm
by Cas
from what?

i updated the previous set of commands so this is all you need to do:

Code: Select all

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update
sudo apt-get install deluge

Re: Guide for centos

Posted: Mon Apr 19, 2010 6:13 pm
by Tom22
when trying to run sudo apt-get install python-software-properties i get the memory error. it should work on 512mb of ram shouldn't it?

Re: Guide for centos

Posted: Mon Apr 19, 2010 6:25 pm
by Cas
doubt it has anything to do with your ram size. Its really an ubuntu issue that you should probably search or post on their forums: http://ubuntuforums.org/showthread.php?t=1367582

Re: Guide for centos

Posted: Mon Apr 19, 2010 7:18 pm
by Tom22
I posted there, waiting for a reply now. Thanks again for the help you've given me :)