Monthly Server Update – May`19

 

Server Update

 

Before you do your update, please change pacmans - ignore list first.

sudo nano /etc/pacman.conf

and delete the line "IgnorePkg = python2-urllib3" - (ctrl+k; ctrl+x & y).

This will solve this problem (PwOSS - Link).

 

Now do your update.

pikaur -Syu --noconfirm

 


 

Pacnew: Keep your config files up to date

Two files must be changed:

warning: /etc/php/php.ini installed as /etc/php/php.ini.pacnew
warning: /etc/systemd/resolved.conf installed as /etc/systemd/resolved.conf.pacnew

 

The easiest way is to install etc-update from the AUR repo
pikaur -S etc-update
sudo etc-update

 

warning: /etc/php/php.ini installed as /etc/php/php.ini.pacnew

Please select from the menu above (-1 to ignore this update): 3
/etc/php/php.ini.pacnew /etc/php/php.ini /tmp/etc-update-1401/etc/php/php.ini.merged
Merging /etc/php/php.ini.pacnew and /etc/php/php.ini
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/:| ;open_basedir =
(pihole etc...)
%1
expose_php = Off                                              | expose_php = On
%2
extension=gd                                                  | ;extension=gd
%1
extension=gmp                                                 | ;extension=gmp
%1
extension=mysqli                                              | ;extension=mysqli
%1
extension=pdo_mysql                                           | ;extension=pdo_mysql
%1
extension=pdo_sqlite                                          | ;extension=pdo_sqlite
%1
extension=sockets                                             | ;extension=sockets
extension=sqlite3                                             | ;extension=sqlite3
%1
sqlite3.defensive = 1                                         | ;sqlite3.defensive = 1
%1
>
> ; This directive specifies maximum stack depth for mbstring r
> ; to the pcre.recursion_limit for PCRE.
> ; Default: 100000
> ;mbstring.regex_stack_limit=100000
%2
1) Replace /etc/php/php.ini with merged file
2) Show differences between merged file and original
3) Remerge original with update
4) Edit merged file
5) Return to the previous menu
Please select from the menu above (-1 to exit, losing this merge): 1
Replacing /etc/php/php.ini with /tmp/etc-update-1401/etc/php/php.ini.merged
mv: overwrite '/etc/php/php.ini'? y
rm: remove regular file '/etc/php/php.ini.pacnew'? y

 

warning: /etc/systemd/resolved.conf installed as /etc/systemd/resolved.conf.pacnew

Please select from the menu above (-1 to exit, losing this merge): 3
Merging /etc/systemd/resolved.conf.pacnew and /etc/systemd/resolved.conf
#FallbackDNS=8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4 | #FallbackDNS=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 26
%2
#DNSSEC=no                                                    | #DNSSEC=allow-downgrade
%2
DNSStubListener=no                                            | #DNSStubListener=yes
%2
1) Replace /etc/systemd/resolved.conf with merged file
2) Show differences between merged file and original
3) Remerge original with update
4) Edit merged file
5) Return to the previous menu
Please select from the menu above (-1 to exit, losing this merge): 1
Replacing /etc/systemd/resolved.conf with /tmp/etc-update-1401/etc/systemd/resolved.conf.merged
mv: overwrite '/etc/systemd/resolved.conf'? y
rm: remove regular file '/etc/systemd/resolved.conf.pacnew'? y

 

We need to disable systemd-resolved:

sudo systemctl stop systemd-resolved && sudo systemctl disable systemd-resolved

Otherwise, you wouldn't have an Internet connection.


 

Update raspiBackup

sudo raspiBackup.sh -U

 

There is nothing else to do.

See you in a month.

Dan

 


 

PwOSS - Image changes:

We added DNSCrypt (PwOSS - Link) and etc-update to our Raspberry Pi - Image.

(Changelog)

 

 

 

 

Already Downgraded Software:

  • nothing

PwOSS - Image:

Download the Raspberry Pi - Image at seafile.pwoss.xyz

and follow the Guideline.