0

I'm trying to update my system to get 21.04 but I'm facing some issues when trying to update

on running sudo apt upgrade I get

Depends: libc6:i386 (>= 2.4) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

on running sudo apt --fix-broken install I get

dpkg: error processing archive /var/cache/apt/archives/libc6_2.32-0ubuntu3_i386. deb (--unpack)
trying to overwrite shared '/usr/share/doc/libc6/NEWS.Debian.gz', which is different from other instances of package libc6:i386
Errors were encountered while processing: /var/cache/apt/archives/libc6_2.32-0ubuntu3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

on trying to install libc6 (sudo apt-get install libc6:i386)

I get

You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:
libc6:i386 : Depends: libcrypt1:i386 (>= 1:4.4.10-10ubuntu4) but it is not going to be installed Depends: libnss-nis:i386 but it is not going to be installed
Depends: libnss-nisplus:i386 but it is not going to be installed locales :
Depends: libc-bin (> 2.33) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Any help will be really appreciated I'm kind of stuck here rn

karel
  • 122,292
  • 133
  • 301
  • 332
ashes
  • 1

0 Answers0