[Solved] Fresh Debian install: "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
jaylcee
Posts: 14
Joined: 2023-10-07 08:40
Has thanked: 2 times
Been thanked: 1 time

[Solved] Fresh Debian install: "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

#1 Post by jaylcee »

SOLVED: see post #5, installing aptitude and using it to install gnome-core solved the problem.

Hello,

I have just bought a second hand Lenovo Thinkpad T570 and have installed the latest weekly build of Debian like I always do, namely installing no desktop but only the system utilities during install and then rebooting to install gnome-core from the terminal.

The problem is that right after rebooting for the very first time, when trying to install gnome-core, i get this: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Is there an easy solution? Or is something wrong with my ISO or my laptop since I haven't even got the chance to install my desktop.

Thank you.
Last edited by jaylcee on 2024-10-05 19:33, edited 1 time in total.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: Fresh Debian install: "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."

#2 Post by fabien »

Hello,

can you please post the command and its entire output?

Also

Code: Select all

$> cat /etc/debian_version
and

Code: Select all

$> apt policy
also, as root

Code: Select all

#> LANG="C.utf8"  dpkg --audit && echo "$?"
#> dpkg --verify
#> LANG="C.utf8" apt-get check
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

jaylcee
Posts: 14
Joined: 2023-10-07 08:40
Has thanked: 2 times
Been thanked: 1 time

Re: Fresh Debian install: "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."

#3 Post by jaylcee »

Salut @fabien

the problem is everything is happening on my Laptop in the terminal just after reboot, I am posting here from another computer.

Is there still something i can do?

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: Fresh Debian install: "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."

#4 Post by fabien »

jaylcee wrote: 2024-10-05 18:46 Is there still something i can do?
You can redirect the output to a file and then copy the file (via ssh or a USB stick) to your other computer.

Code: Select all

$> cat /etc/debian_version |& tee -a /tmp/termoutputs
and

Code: Select all

$> apt policy |& tee -a /tmp/termoutputs
also, as root

Code: Select all

#> { LANG="C.utf8"  dpkg --audit && echo "$?"; } |& tee -a /tmp/termoutputs
#> dpkg --verify |& tee -a /tmp/termoutputs
#> LANG="C.utf8" apt-get check |& tee -a /tmp/termoutputs
It would be nice if you could add the commands to this output for clarity, thanks.
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

jaylcee
Posts: 14
Joined: 2023-10-07 08:40
Has thanked: 2 times
Been thanked: 1 time

Re: Fresh Debian install: "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."

#5 Post by jaylcee »

I have been given a solution which worked well: install and use Aptitude instead of Apt. The lines are:

sudo apt install aptitude
sudo aptitude install gnome-core

Aptitude identified the problem and provided a solution. Thank you @fabien for helping.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: [Solved] Fresh Debian install: "Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held pack

#6 Post by fabien »

Thank you for the feedback. Do you remember what the problem was? I ask out of curiosity, but not only. It's quite unusual to have this kind of problem right after a normal install. What is your Debian version? What installer did you use?
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

Post Reply