sudo apt clean
sudo apt install zlib1g --reinstall
sudo dpkg-reconfigure zlib1g
حالا دستور زیر رو ران کنین (قاعدتا نباید مشکلی باشه) :sudo apt install -f
sudo apt install zlib1g:i386
اگر هم میخواهید بستهٔ zlib1g:i386 رو پاک کنید، با دستور زیر میتوانید این بسته رو پاک کنید.sudo apt purge zlib1g:i386
sudo dpkg --configure -a
sudo apt install -f
The following packages have unmet dependencies:
libglib2.0-0:i386 : Depends: zlib1g:i386 (>= 1:1.2.2) but it is not going to be installed
sudo apt install zlib1g:i386
iran@Man:~$ sudo apt install zlib1g:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
zlib1g:i386
0 upgraded, 1 newly installed, 0 to remove and 250 not upgraded.
Need to get 0 B/57.5 kB of archives.
After this operation, 174 kB of additional disk space will be used.
(Reading database ... 368626 files and directories currently installed.)
Preparing to unpack .../zlib1g_1%3a1.2.8.dfsg-1ubuntu1_i386.deb ...
Unpacking zlib1g:i386 (1:1.2.8.dfsg-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/zlib1g_1%3a1.2.8.dfsg-1ubuntu1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/zlib1g/changelog.Debian.gz', which is different from other instances of package zlib1g:i386
Errors were encountered while processing:
/var/cache/apt/archives/zlib1g_1%3a1.2.8.dfsg-1ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)