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.

while trying to install zopectl and zope testcase I am getting this error:

oomsys@oomsysmob-6:~/zopectl$ sudo apt-get install zopectl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package zopectl

I put the tar file in my home directory. But I don't know why I am getting this error. Can anyone tell me the reason?

share|improve this question
add comment

1 Answer

With many applications, there are multiple ways to download/install them. One way is through apt-get and another is by downloading and untaring the .tar file. Note, that apt-get has nothing to do with the .tar file.

Unable to locate package zopectl

Typically, that error indicates the package you are trying to install cannot be found in any of your defined repositories. Have you done a sudo apt-get update? Run that command and then try again.

If you cannot get the apt-get install to work, you should be able to install this application by untar-ing the .tar file (which you say you have already downloaded). In terminal, change to your home directory (cd ~) and try this:

tar -xvf nameOfTarFile.tar

Note that if the file you downloaded is a tar.gz file, you'll need to set one more flag to get that to work:

tar -zxvf nameOfTarFile.tar
share|improve this answer
    
now i m getting error like this----------------------------------------------E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? –  PYTHON TEAM Apr 20 '13 at 13:29
    
For that problem, we've got a whole slew of answers. Check out: askubuntu.com/questions/15433/… –  BryceAtNetwork23 Apr 20 '13 at 13:37
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.