PDA

View Full Version : [ubuntu] E: Couldn't find package ...



mmaru
September 25th, 2008, 01:50 AM
I am new to Linux. I am using Ubuntu Server 8.04 on VMware Workstation 6.0.5. In order to install finger, I did the following:

$sudo apt-get install finger

This is the response I get:

Reading package lists... Done
Reading state information... Done
E: Couldn't find package finger

I know it is trying to look in E: which is a CD ROM drive. What do I need to do to instruct it to go online to look for the package?

I am using the shell only.

Thank you.

Maru

Pumalite
September 25th, 2008, 02:37 AM
Post your sources.list

mmaru
September 25th, 2008, 02:58 AM
I am new to Linux. Where do I look for sources.list?

coolethan
September 25th, 2008, 02:59 AM
if you have internet you should be able to download and install the program or what have you using synaptic. I think what Pumalite means is type sources.list into the terminal.

Pumalite
September 25th, 2008, 03:03 AM
Post:
cat /etc/apt/sources.list

cariboo
September 25th, 2008, 03:15 AM
If you are looking for finger, it is part of Network Tools. Go to System-->Administration-->Network Tools-->Finger.

Jim

mmaru
September 25th, 2008, 03:18 AM
Pumalite,

I must say thank you for helping me. I was able to display the contents of source.list on the terminal. I am not sure what to do to get that info to my Windows browser where I am accessing this forum. I do appreciate your help on this.

Maru

Pumalite
September 25th, 2008, 03:37 AM
Maybe you need to make a text file with your editor. Save to your Desktop and then copy and paste here.

mmaru
September 25th, 2008, 03:49 AM
I copied sources.list to my home directory and name it sources.txt. I was able to open it using Vim. I do not know how to save the file on to my desktop.

Regards,

Maru

Pumalite
September 25th, 2008, 11:53 PM
Copy it and paste it here

mmaru
September 26th, 2008, 03:53 AM
I am sorry. How can I copy it from Vim to pate it here?

mmaru
September 26th, 2008, 04:37 AM
I am staring to learn Linux. How do I copy it from Vim and past it here?

Regards,

Maru

tuxxy
September 26th, 2008, 04:43 AM
I am staring to learn Linux. How do I copy it from Vim and past it here?

Regards,

Maru

Open a terminal and enter


gedit /etc/apt/sources.list

Now copy and paste them as normal

lisati
September 26th, 2008, 04:45 AM
I am new to Linux. I am using Ubuntu Server 8.04 on VMware Workstation 6.0.5. In order to install finger, I did the following:

$sudo apt-get install finger

This is the response I get:

Reading package lists... Done
Reading state information... Done
E: Couldn't find package finger

I know it is trying to look in E: which is a CD ROM drive. What do I need to do to instruct it to go online to look for the package?

I am using the shell only.

Thank you.

Maru
BTW: in Linux, the "E:" in the error message doesn't refer to the disk drive....

mmaru
September 26th, 2008, 11:44 PM
I am staring to learn Linux. How do I copy it from Vim and past it here?

Regards,

Maru

niksea
April 14th, 2009, 06:10 AM
The problem you faced here is actually your update was out of date. So Update it first and then install.

Try these commands

sudo apt-get update

then

sudo apt-get install vim

This will definitely solve your problem! :)

arunkrishnan
June 10th, 2010, 05:28 PM
I am facing the same problem.
Tried updating but still the error exists ........
any help??