Błąd relokacji dotyczący libgnutls.so.30, kod błędu (127) po ostatnich aktualizacjach [zamknięte]


25

Po ostatniej aktualizacji tak się stało:

/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

Co to jest? Jak to rozwiązać?

Najnowsze polecenia i uzyskane wyniki:

$ 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.

2
Po ostatniej aktualizacji? Ubuntu 18.10 osiągnęło EOL z powrotem 18 lipca 2019 r. ( Fridge.ubuntu.com/2019/07/19/... ) i dlatego jest tutaj nie na temat, chyba że twoje pytanie dotyczy przejścia na obsługiwaną wersję Ubuntu. Twoja pasta odnosi się jednak do bionicznego? lub 18.04 (18.10 jest kosmiczny), więc coś jest nie tak, ale 18.10 jest teraz nie na temat z powodu EOL.
guiverc

4
@guiverc Mam ten sam problem z Ubuntu 18.04, którym jest LTS, więc ten problem nie wydaje się występować wyłącznie w Ubuntu 18.10. Jednak tymczasowe obejście opisane w odpowiedzi Aarona rozwiązało problem.
Polosson

4
Tak, najnowszy apt-upgrade pobrał trochę bzdur libidin, które zburzyły mój boot. Dziękuję za pytanie i odpowiedzi.
Mihai

Odpowiedzi:


31

Jak w przypadku błędu 1843507 Launchpada , komentarz nr 4 działał dla mnie, przynajmniej tymczasowo.

$ wget http://mirrors.kernel.org/ubuntu/pool/main/libi/libidn2/libidn2-0_2.0.4-1.1build2_amd64.deb
$ sudo dpkg -i libidn2-0_2.0.4-1.1build2_amd64.deb
$ sudo apt-mark hold libidn2-0

Aktualizacja: z raportu o błędzie wydaje się, że wpływa to tylko na osoby korzystające z PHP z launchpad.net/~ondrej

Aktualizacja: Ondřej wydał już aktualizację swojej wersji PHP. Możesz obniżyć wersję libidn2-0, aby apt działał ponownie:

$ wget http://mirrors.kernel.org/ubuntu/pool/main/libi/libidn2/libidn2-0_2.0.4-1.1build2_amd64.deb
$ sudo dpkg -i libidn2-0_2.0.4-1.1build2_amd64.deb

Następnie:

$ sudo apt update
$ sudo apt upgrade

I powinieneś być dobry.


Zrobiłem to i startxpracowałem raz. Następnie po ponownym uruchomieniu nie mogę dostać się do terminala. Sic. Czas przywitać się z Windows ponownie. Takie awarie są niedopuszczalne.
fracz

@fracz Sprawdź komentarz 12 na temat zgłoszenia błędu. Może ci się przydać.
Aaron

1
@arron dzięki, że to działało dla mnie
Jeremy Quinton

2
Zrobiłem to i teraz wydaje się, że działa, ale nie muszę ponownie uruchamiać serwera? Z tego, co rozumiem, jest tymczasowe, jeśli zrestartuję, menedżer sieci nie uruchomi się i pozostanę całkowicie wykluczony z mojego serwera, czy możesz to potwierdzić? Co mam teraz zrobić? Czy muszę aktualizować w najbliższych dniach, czy nie? Jak zrozumiem, kiedy problem zostanie rozwiązany i czy będę mógł zaktualizować i zrestartować serwer?
alebal

1
@gronostaj A Windows nigdy nie zawodzi? Naprawdę nie da się uniknąć przestojów. Przynajmniej w Linuksie możesz wyłączyć aktualizacje, jeśli stabilność jest priorytetem.
FreeSoftwareServers

12

Pobierz ten pakiet libidn2-0_2.0.5-1_amd64.deb z repozytorium Debian na maszynę, a następnie uruchom go, aby zainstalować zamiast wadliwego pakietu Ubuntu.sudo dpkg -i /path/to/.deb


1
Każdy, kto znajdzie problemy w systemie Ubuntu 18.04, powinien zainstalować ten pakiet. To działa.
besrabasant

1
Naprawiłem to dla mnie. Dlaczego obniżenie poziomu tego pakietu jest poprawką?
Koen Hendriks

1
@KoenHendriks Jeśli jeszcze tego nie widziałeś, wygląda na to, że coś poszło nie tak z jednym z pakietów (wspomnianych powyżej); tutaj jakiś kontekst dla ciekawskich: bugs.launchpad.net/ubuntu/+source/libidn2/+bug/…
kod na zawsze

Potwierdzam, że to rozwiązanie działało również w systemie Kali Linux 2018.3.
Aura

1

Ten sam problem wystąpił na moim komputerze. Byłem w stanie połączyć się z Internetem za pomocą kabla Ethernet i ściągnąć pakiet, o którym wspomniał @Mason Pawsey w swojej odpowiedzi.

Nie byłem pewny, jak to zrobić, więc znalazłem jakąś pomoc z tym stanowisku przez @ chili555 .

Byłem w stanie obniżyć pakiet i uruchomić się jak zwykle. Jednak w moim /etc/network/interfacespliku nadal znajdował się wpis eth0, który powstrzymywałby mnie przed połączeniem przez Wi-Fi. Więc wszedłem do pliku i skomentowałem wszystko pod auto eth0( na wypadek, gdybym go później potrzebował ).

Po usunięciu wpisu i ponownym uruchomieniu komputera wszystko było gotowe.

Mam nadzieję, że pomoże to każdemu, kto wejdzie na tę stronę w przyszłości.

Korzystając z naszej strony potwierdzasz, że przeczytałeś(-aś) i rozumiesz nasze zasady używania plików cookie i zasady ochrony prywatności.
Licensed under cc by-sa 3.0 with attribution required.