I downgraded lib6 from 2.28 to 2.27 and can't upgrade now

I downloaded citra which told I needed GLIBC_2.29 and GLIBCXX_3.4.26. I accidentally downgraded to libc6_2.27. Now I can't upgrade to 2.28 or higher. sudo apt upgrade is not working. It shows this --->
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
flatpak : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1 is installed
flatpak-builder : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1 is installed
gnome-shell : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1 is installed
libc-bin : Depends: libc6 (> 2.28) but 2.27-3ubuntu1 is installed
libc-dev-bin : Depends: libc6 (> 2.28) but 2.27-3ubuntu1 is installed
libc6 : Breaks: libc6:i386 (!= 2.27-3ubuntu1) but 2.28- 0ubuntu1+zorin4 is installed
libc6:i386 : Breaks: libc6 (!= 2.28-0ubuntu1+zorin4) but 2.27- 3ubuntu1 is installed
libc6-dbg : Depends: libc6 (= 2.28-0ubuntu1+zorin4) but 2.27- 3ubuntu1 is installed
libc6-dev : Depends: libc6 (= 2.28-0ubuntu1+zorin4) but 2.27- 3ubuntu1 is installed
libc6-i386 : Depends: libc6 (= 2.28-0ubuntu1+zorin4) but 2.27- 3ubuntu1 is installed
libflatpak0 : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1 is installed
xdg-desktop-portal : Depends: libc6 (>= 2.28) but 2.27- 3ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)

Have you run

sudo apt --fix-broken install

?

If that does not work for you, perhaps manually installing the package will help. Save the file, then double click to run the installer:
http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.31-0ubuntu9_amd64.deb

1 Like

yep. thank you very much

1 Like