PDA

View Full Version : [ubuntu] No repositories?


Legolas8911
February 21st, 2009, 07:07 PM
I'm having troubles installing GUI on server edition.when i enter apt-get install xinit it says that cannot find a package candidate or something like that.the same with Midnight Commander.in aptitude -u,it gives me a list with different sites starting with ro.ubuntu.com(i guess).some of them are green and it says [IGNORED]
and some are red with [No such file,or something like that] label.what can i do?

R.Bucky
February 21st, 2009, 07:25 PM
Wouldn't you want to install ubuntu-desktop or kubuntu-desktop instead of xinit?

Legolas8911
February 22nd, 2009, 05:28 AM
with ubuntu-desktop or kubuntu-desktop it says "No package found" or something like that :(

E_K
February 22nd, 2009, 05:34 AM
nano /etc/apt/sources.list

then uncomment every comment except for the cd at the top, leave/comment that one out

apt-get update
apt-get install [whatever you want]

if you get permission errors, use su or sudo the command

:)

Still not working, find a good copy of sources.list from google for your distro

Legolas8911
February 22nd, 2009, 08:45 AM
It's working after a aptitude -update.I have installed GUI and various other things.Thanks for helping guys :popcorn:

E_K
February 22nd, 2009, 09:01 AM
no worries glad its working :)