Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am in 12.04 so I added Ondrej's PPA to get PHP 5.4. So far so good but php-5.4.12 seems to be broken with our code and after a while of struggling I decided to downgrade to php-5.4.11 but apt-cache showpkg php5 says:

5.4.12-1~precise+1 - 
5.3.10-1ubuntu3.5 - 
5.3.10-1ubuntu3 - 

apparently 5.4.11 is no longer kept in my system for some reason as I'm sure at some point in time I updated to 5.4.11 and then after a while to 5.4.12.

The other strange thing is what happened to the 5.4.11 in the Odrenj PPA ?! Sure he doesn't just delete a package when a new one arrives (?)

share|improve this question

closed as not a real question by mikewhatever, vasa1, stephenmyall, hhlp, Raja Mar 5 '13 at 15:53

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Perhaps you should contact the PPA owner, Odrenj, and ask. How should anyone here know what that person does? – mikewhatever Mar 5 '13 at 8:44
@mikewhatever You are absolutely right, but I thought perhaps this is some kind of routine or something since older versions of many packages seem to be missing (like phpmyadmin for example) – ashy_32bit Mar 5 '13 at 8:49
up vote 2 down vote accepted

PPA indeed does delete older packages when new version is uploaded.

For further reading about this, see:

  • Packaging/PPA (" your PPA...until...superseded by another package")
  • Bug 215661 ("it would be nice if launchpad allowed multiple versions of a package to be present in PPA" and the bug is triaged)
share|improve this answer
@maggotbrain How does this not answer the question? Too-short answers aren't automatically comments, even if you think they're inadequate. – Eliah Kagan Mar 5 '13 at 10:11
@maggotbrain The question is asking why the old package is gone. The answer is that PPA's don't keep old versions of a package when a newer version of the same package is added. This answer explains that, meeting all the requirements of an answer (and none to be a good comment). – Eliah Kagan Mar 5 '13 at 10:19
@maggotbrain as the OP it indeed sounds like my answer although I'm very surprised and some links to some documentation or official procedures that state the deletion would be even more nice. – ashy_32bit Mar 5 '13 at 10:25
Would you please give a reference or something ? – ashy_32bit Mar 5 '13 at 10:26
@ashy_32bit I've edited some references in. While I think this is your answer, you may want to wait a bit to accept it--someone may post a workaround explaining how to get that version of the package (other than from a PPA). – Eliah Kagan Mar 5 '13 at 10:41

It looks like you can download the php-5.4.11 .deb files for 12.04(precise)from Launchpad.

This archive also has the PPA author's name, Ondrej, at the top of the page. Each of the files just need to be manually downloaded and installed.

share|improve this answer

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