2

I added Ondřej Surý's repository which was a great help at the time. Now I have issues installing cURL and I think returning to "original" PHP would solve the problem.

Currently all my PHP packages are from DEB.SURY.ORG repository.

ii  php5                              5.5.12+dfsg-2+deb.sur all
ii  php5-cli                          5.5.12+dfsg-2+deb.sur amd64
ii  php5-common                       5.5.12+dfsg-2+deb.sur amd64
ii  php5-gd                           5.5.12+dfsg-2+deb.sur amd64
ii  php5-imagick                      3.1.2-1+debphp.org~pr amd64
ii  php5-json                         1.3.4-3+deb.sury.org~ amd64
rc  php5-mcrypt                       5.5.8+dfsg-3+sury.org amd64
ii  php5-mysql                        5.5.12+dfsg-2+deb.sur amd64

I have already removed the Ondřej's .list file.

How can I switch back to the original php packages causing minimal disruptions for my users?

Miklos
  • 23
  • 1
  • 6
  • 2
    Add back the PPA, the use ppa-purge. – muru Sep 29 '14 at 08:43
  • @Oli Pretty sure someone has already said it, so I am searching for the original to flag as dupe. If not I'll post as answer. – muru Sep 29 '14 at 08:51
  • @muru, this solved my problem and I am very grateful. Please post it as an answer so I can accept. – Miklos Sep 29 '14 at 09:15
  • Having problems installing wine32 on Ubuntu 20.04 ? This repo may be your enemy : https://askubuntu.com/questions/1301883/wine-wine32-requires-dependencies-that-wont-be-installed-ubuntu-20-04 – jave.web Dec 23 '20 at 08:37
  • In this case, you should have been able to install "php-curl" - if "php --version" returned the correct version that you wanted it for. – Orphans Nov 02 '22 at 16:03

1 Answers1

2

Downgrading packages is a very difficult problem. You should use ppa-purge for this. But ppa-purge requires that the PPA be still added, so you will have to add back the PPA, and then use it.

muru
  • 197,895
  • 55
  • 485
  • 740
  • For Ubuntu, the common repo is ppa:ondrej/php to (re)add this: sudo add-apt-repository ppa:ondrej/php and then to purge this: sudo ppa-purge ppa:ondrej/php it's even listed on https://deb.sury.org/ as "Ubuntu PPA", don't ask me why isn't it called deb.sury.org ........... – jave.web Dec 23 '20 at 08:36
  • Also you may encouter problem php7.3 will no longer be available, but php7.4 will :) – jave.web Dec 23 '20 at 08:42
  • To purge the packages themselves afterwards refer to https://askubuntu.com/a/1302278/277898 – jave.web Dec 23 '20 at 09:30