-1

This question already has an answer here:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ninja is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

deepak@ubuntu:~$ sudo apt-get install cscope
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package cscope is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

these type of error it is showing

marked as duplicate by mikewhatever, amc, Eric Carvalho, Community Sep 4 '16 at 21:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Did you do a sudo apt-get update first? Cheers, Al – heynnema Sep 2 '16 at 21:05
  • i tried this also in that case also the same type of error was coming, but now this is resolved, thanks – d4deepak Sep 2 '16 at 21:16
  • Tell us the fix! Cheers, Al – heynnema Sep 2 '16 at 21:17
  • sudo apt-get clean sudo mv /var/lib/apt/lists /tmp sudo apt-get clean sudo apt-get update – d4deepak Sep 4 '16 at 21:06
3

This should fix it:

sudo apt-get clean
sudo mv /var/lib/apt/lists /tmp
sudo apt-get clean
sudo apt-get update

Then try again.

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