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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
unix:linux:debian:devuan_sury [2020/04/08 21:09] rodolicounix:linux:debian:devuan_sury [2020/04/15 17:31] rodolico
Line 2: Line 2:
  
 ===== Summary ===== ===== 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 =====
 +
 +To verify sury is being used for PHP, execute the following. If it returns any values, you have it set up and need to fix it. If not, you may be using it but not have used the default setup.
  
 <code bash> <code bash>
-# download key using quite and sending to stdout, then add using apt-key+grep sury  /etc/apt/sources.list.d/php.list 
 +</code> 
 + 
 +If the above returns any lines, you can use the following to set up using tdnetworks.com 
 + 
 +<code bash> 
 +# 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>
unix/linux/debian/devuan_sury.txt · Last modified: 2023/03/14 21:13 by rodolico