Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I try to install any package through the command line, I get an error. Can anyone help me on this?

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package update
E: Unable to locate package fpc

and here's the snapshot. snap1

share|improve this question
    
Welcome to Ask Ubuntu. Why do you think the package "fpc" should exist? Also, please give us the complete command you issued. Please add the information to your question by editing it. –  MadMike Jan 20 at 10:56
add comment

1 Answer

To install fpc you should have the Universe repository enabled. From command line, you can do this and then install the application as shown below:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
sudo apt-get update
sudo apt-get install fpc
sudo apt-get install fpc-2.4.4

Source How do I enable the “Universe” repository from the command line?

Synaptic Package Manager is a good graphical package manager, if you might want to give it a try!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.