I switched the sources to Bullseye and the upgrade went smoothly, but when I do a full-upgrade, I get:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
My sources are as follows:
deb http://deb.debian.org/debian bullseye main deb-src http://deb.debian.org/debian bullseye main #deb http://deb.debian.org/debian buster-updates main #deb-src http://deb.debian.org/debian buster-updates main #deb http://security.debian.org/debian-security/ buster/updates main #deb-src http://security.debian.org/debian-security/ buster/updates main
How can I fix this to finalize the upgrade?
P.S. I’ve looked at a recent issue here: Full-upgrade to Debian testing fails due to libc6-dev : Breaks: libgcc-8-dev
Which didn’t help.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Debian 10 uses GCC 8, but Debian 11 currently uses GCC 9 (probably 10 by the time it’s released). For some reason, in your case, the upgrade fails to replace the GCC 8 packages, and the upgrade is blocked.
To fix this, remove gcc-8 and its dependencies.
This is a symptom of a more general problem with GCC libraries when upgrading from Debian 10 to testing; see Ryan Pavlik’s repository for a general solution and details of the problem, as well as links to bugs filed against GCC in the hope of an official fix.
Method 2
see previous, this updated link:
Full-upgrade to Debian testing fails due to libc6-dev : Breaks: libgcc-8-dev
and this is what i did…
apt-get update apt-get upgrade apt-get -f upgrade # or apt full-upgrade -y
nothing works right?
this worked for me:
apt-get install aptitude apt-get install libgcc-8-dev apt-get update apt-get install synaptic
but the worst happened after that.
went to home folder and every other folder and its all gone:
Unable to create io-slave. Error loading '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so'."
I am not shutting down my pc because of this because i know i will not be able to boot back up i just have a feeling.
also look at anon35400795
Jun ’17
just restart (logout+login). That happens because Qt(Dolphin) loads this plugin, then you do an update and Qt conflicts the loadup of the new version, because its still holding the old version in RAM.
It worked for me!!!!
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0