Ubuntu system apt reports an error: relocation error

Time:2021-11-24

Today, I can’t get up after updating the system and starting the software. The error is as follows
/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
This means that there is a variable undefined in libgnutls.so. The software cannot operate normally.
Data access can be downgraded to the previous normal version. The specific reason is unknown. We can only wait for the official to fix the problem
Download debhttps://share.weiyun.com/541Scvk
Then execute the commandsudo dpkg -i libidn2-0_2.0.5-1_amd64_1.deb。 Wait for the installation to complete.
Execute againsudo apt updateIt can run normally at this time.

This work adoptsCC agreement, reprint must indicate the author and the link to this article

Recommended Today

Apache sqoop

Source: dark horse big data 1.png From the standpoint of Apache, data flow can be divided into data import and export: Import: data import. RDBMS—–>Hadoop Export: data export. Hadoop—->RDBMS 1.2 sqoop installation The prerequisite for installing sqoop is that you already have a Java and Hadoop environment. Latest stable version: 1.4.6 Download the sqoop installation […]