Skip to main content
move some text to the answer that doesn't belong in the question.
Source Link

PSA for updating How do I update from debian buster to bullseye on raspberry pi: libc problems?

This upgrade is broken on raspberry-pi. CauseI can't do this update and run into this error: libgcc rename. The raspberry pi version of debian

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.

This was for regular (raspbiannot raspbian) did not delete/remove gccdebian-8 sotesting back in 2020 also the bug remains therecase: (it's not fixed, but no longer happens to occur, for the normal debian).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972820

https://salsa.debian.org/rpavlik/gcc-10-compatFull-upgrade to Debian testing fails due to libc6-dev : Breaks: libgcc-8-dev

https://packages.debian.org/bullseye/libgcc-s1 Applying the solutions offered there will however break raspbian into an unusable state.

https://forums.debian.net/viewtopic.php?t=152931 Either gnu utils are removed or libc is, as apt is confused enough to think they're incompatible because of a rename to a libgcc or libc component. Another root cause: Apt prefers 'same name' package over 'newer package that indicates it provides the same library'.

Provide guidance as to how to update raspberry debian without destroying your system.

PSA for updating from buster to bullseye on raspberry pi: libc problems

This upgrade is broken on raspberry-pi. Cause: libgcc rename. The raspberry pi version of debian (raspbian) did not delete/remove gcc-8 so the bug remains there (it's not fixed, but no longer happens to occur, for the normal debian).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972820

https://salsa.debian.org/rpavlik/gcc-10-compat

https://packages.debian.org/bullseye/libgcc-s1

https://forums.debian.net/viewtopic.php?t=152931

Provide guidance as to how to update raspberry debian without destroying your system.

How do I update from debian buster to bullseye on raspberry pi?

I can't do this update and run into this error:

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.

This was for regular (not raspbian) debian-testing back in 2020 also the case: Full-upgrade to Debian testing fails due to libc6-dev : Breaks: libgcc-8-dev

Applying the solutions offered there will however break raspbian into an unusable state.

Either gnu utils are removed or libc is, as apt is confused enough to think they're incompatible because of a rename to a libgcc or libc component. Another root cause: Apt prefers 'same name' package over 'newer package that indicates it provides the same library'.

Provide guidance as to how to update raspberry debian without destroying your system.

edited title
Link

PSA for updating from buster to bullseye on raspberry pi: libc problems

Source Link

PSA for updating from buster to bullseye

This upgrade is broken on raspberry-pi. Cause: libgcc rename. The raspberry pi version of debian (raspbian) did not delete/remove gcc-8 so the bug remains there (it's not fixed, but no longer happens to occur, for the normal debian).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972820

https://salsa.debian.org/rpavlik/gcc-10-compat

https://packages.debian.org/bullseye/libgcc-s1

https://forums.debian.net/viewtopic.php?t=152931

Provide guidance as to how to update raspberry debian without destroying your system.