On Sun, Mar 10, 2024 at 02:13:34PM +0100, Miguel Angel wrote:
 
> # apt full-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> 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:
>  plasma-workspace : Depends: gdb-minimal but it is not going to be installed 
> or
>                              gdb
> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
> held packages.
>

This problem isn't because of apt, the problem is that gdb-minimal/gdb
dependencies cannot be satified. A full-upgrade is the equivalent of a
dist-upgrade which will remove packages to resolve the dependencies. The
problem you are facing is the t64 transition[1][2] where not all packages are
transitioned.

My advice to you is: don't expect full-upgrade to work until the transitioning
is done. You can do `apt upgrade' without too much hassle. If you feel like it
you can inspect individual upgrades possibilities  via `apt list --upgradable'
and upgrade each package individually. That has worked well for me in the past
week with aptitude, but it requires going through many offered solutions.

> I've seen other users are experimenting the same issue:
> https://groups.google.com/g/linux.debian.user/c/7gpQImSH-Cs

This seems to be an more of an actual issue where dependencies are declared but
apt doing something weird. But that is an issue on bookworm where we aren't
getting poluted results because of a transitioning. It differs from yours
because your apt output says "gdb-minimal but it is not going to be installed
or gdb" so apt sees the alternative, but cannot install it either. IMHO, that 
should
be filed as a seperate bug against apt on bookworm. And if possible checked on
testing as well. FWIW, I can reproduce it on bookwork with apt, apt-get and
aptitude, where the latter offers a solution to install gdb and not deinstall
plasma-workspace.

> I don't know why plasma-workspace depends on gdb

I don't know either and that question should be redirected to the
plasma-workspace maintainer.

Cheers,
Wesley

[1] https://lists.debian.org/debian-devel-announce/2024/02/msg00000.html
[2] 
https://www.reddit.com/r/debian/comments/1b2ncdn/64bit_time_t_transition_in_progress_in_unstable/

Reply via email to