Lubuntu 18.10 Screensaver locks during video playback

Pretty much as the subject says, the screensaver keeps activating and locking me out while I’m watching a long video, even while in full-screen. I’ve been able to find posts discussing this issue in Ubuntu or in earlier (non-LXQt) versions of Lubuntu, but I haven’t seen it for 18.10+ yet (gnome-tweaks isn’t going to help much here).

Is there any way to prevent this from happening?

Ubuntu 18.10, relocation error, error code (127) after last updates

After the last update this happened:

/usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference     Reading package lists... Done     E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly 

What’s this? How do I solve it?

Latest command and results obtained:

sudo apt-get update  Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:3 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                                                   Hit:5 http://ppa.launchpad.net/ondrej/apache2/ubuntu bionic InRelease            Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease [20.8 kB]                                                                       Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                                 Get:8 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [368 kB]                                         Get:9 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages [51.7 kB]                          Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [729 kB]                                  Get:11 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main i386 Packages [51.7 kB]                                                                                    Get:12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [503 kB]       Get:13 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main Translation-en [24.3 kB]                                                        Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [581 kB]                                        Get:15 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [170 kB]                                               Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [263 kB]                                            Get:17 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [6,712 B]                                         Get:18 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [2,872 B]                                    Get:19 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [604 kB]                                                                  Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [979 kB] Get:21 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [590 kB]                                 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,003 kB]                               Get:23 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [201 kB]                                  Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [6,788 B]                                     Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [7,312 B]                                     Get:26 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [4,688 B]       Get:27 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [4,152 B] Fetched 6,424 kB in 4s (1,604 kB/s)                               Reading package lists... Done   sudo apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following packages have been kept back:   linux-generic linux-headers-generic linux-image-generic The following packages will be upgraded:   landscape-common libidn2-0 libnss-systemd libpam-systemd libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3.6 libpython3.6-minimal   libpython3.6-stdlib libsystemd0 libudev1 linux-libc-dev memcached python2.7 python2.7-dev python2.7-minimal python3.6 python3.6-minimal systemd systemd-sysv udev 23 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 44.7 MB of archives. After this operation, 1,024 B disk space will be freed. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnss-systemd amd64 237-3ubuntu10.29 [105 kB] Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libidn2-0 amd64 2.2.0-1+ubuntu18.04.1+deb.sury.org+1 [66.4 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsystemd0 amd64 237-3ubuntu10.29 [204 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpam-systemd amd64 237-3ubuntu10.29 [108 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 systemd amd64 237-3ubuntu10.29 [2,902 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 udev amd64 237-3ubuntu10.29 [1,101 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libudev1 amd64 237-3ubuntu10.29 [53.8 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 systemd-sysv amd64 237-3ubuntu10.29 [11.6 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.8-1~18.04.2 [1,414 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.8-1~18.04.2 [202 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.8-1~18.04.2 [1,710 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-minimal amd64 3.6.8-1~18.04.2 [1,609 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.8-1~18.04.2 [532 kB] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-dev amd64 2.7.15-4ubuntu4~18.04.1 [279 kB] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-dev amd64 2.7.15-4ubuntu4~18.04.1 [28.3 MB]                                                     Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7 amd64 2.7.15-4ubuntu4~18.04.1 [1,052 kB]                                                        Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.15-4ubuntu4~18.04.1 [239 kB]                                                             Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-stdlib amd64 2.7.15-4ubuntu4~18.04.1 [1,915 kB]                                                 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.15-4ubuntu4~18.04.1 [1,293 kB]                                                   Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-minimal amd64 2.7.15-4ubuntu4~18.04.1 [336 kB]                                                  Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 landscape-common amd64 18.01-0ubuntu3.4 [85.4 kB]                                                            Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-62.69 [1,124 kB]                                                                 Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 memcached amd64 1.5.6-0ubuntu1.2 [109 kB]                                                                    Fetched 44.7 MB in 11s (3,952 kB/s)                                                                                                                                            Preconfiguring packages ... (Reading database ... 111983 files and directories currently installed.) Preparing to unpack .../libnss-systemd_237-3ubuntu10.29_amd64.deb ... Unpacking libnss-systemd:amd64 (237-3ubuntu10.29) over (237-3ubuntu10.28) ... Preparing to unpack .../libsystemd0_237-3ubuntu10.29_amd64.deb ... Unpacking libsystemd0:amd64 (237-3ubuntu10.29) over (237-3ubuntu10.28) ... Setting up libsystemd0:amd64 (237-3ubuntu10.29) ... (Reading database ... 111983 files and directories currently installed.) Preparing to unpack .../libpam-systemd_237-3ubuntu10.29_amd64.deb ... Unpacking libpam-systemd:amd64 (237-3ubuntu10.29) over (237-3ubuntu10.28) ... Preparing to unpack .../systemd_237-3ubuntu10.29_amd64.deb ... Unpacking systemd (237-3ubuntu10.29) over (237-3ubuntu10.28) ... Preparing to unpack .../udev_237-3ubuntu10.29_amd64.deb ... Unpacking udev (237-3ubuntu10.29) over (237-3ubuntu10.28) ... Preparing to unpack .../libudev1_237-3ubuntu10.29_amd64.deb ... Unpacking libudev1:amd64 (237-3ubuntu10.29) over (237-3ubuntu10.28) ... Setting up libudev1:amd64 (237-3ubuntu10.29) ... Setting up systemd (237-3ubuntu10.29) ... (Reading database ... 111983 files and directories currently installed.) Preparing to unpack .../00-systemd-sysv_237-3ubuntu10.29_amd64.deb ... Unpacking systemd-sysv (237-3ubuntu10.29) over (237-3ubuntu10.28) ... Preparing to unpack .../01-libpython3.6_3.6.8-1~18.04.2_amd64.deb ... Unpacking libpython3.6:amd64 (3.6.8-1~18.04.2) over (3.6.8-1~18.04.1) ... Preparing to unpack .../02-python3.6_3.6.8-1~18.04.2_amd64.deb ... Unpacking python3.6 (3.6.8-1~18.04.2) over (3.6.8-1~18.04.1) ... Preparing to unpack .../03-libpython3.6-stdlib_3.6.8-1~18.04.2_amd64.deb ... Unpacking libpython3.6-stdlib:amd64 (3.6.8-1~18.04.2) over (3.6.8-1~18.04.1) ... Preparing to unpack .../04-python3.6-minimal_3.6.8-1~18.04.2_amd64.deb ... Unpacking python3.6-minimal (3.6.8-1~18.04.2) over (3.6.8-1~18.04.1) ... Preparing to unpack .../05-libpython3.6-minimal_3.6.8-1~18.04.2_amd64.deb ... Unpacking libpython3.6-minimal:amd64 (3.6.8-1~18.04.2) over (3.6.8-1~18.04.1) ... Preparing to unpack .../06-python2.7-dev_2.7.15-4ubuntu4~18.04.1_amd64.deb ... Unpacking python2.7-dev (2.7.15-4ubuntu4~18.04.1) over (2.7.15-4ubuntu4~18.04) ... Preparing to unpack .../07-libpython2.7-dev_2.7.15-4ubuntu4~18.04.1_amd64.deb ... Unpacking libpython2.7-dev:amd64 (2.7.15-4ubuntu4~18.04.1) over (2.7.15-4ubuntu4~18.04) ... Preparing to unpack .../08-libpython2.7_2.7.15-4ubuntu4~18.04.1_amd64.deb ... Unpacking libpython2.7:amd64 (2.7.15-4ubuntu4~18.04.1) over (2.7.15-4ubuntu4~18.04) ... Preparing to unpack .../09-python2.7_2.7.15-4ubuntu4~18.04.1_amd64.deb ... Unpacking python2.7 (2.7.15-4ubuntu4~18.04.1) over (2.7.15-4ubuntu4~18.04) ... Preparing to unpack .../10-libpython2.7-stdlib_2.7.15-4ubuntu4~18.04.1_amd64.deb ... Unpacking libpython2.7-stdlib:amd64 (2.7.15-4ubuntu4~18.04.1) over (2.7.15-4ubuntu4~18.04) ... Preparing to unpack .../11-python2.7-minimal_2.7.15-4ubuntu4~18.04.1_amd64.deb ... Unpacking python2.7-minimal (2.7.15-4ubuntu4~18.04.1) over (2.7.15-4ubuntu4~18.04) ... Preparing to unpack .../12-libpython2.7-minimal_2.7.15-4ubuntu4~18.04.1_amd64.deb ... Unpacking libpython2.7-minimal:amd64 (2.7.15-4ubuntu4~18.04.1) over (2.7.15-4ubuntu4~18.04) ... Preparing to unpack .../13-libidn2-0_2.2.0-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ... Unpacking libidn2-0:amd64 (2.2.0-1+ubuntu18.04.1+deb.sury.org+1) over (2.0.4-1.1build2) ... Setting up libidn2-0:amd64 (2.2.0-1+ubuntu18.04.1+deb.sury.org+1) ... (Reading database ... 112006 files and directories currently installed.) Preparing to unpack .../landscape-common_18.01-0ubuntu3.4_amd64.deb ... Unpacking landscape-common (18.01-0ubuntu3.4) over (18.01-0ubuntu3.3) ... Preparing to unpack .../linux-libc-dev_4.15.0-62.69_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.15.0-62.69) over (4.15.0-60.67) ... Preparing to unpack .../memcached_1.5.6-0ubuntu1.2_amd64.deb ... Unpacking memcached (1.5.6-0ubuntu1.2) over (1.5.6-0ubuntu1.1) ... Setting up libnss-systemd:amd64 (237-3ubuntu10.29) ... Setting up landscape-common (18.01-0ubuntu3.4) ... Setting up memcached (1.5.6-0ubuntu1.2) ... Setting up systemd-sysv (237-3ubuntu10.29) ... Setting up linux-libc-dev:amd64 (4.15.0-62.69) ... Setting up libpython3.6-minimal:amd64 (3.6.8-1~18.04.2) ... Setting up udev (237-3ubuntu10.29) ... update-initramfs: deferring update (trigger activated) Setting up libpython2.7-minimal:amd64 (2.7.15-4ubuntu4~18.04.1) ... Setting up libpython2.7-stdlib:amd64 (2.7.15-4ubuntu4~18.04.1) ... Setting up python2.7-minimal (2.7.15-4ubuntu4~18.04.1) ... Setting up libpython3.6-stdlib:amd64 (3.6.8-1~18.04.2) ... Setting up libpam-systemd:amd64 (237-3ubuntu10.29) ... Setting up python3.6-minimal (3.6.8-1~18.04.2) ... Setting up python2.7 (2.7.15-4ubuntu4~18.04.1) ... Setting up libpython2.7:amd64 (2.7.15-4ubuntu4~18.04.1) ... Setting up libpython2.7-dev:amd64 (2.7.15-4ubuntu4~18.04.1) ... Setting up python2.7-dev (2.7.15-4ubuntu4~18.04.1) ... Setting up libpython3.6:amd64 (3.6.8-1~18.04.2) ... Setting up python3.6 (3.6.8-1~18.04.2) ... Processing triggers for ureadahead (0.100.0-21) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for systemd (237-3ubuntu10.29) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for dbus (1.12.2-1ubuntu1.1) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for initramfs-tools (0.130ubuntu3.8) ... update-initramfs: Generating /boot/initrd.img-4.15.0-60-generic   sudo apt-get install linux-generic linux-headers-generic linux-image-generic Reading package lists... Done Building dependency tree        Reading state information... Done The following additional packages will be installed:   linux-headers-4.15.0-62 linux-headers-4.15.0-62-generic linux-image-4.15.0-62-generic linux-modules-4.15.0-62-generic linux-modules-extra-4.15.0-62-generic Suggested packages:   fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-tools Recommended packages:   thermald /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly   sudo apt-get update /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference Reading package lists... Done E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) E: Method /usr/lib/apt/methods/http did not start correctly E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease   E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease   E: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/bionic/InRelease   E: Failed to fetch http://ppa.launchpad.net/ondrej/apache2/ubuntu/dists/bionic/InRelease   E: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/bionic/InRelease   E: Some index files failed to download. They have been ignored, or old ones used instead. 

trying to install php 7.1 in ubuntu 18.10

I am trying to install php 7.1 and its extensions in ubuntu server (virtual machine) I add ppa and update apt but its no use this is the list of commands I used:

sudo add-apt-repository ppa:ondrej/php sudo apt-get update (not needed) sudo apt-get upgrade (not needed)  sudo apt install php7.1 libapache2-mod-php7.1 php7.1-common php7.1-gmp php7.1-curl php7.1-soap php7.1-bcmath php7.1-intl php7.1-mbstring php7.1-xmlrpc php7.1-mcrypt php7.1-mysql php7.1-gd php7.1-xml php7.1-cli php7.1-zip 

Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'php7.1-mapi' for regex 'php7.1'  E: Unable to locate package libapache2-mod-php7.1 E: Couldn't find any package by glob 'libapache2-mod-php7.1' E: Couldn't find any package by regex 'libapache2-mod-php7.1' E: Unable to locate package php7.1-common E: Couldn't find any package by glob 'php7.1-common' E: Couldn't find any package by regex 'php7.1-common' E: Unable to locate package php7.1-gmp E: Couldn't find any package by glob 'php7.1-gmp' E: Couldn't find any package by regex 'php7.1-gmp' E: Unable to locate package php7.1-curl E: Couldn't find any package by glob 'php7.1-curl' E: Couldn't find any package by regex 'php7.1-curl' E: Unable to locate package php7.1-soap E: Couldn't find any package by glob 'php7.1-soap' E: Couldn't find any package by regex 'php7.1-soap' E: Unable to locate package php7.1-bcmath E: Couldn't find any package by glob 'php7.1-bcmath' E: Couldn't find any package by regex 'php7.1-bcmath' E: Unable to locate package php7.1-intl E: Couldn't find any package by glob 'php7.1-intl' E: Couldn't find any package by regex 'php7.1-intl' E: Unable to locate package php7.1-mbstring E: Couldn't find any package by glob 'php7.1-mbstring' E: Couldn't find any package by regex 'php7.1-mbstring' E: Unable to locate package php7.1-xmlrpc E: Couldn't find any package by glob 'php7.1-xmlrpc' E: Couldn't find any package by regex 'php7.1-xmlrpc' E: Unable to locate package php7.1-mcrypt E: Couldn't find any package by glob 'php7.1-mcrypt' E: Couldn't find any package by regex 'php7.1-mcrypt' E: Unable to locate package php7.1-mysql E: Couldn't find any package by glob 'php7.1-mysql' E: Couldn't find any package by regex 'php7.1-mysql' E: Unable to locate package php7.1-gd E: Couldn't find any package by glob 'php7.1-gd' E: Couldn't find any package by regex 'php7.1-gd' E: Unable to locate package php7.1-xml E: Couldn't find any package by glob 'php7.1-xml' E: Couldn't find any package by regex 'php7.1-xml' E: Unable to locate package php7.1-cli E: Couldn't find any package by glob 'php7.1-cli' E: Couldn't find any package by regex 'php7.1-cli' E: Unable to locate package php7.1-zip E: Couldn't find any package by glob 'php7.1-zip' E: Couldn't find any package by regex 'php7.1-zip' 

this is my OS details

Distributor ID: Ubuntu Description: Ubuntu 18.10 Release: 18.10 Codename: cosmic

I rebooted the system but still apt doesn’t recognize php7.1 packages,FYI I already have php 7.2 installed and working correctly with apache2 and mysql

thanks in advance

How to fix kernel issue after upgrading from 18.10 to 19.04?

After upgrading to 19.04 from 18.10 – I’ve started seeing an error revolving around linux-image-4.18.0-24-generic and seems to cause me from updates as well updating grub of course… Has anyone experienced this or can anyone guide me as to how to repair this issue ? After running this command “sudo apt update && sudo apt upgrade” I then receive this error in the terminal – “**Do you want to continue? [Y/n] y (Reading database … 238003 files and directories currently installed.) Removing linux-image-4.18.0-24-generic (4.18.0-24.25) … /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.18.0-24-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file /etc/default/grub' Sourcing file/etc/default/grub.d/init-select.cfg’

Generating grub configuration file … using custom appearance settings /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-4.18.0-24-generic (–remove): installed linux-image-4.18.0-24-generic package post-removal script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-4.18.0-24-generic E: Sub-process /usr/bin/dpkg returned an error code (1)

Also when attempting to do a partial upgrade it says that kernel isnt installed and fails out

Ubuntu Server 18.10 Web Server – Unresponsive daily

I’m running a Ubuntu Server 18.10 (GNU/Linux 4.18.0-1015-gcp x86_64) on Google Cloud. It’s using 4 cores and 14 GB of memory.

Every night at approximately 05:00 UTC (sometimes a few minutes before, sometimes a few minutes after) the whole server becomes unresponsive to any traffic. Web requests fail, can’t ssh or ping the machine. It remains in this state for 2-5 minutes then comes back. This occurs during the middle of the night for most users, so does not seem to be load related.

Afterward, in the performance history graphs, I can see that during that time the CPU usage dropped to less than 1% usage.

The machine does not seem to be running out of memory, leading up to the crash usage was low, and rarely exceeds 10 GB.

The syslog doesn’t show anything obvious, at least to me. I’ll post a screenshot of what went on during that time below.

There are automated tasks/crons that run at various times of the day (database backups, disk cleanups, etc) but none seem to line up with when the server becomes unresponsive.

If anyone has any suggestions as to what could be happening or ways to gather more info it would be greatly appreciated.

Syslog

Update of 18.10 fails with python FileNotFoundError

I cannot update my 18.10 any longer, see error below. The solutions offered to similar questions Problem with sudo apt update in Ubuntu 18.04 and Error occur during updating through sudo apt, did not help. The errors described there are slightly different.

Maybe my interupted upgrade to 19.04 a while back could have caused this? I am on ARMBIAN 5.60 stable Ubuntu 18.10 4.14.70-cubox

sudo apt update Hit:1 http://ports.ubuntu.com disco InRelease Hit:2 http://ports.ubuntu.com disco-security InRelease Hit:3 http://ports.ubuntu.com disco-updates InRelease Hit:4 http://ports.ubuntu.com disco-backports InRelease Traceback (most recent call last):                   File "/usr/lib/cnf-update-db", line 26, in <module>     col.create(db)   File "/usr/lib/CommandNotFound/db/creator.py", line 93, in create     self._fill_commands(con)   File "/usr/lib/CommandNotFound/db/creator.py", line 127, in _fill_commands     self._parse_single_commands_file(con, fp)   File "/usr/lib/CommandNotFound/db/creator.py", line 165, in _parse_single_commands_file     suite=tagf.section["suite"] KeyError: 'suite' Error in sys.excepthook: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 145, in apport_excepthook     os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_lib_cnf-update-db.0.crash'  Original exception was: Traceback (most recent call last):   File "/usr/lib/cnf-update-db", line 26, in <module>     col.create(db)   File "/usr/lib/CommandNotFound/db/creator.py", line 93, in create     self._fill_commands(con)   File "/usr/lib/CommandNotFound/db/creator.py", line 127, in _fill_commands     self._parse_single_commands_file(con, fp)   File "/usr/lib/CommandNotFound/db/creator.py", line 165, in _parse_single_commands_file     suite=tagf.section["suite"] KeyError: 'suite' Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' E: Sub-process returned an error code 

Ubuntu 18.10 to 19.04, end of life version

I am facing this issue when attempting an upgrade to ubuntu 19.04.

Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife  Please install all available updates for your release before upgrading. 

Apparently my release is not supported anymore… which doesn’t allow me to upgrade. Seems like I am stuck.

WiFi connected but can’t reach most sites (18.10)

There is this computer that i got from work, it works well on work’s wifi, but when i bring it home wifi is connected but does not work. All my other devices, including my personal pc works just fine at my wifi.

I can access sites like google, youtube and fast.com, but if i try to ping 8.8.8.8 i get 100% packet loss. Or if i try to access basically any other site it doesn’t work (i get timed out)

Things i tried:

Disabling IPV6.

Adding 8.8.8.8 and 8.8.4.4 to /etc/resolv.conf