The following packages have been kept back: redis-server redis-tools

My YunoHost server

Hardware: Old laptop or computer (32-bit)
YunoHost version: 4.3.2 stable
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | all of the above!
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

The webadmin System Update indicates two available updates:

  • redis-server (from 5:5.0.3-4+deb10u3 to 5:5.0.14-1+deb10u1)
  • redis-tools (from 5:5.0.3-4+deb10u3 to 5:5.0.14-1+deb10u1)

I click “Upgrade all packages”. The update dialogue opens and runs (“now upgrading”), but (briefly) says “2 not upgraded” before returning to the “All system packages are up to date!” screen. If I later return to System Update, it indicates that the same two updates are available.

Hmm. So, I used SSH to run “sudo apt update” and “sudo apt upgrade”. This results in:

The following packages have been kept back:
redis-server redis-tools
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Should I fret about this? Do I need to try to force these upgrades somehow?

What if you run

apt install redis-server redis-tools

(Note that the command says install but that’s actually the way to tell apt to specifically upgrade those)

Please don’t yoloconfirm the command, just share here what it says first …

I have the same problem and this is the output of the command:

apt install redis-server redis-tools
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:
 yunohost : Conflicts: redis-server (>= 5:5.0.7) but 5:5.0.14-1+deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Alrighty, to be fixed in an upcoming minor release / patch

1 Like


I don’t know if it is a minor, but i have this error when i try to install yunohost on proxmox debian 10

“he following packages have unmet dependencies:
yunohost : Depends: redis-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[^[[1m^[[31mFAIL^[[0m] Installation of Yunohost packages failed”

Thanks for the fix - the packages now updated successfully :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.