2

I am trying to install packages with this command:

sudo apt-get -f install lib32z1 lib32ncurses5 lib32stdc++6

But I am getting errors during the installation. Error looks like:

pkg-name : Depends: pkg-name (= X.X) but it is not going to be installed

Here are some screenshots:

Errors - 1

Errors - 2

Any suggestions?

edwinksl
  • 24,109

2 Answers2

4

Those packages have been replaced under the newer multiarch specification, so add :i386 to specify the 32-bit version if you are running a 64-bit system, otherwise APT will assume you want the 64-bit version.

This works for me in Ubuntu 16.04:

sudo apt install zlib1g:i386 libncurses5:i386 libstdc++6:i386

Thanks to comment by TONTONFLASH leading to the other post where another comment by steeldriver gave the necessary hint.

Zanna
  • 72,312
0

1. Enter this command:

sudo apt-get -f install

This is an 'apt' command to fix dependencies ("-f").

2. Then enter this command:

sudo dpkg --configure -a

3. Lastly enter this command (from 'Step 1'):

sudo apt-get -f install

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

This output indicates that the above did not work