Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6445

how to remove gcc-13-base while dependecy is unmet?

$
0
0

I had somehow messed up the library function. And there's a dependency chain going on.If I wanna delete gcc-13-base. It says

pegasus@pegasus:~$ sudo apt purge gcc-13-base Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: apt : Depends: gpgv or                gpgv2 but it is not going to be installed or                gpgv1 but it is not going to be installed       Depends: libapt-pkg6.0 (>= 2.6.0) but it is not going to be installed       Depends: libc6 (>= 2.34) but it is not going to be installed       Depends: libgcc-s1 (>= 3.3.1) but it is not going to be installed       Depends: libgnutls30 (>= 3.7.5) but it is not going to be installed       Depends: libseccomp2 (>= 2.4.2) but it is not going to be installed       Depends: libstdc++6 (>= 11) but it is not going to be installed       Depends: libsystemd0 but it is not going to be installed       Recommends: ca-certificates but it is not going to be installed base-files : PreDepends: awk              Depends: libc6 (>= 2.34) but it is not going to be installed base-passwd : Depends: libc6 (>= 2.34) but it is not going to be installed               Depends: libdebconfclient0 (>= 0.145) but it is not going to be installed               Depends: libselinux1 (>= 3.1~) but it is not going to be installed bash : PreDepends: libc6 (>= 2.36) but it is not going to be installed        PreDepends: libtinfo6 (>= 6) but it is not going to be installed bsdutils : PreDepends: libc6 (>= 2.34) but it is not going to be installed            PreDepends: libsystemd0 but it is not going to be installed            Recommends: bsdextrautils coreutils : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed             PreDepends: libattr1 (>= 1:2.4.44) but it is not going to be installed             PreDepends: libc6 (>= 2.34) but it is not going to be installed             PreDepends: libgmp10 (>= 2:6.2.1+dfsg1) but it is not going to be installed             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed dash : PreDepends: libc6 (>= 2.34) but it is not going to be installed debianutils : PreDepends: libc6 (>= 2.34) but it is not going to be installed diffutils : PreDepends: libc6 (>= 2.34) but it is not going to be installed dpkg : PreDepends: libbz2-1.0 but it is not going to be installed        PreDepends: libc6 (>= 2.34) but it is not going to be installed        PreDepends: liblzma5 (>= 5.4.0) but it is not going to be installed        PreDepends: libmd0 (>= 0.0.0) but it is not going to be installed        PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed        PreDepends: libzstd1 (>= 1.5.2) but it is not going to be installed        PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed e2fsprogs : PreDepends: libblkid1 (>= 2.36) but it is not going to be installed             PreDepends: libc6 (>= 2.34) but it is not going to be installed             PreDepends: libcom-err2 (>= 1.43.9) but it is not going to be installed             PreDepends: libext2fs2 (= 1.47.0-1ubuntu1) but it is not going to be installed             PreDepends: libss2 (>= 1.38) but it is not going to be installed             PreDepends: libuuid1 (>= 2.16) but it is not going to be installed             Depends: logsave             Recommends: e2fsprogs-l10n but it is not going to be installed fdisk : Depends: libc6 (>= 2.34) but it is not going to be installed         Depends: libfdisk1 (>= 2.38) but it is not going to be installed         Depends: libmount1 (>= 2.24.2) but it is not going to be installed         Depends: libncursesw6 (>= 6) but it is not going to be installed         Depends: libreadline8 (>= 6.0) but it is not going to be installed         Depends: libsmartcols1 (>= 2.28~rc1) but it is not going to be installed         Depends: libtinfo6 (>= 6) but it is not going to be installed findutils : PreDepends: libc6 (>= 2.34) but it is not going to be installed             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed grep : PreDepends: libc6 (>= 2.34) but it is not going to be installed        PreDepends: libpcre2-8-0 (>= 10.32) but it is not going to be installed gzip : PreDepends: libc6 (>= 2.34) but it is not going to be installed hostname : PreDepends: libc6 (>= 2.34) but it is not going to be installed init : PreDepends: systemd-sysv libc-bin : Depends: libc6 (> 2.37) but it is not going to be installed            Depends: libc6 (< 2.38) but it is not going to be installed libcrypt1 : Depends: libc6 (>= 2.36) but it is not going to be installed login : PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed         PreDepends: libc6 (>= 2.34) but it is not going to be installed         PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed         PreDepends: libpam-runtime but it is not going to be installed         PreDepends: libpam-modules but it is not going to be installed mount : PreDepends: libblkid1 (>= 2.17.2) but it is not going to be installed         PreDepends: libc6 (>= 2.34) but it is not going to be installed         PreDepends: libmount1 (>= 2.38) but it is not going to be installed         PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed         PreDepends: libsmartcols1 (>= 2.33) but it is not going to be installed ncurses-bin : PreDepends: libc6 (>= 2.34) but it is not going to be installed               PreDepends: libtinfo6 (>= 6.3) but it is not going to be installed perl-base : PreDepends: libc6 (>= 2.35) but it is not going to be installed sed : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed       PreDepends: libc6 (>= 2.34) but it is not going to be installed       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed shim-signed : Depends: grub-efi-amd64-signed (>= 1.191~) but it is not going to be installed or                        grub-efi-arm64-signed (>= 1.191~) but it is not installable or                        base-files (< 12.3)               Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or                        grub-efi-arm64-signed (>= 1.187.2~) but it is not installable               Depends: grub2-common (>= 2.04-1ubuntu24)               Depends: mokutil (>= 0.3.0+1538710437.fb6250f-0ubuntu2) but it is not going to be installed               Depends: sbsigntool but it is not going to be installed               Recommends: secureboot-db but it is not going to be installed sysvinit-utils : Depends: libc6 (>= 2.34) but it is not going to be installed tar : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed       PreDepends: libc6 (>= 2.34) but it is not going to be installed       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed util-linux : PreDepends: libblkid1 (>= 2.37.2) but it is not going to be installed              PreDepends: libc6 (>= 2.34) but it is not going to be installed              PreDepends: libcap-ng0 (>= 0.7.9) but it is not going to be installed              PreDepends: libmount1 (>= 2.38) but it is not going to be installed              PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed              PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed              PreDepends: libsmartcols1 (>= 2.38) but it is not going to be installed              PreDepends: libsystemd0 but it is not going to be installed              PreDepends: libtinfo6 (>= 6) but it is not going to be installed              PreDepends: libudev1 (>= 183) but it is not going to be installed              PreDepends: libuuid1 (>= 2.16) but it is not going to be installed              PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed              Depends: util-linux-extraE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

If I do this it shows:

pegasus@pegasus:~$ sudo dpkg --remove --force-remove-reinstreq gcc-13-basedpkg: dependency problems prevent removal of gcc-13-base:amd64: libstdc++6:amd64 depends on gcc-13-base (= 13-20230320-1ubuntu1). libgomp1:amd64 depends on gcc-13-base (= 13-20230320-1ubuntu1). libgfortran5:amd64 depends on gcc-13-base (= 13-20230320-1ubuntu1). libgcc-s1:amd64 depends on gcc-13-base (= 13-20230320-1ubuntu1). libatomic1:amd64 depends on gcc-13-base (= 13-20230320-1ubuntu1).dpkg: error processing package gcc-13-base:amd64 (--remove): dependency problems - not removingErrors were encountered while processing: gcc-13-base:amd64

I'm kinda stuck. How to fix this issue and delete the gcc-13-base forever?I'm on ubuntu 22.10. I was initially trying to install gcc-multilibBut it was showing error. So how can I get out of this chain of broken dependencies and libraries. Aptitude also fails


Viewing all articles
Browse latest Browse all 6445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>