How to Fix Broken Libperl5.26 Package on Ubuntu


Do you have a problem libperl5.26 when trying to install update? If you experience these problems, you are the same.

This problem can somehow occur, maybe it happens when we install an application or failure in the installation of applications on Linux. I also experienced this when I wanted to install the Unrar application, but there was a serious problem with notif :
"The following packages have unmet dependencies:
 libsnmp30:i386 : Depends: libperl5.26:i386 (>= 5.26.0~rc1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)."
But you don't need to worry, here I will try to provide a way to fix the problem. You can follow the method below:

1. Open a terminal, and type the following command:
~| sudo mv /usr/share/doc/libperl5.26 /usr/share/doc/libperl5.26.barron
~| sudo apt --fix-broken install

2. After that the log will appear as follows:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libperl5.26:i386
The following NEW packages will be installed:
  libperl5.26:i386
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
3 not fully installed or removed.
Need to get 0 B/3,169 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 647255 files and directories currently installed.)
Preparing to unpack .../libperl5.26_5.26.0-8ubuntu1.1_i386.deb ...
Unpacking libperl5.26:i386 (5.26.0-8ubuntu1.1) ...
Setting up perl-modules-5.26 (5.26.0-8ubuntu1.1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Setting up libperl5.26:amd64 (5.26.0-8ubuntu1.1) ...
Setting up libperl5.26:i386 (5.26.0-8ubuntu1.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up perl (5.26.0-8ubuntu1.1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
and more...
3. When finished, try installing the application you want to download.

Hopefully this tutorial helps a bit of the problems you face.

Post a Comment

0 Comments