Temporarily purge libgcc-8-dev ,it will purge gcc and after doing full-upgrade you can install gcc
On Sun, Jan 31, 2021, 3:27 AM Kamaraju Kusumanchi <kamar...@gmail.com> wrote: > Package: libc6-dev > Version: 2.28-10 > Severity: normal > > Dear Maintainer, > > * What led up to the situation? > I am trying to upgrade from Debian Buster to Debian Bullseye. After > changing > the sources.list entries, 'apt-get dist-upgrade' fails with > > % sudo apt-get dist-upgrade > Reading package lists... Done > Building dependency tree > Reading state information... Done > Calculating upgrade... Error! > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be > installed > E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused > by > held packages. > > > Trying to install just libc6-dev also fails. > > % sudo apt-get install libc6-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be > installed > E: Unable to correct problems, you have held broken packages. > > > But I do not have any packages held. > > % sudo apt-mark showhold > /* returns no output */ > > > Contents of the new sources.list > % cat /etc/apt/sources.list > deb http://deb.debian.org/debian bullseye main contrib non-free > deb-src http://deb.debian.org/debian bullseye main contrib non-free > > > Other users have encountered the same issue > * https://unix.stackexchange.com/questions/592657/full-upgrade-to-debian- > testing-fails-due-to-libc6-dev-breaks-libgcc-8-dev > <https://unix.stackexchange.com/questions/592657/full-upgrade-to-debian-testing-fails-due-to-libc6-dev-breaks-libgcc-8-dev> > * https://unix.stackexchange.com/questions/602827/full-upgrade-to-debian- > testing-fails-due-to-libc6-dev-breaks-libgcc-8-dev > <https://unix.stackexchange.com/questions/602827/full-upgrade-to-debian-testing-fails-due-to-libc6-dev-breaks-libgcc-8-dev> > > > Is it possible to tweak the dependencies of libc6-dev such that a simple > 'apt- > get install libc6-dev' will work? > > Thanks > raju > -- > http://www.kamaraju.xyz/dk/blog > > > > -- System Information: > Debian Release: 10.7 > APT prefers testing-debug > APT policy: (500, 'testing-debug'), (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.19.0-13-amd64 (SMP w/2 CPU cores) > Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= > (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages libc6-dev depends on: > ii libc-dev-bin 2.28-10 > ii libc6 2.28-10 > ii linux-libc-dev 4.19.160-2 > > libc6-dev recommends no packages. > > Versions of packages libc6-dev suggests: > pn glibc-doc <none> > ii manpages-dev 4.16-2 > > -- no debconf information > >