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.

I am unable to install php5-dev package in ubuntu 12.10. I am getting the following on sudo apt-get install php5-dev:

 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 E: Unable to locate package php5-dev
share|improve this question

2 Answers 2

I just tried installing php5-dev package in Ubuntu 12.10, and I didn't have any problems. It installed fine.

enter image description here

I'm including images of my software sources, just so you can compare with yours.

enter image description here enter image description here

I also suggest the you just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below prior to installing:

sudo apt-get update && sudo apt-get upgrade
share|improve this answer
    
yup! its working.. a lot of thanks for your answering Mitch. –  u2460470 Nov 19 at 19:27

I got a similar error when installing PHP or any other software. I changed the update server and then it started working.

So, please try to change the update server if you get a similar error.

You can change the update server you are using by going to System Settings > Software & updates, and then change the "Download from" line to another server.

share|improve this answer

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.