PDA

View Full Version : [ubuntu] Issues in apt and synaptic connecting to repository on a fresh system



su_list
April 20th, 2009, 01:27 PM
Hi:

I have installed intrepid in my office system. This system is connected to internet and I can browse the net from firefox. But when I am trying to install/update some package through synaptic or apt-get, its failing to connect to the repository. When I try apt-get from the commandline, it says, "couldnt find package". Can you please help me in identifying and resolving the issue. :(

Thanks
Su

kiridude
April 20th, 2009, 01:36 PM
what package are you trying to install?

su_list
April 20th, 2009, 08:16 PM
I am trying to install the telnetd and other inet packages.

kiridude
April 21st, 2009, 08:01 AM
You need to enable the Universe repositories:


gksudo gedit /etc/apt/sources.list

Then uncomment (delete the # sign at the beginning of the following lines):

deb http://gr.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://gr.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://gr.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://gr.archive.ubuntu.com/ubuntu/ intrepid-updates universe

deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe

close the window and chose "save" at the prompt.

You may want to enable Multiverse and other restricted repositories for other programs you may need. A little research will tell you what is where.