User Tools

Site Tools


unix:linux:debian:devuan_sury

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
unix:linux:debian:devuan_sury [2020/04/07 21:29] – created rodolicounix:linux:debian:devuan_sury [2020/04/09 00:53] rodolico
Line 1: Line 1:
 ====== sury.org breaks Devuan ====== ====== sury.org breaks Devuan ======
  
 +===== Summary =====
 +
 +In February 2020, the "go to" place to do multiple PHP installations on Debian based servers decided to create a dependency for system-d to the package. Installing or upgrading a Devuan system that used this site would result in an unusable web server. The package maintainer, who has been doing this work faithfully for almost a decade and whom the community owes a debt of gratitude to for his hard work, determined that the package for Debian based systems would not be changed; system-d would be required for any packages installed with his site as a source.
 +
 +One of the users at Devuan has taken the original packages, modified them so they do not need system-d, and created a secondary location where the packages can be installed from. If you are using a non-system-d system, you will want to convert to this new site //before// you perform your new update. I will update this page for more details, but the following code will do this. Basically, change /etc/apt/sources.list.d/php.list to hold the packages form tdrnetworks.com. See links at the bottom of this article for more information.
 +
 +===== Code =====
  
 <code bash> <code bash>
-# download key using quite and sending to stdout, then add using apt-key+# download key using wget and sending to stdout, then add using apt-key
 wget -qO - http://pkgs.tdrnetworks.com/apt/devuan/gpg.key | apt-key add - wget -qO - http://pkgs.tdrnetworks.com/apt/devuan/gpg.key | apt-key add -
 +# save old file as .disabled
 mv  /etc/apt/sources.list.d/php.list  /etc/apt/sources.list.d/php.list.disabled mv  /etc/apt/sources.list.d/php.list  /etc/apt/sources.list.d/php.list.disabled
 +# create new list file
 echo 'deb https://pkgs.tdrnetworks.com/apt/devuan ascii main' >> /etc/apt/sources.list.d/php.list echo 'deb https://pkgs.tdrnetworks.com/apt/devuan ascii main' >> /etc/apt/sources.list.d/php.list
 echo 'deb-src https://pkgs.tdrnetworks.com/apt/devuan ascii main' >> /etc/apt/sources.list.d/php.list echo 'deb-src https://pkgs.tdrnetworks.com/apt/devuan ascii main' >> /etc/apt/sources.list.d/php.list
 +# update
 apt update apt update
 +</code> 
 +<code>
 apt-get install php7.2 php7.2-cli php7.2-cgi php7.2-fpm php7.2-gd php7.2-mysql php7.2-imap php7.2-curl php7.2-intl php7.2-pspell php7.2-recode php7.2-sqlite3 php7.2-tidy php7.2-xmlrpc php7.2-xsl php7.2-zip php7.2-mbstring php7.2-soap php7.2-opcache php7.2-common php7.2-json php7.2-readline php7.2-xml apt-get install php7.2 php7.2-cli php7.2-cgi php7.2-fpm php7.2-gd php7.2-mysql php7.2-imap php7.2-curl php7.2-intl php7.2-pspell php7.2-recode php7.2-sqlite3 php7.2-tidy php7.2-xmlrpc php7.2-xsl php7.2-zip php7.2-mbstring php7.2-soap php7.2-opcache php7.2-common php7.2-json php7.2-readline php7.2-xml
 </code> </code>
 +
 +
 +===== References =====
 +
 +  * https://dev1galaxy.org/viewtopic.php?id=3331
 +  * https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions
 +  * https://www.howtoforge.com/tutorial/how-to-install-php-7-for-ispconfig-3-from-debian-packages-on-debian-8-and-9/
 +  * https://stackoverflow.com/questions/45033511/how-to-select-php-version-5-and-7-per-virtualhost-in-apache-2-4-on-debian
 +  * https://stackoverflow.com/questions/42696856/running-two-php-versions-on-the-same-server
 +  * https://www.reddit.com/r/PHP/comments/42l8zl/how_to_run_multiple_php_versions_simultaneously/
 +  * https://stackoverflow.com/questions/45033511/how-to-select-php-version-5-and-7-per-virtualhost-in-apache-2-4-on-debian
 +  * https://stackoverflow.com/questions/42696856/running-two-php-versions-on-the-same-server
 +
 +
unix/linux/debian/devuan_sury.txt · Last modified: 2023/03/14 21:13 by rodolico